wined3d: Move struct wined3d_query_gl to wined3d_gl.h.
[wine.git] / configure
blobdf70e31a89764d2a82c9b46fc71941e0db0e190d
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_msvcp140_codecvt_ids
1274 enable_msvcp60
1275 enable_msvcp70
1276 enable_msvcp71
1277 enable_msvcp80
1278 enable_msvcp90
1279 enable_msvcp_win
1280 enable_msvcr100
1281 enable_msvcr110
1282 enable_msvcr120
1283 enable_msvcr120_app
1284 enable_msvcr70
1285 enable_msvcr71
1286 enable_msvcr80
1287 enable_msvcr90
1288 enable_msvcrt
1289 enable_msvcrt20
1290 enable_msvcrt40
1291 enable_msvcrtd
1292 enable_msvfw32
1293 enable_msvidc32
1294 enable_mswsock
1295 enable_msxml
1296 enable_msxml2
1297 enable_msxml3
1298 enable_msxml4
1299 enable_msxml6
1300 enable_mtxdm
1301 enable_ncrypt
1302 enable_nddeapi
1303 enable_ndis_sys
1304 enable_netapi32
1305 enable_netcfgx
1306 enable_netio_sys
1307 enable_netprofm
1308 enable_netutils
1309 enable_newdev
1310 enable_ninput
1311 enable_normaliz
1312 enable_npmshtml
1313 enable_npptools
1314 enable_nsi
1315 enable_nsiproxy_sys
1316 enable_ntdll
1317 enable_ntdsapi
1318 enable_ntoskrnl_exe
1319 enable_ntprint
1320 enable_objsel
1321 enable_odbc32
1322 enable_odbcbcp
1323 enable_odbccp32
1324 enable_odbccu32
1325 enable_ole32
1326 enable_oleacc
1327 enable_oleaut32
1328 enable_olecli32
1329 enable_oledb32
1330 enable_oledlg
1331 enable_olepro32
1332 enable_olesvr32
1333 enable_olethk32
1334 enable_opcservices
1335 enable_opencl
1336 enable_opengl32
1337 enable_packager
1338 enable_pdh
1339 enable_photometadatahandler
1340 enable_pidgen
1341 enable_powrprof
1342 enable_printui
1343 enable_prntvpt
1344 enable_propsys
1345 enable_psapi
1346 enable_pstorec
1347 enable_pwrshplugin
1348 enable_qasf
1349 enable_qcap
1350 enable_qdvd
1351 enable_qedit
1352 enable_qmgr
1353 enable_qmgrprxy
1354 enable_quartz
1355 enable_query
1356 enable_qwave
1357 enable_rasapi32
1358 enable_rasdlg
1359 enable_regapi
1360 enable_resutils
1361 enable_riched20
1362 enable_riched32
1363 enable_rpcrt4
1364 enable_rsabase
1365 enable_rsaenh
1366 enable_rstrtmgr
1367 enable_rtutils
1368 enable_rtworkq
1369 enable_samlib
1370 enable_sane_ds
1371 enable_sapi
1372 enable_sas
1373 enable_scarddlg
1374 enable_scardsvr
1375 enable_sccbase
1376 enable_schannel
1377 enable_schedsvc
1378 enable_scrobj
1379 enable_scrrun
1380 enable_scsiport_sys
1381 enable_sechost
1382 enable_secur32
1383 enable_security
1384 enable_sensapi
1385 enable_serialui
1386 enable_setupapi
1387 enable_sfc
1388 enable_sfc_os
1389 enable_shcore
1390 enable_shdoclc
1391 enable_shdocvw
1392 enable_shell32
1393 enable_shfolder
1394 enable_shlwapi
1395 enable_slbcsp
1396 enable_slc
1397 enable_snmpapi
1398 enable_softpub
1399 enable_spoolss
1400 enable_sppc
1401 enable_srclient
1402 enable_srvcli
1403 enable_sspicli
1404 enable_stdole2_tlb
1405 enable_stdole32_tlb
1406 enable_sti
1407 enable_strmdll
1408 enable_svrapi
1409 enable_sxs
1410 enable_t2embed
1411 enable_tapi32
1412 enable_taskschd
1413 enable_tbs
1414 enable_tdh
1415 enable_tdi_sys
1416 enable_threadpoolwinrt
1417 enable_traffic
1418 enable_twain_32
1419 enable_twinapi_appcore
1420 enable_tzres
1421 enable_ucrtbase
1422 enable_uianimation
1423 enable_uiautomationcore
1424 enable_uiribbon
1425 enable_unicows
1426 enable_updspapi
1427 enable_url
1428 enable_urlmon
1429 enable_usbd_sys
1430 enable_user32
1431 enable_userenv
1432 enable_usp10
1433 enable_utildll
1434 enable_uxtheme
1435 enable_vbscript
1436 enable_vcomp
1437 enable_vcomp100
1438 enable_vcomp110
1439 enable_vcomp120
1440 enable_vcomp140
1441 enable_vcomp90
1442 enable_vcruntime140
1443 enable_vcruntime140_1
1444 enable_vdmdbg
1445 enable_version
1446 enable_vga
1447 enable_virtdisk
1448 enable_vssapi
1449 enable_vulkan_1
1450 enable_wbemdisp
1451 enable_wbemprox
1452 enable_wdscore
1453 enable_webservices
1454 enable_websocket
1455 enable_wer
1456 enable_wevtapi
1457 enable_wevtsvc
1458 enable_wiaservc
1459 enable_wimgapi
1460 enable_win32u
1461 enable_windows_devices_bluetooth
1462 enable_windows_devices_enumeration
1463 enable_windows_devices_usb
1464 enable_windows_gaming_input
1465 enable_windows_gaming_ui_gamebar
1466 enable_windows_globalization
1467 enable_windows_media_devices
1468 enable_windows_media_speech
1469 enable_windows_media
1470 enable_windows_networking_hostname
1471 enable_windows_networking
1472 enable_windows_perception_stub
1473 enable_windows_system_profile_systemmanufacturers
1474 enable_windows_ui
1475 enable_windowscodecs
1476 enable_windowscodecsext
1477 enable_winealsa_drv
1478 enable_wineandroid_drv
1479 enable_winebus_sys
1480 enable_winecoreaudio_drv
1481 enable_winecrt0
1482 enable_wined3d
1483 enable_winegstreamer
1484 enable_winehid_sys
1485 enable_winemac_drv
1486 enable_winemapi
1487 enable_wineoss_drv
1488 enable_wineps_drv
1489 enable_winepulse_drv
1490 enable_wineusb_sys
1491 enable_winevulkan
1492 enable_winewayland_drv
1493 enable_winex11_drv
1494 enable_winexinput_sys
1495 enable_wing32
1496 enable_winhttp
1497 enable_wininet
1498 enable_winmm
1499 enable_winnls32
1500 enable_winprint
1501 enable_winscard
1502 enable_winspool_drv
1503 enable_winsta
1504 enable_wintab32
1505 enable_wintrust
1506 enable_wintypes
1507 enable_winusb
1508 enable_wlanapi
1509 enable_wlanui
1510 enable_wldap32
1511 enable_wmasf
1512 enable_wmi
1513 enable_wmiutils
1514 enable_wmp
1515 enable_wmphoto
1516 enable_wmvcore
1517 enable_wnaspi32
1518 enable_wofutil
1519 enable_wow64
1520 enable_wow64cpu
1521 enable_wow64win
1522 enable_wpc
1523 enable_wpcap
1524 enable_ws2_32
1525 enable_wsdapi
1526 enable_wshom_ocx
1527 enable_wsnmp32
1528 enable_wsock32
1529 enable_wtsapi32
1530 enable_wuapi
1531 enable_wuaueng
1532 enable_x3daudio1_0
1533 enable_x3daudio1_1
1534 enable_x3daudio1_2
1535 enable_x3daudio1_3
1536 enable_x3daudio1_4
1537 enable_x3daudio1_5
1538 enable_x3daudio1_6
1539 enable_x3daudio1_7
1540 enable_xactengine2_0
1541 enable_xactengine2_4
1542 enable_xactengine2_7
1543 enable_xactengine2_9
1544 enable_xactengine3_0
1545 enable_xactengine3_1
1546 enable_xactengine3_2
1547 enable_xactengine3_3
1548 enable_xactengine3_4
1549 enable_xactengine3_5
1550 enable_xactengine3_6
1551 enable_xactengine3_7
1552 enable_xapofx1_1
1553 enable_xapofx1_2
1554 enable_xapofx1_3
1555 enable_xapofx1_4
1556 enable_xapofx1_5
1557 enable_xaudio2_0
1558 enable_xaudio2_1
1559 enable_xaudio2_2
1560 enable_xaudio2_3
1561 enable_xaudio2_4
1562 enable_xaudio2_5
1563 enable_xaudio2_6
1564 enable_xaudio2_7
1565 enable_xaudio2_8
1566 enable_xaudio2_9
1567 enable_xinput1_1
1568 enable_xinput1_2
1569 enable_xinput1_3
1570 enable_xinput1_4
1571 enable_xinput9_1_0
1572 enable_xinputuap
1573 enable_xmllite
1574 enable_xolehlp
1575 enable_xpsprint
1576 enable_xpssvcs
1577 enable_fonts
1578 enable_include
1579 enable_adsiid
1580 enable_dmoguids
1581 enable_dxerr8
1582 enable_dxerr9
1583 enable_dxguid
1584 enable_faudio
1585 enable_gsm
1586 enable_jpeg
1587 enable_jxr
1588 enable_lcms2
1589 enable_ldap
1590 enable_mfuuid
1591 enable_mpg123
1592 enable_musl
1593 enable_png
1594 enable_strmbase
1595 enable_strmiids
1596 enable_tiff
1597 enable_uuid
1598 enable_vkd3d
1599 enable_wbemuuid
1600 enable_wmcodecdspuuid
1601 enable_xml2
1602 enable_xslt
1603 enable_zlib
1604 enable_zydis
1605 enable_loader
1606 enable_nls
1607 enable_po
1608 enable_arp
1609 enable_aspnet_regiis
1610 enable_attrib
1611 enable_cabarc
1612 enable_cacls
1613 enable_certutil
1614 enable_chcp_com
1615 enable_clock
1616 enable_cmd
1617 enable_conhost
1618 enable_control
1619 enable_cscript
1620 enable_dism
1621 enable_dllhost
1622 enable_dplaysvr
1623 enable_dpnsvr
1624 enable_dpvsetup
1625 enable_dxdiag
1626 enable_eject
1627 enable_expand
1628 enable_explorer
1629 enable_extrac32
1630 enable_fc
1631 enable_find
1632 enable_findstr
1633 enable_fsutil
1634 enable_hh
1635 enable_hostname
1636 enable_icacls
1637 enable_icinfo
1638 enable_iexplore
1639 enable_ipconfig
1640 enable_klist
1641 enable_lodctr
1642 enable_mofcomp
1643 enable_mshta
1644 enable_msidb
1645 enable_msiexec
1646 enable_msinfo32
1647 enable_net
1648 enable_netsh
1649 enable_netstat
1650 enable_ngen
1651 enable_notepad
1652 enable_oleview
1653 enable_ping
1654 enable_plugplay
1655 enable_pnputil
1656 enable_powershell
1657 enable_presentationfontcache
1658 enable_progman
1659 enable_reg
1660 enable_regasm
1661 enable_regedit
1662 enable_regini
1663 enable_regsvcs
1664 enable_regsvr32
1665 enable_robocopy
1666 enable_rpcss
1667 enable_rundll32
1668 enable_sc
1669 enable_schtasks
1670 enable_sdbinst
1671 enable_secedit
1672 enable_servicemodelreg
1673 enable_services
1674 enable_setx
1675 enable_shutdown
1676 enable_spoolsv
1677 enable_start
1678 enable_subst
1679 enable_svchost
1680 enable_systeminfo
1681 enable_taskkill
1682 enable_tasklist
1683 enable_taskmgr
1684 enable_termsv
1685 enable_uninstaller
1686 enable_unlodctr
1687 enable_view
1688 enable_wevtutil
1689 enable_where
1690 enable_whoami
1691 enable_wineboot
1692 enable_winebrowser
1693 enable_winecfg
1694 enable_wineconsole
1695 enable_winedbg
1696 enable_winedevice
1697 enable_winefile
1698 enable_winemenubuilder
1699 enable_winemine
1700 enable_winemsibuilder
1701 enable_winepath
1702 enable_winetest
1703 enable_winhlp32
1704 enable_winmgmt
1705 enable_winver
1706 enable_wmic
1707 enable_wmplayer
1708 enable_wordpad
1709 enable_write
1710 enable_wscript
1711 enable_wuauserv
1712 enable_wusa
1713 enable_xcopy
1714 enable_server
1715 enable_tools
1716 enable_sfnt2fon
1717 enable_widl
1718 enable_winebuild
1719 enable_winedump
1720 enable_winegcc
1721 enable_winemaker
1722 enable_wmc
1723 enable_wrc
1725 ac_precious_vars='build_alias
1726 host_alias
1727 target_alias
1729 CFLAGS
1730 LDFLAGS
1731 LIBS
1732 CPPFLAGS
1734 CXXFLAGS
1736 OBJC
1737 OBJCFLAGS
1738 FAUDIO_PE_CFLAGS
1739 FAUDIO_PE_LIBS
1740 GSM_PE_CFLAGS
1741 GSM_PE_LIBS
1742 JPEG_PE_CFLAGS
1743 JPEG_PE_LIBS
1744 JXR_PE_CFLAGS
1745 JXR_PE_LIBS
1746 LCMS2_PE_CFLAGS
1747 LCMS2_PE_LIBS
1748 LDAP_PE_CFLAGS
1749 LDAP_PE_LIBS
1750 MPG123_PE_CFLAGS
1751 MPG123_PE_LIBS
1752 MUSL_PE_CFLAGS
1753 MUSL_PE_LIBS
1754 PNG_PE_CFLAGS
1755 PNG_PE_LIBS
1756 TIFF_PE_CFLAGS
1757 TIFF_PE_LIBS
1758 VKD3D_PE_CFLAGS
1759 VKD3D_PE_LIBS
1760 XML2_PE_CFLAGS
1761 XML2_PE_LIBS
1762 XSLT_PE_CFLAGS
1763 XSLT_PE_LIBS
1764 ZLIB_PE_CFLAGS
1765 ZLIB_PE_LIBS
1766 ZYDIS_PE_CFLAGS
1767 ZYDIS_PE_LIBS
1768 XMKMF
1770 WAYLAND_CLIENT_CFLAGS
1771 WAYLAND_CLIENT_LIBS
1772 INOTIFY_CFLAGS
1773 INOTIFY_LIBS
1774 DBUS_CFLAGS
1775 DBUS_LIBS
1776 GNUTLS_CFLAGS
1777 GNUTLS_LIBS
1778 SANE_CFLAGS
1779 SANE_LIBS
1780 USB_CFLAGS
1781 USB_LIBS
1782 GPHOTO2_CFLAGS
1783 GPHOTO2_LIBS
1784 GPHOTO2_PORT_CFLAGS
1785 GPHOTO2_PORT_LIBS
1786 FREETYPE_CFLAGS
1787 FREETYPE_LIBS
1788 PULSE_CFLAGS
1789 PULSE_LIBS
1790 GSTREAMER_CFLAGS
1791 GSTREAMER_LIBS
1792 UDEV_CFLAGS
1793 UDEV_LIBS
1794 UNWIND_CFLAGS
1795 UNWIND_LIBS
1796 SDL2_CFLAGS
1797 SDL2_LIBS
1798 CAPI20_CFLAGS
1799 CAPI20_LIBS
1800 CUPS_CFLAGS
1801 CUPS_LIBS
1802 FONTCONFIG_CFLAGS
1803 FONTCONFIG_LIBS
1804 KRB5_CFLAGS
1805 KRB5_LIBS
1806 GSSAPI_CFLAGS
1807 GSSAPI_LIBS
1808 NETAPI_CFLAGS
1809 NETAPI_LIBS'
1812 # Initialize some variables set by options.
1813 ac_init_help=
1814 ac_init_version=false
1815 ac_unrecognized_opts=
1816 ac_unrecognized_sep=
1817 # The variables have the same names as the options, with
1818 # dashes changed to underlines.
1819 cache_file=/dev/null
1820 exec_prefix=NONE
1821 no_create=
1822 no_recursion=
1823 prefix=NONE
1824 program_prefix=NONE
1825 program_suffix=NONE
1826 program_transform_name=s,x,x,
1827 silent=
1828 site=
1829 srcdir=
1830 verbose=
1831 x_includes=NONE
1832 x_libraries=NONE
1834 # Installation directory options.
1835 # These are left unexpanded so users can "make install exec_prefix=/foo"
1836 # and all the variables that are supposed to be based on exec_prefix
1837 # by default will actually change.
1838 # Use braces instead of parens because sh, perl, etc. also accept them.
1839 # (The list follows the same order as the GNU Coding Standards.)
1840 bindir='${exec_prefix}/bin'
1841 sbindir='${exec_prefix}/sbin'
1842 libexecdir='${exec_prefix}/libexec'
1843 datarootdir='${prefix}/share'
1844 datadir='${datarootdir}'
1845 sysconfdir='${prefix}/etc'
1846 sharedstatedir='${prefix}/com'
1847 localstatedir='${prefix}/var'
1848 runstatedir='${localstatedir}/run'
1849 includedir='${prefix}/include'
1850 oldincludedir='/usr/include'
1851 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1852 infodir='${datarootdir}/info'
1853 htmldir='${docdir}'
1854 dvidir='${docdir}'
1855 pdfdir='${docdir}'
1856 psdir='${docdir}'
1857 libdir='${exec_prefix}/lib'
1858 localedir='${datarootdir}/locale'
1859 mandir='${datarootdir}/man'
1861 ac_prev=
1862 ac_dashdash=
1863 for ac_option
1865 # If the previous option needs an argument, assign it.
1866 if test -n "$ac_prev"; then
1867 eval $ac_prev=\$ac_option
1868 ac_prev=
1869 continue
1872 case $ac_option in
1873 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1874 *=) ac_optarg= ;;
1875 *) ac_optarg=yes ;;
1876 esac
1878 case $ac_dashdash$ac_option in
1880 ac_dashdash=yes ;;
1882 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1883 ac_prev=bindir ;;
1884 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1885 bindir=$ac_optarg ;;
1887 -build | --build | --buil | --bui | --bu)
1888 ac_prev=build_alias ;;
1889 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1890 build_alias=$ac_optarg ;;
1892 -cache-file | --cache-file | --cache-fil | --cache-fi \
1893 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1894 ac_prev=cache_file ;;
1895 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1896 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1897 cache_file=$ac_optarg ;;
1899 --config-cache | -C)
1900 cache_file=config.cache ;;
1902 -datadir | --datadir | --datadi | --datad)
1903 ac_prev=datadir ;;
1904 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1905 datadir=$ac_optarg ;;
1907 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1908 | --dataroo | --dataro | --datar)
1909 ac_prev=datarootdir ;;
1910 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1911 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1912 datarootdir=$ac_optarg ;;
1914 -disable-* | --disable-*)
1915 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1916 # Reject names that are not valid shell variable names.
1917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1918 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1919 ac_useropt_orig=$ac_useropt
1920 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1921 case $ac_user_opts in
1923 "enable_$ac_useropt"
1924 "*) ;;
1925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1926 ac_unrecognized_sep=', ';;
1927 esac
1928 eval enable_$ac_useropt=no ;;
1930 -docdir | --docdir | --docdi | --doc | --do)
1931 ac_prev=docdir ;;
1932 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1933 docdir=$ac_optarg ;;
1935 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1936 ac_prev=dvidir ;;
1937 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1938 dvidir=$ac_optarg ;;
1940 -enable-* | --enable-*)
1941 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1942 # Reject names that are not valid shell variable names.
1943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1944 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1945 ac_useropt_orig=$ac_useropt
1946 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1947 case $ac_user_opts in
1949 "enable_$ac_useropt"
1950 "*) ;;
1951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1952 ac_unrecognized_sep=', ';;
1953 esac
1954 eval enable_$ac_useropt=\$ac_optarg ;;
1956 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1957 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1958 | --exec | --exe | --ex)
1959 ac_prev=exec_prefix ;;
1960 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1961 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1962 | --exec=* | --exe=* | --ex=*)
1963 exec_prefix=$ac_optarg ;;
1965 -gas | --gas | --ga | --g)
1966 # Obsolete; use --with-gas.
1967 with_gas=yes ;;
1969 -help | --help | --hel | --he | -h)
1970 ac_init_help=long ;;
1971 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1972 ac_init_help=recursive ;;
1973 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1974 ac_init_help=short ;;
1976 -host | --host | --hos | --ho)
1977 ac_prev=host_alias ;;
1978 -host=* | --host=* | --hos=* | --ho=*)
1979 host_alias=$ac_optarg ;;
1981 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1982 ac_prev=htmldir ;;
1983 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1984 | --ht=*)
1985 htmldir=$ac_optarg ;;
1987 -includedir | --includedir | --includedi | --included | --include \
1988 | --includ | --inclu | --incl | --inc)
1989 ac_prev=includedir ;;
1990 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1991 | --includ=* | --inclu=* | --incl=* | --inc=*)
1992 includedir=$ac_optarg ;;
1994 -infodir | --infodir | --infodi | --infod | --info | --inf)
1995 ac_prev=infodir ;;
1996 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1997 infodir=$ac_optarg ;;
1999 -libdir | --libdir | --libdi | --libd)
2000 ac_prev=libdir ;;
2001 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2002 libdir=$ac_optarg ;;
2004 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2005 | --libexe | --libex | --libe)
2006 ac_prev=libexecdir ;;
2007 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2008 | --libexe=* | --libex=* | --libe=*)
2009 libexecdir=$ac_optarg ;;
2011 -localedir | --localedir | --localedi | --localed | --locale)
2012 ac_prev=localedir ;;
2013 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2014 localedir=$ac_optarg ;;
2016 -localstatedir | --localstatedir | --localstatedi | --localstated \
2017 | --localstate | --localstat | --localsta | --localst | --locals)
2018 ac_prev=localstatedir ;;
2019 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2020 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2021 localstatedir=$ac_optarg ;;
2023 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2024 ac_prev=mandir ;;
2025 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2026 mandir=$ac_optarg ;;
2028 -nfp | --nfp | --nf)
2029 # Obsolete; use --without-fp.
2030 with_fp=no ;;
2032 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2033 | --no-cr | --no-c | -n)
2034 no_create=yes ;;
2036 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2037 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2038 no_recursion=yes ;;
2040 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2041 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2042 | --oldin | --oldi | --old | --ol | --o)
2043 ac_prev=oldincludedir ;;
2044 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2045 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2046 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2047 oldincludedir=$ac_optarg ;;
2049 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2050 ac_prev=prefix ;;
2051 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2052 prefix=$ac_optarg ;;
2054 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2055 | --program-pre | --program-pr | --program-p)
2056 ac_prev=program_prefix ;;
2057 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2058 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2059 program_prefix=$ac_optarg ;;
2061 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2062 | --program-suf | --program-su | --program-s)
2063 ac_prev=program_suffix ;;
2064 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2065 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2066 program_suffix=$ac_optarg ;;
2068 -program-transform-name | --program-transform-name \
2069 | --program-transform-nam | --program-transform-na \
2070 | --program-transform-n | --program-transform- \
2071 | --program-transform | --program-transfor \
2072 | --program-transfo | --program-transf \
2073 | --program-trans | --program-tran \
2074 | --progr-tra | --program-tr | --program-t)
2075 ac_prev=program_transform_name ;;
2076 -program-transform-name=* | --program-transform-name=* \
2077 | --program-transform-nam=* | --program-transform-na=* \
2078 | --program-transform-n=* | --program-transform-=* \
2079 | --program-transform=* | --program-transfor=* \
2080 | --program-transfo=* | --program-transf=* \
2081 | --program-trans=* | --program-tran=* \
2082 | --progr-tra=* | --program-tr=* | --program-t=*)
2083 program_transform_name=$ac_optarg ;;
2085 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2086 ac_prev=pdfdir ;;
2087 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2088 pdfdir=$ac_optarg ;;
2090 -psdir | --psdir | --psdi | --psd | --ps)
2091 ac_prev=psdir ;;
2092 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2093 psdir=$ac_optarg ;;
2095 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2096 | -silent | --silent | --silen | --sile | --sil)
2097 silent=yes ;;
2099 -runstatedir | --runstatedir | --runstatedi | --runstated \
2100 | --runstate | --runstat | --runsta | --runst | --runs \
2101 | --run | --ru | --r)
2102 ac_prev=runstatedir ;;
2103 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2104 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2105 | --run=* | --ru=* | --r=*)
2106 runstatedir=$ac_optarg ;;
2108 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2109 ac_prev=sbindir ;;
2110 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2111 | --sbi=* | --sb=*)
2112 sbindir=$ac_optarg ;;
2114 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2115 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2116 | --sharedst | --shareds | --shared | --share | --shar \
2117 | --sha | --sh)
2118 ac_prev=sharedstatedir ;;
2119 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2120 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2121 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2122 | --sha=* | --sh=*)
2123 sharedstatedir=$ac_optarg ;;
2125 -site | --site | --sit)
2126 ac_prev=site ;;
2127 -site=* | --site=* | --sit=*)
2128 site=$ac_optarg ;;
2130 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2131 ac_prev=srcdir ;;
2132 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2133 srcdir=$ac_optarg ;;
2135 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2136 | --syscon | --sysco | --sysc | --sys | --sy)
2137 ac_prev=sysconfdir ;;
2138 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2139 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2140 sysconfdir=$ac_optarg ;;
2142 -target | --target | --targe | --targ | --tar | --ta | --t)
2143 ac_prev=target_alias ;;
2144 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2145 target_alias=$ac_optarg ;;
2147 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2148 verbose=yes ;;
2150 -version | --version | --versio | --versi | --vers | -V)
2151 ac_init_version=: ;;
2153 -with-* | --with-*)
2154 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2155 # Reject names that are not valid shell variable names.
2156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2157 as_fn_error $? "invalid package name: \`$ac_useropt'"
2158 ac_useropt_orig=$ac_useropt
2159 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2160 case $ac_user_opts in
2162 "with_$ac_useropt"
2163 "*) ;;
2164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2165 ac_unrecognized_sep=', ';;
2166 esac
2167 eval with_$ac_useropt=\$ac_optarg ;;
2169 -without-* | --without-*)
2170 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2171 # Reject names that are not valid shell variable names.
2172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2173 as_fn_error $? "invalid package name: \`$ac_useropt'"
2174 ac_useropt_orig=$ac_useropt
2175 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2176 case $ac_user_opts in
2178 "with_$ac_useropt"
2179 "*) ;;
2180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2181 ac_unrecognized_sep=', ';;
2182 esac
2183 eval with_$ac_useropt=no ;;
2185 --x)
2186 # Obsolete; use --with-x.
2187 with_x=yes ;;
2189 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2190 | --x-incl | --x-inc | --x-in | --x-i)
2191 ac_prev=x_includes ;;
2192 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2193 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2194 x_includes=$ac_optarg ;;
2196 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2197 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2198 ac_prev=x_libraries ;;
2199 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2200 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2201 x_libraries=$ac_optarg ;;
2203 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2204 Try \`$0 --help' for more information"
2207 *=*)
2208 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2209 # Reject names that are not valid shell variable names.
2210 case $ac_envvar in #(
2211 '' | [0-9]* | *[!_$as_cr_alnum]* )
2212 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2213 esac
2214 eval $ac_envvar=\$ac_optarg
2215 export $ac_envvar ;;
2218 # FIXME: should be removed in autoconf 3.0.
2219 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2220 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2221 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2222 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2225 esac
2226 done
2228 if test -n "$ac_prev"; then
2229 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2230 as_fn_error $? "missing argument to $ac_option"
2233 if test -n "$ac_unrecognized_opts"; then
2234 case $enable_option_checking in
2235 no) ;;
2236 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2237 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2238 esac
2241 # Check all directory arguments for consistency.
2242 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2243 datadir sysconfdir sharedstatedir localstatedir includedir \
2244 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2245 libdir localedir mandir runstatedir
2247 eval ac_val=\$$ac_var
2248 # Remove trailing slashes.
2249 case $ac_val in
2250 */ )
2251 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2252 eval $ac_var=\$ac_val;;
2253 esac
2254 # Be sure to have absolute directory names.
2255 case $ac_val in
2256 [\\/$]* | ?:[\\/]* ) continue;;
2257 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2258 esac
2259 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2260 done
2262 # There might be people who depend on the old broken behavior: `$host'
2263 # used to hold the argument of --host etc.
2264 # FIXME: To remove some day.
2265 build=$build_alias
2266 host=$host_alias
2267 target=$target_alias
2269 # FIXME: To remove some day.
2270 if test "x$host_alias" != x; then
2271 if test "x$build_alias" = x; then
2272 cross_compiling=maybe
2273 elif test "x$build_alias" != "x$host_alias"; then
2274 cross_compiling=yes
2278 ac_tool_prefix=
2279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2281 test "$silent" = yes && exec 6>/dev/null
2284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2285 ac_ls_di=`ls -di .` &&
2286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2287 as_fn_error $? "working directory cannot be determined"
2288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2289 as_fn_error $? "pwd does not report name of working directory"
2292 # Find the source files, if location was not specified.
2293 if test -z "$srcdir"; then
2294 ac_srcdir_defaulted=yes
2295 # Try the directory containing this script, then the parent directory.
2296 ac_confdir=`$as_dirname -- "$as_myself" ||
2297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2298 X"$as_myself" : 'X\(//\)[^/]' \| \
2299 X"$as_myself" : 'X\(//\)$' \| \
2300 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2301 printf "%s\n" X"$as_myself" |
2302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2303 s//\1/
2306 /^X\(\/\/\)[^/].*/{
2307 s//\1/
2310 /^X\(\/\/\)$/{
2311 s//\1/
2314 /^X\(\/\).*/{
2315 s//\1/
2318 s/.*/./; q'`
2319 srcdir=$ac_confdir
2320 if test ! -r "$srcdir/$ac_unique_file"; then
2321 srcdir=..
2323 else
2324 ac_srcdir_defaulted=no
2326 if test ! -r "$srcdir/$ac_unique_file"; then
2327 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2328 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2330 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2331 ac_abs_confdir=`(
2332 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2333 pwd)`
2334 # When building in place, set srcdir=.
2335 if test "$ac_abs_confdir" = "$ac_pwd"; then
2336 srcdir=.
2338 # Remove unnecessary trailing slashes from srcdir.
2339 # Double slashes in file names in object file debugging info
2340 # mess up M-x gdb in Emacs.
2341 case $srcdir in
2342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2343 esac
2344 for ac_var in $ac_precious_vars; do
2345 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2346 eval ac_env_${ac_var}_value=\$${ac_var}
2347 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2348 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2349 done
2352 # Report the --help message.
2354 if test "$ac_init_help" = "long"; then
2355 # Omit some internal or obsolete options to make the list less imposing.
2356 # This message is too long to be a string in the A/UX 3.1 sh.
2357 cat <<_ACEOF
2358 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2360 Usage: $0 [OPTION]... [VAR=VALUE]...
2362 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2363 VAR=VALUE. See below for descriptions of some of the useful variables.
2365 Defaults for the options are specified in brackets.
2367 Configuration:
2368 -h, --help display this help and exit
2369 --help=short display options specific to this package
2370 --help=recursive display the short help of all the included packages
2371 -V, --version display version information and exit
2372 -q, --quiet, --silent do not print \`checking ...' messages
2373 --cache-file=FILE cache test results in FILE [disabled]
2374 -C, --config-cache alias for \`--cache-file=config.cache'
2375 -n, --no-create do not create output files
2376 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2378 Installation directories:
2379 --prefix=PREFIX install architecture-independent files in PREFIX
2380 [$ac_default_prefix]
2381 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2382 [PREFIX]
2384 By default, \`make install' will install all the files in
2385 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2386 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2387 for instance \`--prefix=\$HOME'.
2389 For better control, use the options below.
2391 Fine tuning of the installation directories:
2392 --bindir=DIR user executables [EPREFIX/bin]
2393 --sbindir=DIR system admin executables [EPREFIX/sbin]
2394 --libexecdir=DIR program executables [EPREFIX/libexec]
2395 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2396 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2397 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2398 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2399 --libdir=DIR object code libraries [EPREFIX/lib]
2400 --includedir=DIR C header files [PREFIX/include]
2401 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2404 --infodir=DIR info documentation [DATAROOTDIR/info]
2405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2406 --mandir=DIR man documentation [DATAROOTDIR/man]
2407 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2408 --htmldir=DIR html documentation [DOCDIR]
2409 --dvidir=DIR dvi documentation [DOCDIR]
2410 --pdfdir=DIR pdf documentation [DOCDIR]
2411 --psdir=DIR ps documentation [DOCDIR]
2412 _ACEOF
2414 cat <<\_ACEOF
2416 X features:
2417 --x-includes=DIR X include files are in DIR
2418 --x-libraries=DIR X library files are in DIR
2420 System types:
2421 --build=BUILD configure for building on BUILD [guessed]
2422 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2423 _ACEOF
2426 if test -n "$ac_init_help"; then
2427 case $ac_init_help in
2428 short | recursive ) echo "Configuration of Wine 8.13:";;
2429 esac
2430 cat <<\_ACEOF
2432 Optional Features:
2433 --disable-option-checking ignore unrecognized --enable/--with options
2434 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2435 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2436 --enable-archs={i386,x86_64,arm,aarch64}
2437 enable multiple architectures for PE compilation
2438 --disable-win16 do not include Win16 support
2439 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2440 binaries)
2441 --disable-tests do not build the regression tests
2442 --enable-build-id include .buildid section in output objects
2443 --enable-maintainer-mode
2444 enable maintainer-specific build rules
2445 --enable-silent-rules use silent build rules (override: "make V=1")
2446 --enable-werror treat compilation warnings as errors
2447 --disable-largefile omit support for large files
2449 Optional Packages:
2450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2452 --without-alsa do not use the Alsa sound support
2453 --without-capi do not use CAPI (ISDN support)
2454 --without-coreaudio do not use the CoreAudio sound support
2455 --without-cups do not use CUPS
2456 --without-dbus do not use DBus (dynamic device support)
2457 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2458 --without-fontconfig do not use fontconfig
2459 --without-freetype do not use the FreeType library
2460 --without-gettext do not use gettext
2461 --with-gettextpo use the GetTextPO library to rebuild po files
2462 --without-gphoto do not use gphoto (Digital Camera support)
2463 --without-gnutls do not use GnuTLS (schannel support)
2464 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2465 --without-gstreamer do not use GStreamer (codecs support)
2466 --without-inotify do not use inotify (filesystem change notifications)
2467 --without-krb5 do not use krb5 (Kerberos)
2468 --without-mingw do not use the MinGW cross-compiler
2469 --without-netapi do not use the Samba NetAPI library
2470 --without-opencl do not use OpenCL
2471 --without-opengl do not use OpenGL
2472 --without-osmesa do not use the OSMesa library
2473 --without-oss do not use the OSS sound support
2474 --without-pcap do not use the Packet Capture library
2475 --without-pcsclite do not use PCSC lite
2476 --without-pthread do not use the pthread library
2477 --without-pulse do not use PulseAudio sound support
2478 --without-sane do not use SANE (scanner support)
2479 --without-sdl do not use SDL
2480 --without-udev do not use udev (plug and play support)
2481 --without-unwind do not use the libunwind library (exception
2482 handling)
2483 --without-usb do not use the libusb library
2484 --without-v4l2 do not use v4l2 (video capture)
2485 --without-vulkan do not use Vulkan
2486 --without-wayland do not build the Wayland driver
2487 --without-xcomposite do not use the Xcomposite extension
2488 --without-xcursor do not use the Xcursor extension
2489 --without-xfixes do not use Xfixes for clipboard change notifications
2490 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2491 --without-xinput do not use the Xinput extension
2492 --without-xinput2 do not use the Xinput 2 extension
2493 --without-xrandr do not use Xrandr (multi-monitor support)
2494 --without-xrender do not use the Xrender extension
2495 --without-xshape do not use the Xshape extension
2496 --without-xshm do not use XShm (shared memory extension)
2497 --without-xxf86vm do not use XFree video mode extension
2498 --with-system-dllpath=PATH
2499 load external PE dependencies from colon-separated
2500 path PATH
2501 --with-wine-tools=DIR use Wine tools from directory DIR
2502 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2503 --with-x use the X Window System
2505 Some influential environment variables:
2506 CC C compiler command
2507 CFLAGS C compiler flags
2508 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2509 nonstandard directory <lib dir>
2510 LIBS libraries to pass to the linker, e.g. -l<library>
2511 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2512 you have headers in a nonstandard directory <include dir>
2513 CXX C++ compiler command
2514 CXXFLAGS C++ compiler flags
2515 OBJC Objective C compiler command
2516 OBJCFLAGS Objective C compiler flags
2517 FAUDIO_PE_CFLAGS
2518 C compiler flags for the PE faudio, overriding the bundled
2519 version
2520 FAUDIO_PE_LIBS
2521 Linker flags for the PE faudio, overriding the bundled version
2522 GSM_PE_CFLAGS
2523 C compiler flags for the PE gsm, overriding the bundled version
2524 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2525 JPEG_PE_CFLAGS
2526 C compiler flags for the PE jpeg, overriding the bundled version
2527 JPEG_PE_LIBS
2528 Linker flags for the PE jpeg, overriding the bundled version
2529 JXR_PE_CFLAGS
2530 C compiler flags for the PE jxr, overriding the bundled version
2531 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2532 LCMS2_PE_CFLAGS
2533 C compiler flags for the PE lcms2, overriding the bundled
2534 version
2535 LCMS2_PE_LIBS
2536 Linker flags for the PE lcms2, overriding the bundled version
2537 LDAP_PE_CFLAGS
2538 C compiler flags for the PE ldap, overriding the bundled version
2539 LDAP_PE_LIBS
2540 Linker flags for the PE ldap, overriding the bundled version
2541 MPG123_PE_CFLAGS
2542 C compiler flags for the PE mpg123, overriding the bundled
2543 version
2544 MPG123_PE_LIBS
2545 Linker flags for the PE mpg123, overriding the bundled version
2546 MUSL_PE_CFLAGS
2547 C compiler flags for the PE musl, overriding the bundled version
2548 MUSL_PE_LIBS
2549 Linker flags for the PE musl, overriding the bundled version
2550 PNG_PE_CFLAGS
2551 C compiler flags for the PE png, overriding the bundled version
2552 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2553 TIFF_PE_CFLAGS
2554 C compiler flags for the PE tiff, overriding the bundled version
2555 TIFF_PE_LIBS
2556 Linker flags for the PE tiff, overriding the bundled version
2557 VKD3D_PE_CFLAGS
2558 C compiler flags for the PE vkd3d, overriding the bundled
2559 version
2560 VKD3D_PE_LIBS
2561 Linker flags for the PE vkd3d, overriding the bundled version
2562 XML2_PE_CFLAGS
2563 C compiler flags for the PE xml2, overriding the bundled version
2564 XML2_PE_LIBS
2565 Linker flags for the PE xml2, overriding the bundled version
2566 XSLT_PE_CFLAGS
2567 C compiler flags for the PE xslt, overriding the bundled version
2568 XSLT_PE_LIBS
2569 Linker flags for the PE xslt, overriding the bundled version
2570 ZLIB_PE_CFLAGS
2571 C compiler flags for the PE zlib, overriding the bundled version
2572 ZLIB_PE_LIBS
2573 Linker flags for the PE zlib, overriding the bundled version
2574 ZYDIS_PE_CFLAGS
2575 C compiler flags for the PE zydis, overriding the bundled
2576 version
2577 ZYDIS_PE_LIBS
2578 Linker flags for the PE zydis, overriding the bundled version
2579 XMKMF Path to xmkmf, Makefile generator for X Window System
2580 CPP C preprocessor
2581 WAYLAND_CLIENT_CFLAGS
2582 C compiler flags for wayland-client, overriding pkg-config
2583 WAYLAND_CLIENT_LIBS
2584 Linker flags for wayland-client, overriding pkg-config
2585 INOTIFY_CFLAGS
2586 C compiler flags for libinotify, overriding pkg-config
2587 INOTIFY_LIBS
2588 Linker flags for libinotify, overriding pkg-config
2589 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2590 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2591 GNUTLS_CFLAGS
2592 C compiler flags for gnutls, overriding pkg-config
2593 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2594 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2595 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2596 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2597 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2598 GPHOTO2_CFLAGS
2599 C compiler flags for libgphoto2, overriding pkg-config
2600 GPHOTO2_LIBS
2601 Linker flags for libgphoto2, overriding pkg-config
2602 GPHOTO2_PORT_CFLAGS
2603 C compiler flags for libgphoto2_port, overriding pkg-config
2604 GPHOTO2_PORT_LIBS
2605 Linker flags for libgphoto2_port, overriding pkg-config
2606 FREETYPE_CFLAGS
2607 C compiler flags for freetype2, overriding pkg-config
2608 FREETYPE_LIBS
2609 Linker flags for freetype2, overriding pkg-config
2610 PULSE_CFLAGS
2611 C compiler flags for libpulse, overriding pkg-config
2612 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2613 GSTREAMER_CFLAGS
2614 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2615 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2616 GSTREAMER_LIBS
2617 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2618 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2619 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2620 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2621 UNWIND_CFLAGS
2622 C compiler flags for libunwind, overriding pkg-config
2623 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2624 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2625 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2626 CAPI20_CFLAGS
2627 C compiler flags for capi20, overriding pkg-config
2628 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2629 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2630 CUPS_LIBS Linker flags for cups, overriding pkg-config
2631 FONTCONFIG_CFLAGS
2632 C compiler flags for fontconfig, overriding pkg-config
2633 FONTCONFIG_LIBS
2634 Linker flags for fontconfig, overriding pkg-config
2635 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2636 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2637 GSSAPI_CFLAGS
2638 C compiler flags for krb5-gssapi, overriding pkg-config
2639 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2640 NETAPI_CFLAGS
2641 C compiler flags for netapi, overriding pkg-config
2642 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2644 Use these variables to override the choices made by `configure' or to help
2645 it to find libraries and programs with nonstandard names/locations.
2647 Report bugs to <wine-devel@winehq.org>.
2648 Wine home page: <https://www.winehq.org>.
2649 _ACEOF
2650 ac_status=$?
2653 if test "$ac_init_help" = "recursive"; then
2654 # If there are subdirs, report their specific --help.
2655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2656 test -d "$ac_dir" ||
2657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2658 continue
2659 ac_builddir=.
2661 case "$ac_dir" in
2662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2664 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2665 # A ".." for each directory in $ac_dir_suffix.
2666 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2667 case $ac_top_builddir_sub in
2668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2670 esac ;;
2671 esac
2672 ac_abs_top_builddir=$ac_pwd
2673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2674 # for backward compatibility:
2675 ac_top_builddir=$ac_top_build_prefix
2677 case $srcdir in
2678 .) # We are building in place.
2679 ac_srcdir=.
2680 ac_top_srcdir=$ac_top_builddir_sub
2681 ac_abs_top_srcdir=$ac_pwd ;;
2682 [\\/]* | ?:[\\/]* ) # Absolute name.
2683 ac_srcdir=$srcdir$ac_dir_suffix;
2684 ac_top_srcdir=$srcdir
2685 ac_abs_top_srcdir=$srcdir ;;
2686 *) # Relative name.
2687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2688 ac_top_srcdir=$ac_top_build_prefix$srcdir
2689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2690 esac
2691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2693 cd "$ac_dir" || { ac_status=$?; continue; }
2694 # Check for configure.gnu first; this name is used for a wrapper for
2695 # Metaconfig's "Configure" on case-insensitive file systems.
2696 if test -f "$ac_srcdir/configure.gnu"; then
2697 echo &&
2698 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2699 elif test -f "$ac_srcdir/configure"; then
2700 echo &&
2701 $SHELL "$ac_srcdir/configure" --help=recursive
2702 else
2703 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2704 fi || ac_status=$?
2705 cd "$ac_pwd" || { ac_status=$?; break; }
2706 done
2709 test -n "$ac_init_help" && exit $ac_status
2710 if $ac_init_version; then
2711 cat <<\_ACEOF
2712 Wine configure 8.13
2713 generated by GNU Autoconf 2.71
2715 Copyright (C) 2021 Free Software Foundation, Inc.
2716 This configure script is free software; the Free Software Foundation
2717 gives unlimited permission to copy, distribute and modify it.
2718 _ACEOF
2719 exit
2722 ## ------------------------ ##
2723 ## Autoconf initialization. ##
2724 ## ------------------------ ##
2726 # ac_fn_c_try_compile LINENO
2727 # --------------------------
2728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2729 ac_fn_c_try_compile ()
2731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2732 rm -f conftest.$ac_objext conftest.beam
2733 if { { ac_try="$ac_compile"
2734 case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 printf "%s\n" "$ac_try_echo"; } >&5
2740 (eval "$ac_compile") 2>conftest.err
2741 ac_status=$?
2742 if test -s conftest.err; then
2743 grep -v '^ *+' conftest.err >conftest.er1
2744 cat conftest.er1 >&5
2745 mv -f conftest.er1 conftest.err
2747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; } && {
2749 test -z "$ac_c_werror_flag" ||
2750 test ! -s conftest.err
2751 } && test -s conftest.$ac_objext
2752 then :
2753 ac_retval=0
2754 else $as_nop
2755 printf "%s\n" "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.$ac_ext >&5
2758 ac_retval=1
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2763 } # ac_fn_c_try_compile
2765 # ac_fn_cxx_try_compile LINENO
2766 # ----------------------------
2767 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2768 ac_fn_cxx_try_compile ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 rm -f conftest.$ac_objext conftest.beam
2772 if { { ac_try="$ac_compile"
2773 case "(($ac_try" in
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2776 esac
2777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2778 printf "%s\n" "$ac_try_echo"; } >&5
2779 (eval "$ac_compile") 2>conftest.err
2780 ac_status=$?
2781 if test -s conftest.err; then
2782 grep -v '^ *+' conftest.err >conftest.er1
2783 cat conftest.er1 >&5
2784 mv -f conftest.er1 conftest.err
2786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; } && {
2788 test -z "$ac_cxx_werror_flag" ||
2789 test ! -s conftest.err
2790 } && test -s conftest.$ac_objext
2791 then :
2792 ac_retval=0
2793 else $as_nop
2794 printf "%s\n" "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2797 ac_retval=1
2799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 as_fn_set_status $ac_retval
2802 } # ac_fn_cxx_try_compile
2804 # ac_fn_c_try_link LINENO
2805 # -----------------------
2806 # Try to link conftest.$ac_ext, and return whether this succeeded.
2807 ac_fn_c_try_link ()
2809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2810 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2811 if { { ac_try="$ac_link"
2812 case "(($ac_try" in
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2815 esac
2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2817 printf "%s\n" "$ac_try_echo"; } >&5
2818 (eval "$ac_link") 2>conftest.err
2819 ac_status=$?
2820 if test -s conftest.err; then
2821 grep -v '^ *+' conftest.err >conftest.er1
2822 cat conftest.er1 >&5
2823 mv -f conftest.er1 conftest.err
2825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2826 test $ac_status = 0; } && {
2827 test -z "$ac_c_werror_flag" ||
2828 test ! -s conftest.err
2829 } && test -s conftest$ac_exeext && {
2830 test "$cross_compiling" = yes ||
2831 test -x conftest$ac_exeext
2833 then :
2834 ac_retval=0
2835 else $as_nop
2836 printf "%s\n" "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2839 ac_retval=1
2841 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2842 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2843 # interfere with the next link command; also delete a directory that is
2844 # left behind by Apple's compiler. We do this before executing the actions.
2845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847 as_fn_set_status $ac_retval
2849 } # ac_fn_c_try_link
2851 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2852 # -------------------------------------------------------
2853 # Tests whether HEADER exists and can be compiled using the include files in
2854 # INCLUDES, setting the cache variable VAR accordingly.
2855 ac_fn_c_check_header_compile ()
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2859 printf %s "checking for $2... " >&6; }
2860 if eval test \${$3+y}
2861 then :
2862 printf %s "(cached) " >&6
2863 else $as_nop
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2867 #include <$2>
2868 _ACEOF
2869 if ac_fn_c_try_compile "$LINENO"
2870 then :
2871 eval "$3=yes"
2872 else $as_nop
2873 eval "$3=no"
2875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2877 eval ac_res=\$$3
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2879 printf "%s\n" "$ac_res" >&6; }
2880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882 } # ac_fn_c_check_header_compile
2884 # ac_fn_objc_try_compile LINENO
2885 # -----------------------------
2886 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2887 ac_fn_objc_try_compile ()
2889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2890 rm -f conftest.$ac_objext conftest.beam
2891 if { { ac_try="$ac_compile"
2892 case "(($ac_try" in
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2895 esac
2896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2897 printf "%s\n" "$ac_try_echo"; } >&5
2898 (eval "$ac_compile") 2>conftest.err
2899 ac_status=$?
2900 if test -s conftest.err; then
2901 grep -v '^ *+' conftest.err >conftest.er1
2902 cat conftest.er1 >&5
2903 mv -f conftest.er1 conftest.err
2905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2906 test $ac_status = 0; } && {
2907 test -z "$ac_objc_werror_flag" ||
2908 test ! -s conftest.err
2909 } && test -s conftest.$ac_objext
2910 then :
2911 ac_retval=0
2912 else $as_nop
2913 printf "%s\n" "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2916 ac_retval=1
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 as_fn_set_status $ac_retval
2921 } # ac_fn_objc_try_compile
2923 # ac_fn_c_check_func LINENO FUNC VAR
2924 # ----------------------------------
2925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2926 ac_fn_c_check_func ()
2928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2930 printf %s "checking for $2... " >&6; }
2931 if eval test \${$3+y}
2932 then :
2933 printf %s "(cached) " >&6
2934 else $as_nop
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2937 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2939 #define $2 innocuous_$2
2941 /* System header to define __stub macros and hopefully few prototypes,
2942 which can conflict with char $2 (); below. */
2944 #include <limits.h>
2945 #undef $2
2947 /* Override any GCC internal prototype to avoid an error.
2948 Use char because int might match the return type of a GCC
2949 builtin and then its argument prototype would still apply. */
2950 #ifdef __cplusplus
2951 extern "C"
2952 #endif
2953 char $2 ();
2954 /* The GNU C library defines this for functions which it implements
2955 to always fail with ENOSYS. Some functions are actually named
2956 something starting with __ and the normal name is an alias. */
2957 #if defined __stub_$2 || defined __stub___$2
2958 choke me
2959 #endif
2962 main (void)
2964 return $2 ();
2966 return 0;
2968 _ACEOF
2969 if ac_fn_c_try_link "$LINENO"
2970 then :
2971 eval "$3=yes"
2972 else $as_nop
2973 eval "$3=no"
2975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2976 conftest$ac_exeext conftest.$ac_ext
2978 eval ac_res=\$$3
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2980 printf "%s\n" "$ac_res" >&6; }
2981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2983 } # ac_fn_c_check_func
2985 # ac_fn_c_try_cpp LINENO
2986 # ----------------------
2987 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2988 ac_fn_c_try_cpp ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 if { { ac_try="$ac_cpp conftest.$ac_ext"
2992 case "(($ac_try" in
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2995 esac
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 printf "%s\n" "$ac_try_echo"; } >&5
2998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2999 ac_status=$?
3000 if test -s conftest.err; then
3001 grep -v '^ *+' conftest.err >conftest.er1
3002 cat conftest.er1 >&5
3003 mv -f conftest.er1 conftest.err
3005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006 test $ac_status = 0; } > conftest.i && {
3007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3008 test ! -s conftest.err
3010 then :
3011 ac_retval=0
3012 else $as_nop
3013 printf "%s\n" "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_retval=1
3018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3019 as_fn_set_status $ac_retval
3021 } # ac_fn_c_try_cpp
3023 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3024 # ----------------------------------------------------
3025 # Tries to find if the field MEMBER exists in type AGGR, after including
3026 # INCLUDES, setting cache variable VAR accordingly.
3027 ac_fn_c_check_member ()
3029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3031 printf %s "checking for $2.$3... " >&6; }
3032 if eval test \${$4+y}
3033 then :
3034 printf %s "(cached) " >&6
3035 else $as_nop
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3040 main (void)
3042 static $2 ac_aggr;
3043 if (ac_aggr.$3)
3044 return 0;
3046 return 0;
3048 _ACEOF
3049 if ac_fn_c_try_compile "$LINENO"
3050 then :
3051 eval "$4=yes"
3052 else $as_nop
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3057 main (void)
3059 static $2 ac_aggr;
3060 if (sizeof ac_aggr.$3)
3061 return 0;
3063 return 0;
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"
3067 then :
3068 eval "$4=yes"
3069 else $as_nop
3070 eval "$4=no"
3072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3076 eval ac_res=\$$4
3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3078 printf "%s\n" "$ac_res" >&6; }
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3081 } # ac_fn_c_check_member
3083 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3084 # -------------------------------------------
3085 # Tests whether TYPE exists after having included INCLUDES, setting cache
3086 # variable VAR accordingly.
3087 ac_fn_c_check_type ()
3089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3091 printf %s "checking for $2... " >&6; }
3092 if eval test \${$3+y}
3093 then :
3094 printf %s "(cached) " >&6
3095 else $as_nop
3096 eval "$3=no"
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3101 main (void)
3103 if (sizeof ($2))
3104 return 0;
3106 return 0;
3108 _ACEOF
3109 if ac_fn_c_try_compile "$LINENO"
3110 then :
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3115 main (void)
3117 if (sizeof (($2)))
3118 return 0;
3120 return 0;
3122 _ACEOF
3123 if ac_fn_c_try_compile "$LINENO"
3124 then :
3126 else $as_nop
3127 eval "$3=yes"
3129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3133 eval ac_res=\$$3
3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3135 printf "%s\n" "$ac_res" >&6; }
3136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3138 } # ac_fn_c_check_type
3139 ac_configure_args_raw=
3140 for ac_arg
3142 case $ac_arg in
3143 *\'*)
3144 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3145 esac
3146 as_fn_append ac_configure_args_raw " '$ac_arg'"
3147 done
3149 case $ac_configure_args_raw in
3150 *$as_nl*)
3151 ac_safe_unquote= ;;
3153 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3154 ac_unsafe_a="$ac_unsafe_z#~"
3155 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3156 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3157 esac
3159 cat >config.log <<_ACEOF
3160 This file contains any messages produced by compilers while
3161 running configure, to aid debugging if configure makes a mistake.
3163 It was created by Wine $as_me 8.13, which was
3164 generated by GNU Autoconf 2.71. Invocation command line was
3166 $ $0$ac_configure_args_raw
3168 _ACEOF
3169 exec 5>>config.log
3171 cat <<_ASUNAME
3172 ## --------- ##
3173 ## Platform. ##
3174 ## --------- ##
3176 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3177 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3178 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3179 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3180 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3182 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3183 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3185 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3186 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3187 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3188 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3193 _ASUNAME
3195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 for as_dir in $PATH
3198 IFS=$as_save_IFS
3199 case $as_dir in #(((
3200 '') as_dir=./ ;;
3201 */) ;;
3202 *) as_dir=$as_dir/ ;;
3203 esac
3204 printf "%s\n" "PATH: $as_dir"
3205 done
3206 IFS=$as_save_IFS
3208 } >&5
3210 cat >&5 <<_ACEOF
3213 ## ----------- ##
3214 ## Core tests. ##
3215 ## ----------- ##
3217 _ACEOF
3220 # Keep a trace of the command line.
3221 # Strip out --no-create and --no-recursion so they do not pile up.
3222 # Strip out --silent because we don't want to record it for future runs.
3223 # Also quote any args containing shell meta-characters.
3224 # Make two passes to allow for proper duplicate-argument suppression.
3225 ac_configure_args=
3226 ac_configure_args0=
3227 ac_configure_args1=
3228 ac_must_keep_next=false
3229 for ac_pass in 1 2
3231 for ac_arg
3233 case $ac_arg in
3234 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3236 | -silent | --silent | --silen | --sile | --sil)
3237 continue ;;
3238 *\'*)
3239 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3240 esac
3241 case $ac_pass in
3242 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3244 as_fn_append ac_configure_args1 " '$ac_arg'"
3245 if test $ac_must_keep_next = true; then
3246 ac_must_keep_next=false # Got value, back to normal.
3247 else
3248 case $ac_arg in
3249 *=* | --config-cache | -C | -disable-* | --disable-* \
3250 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3251 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3252 | -with-* | --with-* | -without-* | --without-* | --x)
3253 case "$ac_configure_args0 " in
3254 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3255 esac
3257 -* ) ac_must_keep_next=true ;;
3258 esac
3260 as_fn_append ac_configure_args " '$ac_arg'"
3262 esac
3263 done
3264 done
3265 { ac_configure_args0=; unset ac_configure_args0;}
3266 { ac_configure_args1=; unset ac_configure_args1;}
3268 # When interrupted or exit'd, cleanup temporary files, and complete
3269 # config.log. We remove comments because anyway the quotes in there
3270 # would cause problems or look ugly.
3271 # WARNING: Use '\'' to represent an apostrophe within the trap.
3272 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3273 trap 'exit_status=$?
3274 # Sanitize IFS.
3275 IFS=" "" $as_nl"
3276 # Save into config.log some information that might help in debugging.
3278 echo
3280 printf "%s\n" "## ---------------- ##
3281 ## Cache variables. ##
3282 ## ---------------- ##"
3283 echo
3284 # The following way of writing the cache mishandles newlines in values,
3286 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3287 eval ac_val=\$$ac_var
3288 case $ac_val in #(
3289 *${as_nl}*)
3290 case $ac_var in #(
3291 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3292 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3293 esac
3294 case $ac_var in #(
3295 _ | IFS | as_nl) ;; #(
3296 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3297 *) { eval $ac_var=; unset $ac_var;} ;;
3298 esac ;;
3299 esac
3300 done
3301 (set) 2>&1 |
3302 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3303 *${as_nl}ac_space=\ *)
3304 sed -n \
3305 "s/'\''/'\''\\\\'\'''\''/g;
3306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3307 ;; #(
3309 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3311 esac |
3312 sort
3314 echo
3316 printf "%s\n" "## ----------------- ##
3317 ## Output variables. ##
3318 ## ----------------- ##"
3319 echo
3320 for ac_var in $ac_subst_vars
3322 eval ac_val=\$$ac_var
3323 case $ac_val in
3324 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3325 esac
3326 printf "%s\n" "$ac_var='\''$ac_val'\''"
3327 done | sort
3328 echo
3330 if test -n "$ac_subst_files"; then
3331 printf "%s\n" "## ------------------- ##
3332 ## File substitutions. ##
3333 ## ------------------- ##"
3334 echo
3335 for ac_var in $ac_subst_files
3337 eval ac_val=\$$ac_var
3338 case $ac_val in
3339 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3340 esac
3341 printf "%s\n" "$ac_var='\''$ac_val'\''"
3342 done | sort
3343 echo
3346 if test -s confdefs.h; then
3347 printf "%s\n" "## ----------- ##
3348 ## confdefs.h. ##
3349 ## ----------- ##"
3350 echo
3351 cat confdefs.h
3352 echo
3354 test "$ac_signal" != 0 &&
3355 printf "%s\n" "$as_me: caught signal $ac_signal"
3356 printf "%s\n" "$as_me: exit $exit_status"
3357 } >&5
3358 rm -f core *.core core.conftest.* &&
3359 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3360 exit $exit_status
3362 for ac_signal in 1 2 13 15; do
3363 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3364 done
3365 ac_signal=0
3367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3368 rm -f -r conftest* confdefs.h
3370 printf "%s\n" "/* confdefs.h */" > confdefs.h
3372 # Predefined preprocessor variables.
3374 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3380 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3382 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3384 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3387 # Let the site file select an alternate cache file if it wants to.
3388 # Prefer an explicitly selected file to automatically selected ones.
3389 if test -n "$CONFIG_SITE"; then
3390 ac_site_files="$CONFIG_SITE"
3391 elif test "x$prefix" != xNONE; then
3392 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3393 else
3394 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3397 for ac_site_file in $ac_site_files
3399 case $ac_site_file in #(
3400 */*) :
3401 ;; #(
3402 *) :
3403 ac_site_file=./$ac_site_file ;;
3404 esac
3405 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3407 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3408 sed 's/^/| /' "$ac_site_file" >&5
3409 . "$ac_site_file" \
3410 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $? "failed to load site script $ac_site_file
3413 See \`config.log' for more details" "$LINENO" 5; }
3415 done
3417 if test -r "$cache_file"; then
3418 # Some versions of bash will fail to source /dev/null (special files
3419 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3420 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3422 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3423 case $cache_file in
3424 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3425 *) . "./$cache_file";;
3426 esac
3428 else
3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3430 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3431 >$cache_file
3434 # Test code for whether the C compiler supports C89 (global declarations)
3435 ac_c_conftest_c89_globals='
3436 /* Does the compiler advertise C89 conformance?
3437 Do not test the value of __STDC__, because some compilers set it to 0
3438 while being otherwise adequately conformant. */
3439 #if !defined __STDC__
3440 # error "Compiler does not advertise C89 conformance"
3441 #endif
3443 #include <stddef.h>
3444 #include <stdarg.h>
3445 struct stat;
3446 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3447 struct buf { int x; };
3448 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3449 static char *e (p, i)
3450 char **p;
3451 int i;
3453 return p[i];
3455 static char *f (char * (*g) (char **, int), char **p, ...)
3457 char *s;
3458 va_list v;
3459 va_start (v,p);
3460 s = g (p, va_arg (v,int));
3461 va_end (v);
3462 return s;
3465 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3466 function prototypes and stuff, but not \xHH hex character constants.
3467 These do not provoke an error unfortunately, instead are silently treated
3468 as an "x". The following induces an error, until -std is added to get
3469 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3470 array size at least. It is necessary to write \x00 == 0 to get something
3471 that is true only with -std. */
3472 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3474 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3475 inside strings and character constants. */
3476 #define FOO(x) '\''x'\''
3477 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3479 int test (int i, double x);
3480 struct s1 {int (*f) (int a);};
3481 struct s2 {int (*f) (double a);};
3482 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3483 int, int);'
3485 # Test code for whether the C compiler supports C89 (body of main).
3486 ac_c_conftest_c89_main='
3487 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3490 # Test code for whether the C compiler supports C99 (global declarations)
3491 ac_c_conftest_c99_globals='
3492 // Does the compiler advertise C99 conformance?
3493 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3494 # error "Compiler does not advertise C99 conformance"
3495 #endif
3497 #include <stdbool.h>
3498 extern int puts (const char *);
3499 extern int printf (const char *, ...);
3500 extern int dprintf (int, const char *, ...);
3501 extern void *malloc (size_t);
3503 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3504 // dprintf is used instead of fprintf to avoid needing to declare
3505 // FILE and stderr.
3506 #define debug(...) dprintf (2, __VA_ARGS__)
3507 #define showlist(...) puts (#__VA_ARGS__)
3508 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3509 static void
3510 test_varargs_macros (void)
3512 int x = 1234;
3513 int y = 5678;
3514 debug ("Flag");
3515 debug ("X = %d\n", x);
3516 showlist (The first, second, and third items.);
3517 report (x>y, "x is %d but y is %d", x, y);
3520 // Check long long types.
3521 #define BIG64 18446744073709551615ull
3522 #define BIG32 4294967295ul
3523 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3524 #if !BIG_OK
3525 #error "your preprocessor is broken"
3526 #endif
3527 #if BIG_OK
3528 #else
3529 #error "your preprocessor is broken"
3530 #endif
3531 static long long int bignum = -9223372036854775807LL;
3532 static unsigned long long int ubignum = BIG64;
3534 struct incomplete_array
3536 int datasize;
3537 double data[];
3540 struct named_init {
3541 int number;
3542 const wchar_t *name;
3543 double average;
3546 typedef const char *ccp;
3548 static inline int
3549 test_restrict (ccp restrict text)
3551 // See if C++-style comments work.
3552 // Iterate through items via the restricted pointer.
3553 // Also check for declarations in for loops.
3554 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3555 continue;
3556 return 0;
3559 // Check varargs and va_copy.
3560 static bool
3561 test_varargs (const char *format, ...)
3563 va_list args;
3564 va_start (args, format);
3565 va_list args_copy;
3566 va_copy (args_copy, args);
3568 const char *str = "";
3569 int number = 0;
3570 float fnumber = 0;
3572 while (*format)
3574 switch (*format++)
3576 case '\''s'\'': // string
3577 str = va_arg (args_copy, const char *);
3578 break;
3579 case '\''d'\'': // int
3580 number = va_arg (args_copy, int);
3581 break;
3582 case '\''f'\'': // float
3583 fnumber = va_arg (args_copy, double);
3584 break;
3585 default:
3586 break;
3589 va_end (args_copy);
3590 va_end (args);
3592 return *str && number && fnumber;
3596 # Test code for whether the C compiler supports C99 (body of main).
3597 ac_c_conftest_c99_main='
3598 // Check bool.
3599 _Bool success = false;
3600 success |= (argc != 0);
3602 // Check restrict.
3603 if (test_restrict ("String literal") == 0)
3604 success = true;
3605 char *restrict newvar = "Another string";
3607 // Check varargs.
3608 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3609 test_varargs_macros ();
3611 // Check flexible array members.
3612 struct incomplete_array *ia =
3613 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3614 ia->datasize = 10;
3615 for (int i = 0; i < ia->datasize; ++i)
3616 ia->data[i] = i * 1.234;
3618 // Check named initializers.
3619 struct named_init ni = {
3620 .number = 34,
3621 .name = L"Test wide string",
3622 .average = 543.34343,
3625 ni.number = 58;
3627 int dynamic_array[ni.number];
3628 dynamic_array[0] = argv[0][0];
3629 dynamic_array[ni.number - 1] = 543;
3631 // work around unused variable warnings
3632 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3633 || dynamic_array[ni.number - 1] != 543);
3636 # Test code for whether the C compiler supports C11 (global declarations)
3637 ac_c_conftest_c11_globals='
3638 // Does the compiler advertise C11 conformance?
3639 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3640 # error "Compiler does not advertise C11 conformance"
3641 #endif
3643 // Check _Alignas.
3644 char _Alignas (double) aligned_as_double;
3645 char _Alignas (0) no_special_alignment;
3646 extern char aligned_as_int;
3647 char _Alignas (0) _Alignas (int) aligned_as_int;
3649 // Check _Alignof.
3650 enum
3652 int_alignment = _Alignof (int),
3653 int_array_alignment = _Alignof (int[100]),
3654 char_alignment = _Alignof (char)
3656 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3658 // Check _Noreturn.
3659 int _Noreturn does_not_return (void) { for (;;) continue; }
3661 // Check _Static_assert.
3662 struct test_static_assert
3664 int x;
3665 _Static_assert (sizeof (int) <= sizeof (long int),
3666 "_Static_assert does not work in struct");
3667 long int y;
3670 // Check UTF-8 literals.
3671 #define u8 syntax error!
3672 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3674 // Check duplicate typedefs.
3675 typedef long *long_ptr;
3676 typedef long int *long_ptr;
3677 typedef long_ptr long_ptr;
3679 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3680 struct anonymous
3682 union {
3683 struct { int i; int j; };
3684 struct { int k; long int l; } w;
3686 int m;
3687 } v1;
3690 # Test code for whether the C compiler supports C11 (body of main).
3691 ac_c_conftest_c11_main='
3692 _Static_assert ((offsetof (struct anonymous, i)
3693 == offsetof (struct anonymous, w.k)),
3694 "Anonymous union alignment botch");
3695 v1.i = 2;
3696 v1.w.k = 5;
3697 ok |= v1.i != 5;
3700 # Test code for whether the C compiler supports C11 (complete).
3701 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3702 ${ac_c_conftest_c99_globals}
3703 ${ac_c_conftest_c11_globals}
3706 main (int argc, char **argv)
3708 int ok = 0;
3709 ${ac_c_conftest_c89_main}
3710 ${ac_c_conftest_c99_main}
3711 ${ac_c_conftest_c11_main}
3712 return ok;
3716 # Test code for whether the C compiler supports C99 (complete).
3717 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3718 ${ac_c_conftest_c99_globals}
3721 main (int argc, char **argv)
3723 int ok = 0;
3724 ${ac_c_conftest_c89_main}
3725 ${ac_c_conftest_c99_main}
3726 return ok;
3730 # Test code for whether the C compiler supports C89 (complete).
3731 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3734 main (int argc, char **argv)
3736 int ok = 0;
3737 ${ac_c_conftest_c89_main}
3738 return ok;
3742 # Test code for whether the C++ compiler supports C++98 (global declarations)
3743 ac_cxx_conftest_cxx98_globals='
3744 // Does the compiler advertise C++98 conformance?
3745 #if !defined __cplusplus || __cplusplus < 199711L
3746 # error "Compiler does not advertise C++98 conformance"
3747 #endif
3749 // These inclusions are to reject old compilers that
3750 // lack the unsuffixed header files.
3751 #include <cstdlib>
3752 #include <exception>
3754 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3755 extern void assert (int);
3756 namespace std {
3757 extern int strcmp (const char *, const char *);
3760 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3761 using std::exception;
3762 using std::strcmp;
3764 namespace {
3766 void test_exception_syntax()
3768 try {
3769 throw "test";
3770 } catch (const char *s) {
3771 // Extra parentheses suppress a warning when building autoconf itself,
3772 // due to lint rules shared with more typical C programs.
3773 assert (!(strcmp) (s, "test"));
3777 template <typename T> struct test_template
3779 T const val;
3780 explicit test_template(T t) : val(t) {}
3781 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3784 } // anonymous namespace
3787 # Test code for whether the C++ compiler supports C++98 (body of main)
3788 ac_cxx_conftest_cxx98_main='
3789 assert (argc);
3790 assert (! argv[0]);
3792 test_exception_syntax ();
3793 test_template<double> tt (2.0);
3794 assert (tt.add (4) == 6.0);
3795 assert (true && !false);
3799 # Test code for whether the C++ compiler supports C++11 (global declarations)
3800 ac_cxx_conftest_cxx11_globals='
3801 // Does the compiler advertise C++ 2011 conformance?
3802 #if !defined __cplusplus || __cplusplus < 201103L
3803 # error "Compiler does not advertise C++11 conformance"
3804 #endif
3806 namespace cxx11test
3808 constexpr int get_val() { return 20; }
3810 struct testinit
3812 int i;
3813 double d;
3816 class delegate
3818 public:
3819 delegate(int n) : n(n) {}
3820 delegate(): delegate(2354) {}
3822 virtual int getval() { return this->n; };
3823 protected:
3824 int n;
3827 class overridden : public delegate
3829 public:
3830 overridden(int n): delegate(n) {}
3831 virtual int getval() override final { return this->n * 2; }
3834 class nocopy
3836 public:
3837 nocopy(int i): i(i) {}
3838 nocopy() = default;
3839 nocopy(const nocopy&) = delete;
3840 nocopy & operator=(const nocopy&) = delete;
3841 private:
3842 int i;
3845 // for testing lambda expressions
3846 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3848 return f(v);
3851 // for testing variadic templates and trailing return types
3852 template <typename V> auto sum(V first) -> V
3854 return first;
3856 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3858 return first + sum(rest...);
3863 # Test code for whether the C++ compiler supports C++11 (body of main)
3864 ac_cxx_conftest_cxx11_main='
3866 // Test auto and decltype
3867 auto a1 = 6538;
3868 auto a2 = 48573953.4;
3869 auto a3 = "String literal";
3871 int total = 0;
3872 for (auto i = a3; *i; ++i) { total += *i; }
3874 decltype(a2) a4 = 34895.034;
3877 // Test constexpr
3878 short sa[cxx11test::get_val()] = { 0 };
3881 // Test initializer lists
3882 cxx11test::testinit il = { 4323, 435234.23544 };
3885 // Test range-based for
3886 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3887 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3888 for (auto &x : array) { x += 23; }
3891 // Test lambda expressions
3892 using cxx11test::eval;
3893 assert (eval ([](int x) { return x*2; }, 21) == 42);
3894 double d = 2.0;
3895 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3896 assert (d == 5.0);
3897 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3898 assert (d == 5.0);
3901 // Test use of variadic templates
3902 using cxx11test::sum;
3903 auto a = sum(1);
3904 auto b = sum(1, 2);
3905 auto c = sum(1.0, 2.0, 3.0);
3908 // Test constructor delegation
3909 cxx11test::delegate d1;
3910 cxx11test::delegate d2();
3911 cxx11test::delegate d3(45);
3914 // Test override and final
3915 cxx11test::overridden o1(55464);
3918 // Test nullptr
3919 char *c = nullptr;
3922 // Test template brackets
3923 test_template<::test_template<int>> v(test_template<int>(12));
3926 // Unicode literals
3927 char const *utf8 = u8"UTF-8 string \u2500";
3928 char16_t const *utf16 = u"UTF-8 string \u2500";
3929 char32_t const *utf32 = U"UTF-32 string \u2500";
3933 # Test code for whether the C compiler supports C++11 (complete).
3934 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3935 ${ac_cxx_conftest_cxx11_globals}
3938 main (int argc, char **argv)
3940 int ok = 0;
3941 ${ac_cxx_conftest_cxx98_main}
3942 ${ac_cxx_conftest_cxx11_main}
3943 return ok;
3947 # Test code for whether the C compiler supports C++98 (complete).
3948 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3950 main (int argc, char **argv)
3952 int ok = 0;
3953 ${ac_cxx_conftest_cxx98_main}
3954 return ok;
3958 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3959 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3960 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3961 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3962 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3963 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3964 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3965 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3966 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3968 # Auxiliary files required by this configure script.
3969 ac_aux_files="config.guess config.sub"
3971 # Locations in which to look for auxiliary files.
3972 ac_aux_dir_candidates="${srcdir}/tools"
3974 # Search for a directory containing all of the required auxiliary files,
3975 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3976 # If we don't find one directory that contains all the files we need,
3977 # we report the set of missing files from the *first* directory in
3978 # $ac_aux_dir_candidates and give up.
3979 ac_missing_aux_files=""
3980 ac_first_candidate=:
3981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 as_found=false
3984 for as_dir in $ac_aux_dir_candidates
3986 IFS=$as_save_IFS
3987 case $as_dir in #(((
3988 '') as_dir=./ ;;
3989 */) ;;
3990 *) as_dir=$as_dir/ ;;
3991 esac
3992 as_found=:
3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3995 ac_aux_dir_found=yes
3996 ac_install_sh=
3997 for ac_aux in $ac_aux_files
3999 # As a special case, if "install-sh" is required, that requirement
4000 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4001 # and $ac_install_sh is set appropriately for whichever one is found.
4002 if test x"$ac_aux" = x"install-sh"
4003 then
4004 if test -f "${as_dir}install-sh"; then
4005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4006 ac_install_sh="${as_dir}install-sh -c"
4007 elif test -f "${as_dir}install.sh"; then
4008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4009 ac_install_sh="${as_dir}install.sh -c"
4010 elif test -f "${as_dir}shtool"; then
4011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4012 ac_install_sh="${as_dir}shtool install -c"
4013 else
4014 ac_aux_dir_found=no
4015 if $ac_first_candidate; then
4016 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4017 else
4018 break
4021 else
4022 if test -f "${as_dir}${ac_aux}"; then
4023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4024 else
4025 ac_aux_dir_found=no
4026 if $ac_first_candidate; then
4027 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4028 else
4029 break
4033 done
4034 if test "$ac_aux_dir_found" = yes; then
4035 ac_aux_dir="$as_dir"
4036 break
4038 ac_first_candidate=false
4040 as_found=false
4041 done
4042 IFS=$as_save_IFS
4043 if $as_found
4044 then :
4046 else $as_nop
4047 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4051 # These three variables are undocumented and unsupported,
4052 # and are intended to be withdrawn in a future Autoconf release.
4053 # They can cause serious problems if a builder's source tree is in a directory
4054 # whose full name contains unusual characters.
4055 if test -f "${ac_aux_dir}config.guess"; then
4056 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4058 if test -f "${ac_aux_dir}config.sub"; then
4059 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4061 if test -f "$ac_aux_dir/configure"; then
4062 ac_configure="$SHELL ${ac_aux_dir}configure"
4065 # Check that the precious variables saved in the cache have kept the same
4066 # value.
4067 ac_cache_corrupted=false
4068 for ac_var in $ac_precious_vars; do
4069 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4070 eval ac_new_set=\$ac_env_${ac_var}_set
4071 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4072 eval ac_new_val=\$ac_env_${ac_var}_value
4073 case $ac_old_set,$ac_new_set in
4074 set,)
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4076 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4077 ac_cache_corrupted=: ;;
4078 ,set)
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4080 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4081 ac_cache_corrupted=: ;;
4082 ,);;
4084 if test "x$ac_old_val" != "x$ac_new_val"; then
4085 # differences in whitespace do not lead to failure.
4086 ac_old_val_w=`echo x $ac_old_val`
4087 ac_new_val_w=`echo x $ac_new_val`
4088 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4090 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4091 ac_cache_corrupted=:
4092 else
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4094 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4095 eval $ac_var=\$ac_old_val
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4098 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4100 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4101 fi;;
4102 esac
4103 # Pass precious variables to config.status.
4104 if test "$ac_new_set" = set; then
4105 case $ac_new_val in
4106 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4107 *) ac_arg=$ac_var=$ac_new_val ;;
4108 esac
4109 case " $ac_configure_args " in
4110 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4111 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4112 esac
4114 done
4115 if $ac_cache_corrupted; then
4116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4119 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4120 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4121 and start over" "$LINENO" 5
4123 ## -------------------- ##
4124 ## Main body of script. ##
4125 ## -------------------- ##
4127 ac_ext=c
4128 ac_cpp='$CPP $CPPFLAGS'
4129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4135 ac_config_headers="$ac_config_headers include/config.h"
4139 libwine_version="1.0"
4142 # Check whether --enable-archs was given.
4143 if test ${enable_archs+y}
4144 then :
4145 enableval=$enable_archs;
4148 # Check whether --enable-win16 was given.
4149 if test ${enable_win16+y}
4150 then :
4151 enableval=$enable_win16;
4154 # Check whether --enable-win64 was given.
4155 if test ${enable_win64+y}
4156 then :
4157 enableval=$enable_win64;
4160 # Check whether --enable-tests was given.
4161 if test ${enable_tests+y}
4162 then :
4163 enableval=$enable_tests;
4166 # Check whether --enable-build-id was given.
4167 if test ${enable_build_id+y}
4168 then :
4169 enableval=$enable_build_id;
4172 # Check whether --enable-maintainer-mode was given.
4173 if test ${enable_maintainer_mode+y}
4174 then :
4175 enableval=$enable_maintainer_mode;
4178 # Check whether --enable-silent-rules was given.
4179 if test ${enable_silent_rules+y}
4180 then :
4181 enableval=$enable_silent_rules;
4184 # Check whether --enable-werror was given.
4185 if test ${enable_werror+y}
4186 then :
4187 enableval=$enable_werror;
4192 # Check whether --with-alsa was given.
4193 if test ${with_alsa+y}
4194 then :
4195 withval=$with_alsa;
4199 # Check whether --with-capi was given.
4200 if test ${with_capi+y}
4201 then :
4202 withval=$with_capi;
4206 # Check whether --with-coreaudio was given.
4207 if test ${with_coreaudio+y}
4208 then :
4209 withval=$with_coreaudio;
4213 # Check whether --with-cups was given.
4214 if test ${with_cups+y}
4215 then :
4216 withval=$with_cups;
4220 # Check whether --with-dbus was given.
4221 if test ${with_dbus+y}
4222 then :
4223 withval=$with_dbus;
4227 # Check whether --with-float-abi was given.
4228 if test ${with_float_abi+y}
4229 then :
4230 withval=$with_float_abi;
4234 # Check whether --with-fontconfig was given.
4235 if test ${with_fontconfig+y}
4236 then :
4237 withval=$with_fontconfig;
4241 # Check whether --with-freetype was given.
4242 if test ${with_freetype+y}
4243 then :
4244 withval=$with_freetype;
4248 # Check whether --with-gettext was given.
4249 if test ${with_gettext+y}
4250 then :
4251 withval=$with_gettext;
4255 # Check whether --with-gettextpo was given.
4256 if test ${with_gettextpo+y}
4257 then :
4258 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4262 # Check whether --with-gphoto was given.
4263 if test ${with_gphoto+y}
4264 then :
4265 withval=$with_gphoto;
4269 # Check whether --with-gnutls was given.
4270 if test ${with_gnutls+y}
4271 then :
4272 withval=$with_gnutls;
4276 # Check whether --with-gssapi was given.
4277 if test ${with_gssapi+y}
4278 then :
4279 withval=$with_gssapi;
4283 # Check whether --with-gstreamer was given.
4284 if test ${with_gstreamer+y}
4285 then :
4286 withval=$with_gstreamer;
4290 # Check whether --with-inotify was given.
4291 if test ${with_inotify+y}
4292 then :
4293 withval=$with_inotify;
4297 # Check whether --with-krb5 was given.
4298 if test ${with_krb5+y}
4299 then :
4300 withval=$with_krb5;
4304 # Check whether --with-mingw was given.
4305 if test ${with_mingw+y}
4306 then :
4307 withval=$with_mingw;
4311 # Check whether --with-netapi was given.
4312 if test ${with_netapi+y}
4313 then :
4314 withval=$with_netapi;
4318 # Check whether --with-opencl was given.
4319 if test ${with_opencl+y}
4320 then :
4321 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4325 # Check whether --with-opengl was given.
4326 if test ${with_opengl+y}
4327 then :
4328 withval=$with_opengl;
4332 # Check whether --with-osmesa was given.
4333 if test ${with_osmesa+y}
4334 then :
4335 withval=$with_osmesa;
4339 # Check whether --with-oss was given.
4340 if test ${with_oss+y}
4341 then :
4342 withval=$with_oss;
4346 # Check whether --with-pcap was given.
4347 if test ${with_pcap+y}
4348 then :
4349 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4353 # Check whether --with-pcsclite was given.
4354 if test ${with_pcsclite+y}
4355 then :
4356 withval=$with_pcsclite;
4360 # Check whether --with-pthread was given.
4361 if test ${with_pthread+y}
4362 then :
4363 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4367 # Check whether --with-pulse was given.
4368 if test ${with_pulse+y}
4369 then :
4370 withval=$with_pulse;
4374 # Check whether --with-sane was given.
4375 if test ${with_sane+y}
4376 then :
4377 withval=$with_sane;
4381 # Check whether --with-sdl was given.
4382 if test ${with_sdl+y}
4383 then :
4384 withval=$with_sdl;
4388 # Check whether --with-udev was given.
4389 if test ${with_udev+y}
4390 then :
4391 withval=$with_udev;
4395 # Check whether --with-unwind was given.
4396 if test ${with_unwind+y}
4397 then :
4398 withval=$with_unwind;
4402 # Check whether --with-usb was given.
4403 if test ${with_usb+y}
4404 then :
4405 withval=$with_usb;
4409 # Check whether --with-v4l2 was given.
4410 if test ${with_v4l2+y}
4411 then :
4412 withval=$with_v4l2;
4416 # Check whether --with-vulkan was given.
4417 if test ${with_vulkan+y}
4418 then :
4419 withval=$with_vulkan;
4423 # Check whether --with-wayland was given.
4424 if test ${with_wayland+y}
4425 then :
4426 withval=$with_wayland;
4430 # Check whether --with-xcomposite was given.
4431 if test ${with_xcomposite+y}
4432 then :
4433 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4437 # Check whether --with-xcursor was given.
4438 if test ${with_xcursor+y}
4439 then :
4440 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4444 # Check whether --with-xfixes was given.
4445 if test ${with_xfixes+y}
4446 then :
4447 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4451 # Check whether --with-xinerama was given.
4452 if test ${with_xinerama+y}
4453 then :
4454 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4458 # Check whether --with-xinput was given.
4459 if test ${with_xinput+y}
4460 then :
4461 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4465 # Check whether --with-xinput2 was given.
4466 if test ${with_xinput2+y}
4467 then :
4468 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4472 # Check whether --with-xrandr was given.
4473 if test ${with_xrandr+y}
4474 then :
4475 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4479 # Check whether --with-xrender was given.
4480 if test ${with_xrender+y}
4481 then :
4482 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4486 # Check whether --with-xshape was given.
4487 if test ${with_xshape+y}
4488 then :
4489 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4493 # Check whether --with-xshm was given.
4494 if test ${with_xshm+y}
4495 then :
4496 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4500 # Check whether --with-xxf86vm was given.
4501 if test ${with_xxf86vm+y}
4502 then :
4503 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
4508 # Check whether --with-system-dllpath was given.
4509 if test ${with_system_dllpath+y}
4510 then :
4511 withval=$with_system_dllpath; system_dllpath=$withval
4516 # Check whether --with-wine-tools was given.
4517 if test ${with_wine_tools+y}
4518 then :
4519 withval=$with_wine_tools;
4523 # Check whether --with-wine64 was given.
4524 if test ${with_wine64+y}
4525 then :
4526 withval=$with_wine64;
4533 # Make sure we can run config.sub.
4534 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4535 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4538 printf %s "checking build system type... " >&6; }
4539 if test ${ac_cv_build+y}
4540 then :
4541 printf %s "(cached) " >&6
4542 else $as_nop
4543 ac_build_alias=$build_alias
4544 test "x$ac_build_alias" = x &&
4545 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4546 test "x$ac_build_alias" = x &&
4547 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4548 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4549 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4553 printf "%s\n" "$ac_cv_build" >&6; }
4554 case $ac_cv_build in
4555 *-*-*) ;;
4556 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4557 esac
4558 build=$ac_cv_build
4559 ac_save_IFS=$IFS; IFS='-'
4560 set x $ac_cv_build
4561 shift
4562 build_cpu=$1
4563 build_vendor=$2
4564 shift; shift
4565 # Remember, the first character of IFS is used to create $*,
4566 # except with old shells:
4567 build_os=$*
4568 IFS=$ac_save_IFS
4569 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4573 printf %s "checking host system type... " >&6; }
4574 if test ${ac_cv_host+y}
4575 then :
4576 printf %s "(cached) " >&6
4577 else $as_nop
4578 if test "x$host_alias" = x; then
4579 ac_cv_host=$ac_cv_build
4580 else
4581 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4582 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4587 printf "%s\n" "$ac_cv_host" >&6; }
4588 case $ac_cv_host in
4589 *-*-*) ;;
4590 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4591 esac
4592 host=$ac_cv_host
4593 ac_save_IFS=$IFS; IFS='-'
4594 set x $ac_cv_host
4595 shift
4596 host_cpu=$1
4597 host_vendor=$2
4598 shift; shift
4599 # Remember, the first character of IFS is used to create $*,
4600 # except with old shells:
4601 host_os=$*
4602 IFS=$ac_save_IFS
4603 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4607 dlldir=\${libdir}/wine
4609 fontdir=\${datadir}/wine/fonts
4611 nlsdir=\${datadir}/wine/nls
4616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4617 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4618 set x ${MAKE-make}
4619 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4620 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4621 then :
4622 printf %s "(cached) " >&6
4623 else $as_nop
4624 cat >conftest.make <<\_ACEOF
4625 SHELL = /bin/sh
4626 all:
4627 @echo '@@@%%%=$(MAKE)=@@@%%%'
4628 _ACEOF
4629 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4630 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4631 *@@@%%%=?*=@@@%%%*)
4632 eval ac_cv_prog_make_${ac_make}_set=yes;;
4634 eval ac_cv_prog_make_${ac_make}_set=no;;
4635 esac
4636 rm -f conftest.make
4638 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4640 printf "%s\n" "yes" >&6; }
4641 SET_MAKE=
4642 else
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 printf "%s\n" "no" >&6; }
4645 SET_MAKE="MAKE=${MAKE-make}"
4657 ac_ext=c
4658 ac_cpp='$CPP $CPPFLAGS'
4659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4662 if test -n "$ac_tool_prefix"; then
4663 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4664 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666 printf %s "checking for $ac_word... " >&6; }
4667 if test ${ac_cv_prog_CC+y}
4668 then :
4669 printf %s "(cached) " >&6
4670 else $as_nop
4671 if test -n "$CC"; then
4672 ac_cv_prog_CC="$CC" # Let the user override the test.
4673 else
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 for as_dir in $PATH
4677 IFS=$as_save_IFS
4678 case $as_dir in #(((
4679 '') as_dir=./ ;;
4680 */) ;;
4681 *) as_dir=$as_dir/ ;;
4682 esac
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4687 break 2
4689 done
4690 done
4691 IFS=$as_save_IFS
4695 CC=$ac_cv_prog_CC
4696 if test -n "$CC"; then
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4698 printf "%s\n" "$CC" >&6; }
4699 else
4700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 printf "%s\n" "no" >&6; }
4706 if test -z "$ac_cv_prog_CC"; then
4707 ac_ct_CC=$CC
4708 # Extract the first word of "gcc", so it can be a program name with args.
4709 set dummy gcc; ac_word=$2
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 printf %s "checking for $ac_word... " >&6; }
4712 if test ${ac_cv_prog_ac_ct_CC+y}
4713 then :
4714 printf %s "(cached) " >&6
4715 else $as_nop
4716 if test -n "$ac_ct_CC"; then
4717 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 case $as_dir in #(((
4724 '') as_dir=./ ;;
4725 */) ;;
4726 *) as_dir=$as_dir/ ;;
4727 esac
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_ac_ct_CC="gcc"
4731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4732 break 2
4734 done
4735 done
4736 IFS=$as_save_IFS
4740 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4741 if test -n "$ac_ct_CC"; then
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4743 printf "%s\n" "$ac_ct_CC" >&6; }
4744 else
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 printf "%s\n" "no" >&6; }
4749 if test "x$ac_ct_CC" = x; then
4750 CC=""
4751 else
4752 case $cross_compiling:$ac_tool_warned in
4753 yes:)
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4756 ac_tool_warned=yes ;;
4757 esac
4758 CC=$ac_ct_CC
4760 else
4761 CC="$ac_cv_prog_CC"
4764 if test -z "$CC"; then
4765 if test -n "$ac_tool_prefix"; then
4766 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4767 set dummy ${ac_tool_prefix}cc; ac_word=$2
4768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769 printf %s "checking for $ac_word... " >&6; }
4770 if test ${ac_cv_prog_CC+y}
4771 then :
4772 printf %s "(cached) " >&6
4773 else $as_nop
4774 if test -n "$CC"; then
4775 ac_cv_prog_CC="$CC" # Let the user override the test.
4776 else
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH
4780 IFS=$as_save_IFS
4781 case $as_dir in #(((
4782 '') as_dir=./ ;;
4783 */) ;;
4784 *) as_dir=$as_dir/ ;;
4785 esac
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_CC="${ac_tool_prefix}cc"
4789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4790 break 2
4792 done
4793 done
4794 IFS=$as_save_IFS
4798 CC=$ac_cv_prog_CC
4799 if test -n "$CC"; then
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4801 printf "%s\n" "$CC" >&6; }
4802 else
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 printf "%s\n" "no" >&6; }
4810 if test -z "$CC"; then
4811 # Extract the first word of "cc", so it can be a program name with args.
4812 set dummy cc; ac_word=$2
4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 printf %s "checking for $ac_word... " >&6; }
4815 if test ${ac_cv_prog_CC+y}
4816 then :
4817 printf %s "(cached) " >&6
4818 else $as_nop
4819 if test -n "$CC"; then
4820 ac_cv_prog_CC="$CC" # Let the user override the test.
4821 else
4822 ac_prog_rejected=no
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 for as_dir in $PATH
4826 IFS=$as_save_IFS
4827 case $as_dir in #(((
4828 '') as_dir=./ ;;
4829 */) ;;
4830 *) as_dir=$as_dir/ ;;
4831 esac
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4834 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4835 ac_prog_rejected=yes
4836 continue
4838 ac_cv_prog_CC="cc"
4839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4840 break 2
4842 done
4843 done
4844 IFS=$as_save_IFS
4846 if test $ac_prog_rejected = yes; then
4847 # We found a bogon in the path, so make sure we never use it.
4848 set dummy $ac_cv_prog_CC
4849 shift
4850 if test $# != 0; then
4851 # We chose a different compiler from the bogus one.
4852 # However, it has the same basename, so the bogon will be chosen
4853 # first if we set CC to just the basename; use the full file name.
4854 shift
4855 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4860 CC=$ac_cv_prog_CC
4861 if test -n "$CC"; then
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4863 printf "%s\n" "$CC" >&6; }
4864 else
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 printf "%s\n" "no" >&6; }
4871 if test -z "$CC"; then
4872 if test -n "$ac_tool_prefix"; then
4873 for ac_prog in cl.exe
4875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4876 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 printf %s "checking for $ac_word... " >&6; }
4879 if test ${ac_cv_prog_CC+y}
4880 then :
4881 printf %s "(cached) " >&6
4882 else $as_nop
4883 if test -n "$CC"; then
4884 ac_cv_prog_CC="$CC" # Let the user override the test.
4885 else
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 for as_dir in $PATH
4889 IFS=$as_save_IFS
4890 case $as_dir in #(((
4891 '') as_dir=./ ;;
4892 */) ;;
4893 *) as_dir=$as_dir/ ;;
4894 esac
4895 for ac_exec_ext in '' $ac_executable_extensions; do
4896 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4897 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4899 break 2
4901 done
4902 done
4903 IFS=$as_save_IFS
4907 CC=$ac_cv_prog_CC
4908 if test -n "$CC"; then
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4910 printf "%s\n" "$CC" >&6; }
4911 else
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 printf "%s\n" "no" >&6; }
4917 test -n "$CC" && break
4918 done
4920 if test -z "$CC"; then
4921 ac_ct_CC=$CC
4922 for ac_prog in cl.exe
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy $ac_prog; ac_word=$2
4926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 printf %s "checking for $ac_word... " >&6; }
4928 if test ${ac_cv_prog_ac_ct_CC+y}
4929 then :
4930 printf %s "(cached) " >&6
4931 else $as_nop
4932 if test -n "$ac_ct_CC"; then
4933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4934 else
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH
4938 IFS=$as_save_IFS
4939 case $as_dir in #(((
4940 '') as_dir=./ ;;
4941 */) ;;
4942 *) as_dir=$as_dir/ ;;
4943 esac
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_ac_ct_CC="$ac_prog"
4947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4957 if test -n "$ac_ct_CC"; then
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4959 printf "%s\n" "$ac_ct_CC" >&6; }
4960 else
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 printf "%s\n" "no" >&6; }
4966 test -n "$ac_ct_CC" && break
4967 done
4969 if test "x$ac_ct_CC" = x; then
4970 CC=""
4971 else
4972 case $cross_compiling:$ac_tool_warned in
4973 yes:)
4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4975 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4976 ac_tool_warned=yes ;;
4977 esac
4978 CC=$ac_ct_CC
4983 if test -z "$CC"; then
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4986 set dummy ${ac_tool_prefix}clang; ac_word=$2
4987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 printf %s "checking for $ac_word... " >&6; }
4989 if test ${ac_cv_prog_CC+y}
4990 then :
4991 printf %s "(cached) " >&6
4992 else $as_nop
4993 if test -n "$CC"; then
4994 ac_cv_prog_CC="$CC" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4999 IFS=$as_save_IFS
5000 case $as_dir in #(((
5001 '') as_dir=./ ;;
5002 */) ;;
5003 *) as_dir=$as_dir/ ;;
5004 esac
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_CC="${ac_tool_prefix}clang"
5008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5009 break 2
5011 done
5012 done
5013 IFS=$as_save_IFS
5017 CC=$ac_cv_prog_CC
5018 if test -n "$CC"; then
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5020 printf "%s\n" "$CC" >&6; }
5021 else
5022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 printf "%s\n" "no" >&6; }
5028 if test -z "$ac_cv_prog_CC"; then
5029 ac_ct_CC=$CC
5030 # Extract the first word of "clang", so it can be a program name with args.
5031 set dummy clang; ac_word=$2
5032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 printf %s "checking for $ac_word... " >&6; }
5034 if test ${ac_cv_prog_ac_ct_CC+y}
5035 then :
5036 printf %s "(cached) " >&6
5037 else $as_nop
5038 if test -n "$ac_ct_CC"; then
5039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5040 else
5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5042 for as_dir in $PATH
5044 IFS=$as_save_IFS
5045 case $as_dir in #(((
5046 '') as_dir=./ ;;
5047 */) ;;
5048 *) as_dir=$as_dir/ ;;
5049 esac
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_CC="clang"
5053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5063 if test -n "$ac_ct_CC"; then
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5065 printf "%s\n" "$ac_ct_CC" >&6; }
5066 else
5067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 printf "%s\n" "no" >&6; }
5071 if test "x$ac_ct_CC" = x; then
5072 CC=""
5073 else
5074 case $cross_compiling:$ac_tool_warned in
5075 yes:)
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5077 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5078 ac_tool_warned=yes ;;
5079 esac
5080 CC=$ac_ct_CC
5082 else
5083 CC="$ac_cv_prog_CC"
5089 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5090 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5091 as_fn_error $? "no acceptable C compiler found in \$PATH
5092 See \`config.log' for more details" "$LINENO" 5; }
5094 # Provide some information about the compiler.
5095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5096 set X $ac_compile
5097 ac_compiler=$2
5098 for ac_option in --version -v -V -qversion -version; do
5099 { { ac_try="$ac_compiler $ac_option >&5"
5100 case "(($ac_try" in
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5103 esac
5104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5105 printf "%s\n" "$ac_try_echo"; } >&5
5106 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5107 ac_status=$?
5108 if test -s conftest.err; then
5109 sed '10a\
5110 ... rest of stderr output deleted ...
5111 10q' conftest.err >conftest.er1
5112 cat conftest.er1 >&5
5114 rm -f conftest.er1 conftest.err
5115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5116 test $ac_status = 0; }
5117 done
5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120 /* end confdefs.h. */
5123 main (void)
5127 return 0;
5129 _ACEOF
5130 ac_clean_files_save=$ac_clean_files
5131 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5132 # Try to create an executable without -o first, disregard a.out.
5133 # It will help us diagnose broken compilers, and finding out an intuition
5134 # of exeext.
5135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5136 printf %s "checking whether the C compiler works... " >&6; }
5137 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5139 # The possible output files:
5140 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5142 ac_rmfiles=
5143 for ac_file in $ac_files
5145 case $ac_file in
5146 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5147 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5148 esac
5149 done
5150 rm -f $ac_rmfiles
5152 if { { ac_try="$ac_link_default"
5153 case "(($ac_try" in
5154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5155 *) ac_try_echo=$ac_try;;
5156 esac
5157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5158 printf "%s\n" "$ac_try_echo"; } >&5
5159 (eval "$ac_link_default") 2>&5
5160 ac_status=$?
5161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5162 test $ac_status = 0; }
5163 then :
5164 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5165 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5166 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5167 # so that the user can short-circuit this test for compilers unknown to
5168 # Autoconf.
5169 for ac_file in $ac_files ''
5171 test -f "$ac_file" || continue
5172 case $ac_file in
5173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5175 [ab].out )
5176 # We found the default executable, but exeext='' is most
5177 # certainly right.
5178 break;;
5179 *.* )
5180 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5181 then :; else
5182 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5184 # We set ac_cv_exeext here because the later test for it is not
5185 # safe: cross compilers may not add the suffix if given an `-o'
5186 # argument, so we may need to know it at that point already.
5187 # Even if this section looks crufty: it has the advantage of
5188 # actually working.
5189 break;;
5191 break;;
5192 esac
5193 done
5194 test "$ac_cv_exeext" = no && ac_cv_exeext=
5196 else $as_nop
5197 ac_file=''
5199 if test -z "$ac_file"
5200 then :
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 printf "%s\n" "no" >&6; }
5203 printf "%s\n" "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.$ac_ext >&5
5206 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5207 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5208 as_fn_error 77 "C compiler cannot create executables
5209 See \`config.log' for more details" "$LINENO" 5; }
5210 else $as_nop
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5212 printf "%s\n" "yes" >&6; }
5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5215 printf %s "checking for C compiler default output file name... " >&6; }
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5217 printf "%s\n" "$ac_file" >&6; }
5218 ac_exeext=$ac_cv_exeext
5220 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5221 ac_clean_files=$ac_clean_files_save
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5223 printf %s "checking for suffix of executables... " >&6; }
5224 if { { ac_try="$ac_link"
5225 case "(($ac_try" in
5226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5227 *) ac_try_echo=$ac_try;;
5228 esac
5229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5230 printf "%s\n" "$ac_try_echo"; } >&5
5231 (eval "$ac_link") 2>&5
5232 ac_status=$?
5233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5235 then :
5236 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5237 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5238 # work properly (i.e., refer to `conftest.exe'), while it won't with
5239 # `rm'.
5240 for ac_file in conftest.exe conftest conftest.*; do
5241 test -f "$ac_file" || continue
5242 case $ac_file in
5243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5244 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5245 break;;
5246 * ) break;;
5247 esac
5248 done
5249 else $as_nop
5250 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5251 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5252 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5253 See \`config.log' for more details" "$LINENO" 5; }
5255 rm -f conftest conftest$ac_cv_exeext
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5257 printf "%s\n" "$ac_cv_exeext" >&6; }
5259 rm -f conftest.$ac_ext
5260 EXEEXT=$ac_cv_exeext
5261 ac_exeext=$EXEEXT
5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5264 #include <stdio.h>
5266 main (void)
5268 FILE *f = fopen ("conftest.out", "w");
5269 return ferror (f) || fclose (f) != 0;
5272 return 0;
5274 _ACEOF
5275 ac_clean_files="$ac_clean_files conftest.out"
5276 # Check that the compiler produces executables we can run. If not, either
5277 # the compiler is broken, or we cross compile.
5278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5279 printf %s "checking whether we are cross compiling... " >&6; }
5280 if test "$cross_compiling" != yes; then
5281 { { ac_try="$ac_link"
5282 case "(($ac_try" in
5283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284 *) ac_try_echo=$ac_try;;
5285 esac
5286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5287 printf "%s\n" "$ac_try_echo"; } >&5
5288 (eval "$ac_link") 2>&5
5289 ac_status=$?
5290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5291 test $ac_status = 0; }
5292 if { ac_try='./conftest$ac_cv_exeext'
5293 { { case "(($ac_try" in
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5296 esac
5297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5298 printf "%s\n" "$ac_try_echo"; } >&5
5299 (eval "$ac_try") 2>&5
5300 ac_status=$?
5301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5302 test $ac_status = 0; }; }; then
5303 cross_compiling=no
5304 else
5305 if test "$cross_compiling" = maybe; then
5306 cross_compiling=yes
5307 else
5308 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5309 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5310 as_fn_error 77 "cannot run C compiled programs.
5311 If you meant to cross compile, use \`--host'.
5312 See \`config.log' for more details" "$LINENO" 5; }
5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5317 printf "%s\n" "$cross_compiling" >&6; }
5319 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5320 ac_clean_files=$ac_clean_files_save
5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5322 printf %s "checking for suffix of object files... " >&6; }
5323 if test ${ac_cv_objext+y}
5324 then :
5325 printf %s "(cached) " >&6
5326 else $as_nop
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5331 main (void)
5335 return 0;
5337 _ACEOF
5338 rm -f conftest.o conftest.obj
5339 if { { ac_try="$ac_compile"
5340 case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5343 esac
5344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5345 printf "%s\n" "$ac_try_echo"; } >&5
5346 (eval "$ac_compile") 2>&5
5347 ac_status=$?
5348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349 test $ac_status = 0; }
5350 then :
5351 for ac_file in conftest.o conftest.obj conftest.*; do
5352 test -f "$ac_file" || continue;
5353 case $ac_file in
5354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5355 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5356 break;;
5357 esac
5358 done
5359 else $as_nop
5360 printf "%s\n" "$as_me: failed program was:" >&5
5361 sed 's/^/| /' conftest.$ac_ext >&5
5363 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5364 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5365 as_fn_error $? "cannot compute suffix of object files: cannot compile
5366 See \`config.log' for more details" "$LINENO" 5; }
5368 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5371 printf "%s\n" "$ac_cv_objext" >&6; }
5372 OBJEXT=$ac_cv_objext
5373 ac_objext=$OBJEXT
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5375 printf %s "checking whether the compiler supports GNU C... " >&6; }
5376 if test ${ac_cv_c_compiler_gnu+y}
5377 then :
5378 printf %s "(cached) " >&6
5379 else $as_nop
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5384 main (void)
5386 #ifndef __GNUC__
5387 choke me
5388 #endif
5391 return 0;
5393 _ACEOF
5394 if ac_fn_c_try_compile "$LINENO"
5395 then :
5396 ac_compiler_gnu=yes
5397 else $as_nop
5398 ac_compiler_gnu=no
5400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5405 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5408 if test $ac_compiler_gnu = yes; then
5409 GCC=yes
5410 else
5411 GCC=
5413 ac_test_CFLAGS=${CFLAGS+y}
5414 ac_save_CFLAGS=$CFLAGS
5415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5416 printf %s "checking whether $CC accepts -g... " >&6; }
5417 if test ${ac_cv_prog_cc_g+y}
5418 then :
5419 printf %s "(cached) " >&6
5420 else $as_nop
5421 ac_save_c_werror_flag=$ac_c_werror_flag
5422 ac_c_werror_flag=yes
5423 ac_cv_prog_cc_g=no
5424 CFLAGS="-g"
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5429 main (void)
5433 return 0;
5435 _ACEOF
5436 if ac_fn_c_try_compile "$LINENO"
5437 then :
5438 ac_cv_prog_cc_g=yes
5439 else $as_nop
5440 CFLAGS=""
5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5445 main (void)
5449 return 0;
5451 _ACEOF
5452 if ac_fn_c_try_compile "$LINENO"
5453 then :
5455 else $as_nop
5456 ac_c_werror_flag=$ac_save_c_werror_flag
5457 CFLAGS="-g"
5458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5462 main (void)
5466 return 0;
5468 _ACEOF
5469 if ac_fn_c_try_compile "$LINENO"
5470 then :
5471 ac_cv_prog_cc_g=yes
5473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5478 ac_c_werror_flag=$ac_save_c_werror_flag
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5481 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5482 if test $ac_test_CFLAGS; then
5483 CFLAGS=$ac_save_CFLAGS
5484 elif test $ac_cv_prog_cc_g = yes; then
5485 if test "$GCC" = yes; then
5486 CFLAGS="-g -O2"
5487 else
5488 CFLAGS="-g"
5490 else
5491 if test "$GCC" = yes; then
5492 CFLAGS="-O2"
5493 else
5494 CFLAGS=
5497 ac_prog_cc_stdc=no
5498 if test x$ac_prog_cc_stdc = xno
5499 then :
5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5501 printf %s "checking for $CC option to enable C11 features... " >&6; }
5502 if test ${ac_cv_prog_cc_c11+y}
5503 then :
5504 printf %s "(cached) " >&6
5505 else $as_nop
5506 ac_cv_prog_cc_c11=no
5507 ac_save_CC=$CC
5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5510 $ac_c_conftest_c11_program
5511 _ACEOF
5512 for ac_arg in '' -std=gnu11
5514 CC="$ac_save_CC $ac_arg"
5515 if ac_fn_c_try_compile "$LINENO"
5516 then :
5517 ac_cv_prog_cc_c11=$ac_arg
5519 rm -f core conftest.err conftest.$ac_objext conftest.beam
5520 test "x$ac_cv_prog_cc_c11" != "xno" && break
5521 done
5522 rm -f conftest.$ac_ext
5523 CC=$ac_save_CC
5526 if test "x$ac_cv_prog_cc_c11" = xno
5527 then :
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5529 printf "%s\n" "unsupported" >&6; }
5530 else $as_nop
5531 if test "x$ac_cv_prog_cc_c11" = x
5532 then :
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5534 printf "%s\n" "none needed" >&6; }
5535 else $as_nop
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5537 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5538 CC="$CC $ac_cv_prog_cc_c11"
5540 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5541 ac_prog_cc_stdc=c11
5544 if test x$ac_prog_cc_stdc = xno
5545 then :
5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5547 printf %s "checking for $CC option to enable C99 features... " >&6; }
5548 if test ${ac_cv_prog_cc_c99+y}
5549 then :
5550 printf %s "(cached) " >&6
5551 else $as_nop
5552 ac_cv_prog_cc_c99=no
5553 ac_save_CC=$CC
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 $ac_c_conftest_c99_program
5557 _ACEOF
5558 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5560 CC="$ac_save_CC $ac_arg"
5561 if ac_fn_c_try_compile "$LINENO"
5562 then :
5563 ac_cv_prog_cc_c99=$ac_arg
5565 rm -f core conftest.err conftest.$ac_objext conftest.beam
5566 test "x$ac_cv_prog_cc_c99" != "xno" && break
5567 done
5568 rm -f conftest.$ac_ext
5569 CC=$ac_save_CC
5572 if test "x$ac_cv_prog_cc_c99" = xno
5573 then :
5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5575 printf "%s\n" "unsupported" >&6; }
5576 else $as_nop
5577 if test "x$ac_cv_prog_cc_c99" = x
5578 then :
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5580 printf "%s\n" "none needed" >&6; }
5581 else $as_nop
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5583 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5584 CC="$CC $ac_cv_prog_cc_c99"
5586 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5587 ac_prog_cc_stdc=c99
5590 if test x$ac_prog_cc_stdc = xno
5591 then :
5592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5593 printf %s "checking for $CC option to enable C89 features... " >&6; }
5594 if test ${ac_cv_prog_cc_c89+y}
5595 then :
5596 printf %s "(cached) " >&6
5597 else $as_nop
5598 ac_cv_prog_cc_c89=no
5599 ac_save_CC=$CC
5600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5602 $ac_c_conftest_c89_program
5603 _ACEOF
5604 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5606 CC="$ac_save_CC $ac_arg"
5607 if ac_fn_c_try_compile "$LINENO"
5608 then :
5609 ac_cv_prog_cc_c89=$ac_arg
5611 rm -f core conftest.err conftest.$ac_objext conftest.beam
5612 test "x$ac_cv_prog_cc_c89" != "xno" && break
5613 done
5614 rm -f conftest.$ac_ext
5615 CC=$ac_save_CC
5618 if test "x$ac_cv_prog_cc_c89" = xno
5619 then :
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5621 printf "%s\n" "unsupported" >&6; }
5622 else $as_nop
5623 if test "x$ac_cv_prog_cc_c89" = x
5624 then :
5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5626 printf "%s\n" "none needed" >&6; }
5627 else $as_nop
5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5629 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5630 CC="$CC $ac_cv_prog_cc_c89"
5632 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5633 ac_prog_cc_stdc=c89
5637 ac_ext=c
5638 ac_cpp='$CPP $CPPFLAGS'
5639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5649 ac_ext=cpp
5650 ac_cpp='$CXXCPP $CPPFLAGS'
5651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5654 if test -z "$CXX"; then
5655 if test -n "$CCC"; then
5656 CXX=$CCC
5657 else
5658 if test -n "$ac_tool_prefix"; then
5659 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 printf %s "checking for $ac_word... " >&6; }
5665 if test ${ac_cv_prog_CXX+y}
5666 then :
5667 printf %s "(cached) " >&6
5668 else $as_nop
5669 if test -n "$CXX"; then
5670 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5671 else
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5675 IFS=$as_save_IFS
5676 case $as_dir in #(((
5677 '') as_dir=./ ;;
5678 */) ;;
5679 *) as_dir=$as_dir/ ;;
5680 esac
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5685 break 2
5687 done
5688 done
5689 IFS=$as_save_IFS
5693 CXX=$ac_cv_prog_CXX
5694 if test -n "$CXX"; then
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5696 printf "%s\n" "$CXX" >&6; }
5697 else
5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 printf "%s\n" "no" >&6; }
5703 test -n "$CXX" && break
5704 done
5706 if test -z "$CXX"; then
5707 ac_ct_CXX=$CXX
5708 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5710 # Extract the first word of "$ac_prog", so it can be a program name with args.
5711 set dummy $ac_prog; ac_word=$2
5712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 printf %s "checking for $ac_word... " >&6; }
5714 if test ${ac_cv_prog_ac_ct_CXX+y}
5715 then :
5716 printf %s "(cached) " >&6
5717 else $as_nop
5718 if test -n "$ac_ct_CXX"; then
5719 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5724 IFS=$as_save_IFS
5725 case $as_dir in #(((
5726 '') as_dir=./ ;;
5727 */) ;;
5728 *) as_dir=$as_dir/ ;;
5729 esac
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_ac_ct_CXX="$ac_prog"
5733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5734 break 2
5736 done
5737 done
5738 IFS=$as_save_IFS
5742 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5743 if test -n "$ac_ct_CXX"; then
5744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5745 printf "%s\n" "$ac_ct_CXX" >&6; }
5746 else
5747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 printf "%s\n" "no" >&6; }
5752 test -n "$ac_ct_CXX" && break
5753 done
5755 if test "x$ac_ct_CXX" = x; then
5756 CXX="g++"
5757 else
5758 case $cross_compiling:$ac_tool_warned in
5759 yes:)
5760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5761 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5762 ac_tool_warned=yes ;;
5763 esac
5764 CXX=$ac_ct_CXX
5770 # Provide some information about the compiler.
5771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5772 set X $ac_compile
5773 ac_compiler=$2
5774 for ac_option in --version -v -V -qversion; do
5775 { { ac_try="$ac_compiler $ac_option >&5"
5776 case "(($ac_try" in
5777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5778 *) ac_try_echo=$ac_try;;
5779 esac
5780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5781 printf "%s\n" "$ac_try_echo"; } >&5
5782 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5783 ac_status=$?
5784 if test -s conftest.err; then
5785 sed '10a\
5786 ... rest of stderr output deleted ...
5787 10q' conftest.err >conftest.er1
5788 cat conftest.er1 >&5
5790 rm -f conftest.er1 conftest.err
5791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5792 test $ac_status = 0; }
5793 done
5795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5796 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5797 if test ${ac_cv_cxx_compiler_gnu+y}
5798 then :
5799 printf %s "(cached) " >&6
5800 else $as_nop
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5805 main (void)
5807 #ifndef __GNUC__
5808 choke me
5809 #endif
5812 return 0;
5814 _ACEOF
5815 if ac_fn_cxx_try_compile "$LINENO"
5816 then :
5817 ac_compiler_gnu=yes
5818 else $as_nop
5819 ac_compiler_gnu=no
5821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5822 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5826 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5829 if test $ac_compiler_gnu = yes; then
5830 GXX=yes
5831 else
5832 GXX=
5834 ac_test_CXXFLAGS=${CXXFLAGS+y}
5835 ac_save_CXXFLAGS=$CXXFLAGS
5836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5837 printf %s "checking whether $CXX accepts -g... " >&6; }
5838 if test ${ac_cv_prog_cxx_g+y}
5839 then :
5840 printf %s "(cached) " >&6
5841 else $as_nop
5842 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5843 ac_cxx_werror_flag=yes
5844 ac_cv_prog_cxx_g=no
5845 CXXFLAGS="-g"
5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5850 main (void)
5854 return 0;
5856 _ACEOF
5857 if ac_fn_cxx_try_compile "$LINENO"
5858 then :
5859 ac_cv_prog_cxx_g=yes
5860 else $as_nop
5861 CXXFLAGS=""
5862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5863 /* end confdefs.h. */
5866 main (void)
5870 return 0;
5872 _ACEOF
5873 if ac_fn_cxx_try_compile "$LINENO"
5874 then :
5876 else $as_nop
5877 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5878 CXXFLAGS="-g"
5879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5883 main (void)
5887 return 0;
5889 _ACEOF
5890 if ac_fn_cxx_try_compile "$LINENO"
5891 then :
5892 ac_cv_prog_cxx_g=yes
5894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5902 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5903 if test $ac_test_CXXFLAGS; then
5904 CXXFLAGS=$ac_save_CXXFLAGS
5905 elif test $ac_cv_prog_cxx_g = yes; then
5906 if test "$GXX" = yes; then
5907 CXXFLAGS="-g -O2"
5908 else
5909 CXXFLAGS="-g"
5911 else
5912 if test "$GXX" = yes; then
5913 CXXFLAGS="-O2"
5914 else
5915 CXXFLAGS=
5918 ac_prog_cxx_stdcxx=no
5919 if test x$ac_prog_cxx_stdcxx = xno
5920 then :
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5922 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5923 if test ${ac_cv_prog_cxx_cxx11+y}
5924 then :
5925 printf %s "(cached) " >&6
5926 else $as_nop
5927 ac_cv_prog_cxx_cxx11=no
5928 ac_save_CXX=$CXX
5929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5931 $ac_cxx_conftest_cxx11_program
5932 _ACEOF
5933 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5935 CXX="$ac_save_CXX $ac_arg"
5936 if ac_fn_cxx_try_compile "$LINENO"
5937 then :
5938 ac_cv_prog_cxx_cxx11=$ac_arg
5940 rm -f core conftest.err conftest.$ac_objext conftest.beam
5941 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5942 done
5943 rm -f conftest.$ac_ext
5944 CXX=$ac_save_CXX
5947 if test "x$ac_cv_prog_cxx_cxx11" = xno
5948 then :
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5950 printf "%s\n" "unsupported" >&6; }
5951 else $as_nop
5952 if test "x$ac_cv_prog_cxx_cxx11" = x
5953 then :
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5955 printf "%s\n" "none needed" >&6; }
5956 else $as_nop
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5958 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5959 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5961 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5962 ac_prog_cxx_stdcxx=cxx11
5965 if test x$ac_prog_cxx_stdcxx = xno
5966 then :
5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5968 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5969 if test ${ac_cv_prog_cxx_cxx98+y}
5970 then :
5971 printf %s "(cached) " >&6
5972 else $as_nop
5973 ac_cv_prog_cxx_cxx98=no
5974 ac_save_CXX=$CXX
5975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h. */
5977 $ac_cxx_conftest_cxx98_program
5978 _ACEOF
5979 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5981 CXX="$ac_save_CXX $ac_arg"
5982 if ac_fn_cxx_try_compile "$LINENO"
5983 then :
5984 ac_cv_prog_cxx_cxx98=$ac_arg
5986 rm -f core conftest.err conftest.$ac_objext conftest.beam
5987 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5988 done
5989 rm -f conftest.$ac_ext
5990 CXX=$ac_save_CXX
5993 if test "x$ac_cv_prog_cxx_cxx98" = xno
5994 then :
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5996 printf "%s\n" "unsupported" >&6; }
5997 else $as_nop
5998 if test "x$ac_cv_prog_cxx_cxx98" = x
5999 then :
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6001 printf "%s\n" "none needed" >&6; }
6002 else $as_nop
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6004 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6005 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6007 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6008 ac_prog_cxx_stdcxx=cxx98
6012 ac_ext=c
6013 ac_cpp='$CPP $CPPFLAGS'
6014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6018 if test -n "$ac_tool_prefix"; then
6019 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 printf %s "checking for $ac_word... " >&6; }
6023 if test ${ac_cv_prog_CPPBIN+y}
6024 then :
6025 printf %s "(cached) " >&6
6026 else $as_nop
6027 if test -n "$CPPBIN"; then
6028 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6033 IFS=$as_save_IFS
6034 case $as_dir in #(((
6035 '') as_dir=./ ;;
6036 */) ;;
6037 *) as_dir=$as_dir/ ;;
6038 esac
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6041 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6043 break 2
6045 done
6046 done
6047 IFS=$as_save_IFS
6051 CPPBIN=$ac_cv_prog_CPPBIN
6052 if test -n "$CPPBIN"; then
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6054 printf "%s\n" "$CPPBIN" >&6; }
6055 else
6056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 printf "%s\n" "no" >&6; }
6062 if test -z "$ac_cv_prog_CPPBIN"; then
6063 ac_ct_CPPBIN=$CPPBIN
6064 # Extract the first word of "cpp", so it can be a program name with args.
6065 set dummy cpp; ac_word=$2
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 printf %s "checking for $ac_word... " >&6; }
6068 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6069 then :
6070 printf %s "(cached) " >&6
6071 else $as_nop
6072 if test -n "$ac_ct_CPPBIN"; then
6073 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 case $as_dir in #(((
6080 '') as_dir=./ ;;
6081 */) ;;
6082 *) as_dir=$as_dir/ ;;
6083 esac
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_ac_ct_CPPBIN="cpp"
6087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6097 if test -n "$ac_ct_CPPBIN"; then
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6099 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6100 else
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 printf "%s\n" "no" >&6; }
6105 if test "x$ac_ct_CPPBIN" = x; then
6106 CPPBIN="cpp"
6107 else
6108 case $cross_compiling:$ac_tool_warned in
6109 yes:)
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6111 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6112 ac_tool_warned=yes ;;
6113 esac
6114 CPPBIN=$ac_ct_CPPBIN
6116 else
6117 CPPBIN="$ac_cv_prog_CPPBIN"
6121 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6123 if test -n "$ac_tool_prefix"; then
6124 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6125 set dummy ${ac_tool_prefix}ld; ac_word=$2
6126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 printf %s "checking for $ac_word... " >&6; }
6128 if test ${ac_cv_prog_LD+y}
6129 then :
6130 printf %s "(cached) " >&6
6131 else $as_nop
6132 if test -n "$LD"; then
6133 ac_cv_prog_LD="$LD" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6138 IFS=$as_save_IFS
6139 case $as_dir in #(((
6140 '') as_dir=./ ;;
6141 */) ;;
6142 *) as_dir=$as_dir/ ;;
6143 esac
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6146 ac_cv_prog_LD="${ac_tool_prefix}ld"
6147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6148 break 2
6150 done
6151 done
6152 IFS=$as_save_IFS
6156 LD=$ac_cv_prog_LD
6157 if test -n "$LD"; then
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6159 printf "%s\n" "$LD" >&6; }
6160 else
6161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162 printf "%s\n" "no" >&6; }
6167 if test -z "$ac_cv_prog_LD"; then
6168 ac_ct_LD=$LD
6169 # Extract the first word of "ld", so it can be a program name with args.
6170 set dummy ld; ac_word=$2
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172 printf %s "checking for $ac_word... " >&6; }
6173 if test ${ac_cv_prog_ac_ct_LD+y}
6174 then :
6175 printf %s "(cached) " >&6
6176 else $as_nop
6177 if test -n "$ac_ct_LD"; then
6178 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6179 else
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH
6183 IFS=$as_save_IFS
6184 case $as_dir in #(((
6185 '') as_dir=./ ;;
6186 */) ;;
6187 *) as_dir=$as_dir/ ;;
6188 esac
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_ac_ct_LD="ld"
6192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6193 break 2
6195 done
6196 done
6197 IFS=$as_save_IFS
6201 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6202 if test -n "$ac_ct_LD"; then
6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6204 printf "%s\n" "$ac_ct_LD" >&6; }
6205 else
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 printf "%s\n" "no" >&6; }
6210 if test "x$ac_ct_LD" = x; then
6211 LD=""
6212 else
6213 case $cross_compiling:$ac_tool_warned in
6214 yes:)
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6216 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6217 ac_tool_warned=yes ;;
6218 esac
6219 LD=$ac_ct_LD
6221 else
6222 LD="$ac_cv_prog_LD"
6226 case $host in
6227 *-darwin*)
6228 with_fontconfig=${with_fontconfig:-no}
6230 *-mingw32*|*-cygwin*)
6231 enable_win16=${enable_win16:-no}
6232 with_mingw=${with_mingw:-no}
6234 esac
6237 case $host in
6238 x86_64*|amd64*)
6239 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6240 then
6241 CC="$CC -m32"
6242 CXX="$CXX -m32"
6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6245 printf %s "checking whether $CC works... " >&6; }
6246 if test ${wine_cv_cc_m32+y}
6247 then :
6248 printf %s "(cached) " >&6
6249 else $as_nop
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6254 main (void)
6258 return 0;
6260 _ACEOF
6261 if ac_fn_c_try_link "$LINENO"
6262 then :
6263 wine_cv_cc_m32=yes
6264 else $as_nop
6265 wine_cv_cc_m32=no
6267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6268 conftest$ac_exeext conftest.$ac_ext
6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6271 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6272 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
6273 host_cpu="i386"
6274 notice_platform="32-bit "
6275 TARGETFLAGS="$TARGETFLAGS -m32"
6276 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6277 export PKG_CONFIG_LIBDIR
6278 with_unwind=${with_unwind:-no}
6279 else
6280 CC="$CC -m64"
6281 CXX="$CXX -m64"
6282 host_cpu="x86_64"
6283 notice_platform="64-bit "
6284 TARGETFLAGS="$TARGETFLAGS -m64"
6287 arm*)
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6289 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6290 if test ${wine_cv_thumb2+y}
6291 then :
6292 printf %s "(cached) " >&6
6293 else $as_nop
6294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6298 main (void)
6300 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6302 return 0;
6304 _ACEOF
6305 if ac_fn_c_try_link "$LINENO"
6306 then :
6307 wine_cv_thumb2=yes
6308 else $as_nop
6309 wine_cv_thumb2=no
6311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6312 conftest$ac_exeext conftest.$ac_ext
6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6315 printf "%s\n" "$wine_cv_thumb2" >&6; }
6316 if test x"$wine_cv_thumb2" = xyes
6317 then
6318 CFLAGS="$CFLAGS -mthumb"
6319 TARGETFLAGS="$TARGETFLAGS -mthumb"
6320 else
6321 CFLAGS="$CFLAGS -marm"
6322 TARGETFLAGS="$TARGETFLAGS -marm"
6324 case $with_float_abi in
6325 soft|softfp|hard)
6326 float_abi=$with_float_abi ;;
6328 case $host_os in
6329 *eabihf)
6330 float_abi=hard ;;
6332 float_abi=softfp
6333 saved_CFLAGS=$CFLAGS
6334 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6336 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6337 if test ${wine_cv_float_abi+y}
6338 then :
6339 printf %s "(cached) " >&6
6340 else $as_nop
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6345 main (void)
6347 asm("vmrs r2,fpscr");
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_link "$LINENO"
6353 then :
6354 wine_cv_float_abi=yes
6355 else $as_nop
6356 wine_cv_float_abi=no
6358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6359 conftest$ac_exeext conftest.$ac_ext
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6362 printf "%s\n" "$wine_cv_float_abi" >&6; }
6363 if test $wine_cv_float_abi = no
6364 then
6365 float_abi=soft
6366 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6368 CFLAGS=$saved_CFLAGS
6369 esac
6371 esac
6372 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6373 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6375 i[3456789]86*)
6376 with_unwind=${with_unwind:-no}
6378 esac
6380 enable_win16=${enable_win16:-i386}
6381 enable_win64=${enable_win64:-no}
6382 enable_wow64=${enable_wow64:-aarch64,x86_64}
6383 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6384 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6386 enable_winetest=${enable_winetest:-$enable_tests}
6388 if test "x$enable_win64" = "xyes"
6389 then
6390 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6391 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6394 case $build_os in
6395 cygwin*|mingw32*) toolsext=".exe"
6397 *) toolsext=""
6399 esac
6401 HOST_ARCH=unknown
6402 case "$host_cpu" in
6403 aarch64*) HOST_ARCH=aarch64 ;;
6404 arm*) HOST_ARCH=arm ;;
6405 i[3456789]86*) HOST_ARCH=i386 ;;
6406 x86_64) HOST_ARCH=x86_64 ;;
6407 esac
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6411 printf %s "checking for the directory containing the Wine tools... " >&6; }
6412 if test ${wine_cv_toolsdir+y}
6413 then :
6414 printf %s "(cached) " >&6
6415 else $as_nop
6416 wine_cv_toolsdir="$with_wine_tools"
6417 if test -z "$with_wine_tools"; then
6418 if test "$cross_compiling" = "yes"; then
6419 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6420 elif test -n "$with_wine64"; then
6421 wine_cv_toolsdir="$with_wine64"
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6426 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6427 if test -z "$wine_cv_toolsdir"; then
6428 wine_makedep=tools/makedep$toolsext
6429 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6430 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6431 enable_tools=${enable_tools:-no}
6432 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6433 else
6434 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6436 toolsdir=$wine_cv_toolsdir
6438 MAKEDEP=$wine_makedep
6440 RUNTESTFLAGS="-q -P wine"
6442 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'"
6445 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6446 then
6447 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6450 for ac_prog in flex
6452 # Extract the first word of "$ac_prog", so it can be a program name with args.
6453 set dummy $ac_prog; ac_word=$2
6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 printf %s "checking for $ac_word... " >&6; }
6456 if test ${ac_cv_prog_FLEX+y}
6457 then :
6458 printf %s "(cached) " >&6
6459 else $as_nop
6460 if test -n "$FLEX"; then
6461 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6462 else
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH
6466 IFS=$as_save_IFS
6467 case $as_dir in #(((
6468 '') as_dir=./ ;;
6469 */) ;;
6470 *) as_dir=$as_dir/ ;;
6471 esac
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6474 ac_cv_prog_FLEX="$ac_prog"
6475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6484 FLEX=$ac_cv_prog_FLEX
6485 if test -n "$FLEX"; then
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6487 printf "%s\n" "$FLEX" >&6; }
6488 else
6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 printf "%s\n" "no" >&6; }
6494 test -n "$FLEX" && break
6495 done
6496 test -n "$FLEX" || FLEX="none"
6498 if test "$FLEX" = "none"
6499 then
6500 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6503 printf %s "checking whether flex is recent enough... " >&6; }
6504 if test ${wine_cv_recent_flex+y}
6505 then :
6506 printf %s "(cached) " >&6
6507 else $as_nop
6508 cat >conftest.l <<EOF
6509 %top{
6510 #include "prediluvian.h"
6514 if $FLEX -t conftest.l >/dev/null 2>&5
6515 then
6516 wine_cv_recent_flex=yes
6517 else
6518 wine_cv_recent_flex=no
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6522 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6523 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
6525 for ac_prog in bison
6527 # Extract the first word of "$ac_prog", so it can be a program name with args.
6528 set dummy $ac_prog; ac_word=$2
6529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530 printf %s "checking for $ac_word... " >&6; }
6531 if test ${ac_cv_prog_BISON+y}
6532 then :
6533 printf %s "(cached) " >&6
6534 else $as_nop
6535 if test -n "$BISON"; then
6536 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6537 else
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 for as_dir in $PATH
6541 IFS=$as_save_IFS
6542 case $as_dir in #(((
6543 '') as_dir=./ ;;
6544 */) ;;
6545 *) as_dir=$as_dir/ ;;
6546 esac
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_BISON="$ac_prog"
6550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 BISON=$ac_cv_prog_BISON
6560 if test -n "$BISON"; then
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6562 printf "%s\n" "$BISON" >&6; }
6563 else
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 printf "%s\n" "no" >&6; }
6569 test -n "$BISON" && break
6570 done
6571 test -n "$BISON" || BISON="none"
6573 if test "$BISON" = "none"
6574 then
6575 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6578 printf %s "checking whether bison is recent enough... " >&6; }
6579 if test ${wine_cv_recent_bison+y}
6580 then :
6581 printf %s "(cached) " >&6
6582 else $as_nop
6583 cat >conftest.y <<EOF
6584 %define parse.error verbose
6586 empty: ;
6588 if $BISON conftest.y >/dev/null 2>&5
6589 then
6590 wine_cv_recent_bison=yes
6591 else
6592 wine_cv_recent_bison=no
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6596 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6597 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
6599 if test -n "$ac_tool_prefix"; then
6600 for ac_prog in ar gar
6602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 printf %s "checking for $ac_word... " >&6; }
6606 if test ${ac_cv_prog_AR+y}
6607 then :
6608 printf %s "(cached) " >&6
6609 else $as_nop
6610 if test -n "$AR"; then
6611 ac_cv_prog_AR="$AR" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6616 IFS=$as_save_IFS
6617 case $as_dir in #(((
6618 '') as_dir=./ ;;
6619 */) ;;
6620 *) as_dir=$as_dir/ ;;
6621 esac
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 AR=$ac_cv_prog_AR
6635 if test -n "$AR"; then
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6637 printf "%s\n" "$AR" >&6; }
6638 else
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 printf "%s\n" "no" >&6; }
6644 test -n "$AR" && break
6645 done
6647 if test -z "$AR"; then
6648 ac_ct_AR=$AR
6649 for ac_prog in ar gar
6651 # Extract the first word of "$ac_prog", so it can be a program name with args.
6652 set dummy $ac_prog; ac_word=$2
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 printf %s "checking for $ac_word... " >&6; }
6655 if test ${ac_cv_prog_ac_ct_AR+y}
6656 then :
6657 printf %s "(cached) " >&6
6658 else $as_nop
6659 if test -n "$ac_ct_AR"; then
6660 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 case $as_dir in #(((
6667 '') as_dir=./ ;;
6668 */) ;;
6669 *) as_dir=$as_dir/ ;;
6670 esac
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_ac_ct_AR="$ac_prog"
6674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6675 break 2
6677 done
6678 done
6679 IFS=$as_save_IFS
6683 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6684 if test -n "$ac_ct_AR"; then
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6686 printf "%s\n" "$ac_ct_AR" >&6; }
6687 else
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 printf "%s\n" "no" >&6; }
6693 test -n "$ac_ct_AR" && break
6694 done
6696 if test "x$ac_ct_AR" = x; then
6697 AR="ar"
6698 else
6699 case $cross_compiling:$ac_tool_warned in
6700 yes:)
6701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6703 ac_tool_warned=yes ;;
6704 esac
6705 AR=$ac_ct_AR
6709 if test -n "$ac_tool_prefix"; then
6710 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6711 set dummy ${ac_tool_prefix}strip; ac_word=$2
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 printf %s "checking for $ac_word... " >&6; }
6714 if test ${ac_cv_prog_STRIP+y}
6715 then :
6716 printf %s "(cached) " >&6
6717 else $as_nop
6718 if test -n "$STRIP"; then
6719 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6724 IFS=$as_save_IFS
6725 case $as_dir in #(((
6726 '') as_dir=./ ;;
6727 */) ;;
6728 *) as_dir=$as_dir/ ;;
6729 esac
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6734 break 2
6736 done
6737 done
6738 IFS=$as_save_IFS
6742 STRIP=$ac_cv_prog_STRIP
6743 if test -n "$STRIP"; then
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6745 printf "%s\n" "$STRIP" >&6; }
6746 else
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 printf "%s\n" "no" >&6; }
6753 if test -z "$ac_cv_prog_STRIP"; then
6754 ac_ct_STRIP=$STRIP
6755 # Extract the first word of "strip", so it can be a program name with args.
6756 set dummy strip; ac_word=$2
6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 printf %s "checking for $ac_word... " >&6; }
6759 if test ${ac_cv_prog_ac_ct_STRIP+y}
6760 then :
6761 printf %s "(cached) " >&6
6762 else $as_nop
6763 if test -n "$ac_ct_STRIP"; then
6764 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 case $as_dir in #(((
6771 '') as_dir=./ ;;
6772 */) ;;
6773 *) as_dir=$as_dir/ ;;
6774 esac
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_ac_ct_STRIP="strip"
6778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6779 break 2
6781 done
6782 done
6783 IFS=$as_save_IFS
6787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6788 if test -n "$ac_ct_STRIP"; then
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6790 printf "%s\n" "$ac_ct_STRIP" >&6; }
6791 else
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 printf "%s\n" "no" >&6; }
6796 if test "x$ac_ct_STRIP" = x; then
6797 STRIP="strip"
6798 else
6799 case $cross_compiling:$ac_tool_warned in
6800 yes:)
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803 ac_tool_warned=yes ;;
6804 esac
6805 STRIP=$ac_ct_STRIP
6807 else
6808 STRIP="$ac_cv_prog_STRIP"
6811 if test -n "$ac_tool_prefix"; then
6812 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6813 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815 printf %s "checking for $ac_word... " >&6; }
6816 if test ${ac_cv_prog_RANLIB+y}
6817 then :
6818 printf %s "(cached) " >&6
6819 else $as_nop
6820 if test -n "$RANLIB"; then
6821 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6822 else
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 for as_dir in $PATH
6826 IFS=$as_save_IFS
6827 case $as_dir in #(((
6828 '') as_dir=./ ;;
6829 */) ;;
6830 *) as_dir=$as_dir/ ;;
6831 esac
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6836 break 2
6838 done
6839 done
6840 IFS=$as_save_IFS
6844 RANLIB=$ac_cv_prog_RANLIB
6845 if test -n "$RANLIB"; then
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6847 printf "%s\n" "$RANLIB" >&6; }
6848 else
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 printf "%s\n" "no" >&6; }
6855 if test -z "$ac_cv_prog_RANLIB"; then
6856 ac_ct_RANLIB=$RANLIB
6857 # Extract the first word of "ranlib", so it can be a program name with args.
6858 set dummy ranlib; ac_word=$2
6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 printf %s "checking for $ac_word... " >&6; }
6861 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6862 then :
6863 printf %s "(cached) " >&6
6864 else $as_nop
6865 if test -n "$ac_ct_RANLIB"; then
6866 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6867 else
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 for as_dir in $PATH
6871 IFS=$as_save_IFS
6872 case $as_dir in #(((
6873 '') as_dir=./ ;;
6874 */) ;;
6875 *) as_dir=$as_dir/ ;;
6876 esac
6877 for ac_exec_ext in '' $ac_executable_extensions; do
6878 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6879 ac_cv_prog_ac_ct_RANLIB="ranlib"
6880 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6881 break 2
6883 done
6884 done
6885 IFS=$as_save_IFS
6889 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6890 if test -n "$ac_ct_RANLIB"; then
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6892 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6893 else
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895 printf "%s\n" "no" >&6; }
6898 if test "x$ac_ct_RANLIB" = x; then
6899 RANLIB=":"
6900 else
6901 case $cross_compiling:$ac_tool_warned in
6902 yes:)
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6904 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6905 ac_tool_warned=yes ;;
6906 esac
6907 RANLIB=$ac_ct_RANLIB
6909 else
6910 RANLIB="$ac_cv_prog_RANLIB"
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6914 printf %s "checking whether ln -s works... " >&6; }
6915 LN_S=$as_ln_s
6916 if test "$LN_S" = "ln -s"; then
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6918 printf "%s\n" "yes" >&6; }
6919 else
6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6921 printf "%s\n" "no, using $LN_S" >&6; }
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6925 printf %s "checking for grep that handles long lines and -e... " >&6; }
6926 if test ${ac_cv_path_GREP+y}
6927 then :
6928 printf %s "(cached) " >&6
6929 else $as_nop
6930 if test -z "$GREP"; then
6931 ac_path_GREP_found=false
6932 # Loop through the user's path and test for each of PROGNAME-LIST
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6936 IFS=$as_save_IFS
6937 case $as_dir in #(((
6938 '') as_dir=./ ;;
6939 */) ;;
6940 *) as_dir=$as_dir/ ;;
6941 esac
6942 for ac_prog in grep ggrep
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6946 as_fn_executable_p "$ac_path_GREP" || continue
6947 # Check for GNU ac_path_GREP and select it if it is found.
6948 # Check for GNU $ac_path_GREP
6949 case `"$ac_path_GREP" --version 2>&1` in
6950 *GNU*)
6951 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6953 ac_count=0
6954 printf %s 0123456789 >"conftest.in"
6955 while :
6957 cat "conftest.in" "conftest.in" >"conftest.tmp"
6958 mv "conftest.tmp" "conftest.in"
6959 cp "conftest.in" "conftest.nl"
6960 printf "%s\n" 'GREP' >> "conftest.nl"
6961 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6962 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6963 as_fn_arith $ac_count + 1 && ac_count=$as_val
6964 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6965 # Best one so far, save it but keep looking for a better one
6966 ac_cv_path_GREP="$ac_path_GREP"
6967 ac_path_GREP_max=$ac_count
6969 # 10*(2^10) chars as input seems more than enough
6970 test $ac_count -gt 10 && break
6971 done
6972 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6973 esac
6975 $ac_path_GREP_found && break 3
6976 done
6977 done
6978 done
6979 IFS=$as_save_IFS
6980 if test -z "$ac_cv_path_GREP"; then
6981 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6983 else
6984 ac_cv_path_GREP=$GREP
6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6989 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6990 GREP="$ac_cv_path_GREP"
6993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6994 printf %s "checking for egrep... " >&6; }
6995 if test ${ac_cv_path_EGREP+y}
6996 then :
6997 printf %s "(cached) " >&6
6998 else $as_nop
6999 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7000 then ac_cv_path_EGREP="$GREP -E"
7001 else
7002 if test -z "$EGREP"; then
7003 ac_path_EGREP_found=false
7004 # Loop through the user's path and test for each of PROGNAME-LIST
7005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7008 IFS=$as_save_IFS
7009 case $as_dir in #(((
7010 '') as_dir=./ ;;
7011 */) ;;
7012 *) as_dir=$as_dir/ ;;
7013 esac
7014 for ac_prog in egrep
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7018 as_fn_executable_p "$ac_path_EGREP" || continue
7019 # Check for GNU ac_path_EGREP and select it if it is found.
7020 # Check for GNU $ac_path_EGREP
7021 case `"$ac_path_EGREP" --version 2>&1` in
7022 *GNU*)
7023 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7025 ac_count=0
7026 printf %s 0123456789 >"conftest.in"
7027 while :
7029 cat "conftest.in" "conftest.in" >"conftest.tmp"
7030 mv "conftest.tmp" "conftest.in"
7031 cp "conftest.in" "conftest.nl"
7032 printf "%s\n" 'EGREP' >> "conftest.nl"
7033 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7035 as_fn_arith $ac_count + 1 && ac_count=$as_val
7036 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7037 # Best one so far, save it but keep looking for a better one
7038 ac_cv_path_EGREP="$ac_path_EGREP"
7039 ac_path_EGREP_max=$ac_count
7041 # 10*(2^10) chars as input seems more than enough
7042 test $ac_count -gt 10 && break
7043 done
7044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7045 esac
7047 $ac_path_EGREP_found && break 3
7048 done
7049 done
7050 done
7051 IFS=$as_save_IFS
7052 if test -z "$ac_cv_path_EGREP"; then
7053 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7055 else
7056 ac_cv_path_EGREP=$EGREP
7061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7062 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7063 EGREP="$ac_cv_path_EGREP"
7066 # Extract the first word of "ldconfig", so it can be a program name with args.
7067 set dummy ldconfig; ac_word=$2
7068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 printf %s "checking for $ac_word... " >&6; }
7070 if test ${ac_cv_path_LDCONFIG+y}
7071 then :
7072 printf %s "(cached) " >&6
7073 else $as_nop
7074 case $LDCONFIG in
7075 [\\/]* | ?:[\\/]*)
7076 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 for as_dir in /sbin /usr/sbin $PATH
7082 IFS=$as_save_IFS
7083 case $as_dir in #(((
7084 '') as_dir=./ ;;
7085 */) ;;
7086 *) as_dir=$as_dir/ ;;
7087 esac
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7090 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7092 break 2
7094 done
7095 done
7096 IFS=$as_save_IFS
7098 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7100 esac
7102 LDCONFIG=$ac_cv_path_LDCONFIG
7103 if test -n "$LDCONFIG"; then
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7105 printf "%s\n" "$LDCONFIG" >&6; }
7106 else
7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 printf "%s\n" "no" >&6; }
7112 for ac_prog in msgfmt
7114 # Extract the first word of "$ac_prog", so it can be a program name with args.
7115 set dummy $ac_prog; ac_word=$2
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 printf %s "checking for $ac_word... " >&6; }
7118 if test ${ac_cv_prog_MSGFMT+y}
7119 then :
7120 printf %s "(cached) " >&6
7121 else $as_nop
7122 if test -n "$MSGFMT"; then
7123 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7124 else
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 for as_dir in $PATH
7128 IFS=$as_save_IFS
7129 case $as_dir in #(((
7130 '') as_dir=./ ;;
7131 */) ;;
7132 *) as_dir=$as_dir/ ;;
7133 esac
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7136 ac_cv_prog_MSGFMT="$ac_prog"
7137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7138 break 2
7140 done
7141 done
7142 IFS=$as_save_IFS
7146 MSGFMT=$ac_cv_prog_MSGFMT
7147 if test -n "$MSGFMT"; then
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7149 printf "%s\n" "$MSGFMT" >&6; }
7150 else
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 printf "%s\n" "no" >&6; }
7156 test -n "$MSGFMT" && break
7157 done
7158 test -n "$MSGFMT" || MSGFMT="false"
7160 if test ${ac_tool_prefix+y}
7161 then :
7162 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7163 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 printf %s "checking for $ac_word... " >&6; }
7166 if test ${ac_cv_prog_PKG_CONFIG+y}
7167 then :
7168 printf %s "(cached) " >&6
7169 else $as_nop
7170 if test -n "$PKG_CONFIG"; then
7171 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7176 IFS=$as_save_IFS
7177 case $as_dir in #(((
7178 '') as_dir=./ ;;
7179 */) ;;
7180 *) as_dir=$as_dir/ ;;
7181 esac
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7184 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7186 break 2
7188 done
7189 done
7190 IFS=$as_save_IFS
7194 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7195 if test -n "$PKG_CONFIG"; then
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7197 printf "%s\n" "$PKG_CONFIG" >&6; }
7198 else
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 printf "%s\n" "no" >&6; }
7205 if ${ac_cv_prog_PKG_CONFIG:+false} :
7206 then :
7207 if test "x$cross_compiling" = xyes
7208 then :
7210 else $as_nop
7211 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7212 # Extract the first word of "pkg-config", so it can be a program name with args.
7213 set dummy pkg-config; ac_word=$2
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 printf %s "checking for $ac_word... " >&6; }
7216 if test ${ac_cv_prog_PKG_CONFIG+y}
7217 then :
7218 printf %s "(cached) " >&6
7219 else $as_nop
7220 if test -n "$PKG_CONFIG"; then
7221 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7226 IFS=$as_save_IFS
7227 case $as_dir in #(((
7228 '') as_dir=./ ;;
7229 */) ;;
7230 *) as_dir=$as_dir/ ;;
7231 esac
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7234 ac_cv_prog_PKG_CONFIG="pkg-config"
7235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7236 break 2
7238 done
7239 done
7240 IFS=$as_save_IFS
7244 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7245 if test -n "$PKG_CONFIG"; then
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7247 printf "%s\n" "$PKG_CONFIG" >&6; }
7248 else
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 printf "%s\n" "no" >&6; }
7255 else $as_nop
7256 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7259 if test "x$enable_maintainer_mode" != "xyes"
7260 then
7261 FONTFORGE=""
7262 RSVG=""
7263 CONVERT=""
7264 ICOTOOL=""
7265 else
7266 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7267 for ac_prog in fontforge
7269 # Extract the first word of "$ac_prog", so it can be a program name with args.
7270 set dummy $ac_prog; ac_word=$2
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 printf %s "checking for $ac_word... " >&6; }
7273 if test ${ac_cv_prog_FONTFORGE+y}
7274 then :
7275 printf %s "(cached) " >&6
7276 else $as_nop
7277 if test -n "$FONTFORGE"; then
7278 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 case $as_dir in #(((
7285 '') as_dir=./ ;;
7286 */) ;;
7287 *) as_dir=$as_dir/ ;;
7288 esac
7289 for ac_exec_ext in '' $ac_executable_extensions; do
7290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7291 ac_cv_prog_FONTFORGE="$ac_prog"
7292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7293 break 2
7295 done
7296 done
7297 IFS=$as_save_IFS
7301 FONTFORGE=$ac_cv_prog_FONTFORGE
7302 if test -n "$FONTFORGE"; then
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7304 printf "%s\n" "$FONTFORGE" >&6; }
7305 else
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 printf "%s\n" "no" >&6; }
7311 test -n "$FONTFORGE" && break
7312 done
7313 test -n "$FONTFORGE" || FONTFORGE="false"
7315 for ac_prog in rsvg-convert rsvg
7317 # Extract the first word of "$ac_prog", so it can be a program name with args.
7318 set dummy $ac_prog; ac_word=$2
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 printf %s "checking for $ac_word... " >&6; }
7321 if test ${ac_cv_prog_RSVG+y}
7322 then :
7323 printf %s "(cached) " >&6
7324 else $as_nop
7325 if test -n "$RSVG"; then
7326 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7327 else
7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329 for as_dir in $PATH
7331 IFS=$as_save_IFS
7332 case $as_dir in #(((
7333 '') as_dir=./ ;;
7334 */) ;;
7335 *) as_dir=$as_dir/ ;;
7336 esac
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_RSVG="$ac_prog"
7340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 RSVG=$ac_cv_prog_RSVG
7350 if test -n "$RSVG"; then
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7352 printf "%s\n" "$RSVG" >&6; }
7353 else
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 printf "%s\n" "no" >&6; }
7359 test -n "$RSVG" && break
7360 done
7361 test -n "$RSVG" || RSVG="false"
7363 for ac_prog in convert
7365 # Extract the first word of "$ac_prog", so it can be a program name with args.
7366 set dummy $ac_prog; ac_word=$2
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 printf %s "checking for $ac_word... " >&6; }
7369 if test ${ac_cv_prog_CONVERT+y}
7370 then :
7371 printf %s "(cached) " >&6
7372 else $as_nop
7373 if test -n "$CONVERT"; then
7374 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7375 else
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 for as_dir in $PATH
7379 IFS=$as_save_IFS
7380 case $as_dir in #(((
7381 '') as_dir=./ ;;
7382 */) ;;
7383 *) as_dir=$as_dir/ ;;
7384 esac
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_CONVERT="$ac_prog"
7388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7389 break 2
7391 done
7392 done
7393 IFS=$as_save_IFS
7397 CONVERT=$ac_cv_prog_CONVERT
7398 if test -n "$CONVERT"; then
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7400 printf "%s\n" "$CONVERT" >&6; }
7401 else
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 printf "%s\n" "no" >&6; }
7407 test -n "$CONVERT" && break
7408 done
7409 test -n "$CONVERT" || CONVERT="false"
7411 for ac_prog in icotool
7413 # Extract the first word of "$ac_prog", so it can be a program name with args.
7414 set dummy $ac_prog; ac_word=$2
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 printf %s "checking for $ac_word... " >&6; }
7417 if test ${ac_cv_prog_ICOTOOL+y}
7418 then :
7419 printf %s "(cached) " >&6
7420 else $as_nop
7421 if test -n "$ICOTOOL"; then
7422 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 case $as_dir in #(((
7429 '') as_dir=./ ;;
7430 */) ;;
7431 *) as_dir=$as_dir/ ;;
7432 esac
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_ICOTOOL="$ac_prog"
7436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 ICOTOOL=$ac_cv_prog_ICOTOOL
7446 if test -n "$ICOTOOL"; then
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7448 printf "%s\n" "$ICOTOOL" >&6; }
7449 else
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 printf "%s\n" "no" >&6; }
7455 test -n "$ICOTOOL" && break
7456 done
7457 test -n "$ICOTOOL" || ICOTOOL="false"
7459 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7460 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7462 if test "$CONVERT" = false
7463 then
7464 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7465 else
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7467 printf %s "checking for recent enough imagemagick... " >&6; }
7468 convert_version=`convert --version | head -n1`
7469 if test "x$convert_version" != "x"
7470 then
7471 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7472 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7473 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7474 then
7475 CONVERT=false
7478 if test "$CONVERT" = false
7479 then
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7481 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7482 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 else
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7485 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7489 if test "$ICOTOOL" = false
7490 then
7491 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7492 else
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7494 printf %s "checking for recent enough icotool... " >&6; }
7495 icotool_version=`icotool --version | head -n1`
7496 if test "x$icotool_version" != "x"
7497 then
7498 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7499 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7500 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7501 then
7502 ICOTOOL=false
7503 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7506 if test "$ICOTOOL" = false
7507 then
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7509 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7510 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7511 else
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7513 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7517 with_gettext=yes
7518 with_gettextpo=yes
7520 enable_werror=yes
7523 test "x$with_gettext" != xno || MSGFMT=false
7524 if test "$MSGFMT" != "false"
7525 then
7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7527 printf %s "checking whether msgfmt supports contexts... " >&6; }
7528 if test ${wine_cv_msgfmt_contexts+y}
7529 then :
7530 printf %s "(cached) " >&6
7531 else $as_nop
7532 cat >conftest.po <<EOF
7533 # comment
7534 msgctxt "ctxt"
7535 msgid "id"
7536 msgstr "str"
7538 if $MSGFMT -o /dev/null conftest.po 2>&5
7539 then
7540 wine_cv_msgfmt_contexts=yes
7541 else
7542 wine_cv_msgfmt_contexts=no
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7546 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7547 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7549 if test "$MSGFMT" = false
7550 then :
7551 case "x$with_gettext" in
7552 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7553 xno) ;;
7554 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7555 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7556 esac
7557 enable_po=${enable_po:-no}
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7562 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7563 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7564 then :
7565 printf %s "(cached) " >&6
7566 else $as_nop
7567 ac_check_lib_save_LIBS=$LIBS
7568 LIBS="-li386 $LIBS"
7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7572 /* Override any GCC internal prototype to avoid an error.
7573 Use char because int might match the return type of a GCC
7574 builtin and then its argument prototype would still apply. */
7575 char i386_set_ldt ();
7577 main (void)
7579 return i386_set_ldt ();
7581 return 0;
7583 _ACEOF
7584 if ac_fn_c_try_link "$LINENO"
7585 then :
7586 ac_cv_lib_i386_i386_set_ldt=yes
7587 else $as_nop
7588 ac_cv_lib_i386_i386_set_ldt=no
7590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7591 conftest$ac_exeext conftest.$ac_ext
7592 LIBS=$ac_check_lib_save_LIBS
7594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7595 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7596 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7597 then :
7598 I386_LIBS="-li386"
7603 OPENGL_LIBS=""
7607 # Check whether --enable-largefile was given.
7608 if test ${enable_largefile+y}
7609 then :
7610 enableval=$enable_largefile;
7613 if test "$enable_largefile" != no; then
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7616 printf %s "checking for special C compiler options needed for large files... " >&6; }
7617 if test ${ac_cv_sys_largefile_CC+y}
7618 then :
7619 printf %s "(cached) " >&6
7620 else $as_nop
7621 ac_cv_sys_largefile_CC=no
7622 if test "$GCC" != yes; then
7623 ac_save_CC=$CC
7624 while :; do
7625 # IRIX 6.2 and later do not support large files by default,
7626 # so use the C compiler's -n32 option if that helps.
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7629 #include <sys/types.h>
7630 /* Check that off_t can represent 2**63 - 1 correctly.
7631 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7632 since some C++ compilers masquerading as C compilers
7633 incorrectly reject 9223372036854775807. */
7634 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7635 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7636 && LARGE_OFF_T % 2147483647 == 1)
7637 ? 1 : -1];
7639 main (void)
7643 return 0;
7645 _ACEOF
7646 if ac_fn_c_try_compile "$LINENO"
7647 then :
7648 break
7650 rm -f core conftest.err conftest.$ac_objext conftest.beam
7651 CC="$CC -n32"
7652 if ac_fn_c_try_compile "$LINENO"
7653 then :
7654 ac_cv_sys_largefile_CC=' -n32'; break
7656 rm -f core conftest.err conftest.$ac_objext conftest.beam
7657 break
7658 done
7659 CC=$ac_save_CC
7660 rm -f conftest.$ac_ext
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7664 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7665 if test "$ac_cv_sys_largefile_CC" != no; then
7666 CC=$CC$ac_cv_sys_largefile_CC
7669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7670 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7671 if test ${ac_cv_sys_file_offset_bits+y}
7672 then :
7673 printf %s "(cached) " >&6
7674 else $as_nop
7675 while :; do
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7678 #include <sys/types.h>
7679 /* Check that off_t can represent 2**63 - 1 correctly.
7680 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7681 since some C++ compilers masquerading as C compilers
7682 incorrectly reject 9223372036854775807. */
7683 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7684 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7685 && LARGE_OFF_T % 2147483647 == 1)
7686 ? 1 : -1];
7688 main (void)
7692 return 0;
7694 _ACEOF
7695 if ac_fn_c_try_compile "$LINENO"
7696 then :
7697 ac_cv_sys_file_offset_bits=no; break
7699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7702 #define _FILE_OFFSET_BITS 64
7703 #include <sys/types.h>
7704 /* Check that off_t can represent 2**63 - 1 correctly.
7705 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7706 since some C++ compilers masquerading as C compilers
7707 incorrectly reject 9223372036854775807. */
7708 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7709 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7710 && LARGE_OFF_T % 2147483647 == 1)
7711 ? 1 : -1];
7713 main (void)
7717 return 0;
7719 _ACEOF
7720 if ac_fn_c_try_compile "$LINENO"
7721 then :
7722 ac_cv_sys_file_offset_bits=64; break
7724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7725 ac_cv_sys_file_offset_bits=unknown
7726 break
7727 done
7729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7730 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7731 case $ac_cv_sys_file_offset_bits in #(
7732 no | unknown) ;;
7734 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7736 esac
7737 rm -rf conftest*
7738 if test $ac_cv_sys_file_offset_bits = unknown; then
7739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7740 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7741 if test ${ac_cv_sys_large_files+y}
7742 then :
7743 printf %s "(cached) " >&6
7744 else $as_nop
7745 while :; do
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7748 #include <sys/types.h>
7749 /* Check that off_t can represent 2**63 - 1 correctly.
7750 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7751 since some C++ compilers masquerading as C compilers
7752 incorrectly reject 9223372036854775807. */
7753 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7754 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7755 && LARGE_OFF_T % 2147483647 == 1)
7756 ? 1 : -1];
7758 main (void)
7762 return 0;
7764 _ACEOF
7765 if ac_fn_c_try_compile "$LINENO"
7766 then :
7767 ac_cv_sys_large_files=no; break
7769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7771 /* end confdefs.h. */
7772 #define _LARGE_FILES 1
7773 #include <sys/types.h>
7774 /* Check that off_t can represent 2**63 - 1 correctly.
7775 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7776 since some C++ compilers masquerading as C compilers
7777 incorrectly reject 9223372036854775807. */
7778 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7779 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7780 && LARGE_OFF_T % 2147483647 == 1)
7781 ? 1 : -1];
7783 main (void)
7787 return 0;
7789 _ACEOF
7790 if ac_fn_c_try_compile "$LINENO"
7791 then :
7792 ac_cv_sys_large_files=1; break
7794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7795 ac_cv_sys_large_files=unknown
7796 break
7797 done
7799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7800 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7801 case $ac_cv_sys_large_files in #(
7802 no | unknown) ;;
7804 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7806 esac
7807 rm -rf conftest*
7812 ac_header= ac_cache=
7813 for ac_item in $ac_header_c_list
7815 if test $ac_cache; then
7816 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7817 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7818 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7820 ac_header= ac_cache=
7821 elif test $ac_header; then
7822 ac_cache=$ac_item
7823 else
7824 ac_header=$ac_item
7826 done
7835 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7836 then :
7838 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7841 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_CL_cl_h" = xyes
7843 then :
7844 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_EGL_egl_h" = xyes
7849 then :
7850 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7855 then :
7856 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile "$LINENO" "PCSC/pcsclite.h" "ac_cv_header_PCSC_pcsclite_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_PCSC_pcsclite_h" = xyes
7861 then :
7862 printf "%s\n" "#define HAVE_PCSC_PCSCLITE_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_arpa_inet_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_asm_types_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_asm_user_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_elf_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_float_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_gettext_po_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_libproc_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_link_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_linux_filter_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_linux_input_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_major_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_param_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_serial_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_types_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_wireless_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_lwp_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_mach_mach_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_machine_cpu_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_mntent_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_netdb_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_netinet_in_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_port_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_pthread_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_pwd_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_sched_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_scsi_sg_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_stdint_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_sys_attr_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_sys_auxv_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_sys_cdio_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_sys_epoll_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_sys_event_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_sys_extattr_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_filio_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_ipc_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_link_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_modem_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_mtio_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_param_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_prctl_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_queue_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_random_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_resource_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_shm_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_signal_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_sockio_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_strtio_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_syscall_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_times_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_uio_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_user_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_utsname_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_vnode_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_xattr_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_syscall_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_utime_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8330 then :
8332 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8336 if test $ac_cv_header_sys_mkdev_h = no; then
8337 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8339 then :
8341 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8347 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8348 if test ${ac_cv_header_stat_broken+y}
8349 then :
8350 printf %s "(cached) " >&6
8351 else $as_nop
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8354 #include <sys/types.h>
8355 #include <sys/stat.h>
8357 #if defined S_ISBLK && defined S_IFDIR
8358 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8359 #endif
8361 #if defined S_ISBLK && defined S_IFCHR
8362 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8363 #endif
8365 #if defined S_ISLNK && defined S_IFREG
8366 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8367 #endif
8369 #if defined S_ISSOCK && defined S_IFREG
8370 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8371 #endif
8373 _ACEOF
8374 if ac_fn_c_try_compile "$LINENO"
8375 then :
8376 ac_cv_header_stat_broken=no
8377 else $as_nop
8378 ac_cv_header_stat_broken=yes
8380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8383 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8384 if test $ac_cv_header_stat_broken = yes; then
8386 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8392 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8393 #ifdef HAVE_SYS_PARAM_H
8394 # include <sys/param.h>
8395 #endif
8397 if test "x$ac_cv_header_sys_conf_h" = xyes
8398 then :
8399 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8402 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8403 #ifdef HAVE_SYS_PARAM_H
8404 # include <sys/param.h>
8405 #endif
8407 if test "x$ac_cv_header_sys_mount_h" = xyes
8408 then :
8409 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8412 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8413 #ifdef HAVE_SYS_PARAM_H
8414 # include <sys/param.h>
8415 #endif
8417 if test "x$ac_cv_header_sys_statfs_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8425 #endif
8427 if test "x$ac_cv_header_sys_user_h" = xyes
8428 then :
8429 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8435 #endif
8437 if test "x$ac_cv_header_sys_vfs_h" = xyes
8438 then :
8439 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8444 saved_sysctl_h_CFLAGS=$CFLAGS
8445 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8446 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8447 #ifdef HAVE_SYS_PARAM_H
8448 # include <sys/param.h>
8449 #endif
8451 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8452 then :
8453 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8457 CFLAGS=$saved_sysctl_h_CFLAGS
8459 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8460 #include <sys/socket.h>
8461 #ifdef HAVE_SYS_SOCKETVAR_H
8462 # include <sys/socketvar.h>
8463 #endif
8464 #ifdef HAVE_NET_ROUTE_H
8465 # include <net/route.h>
8466 #endif
8467 #ifdef HAVE_NETINET_IN_H
8468 # include <netinet/in.h>
8469 #endif
8470 #ifdef HAVE_NETINET_IN_SYSTM_H
8471 # include <netinet/in_systm.h>
8472 #endif
8473 #ifdef HAVE_NET_IF_H
8474 # include <net/if.h>
8475 #endif
8476 #ifdef HAVE_NETINET_IP_H
8477 # include <netinet/ip.h>
8478 #endif
8480 if test "x$ac_cv_header_netinet_ip_h" = xyes
8481 then :
8482 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8485 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8486 #include <sys/socket.h>
8487 #ifdef HAVE_SYS_SOCKETVAR_H
8488 # include <sys/socketvar.h>
8489 #endif
8490 #ifdef HAVE_NET_ROUTE_H
8491 # include <net/route.h>
8492 #endif
8493 #ifdef HAVE_NETINET_IN_H
8494 # include <netinet/in.h>
8495 #endif
8496 #ifdef HAVE_NETINET_IN_SYSTM_H
8497 # include <netinet/in_systm.h>
8498 #endif
8499 #ifdef HAVE_NET_IF_H
8500 # include <net/if.h>
8501 #endif
8502 #ifdef HAVE_NETINET_IP_H
8503 # include <netinet/ip.h>
8504 #endif
8506 if test "x$ac_cv_header_net_if_h" = xyes
8507 then :
8508 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8511 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8512 #include <sys/socket.h>
8513 #ifdef HAVE_SYS_SOCKETVAR_H
8514 # include <sys/socketvar.h>
8515 #endif
8516 #ifdef HAVE_NET_ROUTE_H
8517 # include <net/route.h>
8518 #endif
8519 #ifdef HAVE_NETINET_IN_H
8520 # include <netinet/in.h>
8521 #endif
8522 #ifdef HAVE_NETINET_IN_SYSTM_H
8523 # include <netinet/in_systm.h>
8524 #endif
8525 #ifdef HAVE_NET_IF_H
8526 # include <net/if.h>
8527 #endif
8528 #ifdef HAVE_NETINET_IP_H
8529 # include <netinet/ip.h>
8530 #endif
8532 if test "x$ac_cv_header_net_if_arp_h" = xyes
8533 then :
8534 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8537 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8538 #include <sys/socket.h>
8539 #ifdef HAVE_SYS_SOCKETVAR_H
8540 # include <sys/socketvar.h>
8541 #endif
8542 #ifdef HAVE_NET_ROUTE_H
8543 # include <net/route.h>
8544 #endif
8545 #ifdef HAVE_NETINET_IN_H
8546 # include <netinet/in.h>
8547 #endif
8548 #ifdef HAVE_NETINET_IN_SYSTM_H
8549 # include <netinet/in_systm.h>
8550 #endif
8551 #ifdef HAVE_NET_IF_H
8552 # include <net/if.h>
8553 #endif
8554 #ifdef HAVE_NETINET_IP_H
8555 # include <netinet/ip.h>
8556 #endif
8558 if test "x$ac_cv_header_net_if_dl_h" = xyes
8559 then :
8560 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8563 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8564 #include <sys/socket.h>
8565 #ifdef HAVE_SYS_SOCKETVAR_H
8566 # include <sys/socketvar.h>
8567 #endif
8568 #ifdef HAVE_NET_ROUTE_H
8569 # include <net/route.h>
8570 #endif
8571 #ifdef HAVE_NETINET_IN_H
8572 # include <netinet/in.h>
8573 #endif
8574 #ifdef HAVE_NETINET_IN_SYSTM_H
8575 # include <netinet/in_systm.h>
8576 #endif
8577 #ifdef HAVE_NET_IF_H
8578 # include <net/if.h>
8579 #endif
8580 #ifdef HAVE_NETINET_IP_H
8581 # include <netinet/ip.h>
8582 #endif
8584 if test "x$ac_cv_header_net_if_types_h" = xyes
8585 then :
8586 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8589 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8590 #include <sys/socket.h>
8591 #ifdef HAVE_SYS_SOCKETVAR_H
8592 # include <sys/socketvar.h>
8593 #endif
8594 #ifdef HAVE_NET_ROUTE_H
8595 # include <net/route.h>
8596 #endif
8597 #ifdef HAVE_NETINET_IN_H
8598 # include <netinet/in.h>
8599 #endif
8600 #ifdef HAVE_NETINET_IN_SYSTM_H
8601 # include <netinet/in_systm.h>
8602 #endif
8603 #ifdef HAVE_NET_IF_H
8604 # include <net/if.h>
8605 #endif
8606 #ifdef HAVE_NETINET_IP_H
8607 # include <netinet/ip.h>
8608 #endif
8610 if test "x$ac_cv_header_net_route_h" = xyes
8611 then :
8612 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8615 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8616 #include <sys/socket.h>
8617 #ifdef HAVE_SYS_SOCKETVAR_H
8618 # include <sys/socketvar.h>
8619 #endif
8620 #ifdef HAVE_NET_ROUTE_H
8621 # include <net/route.h>
8622 #endif
8623 #ifdef HAVE_NETINET_IN_H
8624 # include <netinet/in.h>
8625 #endif
8626 #ifdef HAVE_NETINET_IN_SYSTM_H
8627 # include <netinet/in_systm.h>
8628 #endif
8629 #ifdef HAVE_NET_IF_H
8630 # include <net/if.h>
8631 #endif
8632 #ifdef HAVE_NETINET_IP_H
8633 # include <netinet/ip.h>
8634 #endif
8636 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8637 then :
8638 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8641 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8642 #include <sys/socket.h>
8643 #ifdef HAVE_SYS_SOCKETVAR_H
8644 # include <sys/socketvar.h>
8645 #endif
8646 #ifdef HAVE_NET_ROUTE_H
8647 # include <net/route.h>
8648 #endif
8649 #ifdef HAVE_NETINET_IN_H
8650 # include <netinet/in.h>
8651 #endif
8652 #ifdef HAVE_NETINET_IN_SYSTM_H
8653 # include <netinet/in_systm.h>
8654 #endif
8655 #ifdef HAVE_NET_IF_H
8656 # include <net/if.h>
8657 #endif
8658 #ifdef HAVE_NETINET_IP_H
8659 # include <netinet/ip.h>
8660 #endif
8662 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8663 then :
8664 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8667 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8668 #include <sys/socket.h>
8669 #ifdef HAVE_SYS_SOCKETVAR_H
8670 # include <sys/socketvar.h>
8671 #endif
8672 #ifdef HAVE_NET_ROUTE_H
8673 # include <net/route.h>
8674 #endif
8675 #ifdef HAVE_NETINET_IN_H
8676 # include <netinet/in.h>
8677 #endif
8678 #ifdef HAVE_NETINET_IN_SYSTM_H
8679 # include <netinet/in_systm.h>
8680 #endif
8681 #ifdef HAVE_NET_IF_H
8682 # include <net/if.h>
8683 #endif
8684 #ifdef HAVE_NETINET_IP_H
8685 # include <netinet/ip.h>
8686 #endif
8688 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8689 then :
8690 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8693 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8694 #include <sys/socket.h>
8695 #ifdef HAVE_SYS_SOCKETVAR_H
8696 # include <sys/socketvar.h>
8697 #endif
8698 #ifdef HAVE_NET_ROUTE_H
8699 # include <net/route.h>
8700 #endif
8701 #ifdef HAVE_NETINET_IN_H
8702 # include <netinet/in.h>
8703 #endif
8704 #ifdef HAVE_NETINET_IN_SYSTM_H
8705 # include <netinet/in_systm.h>
8706 #endif
8707 #ifdef HAVE_NET_IF_H
8708 # include <net/if.h>
8709 #endif
8710 #ifdef HAVE_NETINET_IP_H
8711 # include <netinet/ip.h>
8712 #endif
8714 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8715 then :
8716 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8719 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8720 #include <sys/socket.h>
8721 #ifdef HAVE_SYS_SOCKETVAR_H
8722 # include <sys/socketvar.h>
8723 #endif
8724 #ifdef HAVE_NET_ROUTE_H
8725 # include <net/route.h>
8726 #endif
8727 #ifdef HAVE_NETINET_IN_H
8728 # include <netinet/in.h>
8729 #endif
8730 #ifdef HAVE_NETINET_IN_SYSTM_H
8731 # include <netinet/in_systm.h>
8732 #endif
8733 #ifdef HAVE_NET_IF_H
8734 # include <net/if.h>
8735 #endif
8736 #ifdef HAVE_NETINET_IP_H
8737 # include <netinet/ip.h>
8738 #endif
8740 if test "x$ac_cv_header_netinet_udp_h" = xyes
8741 then :
8742 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8745 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8746 #include <sys/socket.h>
8747 #ifdef HAVE_SYS_SOCKETVAR_H
8748 # include <sys/socketvar.h>
8749 #endif
8750 #ifdef HAVE_NET_ROUTE_H
8751 # include <net/route.h>
8752 #endif
8753 #ifdef HAVE_NETINET_IN_H
8754 # include <netinet/in.h>
8755 #endif
8756 #ifdef HAVE_NETINET_IN_SYSTM_H
8757 # include <netinet/in_systm.h>
8758 #endif
8759 #ifdef HAVE_NET_IF_H
8760 # include <net/if.h>
8761 #endif
8762 #ifdef HAVE_NETINET_IP_H
8763 # include <netinet/ip.h>
8764 #endif
8766 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8767 then :
8768 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8771 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8772 #include <sys/socket.h>
8773 #ifdef HAVE_SYS_SOCKETVAR_H
8774 # include <sys/socketvar.h>
8775 #endif
8776 #ifdef HAVE_NET_ROUTE_H
8777 # include <net/route.h>
8778 #endif
8779 #ifdef HAVE_NETINET_IN_H
8780 # include <netinet/in.h>
8781 #endif
8782 #ifdef HAVE_NETINET_IN_SYSTM_H
8783 # include <netinet/in_systm.h>
8784 #endif
8785 #ifdef HAVE_NET_IF_H
8786 # include <net/if.h>
8787 #endif
8788 #ifdef HAVE_NETINET_IP_H
8789 # include <netinet/ip.h>
8790 #endif
8792 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8793 then :
8794 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8797 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8798 #include <sys/socket.h>
8799 #ifdef HAVE_SYS_SOCKETVAR_H
8800 # include <sys/socketvar.h>
8801 #endif
8802 #ifdef HAVE_NET_ROUTE_H
8803 # include <net/route.h>
8804 #endif
8805 #ifdef HAVE_NETINET_IN_H
8806 # include <netinet/in.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IN_SYSTM_H
8809 # include <netinet/in_systm.h>
8810 #endif
8811 #ifdef HAVE_NET_IF_H
8812 # include <net/if.h>
8813 #endif
8814 #ifdef HAVE_NETINET_IP_H
8815 # include <netinet/ip.h>
8816 #endif
8818 if test "x$ac_cv_header_sys_un_h" = xyes
8819 then :
8820 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8825 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8826 #include <sys/socket.h>
8827 #ifdef HAVE_SYS_SOCKETVAR_H
8828 # include <sys/socketvar.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_H
8831 # include <netinet/in.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IN_SYSTM_H
8834 # include <netinet/in_systm.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_H
8837 # include <netinet/ip.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IP_VAR_H
8840 # include <netinet/ip_var.h>
8841 #endif
8842 #ifdef HAVE_NETINET_IP_ICMP_H
8843 # include <netinet/ip_icmp.h>
8844 #endif
8845 #ifdef HAVE_NETINET_UDP_H
8846 # include <netinet/udp.h>
8847 #endif
8848 #ifdef HAVE_NETINET_TCP_H
8849 # include <netinet/tcp.h>
8850 #endif
8852 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8853 then :
8854 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8857 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8858 #include <sys/socket.h>
8859 #ifdef HAVE_SYS_SOCKETVAR_H
8860 # include <sys/socketvar.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IN_H
8863 # include <netinet/in.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IN_SYSTM_H
8866 # include <netinet/in_systm.h>
8867 #endif
8868 #ifdef HAVE_NETINET_IP_H
8869 # include <netinet/ip.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IP_VAR_H
8872 # include <netinet/ip_var.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IP_ICMP_H
8875 # include <netinet/ip_icmp.h>
8876 #endif
8877 #ifdef HAVE_NETINET_UDP_H
8878 # include <netinet/udp.h>
8879 #endif
8880 #ifdef HAVE_NETINET_TCP_H
8881 # include <netinet/tcp.h>
8882 #endif
8884 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8885 then :
8886 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8889 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8890 #include <sys/socket.h>
8891 #ifdef HAVE_SYS_SOCKETVAR_H
8892 # include <sys/socketvar.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IN_H
8895 # include <netinet/in.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IN_SYSTM_H
8898 # include <netinet/in_systm.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IP_H
8901 # include <netinet/ip.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IP_VAR_H
8904 # include <netinet/ip_var.h>
8905 #endif
8906 #ifdef HAVE_NETINET_IP_ICMP_H
8907 # include <netinet/ip_icmp.h>
8908 #endif
8909 #ifdef HAVE_NETINET_UDP_H
8910 # include <netinet/udp.h>
8911 #endif
8912 #ifdef HAVE_NETINET_TCP_H
8913 # include <netinet/tcp.h>
8914 #endif
8916 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8917 then :
8918 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8921 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8922 #include <sys/socket.h>
8923 #ifdef HAVE_SYS_SOCKETVAR_H
8924 # include <sys/socketvar.h>
8925 #endif
8926 #ifdef HAVE_NETINET_IN_H
8927 # include <netinet/in.h>
8928 #endif
8929 #ifdef HAVE_NETINET_IN_SYSTM_H
8930 # include <netinet/in_systm.h>
8931 #endif
8932 #ifdef HAVE_NETINET_IP_H
8933 # include <netinet/ip.h>
8934 #endif
8935 #ifdef HAVE_NETINET_IP_VAR_H
8936 # include <netinet/ip_var.h>
8937 #endif
8938 #ifdef HAVE_NETINET_IP_ICMP_H
8939 # include <netinet/ip_icmp.h>
8940 #endif
8941 #ifdef HAVE_NETINET_UDP_H
8942 # include <netinet/udp.h>
8943 #endif
8944 #ifdef HAVE_NETINET_TCP_H
8945 # include <netinet/tcp.h>
8946 #endif
8948 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8949 then :
8950 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8955 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8956 #include <sys/socket.h>
8957 #ifdef HAVE_ASM_TYPES_H
8958 # include <asm/types.h>
8959 #endif
8960 #ifdef HAVE_LINUX_TYPES_H
8961 # include <linux/types.h>
8962 #endif
8964 if test "x$ac_cv_header_linux_ipx_h" = xyes
8965 then :
8966 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8969 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8970 #include <sys/socket.h>
8971 #ifdef HAVE_ASM_TYPES_H
8972 # include <asm/types.h>
8973 #endif
8974 #ifdef HAVE_LINUX_TYPES_H
8975 # include <linux/types.h>
8976 #endif
8978 if test "x$ac_cv_header_linux_irda_h" = xyes
8979 then :
8980 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8984 #include <sys/socket.h>
8985 #ifdef HAVE_ASM_TYPES_H
8986 # include <asm/types.h>
8987 #endif
8988 #ifdef HAVE_LINUX_TYPES_H
8989 # include <linux/types.h>
8990 #endif
8992 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8993 then :
8994 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8999 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9000 #include <sys/socket.h>
9001 #ifdef HAVE_NETINET_IN_H
9002 # include <netinet/in.h>
9003 #endif
9004 #ifdef HAVE_ARPA_NAMESER_H
9005 # include <arpa/nameser.h>
9006 #endif
9008 if test "x$ac_cv_header_resolv_h" = xyes
9009 then :
9010 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9017 if test "x$ac_cv_header_ifaddrs_h" = xyes
9018 then :
9019 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9026 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9027 then :
9028 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9033 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9034 #ifdef HAVE_SYS_UCONTEXT_H
9035 #include <sys/ucontext.h>
9036 #endif
9038 if test "x$ac_cv_header_sys_thr_h" = xyes
9039 then :
9040 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9045 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9046 #include <pthread.h>
9047 #endif
9049 if test "x$ac_cv_header_pthread_np_h" = xyes
9050 then :
9051 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9057 #include <sys/types.h>
9058 #ifdef HAVE_ASM_TYPES_H
9059 #include <asm/types.h>
9060 #endif
9062 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9063 then :
9064 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9070 #include <sys/param.h>
9071 #endif
9072 #include <sys/socket.h>
9073 #ifdef HAVE_SYS_QUEUE_H
9074 #include <sys/queue.h>
9075 #endif
9077 if test "x$ac_cv_header_libprocstat_h" = xyes
9078 then :
9079 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9084 if test "x$ac_cv_header_sys_xattr_h" = xyes
9085 then
9086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9087 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9088 if test ${wine_cv_xattr_extra_args+y}
9089 then :
9090 printf %s "(cached) " >&6
9091 else $as_nop
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9094 #include <sys/xattr.h>
9096 main (void)
9098 getxattr("", "", "", 0, 0, 0);
9100 return 0;
9102 _ACEOF
9103 if ac_fn_c_try_compile "$LINENO"
9104 then :
9105 wine_cv_xattr_extra_args=yes
9106 else $as_nop
9107 wine_cv_xattr_extra_args=no
9109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9112 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9113 test $wine_cv_xattr_extra_args != yes ||
9114 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9119 DLLFLAGS=""
9121 LDDLLFLAGS=""
9123 LDEXECFLAGS=""
9125 EXTRACFLAGS=""
9127 UNIXDLLFLAGS="-fPIC"
9129 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9131 TOP_INSTALL_LIB=""
9133 TOP_INSTALL_DEV=""
9135 WINELOADER_LDFLAGS=""
9137 WINEPRELOADER_LDFLAGS=""
9139 DLLEXT=".so"
9141 LIBEXT="so"
9142 # Extract the first word of "ldd", so it can be a program name with args.
9143 set dummy ldd; ac_word=$2
9144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9145 printf %s "checking for $ac_word... " >&6; }
9146 if test ${ac_cv_path_LDD+y}
9147 then :
9148 printf %s "(cached) " >&6
9149 else $as_nop
9150 case $LDD in
9151 [\\/]* | ?:[\\/]*)
9152 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9156 as_dummy="/sbin:/usr/sbin:$PATH"
9157 for as_dir in $as_dummy
9159 IFS=$as_save_IFS
9160 case $as_dir in #(((
9161 '') as_dir=./ ;;
9162 */) ;;
9163 *) as_dir=$as_dir/ ;;
9164 esac
9165 for ac_exec_ext in '' $ac_executable_extensions; do
9166 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9167 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9169 break 2
9171 done
9172 done
9173 IFS=$as_save_IFS
9175 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9177 esac
9179 LDD=$ac_cv_path_LDD
9180 if test -n "$LDD"; then
9181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9182 printf "%s\n" "$LDD" >&6; }
9183 else
9184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9185 printf "%s\n" "no" >&6; }
9189 if test -n "$ac_tool_prefix"; then
9190 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9191 set dummy ${ac_tool_prefix}otool; ac_word=$2
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9193 printf %s "checking for $ac_word... " >&6; }
9194 if test ${ac_cv_prog_OTOOL+y}
9195 then :
9196 printf %s "(cached) " >&6
9197 else $as_nop
9198 if test -n "$OTOOL"; then
9199 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9200 else
9201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9202 for as_dir in $PATH
9204 IFS=$as_save_IFS
9205 case $as_dir in #(((
9206 '') as_dir=./ ;;
9207 */) ;;
9208 *) as_dir=$as_dir/ ;;
9209 esac
9210 for ac_exec_ext in '' $ac_executable_extensions; do
9211 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9212 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9214 break 2
9216 done
9217 done
9218 IFS=$as_save_IFS
9222 OTOOL=$ac_cv_prog_OTOOL
9223 if test -n "$OTOOL"; then
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9225 printf "%s\n" "$OTOOL" >&6; }
9226 else
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 printf "%s\n" "no" >&6; }
9233 if test -z "$ac_cv_prog_OTOOL"; then
9234 ac_ct_OTOOL=$OTOOL
9235 # Extract the first word of "otool", so it can be a program name with args.
9236 set dummy otool; ac_word=$2
9237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9238 printf %s "checking for $ac_word... " >&6; }
9239 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9240 then :
9241 printf %s "(cached) " >&6
9242 else $as_nop
9243 if test -n "$ac_ct_OTOOL"; then
9244 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9245 else
9246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9247 for as_dir in $PATH
9249 IFS=$as_save_IFS
9250 case $as_dir in #(((
9251 '') as_dir=./ ;;
9252 */) ;;
9253 *) as_dir=$as_dir/ ;;
9254 esac
9255 for ac_exec_ext in '' $ac_executable_extensions; do
9256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9257 ac_cv_prog_ac_ct_OTOOL="otool"
9258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9259 break 2
9261 done
9262 done
9263 IFS=$as_save_IFS
9267 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9268 if test -n "$ac_ct_OTOOL"; then
9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9270 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9271 else
9272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9273 printf "%s\n" "no" >&6; }
9276 if test "x$ac_ct_OTOOL" = x; then
9277 OTOOL="otool"
9278 else
9279 case $cross_compiling:$ac_tool_warned in
9280 yes:)
9281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9282 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9283 ac_tool_warned=yes ;;
9284 esac
9285 OTOOL=$ac_ct_OTOOL
9287 else
9288 OTOOL="$ac_cv_prog_OTOOL"
9291 if test -n "$ac_tool_prefix"; then
9292 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9293 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9295 printf %s "checking for $ac_word... " >&6; }
9296 if test ${ac_cv_prog_READELF+y}
9297 then :
9298 printf %s "(cached) " >&6
9299 else $as_nop
9300 if test -n "$READELF"; then
9301 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9302 else
9303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9304 for as_dir in $PATH
9306 IFS=$as_save_IFS
9307 case $as_dir in #(((
9308 '') as_dir=./ ;;
9309 */) ;;
9310 *) as_dir=$as_dir/ ;;
9311 esac
9312 for ac_exec_ext in '' $ac_executable_extensions; do
9313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9314 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9316 break 2
9318 done
9319 done
9320 IFS=$as_save_IFS
9324 READELF=$ac_cv_prog_READELF
9325 if test -n "$READELF"; then
9326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9327 printf "%s\n" "$READELF" >&6; }
9328 else
9329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9330 printf "%s\n" "no" >&6; }
9335 if test -z "$ac_cv_prog_READELF"; then
9336 ac_ct_READELF=$READELF
9337 # Extract the first word of "readelf", so it can be a program name with args.
9338 set dummy readelf; ac_word=$2
9339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9340 printf %s "checking for $ac_word... " >&6; }
9341 if test ${ac_cv_prog_ac_ct_READELF+y}
9342 then :
9343 printf %s "(cached) " >&6
9344 else $as_nop
9345 if test -n "$ac_ct_READELF"; then
9346 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9347 else
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9349 for as_dir in $PATH
9351 IFS=$as_save_IFS
9352 case $as_dir in #(((
9353 '') as_dir=./ ;;
9354 */) ;;
9355 *) as_dir=$as_dir/ ;;
9356 esac
9357 for ac_exec_ext in '' $ac_executable_extensions; do
9358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9359 ac_cv_prog_ac_ct_READELF="readelf"
9360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9361 break 2
9363 done
9364 done
9365 IFS=$as_save_IFS
9369 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9370 if test -n "$ac_ct_READELF"; then
9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9372 printf "%s\n" "$ac_ct_READELF" >&6; }
9373 else
9374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9375 printf "%s\n" "no" >&6; }
9378 if test "x$ac_ct_READELF" = x; then
9379 READELF="true"
9380 else
9381 case $cross_compiling:$ac_tool_warned in
9382 yes:)
9383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9384 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9385 ac_tool_warned=yes ;;
9386 esac
9387 READELF=$ac_ct_READELF
9389 else
9390 READELF="$ac_cv_prog_READELF"
9393 wine_rules="all:"
9394 SUBDIRS=""
9396 DISABLED_SUBDIRS=""
9398 CONFIGURE_TARGETS=""
9401 wine_fn_config_makefile ()
9403 as_fn_append SUBDIRS " \\$as_nl $1"
9404 eval enable=\$$2
9405 case "$enable" in
9406 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9407 *aarch64*|*arm*|*i386*|*x86_64*)
9408 if test -n "$PE_ARCHS"
9409 then
9410 for i in $PE_ARCHS
9412 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9413 done
9414 else
9415 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9416 fi;;
9417 esac
9420 wine_fn_config_symlink ()
9422 ac_links=$@
9423 as_fn_append wine_rules "
9424 $ac_links:
9425 @./config.status \$@"
9426 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9429 case $host_os in
9430 cygwin*|mingw32*)
9431 LIBEXT="dll"
9432 DLLEXT=""
9433 EXTRACFLAGS="-D__WINE_PE_BUILD"
9434 case $host_cpu in
9435 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9436 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9437 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9438 then :
9439 printf %s "(cached) " >&6
9440 else $as_nop
9441 ac_wine_try_cflags_saved=$CFLAGS
9442 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9445 int main(int argc, char **argv) { return 0; }
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"
9448 then :
9449 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9450 else $as_nop
9451 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9454 conftest$ac_exeext conftest.$ac_ext
9455 CFLAGS=$ac_wine_try_cflags_saved
9457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9458 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9459 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9460 then :
9461 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9462 fi ;;
9463 esac
9464 enable_loader=${enable_loader:-no}
9465 enable_server=${enable_server:-no}
9466 with_x=${with_x:-no}
9467 with_pthread=${with_pthread:-no}
9470 darwin*|macosx*)
9471 LIBEXT="dylib"
9472 DLLFLAGS="$DLLFLAGS -fPIC"
9473 LDDLLFLAGS="-fPIC"
9474 enable_winemac_drv=${enable_winemac_drv:-yes}
9475 CARBON_LIBS="-framework Carbon"
9477 COREFOUNDATION_LIBS="-framework CoreFoundation"
9479 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9481 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9483 METAL_LIBS="-framework Metal"
9485 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9487 CORESERVICES_LIBS="-framework CoreServices"
9489 APPKIT_LIBS="-framework AppKit"
9491 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9493 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9496 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9498 case $host_cpu in
9499 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9500 *) wine_can_build_preloader=no ;;
9501 esac
9503 if test "$wine_can_build_preloader" = "yes"
9504 then
9505 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"
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9507 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9508 if test ${ac_cv_cflags__Wl__no_pie+y}
9509 then :
9510 printf %s "(cached) " >&6
9511 else $as_nop
9512 ac_wine_try_cflags_saved=$CFLAGS
9513 CFLAGS="$CFLAGS -Wl,-no_pie"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"
9519 then :
9520 ac_cv_cflags__Wl__no_pie=yes
9521 else $as_nop
9522 ac_cv_cflags__Wl__no_pie=no
9524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9525 conftest$ac_exeext conftest.$ac_ext
9526 CFLAGS=$ac_wine_try_cflags_saved
9528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9529 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9530 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9531 then :
9532 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9534 case $host_cpu in
9535 *i[3456]86*)
9536 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9538 *x86_64*)
9539 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9541 esac
9542 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9543 else
9544 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9547 if test "x$with_coreaudio" != "xno";
9548 then
9549 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9551 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9553 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9554 then
9555 OPENCL_LIBS="-framework OpenCL"
9557 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9561 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9562 ac_ext=m
9563 ac_cpp='$OBJCPP $CPPFLAGS'
9564 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9565 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9566 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9568 ac_ext=m
9569 ac_cpp='$OBJCPP $CPPFLAGS'
9570 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9571 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9572 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9573 if test -n "$ac_tool_prefix"; then
9574 for ac_prog in gcc objcc objc cc CC clang
9576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9579 printf %s "checking for $ac_word... " >&6; }
9580 if test ${ac_cv_prog_OBJC+y}
9581 then :
9582 printf %s "(cached) " >&6
9583 else $as_nop
9584 if test -n "$OBJC"; then
9585 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9586 else
9587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9588 for as_dir in $PATH
9590 IFS=$as_save_IFS
9591 case $as_dir in #(((
9592 '') as_dir=./ ;;
9593 */) ;;
9594 *) as_dir=$as_dir/ ;;
9595 esac
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9598 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9600 break 2
9602 done
9603 done
9604 IFS=$as_save_IFS
9608 OBJC=$ac_cv_prog_OBJC
9609 if test -n "$OBJC"; then
9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9611 printf "%s\n" "$OBJC" >&6; }
9612 else
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 printf "%s\n" "no" >&6; }
9618 test -n "$OBJC" && break
9619 done
9621 if test -z "$OBJC"; then
9622 ac_ct_OBJC=$OBJC
9623 for ac_prog in gcc objcc objc cc CC clang
9625 # Extract the first word of "$ac_prog", so it can be a program name with args.
9626 set dummy $ac_prog; ac_word=$2
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 printf %s "checking for $ac_word... " >&6; }
9629 if test ${ac_cv_prog_ac_ct_OBJC+y}
9630 then :
9631 printf %s "(cached) " >&6
9632 else $as_nop
9633 if test -n "$ac_ct_OBJC"; then
9634 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9635 else
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9639 IFS=$as_save_IFS
9640 case $as_dir in #(((
9641 '') as_dir=./ ;;
9642 */) ;;
9643 *) as_dir=$as_dir/ ;;
9644 esac
9645 for ac_exec_ext in '' $ac_executable_extensions; do
9646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9649 break 2
9651 done
9652 done
9653 IFS=$as_save_IFS
9657 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9658 if test -n "$ac_ct_OBJC"; then
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9660 printf "%s\n" "$ac_ct_OBJC" >&6; }
9661 else
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 printf "%s\n" "no" >&6; }
9667 test -n "$ac_ct_OBJC" && break
9668 done
9670 if test "x$ac_ct_OBJC" = x; then
9671 OBJC="gcc"
9672 else
9673 case $cross_compiling:$ac_tool_warned in
9674 yes:)
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9677 ac_tool_warned=yes ;;
9678 esac
9679 OBJC=$ac_ct_OBJC
9683 # Provide some information about the compiler.
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9685 set X $ac_compile
9686 ac_compiler=$2
9687 for ac_option in --version -v -V -qversion; do
9688 { { ac_try="$ac_compiler $ac_option >&5"
9689 case "(($ac_try" in
9690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9692 esac
9693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9694 printf "%s\n" "$ac_try_echo"; } >&5
9695 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9696 ac_status=$?
9697 if test -s conftest.err; then
9698 sed '10a\
9699 ... rest of stderr output deleted ...
9700 10q' conftest.err >conftest.er1
9701 cat conftest.er1 >&5
9703 rm -f conftest.er1 conftest.err
9704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9705 test $ac_status = 0; }
9706 done
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9709 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9710 if test ${ac_cv_objc_compiler_gnu+y}
9711 then :
9712 printf %s "(cached) " >&6
9713 else $as_nop
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9718 main (void)
9720 #ifndef __GNUC__
9721 choke me
9722 #endif
9725 return 0;
9727 _ACEOF
9728 if ac_fn_objc_try_compile "$LINENO"
9729 then :
9730 ac_compiler_gnu=yes
9731 else $as_nop
9732 ac_compiler_gnu=no
9734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9735 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9739 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9740 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9742 if test $ac_compiler_gnu = yes; then
9743 GOBJC=yes
9744 else
9745 GOBJC=
9747 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9748 ac_save_OBJCFLAGS=$OBJCFLAGS
9749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9750 printf %s "checking whether $OBJC accepts -g... " >&6; }
9751 if test ${ac_cv_prog_objc_g+y}
9752 then :
9753 printf %s "(cached) " >&6
9754 else $as_nop
9755 ac_save_objc_werror_flag=$ac_objc_werror_flag
9756 ac_objc_werror_flag=yes
9757 ac_cv_prog_objc_g=no
9758 OBJCFLAGS="-g"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9763 main (void)
9767 return 0;
9769 _ACEOF
9770 if ac_fn_objc_try_compile "$LINENO"
9771 then :
9772 ac_cv_prog_objc_g=yes
9773 else $as_nop
9774 OBJCFLAGS=""
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9779 main (void)
9783 return 0;
9785 _ACEOF
9786 if ac_fn_objc_try_compile "$LINENO"
9787 then :
9789 else $as_nop
9790 ac_objc_werror_flag=$ac_save_objc_werror_flag
9791 OBJCFLAGS="-g"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9796 main (void)
9800 return 0;
9802 _ACEOF
9803 if ac_fn_objc_try_compile "$LINENO"
9804 then :
9805 ac_cv_prog_objc_g=yes
9807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9812 ac_objc_werror_flag=$ac_save_objc_werror_flag
9814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9815 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9816 if test $ac_test_OBJCFLAGS; then
9817 OBJCFLAGS=$ac_save_OBJCFLAGS
9818 elif test $ac_cv_prog_objc_g = yes; then
9819 if test "$GOBJC" = yes; then
9820 OBJCFLAGS="-g -O2"
9821 else
9822 OBJCFLAGS="-g"
9824 else
9825 if test "$GOBJC" = yes; then
9826 OBJCFLAGS="-O2"
9827 else
9828 OBJCFLAGS=
9831 ac_ext=m
9832 ac_cpp='$OBJCPP $CPPFLAGS'
9833 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9834 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9835 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9840 #include <Metal/Metal.h>
9842 main (void)
9844 id<MTLDevice> device; device.registryID;
9846 return 0;
9848 _ACEOF
9849 if ac_fn_objc_try_compile "$LINENO"
9850 then :
9851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9852 printf "%s\n" "yes" >&6; }
9854 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9856 else $as_nop
9857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9858 printf "%s\n" "no" >&6; }
9860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9861 ac_ext=c
9862 ac_cpp='$CPP $CPPFLAGS'
9863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9868 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9869 WINELOADER_DEPENDS="wine_info.plist"
9873 linux-android*)
9875 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9877 DLLFLAGS="$DLLFLAGS -fPIC"
9878 LDDLLFLAGS="-fPIC"
9879 LDEXECFLAGS="-Wl,-pie"
9880 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9882 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9883 if test ${ac_cv_cflags__Wl__z_defs+y}
9884 then :
9885 printf %s "(cached) " >&6
9886 else $as_nop
9887 ac_wine_try_cflags_saved=$CFLAGS
9888 CFLAGS="$CFLAGS -Wl,-z,defs"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9891 int main(int argc, char **argv) { return 0; }
9892 _ACEOF
9893 if ac_fn_c_try_link "$LINENO"
9894 then :
9895 ac_cv_cflags__Wl__z_defs=yes
9896 else $as_nop
9897 ac_cv_cflags__Wl__z_defs=no
9899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9900 conftest$ac_exeext conftest.$ac_ext
9901 CFLAGS=$ac_wine_try_cflags_saved
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9904 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9905 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9906 then :
9907 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9910 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9911 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9912 then :
9913 printf %s "(cached) " >&6
9914 else $as_nop
9915 ac_wine_try_cflags_saved=$CFLAGS
9916 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9919 int main(int argc, char **argv) { return 0; }
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"
9922 then :
9923 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9924 else $as_nop
9925 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9928 conftest$ac_exeext conftest.$ac_ext
9929 CFLAGS=$ac_wine_try_cflags_saved
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9932 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9933 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9934 then :
9935 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9937 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9940 printf %s "checking for -lEGL... " >&6; }
9941 if test ${ac_cv_lib_soname_EGL+y}
9942 then :
9943 printf %s "(cached) " >&6
9944 else $as_nop
9945 ac_check_soname_save_LIBS=$LIBS
9946 LIBS="-lEGL $LIBS"
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9950 /* Override any GCC internal prototype to avoid an error.
9951 Use char because int might match the return type of a GCC
9952 builtin and then its argument prototype would still apply. */
9953 char eglGetProcAddress ();
9955 main (void)
9957 return eglGetProcAddress ();
9959 return 0;
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"
9963 then :
9964 case "$LIBEXT" in
9965 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9966 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'` ;;
9967 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9968 if ${ac_cv_lib_soname_EGL:+false} :
9969 then :
9970 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9971 fi ;;
9972 esac
9973 else $as_nop
9974 ac_cv_lib_soname_EGL=
9976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_soname_save_LIBS
9980 if ${ac_cv_lib_soname_EGL:+false} :
9981 then :
9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9983 printf "%s\n" "not found" >&6; }
9985 else $as_nop
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9987 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9989 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9994 printf %s "checking for -lGLESv2... " >&6; }
9995 if test ${ac_cv_lib_soname_GLESv2+y}
9996 then :
9997 printf %s "(cached) " >&6
9998 else $as_nop
9999 ac_check_soname_save_LIBS=$LIBS
10000 LIBS="-lGLESv2 $LIBS"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 char glFlush ();
10009 main (void)
10011 return glFlush ();
10013 return 0;
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"
10017 then :
10018 case "$LIBEXT" in
10019 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10022 if ${ac_cv_lib_soname_GLESv2:+false} :
10023 then :
10024 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10025 fi ;;
10026 esac
10027 else $as_nop
10028 ac_cv_lib_soname_GLESv2=
10030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_GLESv2:+false} :
10035 then :
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10037 printf "%s\n" "not found" >&6; }
10039 else $as_nop
10040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10041 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10043 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10048 if test "x$exec_prefix" = xNONE
10049 then
10050 case $host_cpu in
10051 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10052 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10053 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10054 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10055 esac
10061 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10063 test "$ac_cv_sys_file_offset_bits" = 64 &&
10064 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10066 case $host_cpu in
10067 *i[3456789]86*)
10068 DLLFLAGS="$DLLFLAGS -fno-PIC"
10069 LDDLLFLAGS="-fno-PIC"
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10071 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10072 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10073 then :
10074 printf %s "(cached) " >&6
10075 else $as_nop
10076 ac_wine_try_cflags_saved=$CFLAGS
10077 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10080 int main(int argc, char **argv) { return 0; }
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"
10083 then :
10084 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10085 else $as_nop
10086 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10089 conftest$ac_exeext conftest.$ac_ext
10090 CFLAGS=$ac_wine_try_cflags_saved
10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10093 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10094 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10095 then :
10096 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10100 DLLFLAGS="$DLLFLAGS -fPIC"
10101 LDDLLFLAGS="-fPIC" ;;
10102 esac
10104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10105 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10106 if test ${ac_cv_cflags__Wl__z_defs+y}
10107 then :
10108 printf %s "(cached) " >&6
10109 else $as_nop
10110 ac_wine_try_cflags_saved=$CFLAGS
10111 CFLAGS="$CFLAGS -Wl,-z,defs"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10114 int main(int argc, char **argv) { return 0; }
10115 _ACEOF
10116 if ac_fn_c_try_link "$LINENO"
10117 then :
10118 ac_cv_cflags__Wl__z_defs=yes
10119 else $as_nop
10120 ac_cv_cflags__Wl__z_defs=no
10122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10123 conftest$ac_exeext conftest.$ac_ext
10124 CFLAGS=$ac_wine_try_cflags_saved
10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10127 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10128 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10129 then :
10130 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10133 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10134 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10135 then :
10136 printf %s "(cached) " >&6
10137 else $as_nop
10138 ac_wine_try_cflags_saved=$CFLAGS
10139 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int main(int argc, char **argv) { return 0; }
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"
10145 then :
10146 ac_cv_cflags__Wl___export_dynamic=yes
10147 else $as_nop
10148 ac_cv_cflags__Wl___export_dynamic=no
10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10155 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10156 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10157 then :
10158 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10160 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10162 case $host_os in
10163 linux*)
10164 as_fn_append WINELOADER_LDFLAGS " -pie"
10165 case $HOST_ARCH in
10166 i386|arm)
10167 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10170 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10171 if test ${ac_cv_cflags__static_pie+y}
10172 then :
10173 printf %s "(cached) " >&6
10174 else $as_nop
10175 ac_wine_try_cflags_saved=$CFLAGS
10176 CFLAGS="$CFLAGS -static-pie"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10179 int main(int argc, char **argv) { return 0; }
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"
10182 then :
10183 ac_cv_cflags__static_pie=yes
10184 else $as_nop
10185 ac_cv_cflags__static_pie=no
10187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10188 conftest$ac_exeext conftest.$ac_ext
10189 CFLAGS=$ac_wine_try_cflags_saved
10191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10192 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10193 if test "x$ac_cv_cflags__static_pie" = xyes
10194 then :
10195 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10196 else $as_nop
10197 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10200 esac
10203 case $HOST_ARCH in
10204 i386|arm)
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10206 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10207 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10208 then :
10209 printf %s "(cached) " >&6
10210 else $as_nop
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int main(int argc, char **argv) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"
10218 then :
10219 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10220 else $as_nop
10221 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10228 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10229 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10230 then :
10231 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10232 else $as_nop
10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10234 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10235 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10236 then :
10237 printf %s "(cached) " >&6
10238 else $as_nop
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10243 int main(int argc, char **argv) { return 0; }
10244 _ACEOF
10245 if ac_fn_c_try_link "$LINENO"
10246 then :
10247 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10248 else $as_nop
10249 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10252 conftest$ac_exeext conftest.$ac_ext
10253 CFLAGS=$ac_wine_try_cflags_saved
10255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10256 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10257 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10258 then :
10259 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10264 as_fn_append WINELOADER_LDFLAGS " -pie"
10266 esac
10268 esac
10270 esac
10272 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10273 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10274 enable_winemac_drv=${enable_winemac_drv:-no}
10276 PE_ARCHS=""
10278 cross_archs=
10279 if test ${enable_archs+y}
10280 then :
10281 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10282 ac_save_IFS=$IFS
10283 IFS=' ,'
10284 set x $enable_archs
10285 IFS=$ac_save_IFS
10286 shift
10287 for arch
10289 case $arch in
10290 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10291 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10292 esac
10293 done
10294 else $as_nop
10295 if test "x$with_mingw" != xno
10296 then
10297 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10301 for wine_arch in $cross_archs
10303 case "x$with_mingw" in
10304 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10305 esac
10306 if eval \${${wine_arch}_CC:+false} :
10307 then :
10308 case $wine_arch in
10309 aarch64)
10310 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10312 # Extract the first word of "$ac_prog", so it can be a program name with args.
10313 set dummy $ac_prog; ac_word=$2
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10315 printf %s "checking for $ac_word... " >&6; }
10316 if test ${ac_cv_prog_aarch64_CC+y}
10317 then :
10318 printf %s "(cached) " >&6
10319 else $as_nop
10320 if test -n "$aarch64_CC"; then
10321 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10322 else
10323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10324 for as_dir in $PATH
10326 IFS=$as_save_IFS
10327 case $as_dir in #(((
10328 '') as_dir=./ ;;
10329 */) ;;
10330 *) as_dir=$as_dir/ ;;
10331 esac
10332 for ac_exec_ext in '' $ac_executable_extensions; do
10333 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10334 ac_cv_prog_aarch64_CC="$ac_prog"
10335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10336 break 2
10338 done
10339 done
10340 IFS=$as_save_IFS
10344 aarch64_CC=$ac_cv_prog_aarch64_CC
10345 if test -n "$aarch64_CC"; then
10346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10347 printf "%s\n" "$aarch64_CC" >&6; }
10348 else
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10350 printf "%s\n" "no" >&6; }
10354 test -n "$aarch64_CC" && break
10355 done
10356 test -n "$aarch64_CC" || aarch64_CC="false"
10359 arm)
10360 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10362 # Extract the first word of "$ac_prog", so it can be a program name with args.
10363 set dummy $ac_prog; ac_word=$2
10364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10365 printf %s "checking for $ac_word... " >&6; }
10366 if test ${ac_cv_prog_arm_CC+y}
10367 then :
10368 printf %s "(cached) " >&6
10369 else $as_nop
10370 if test -n "$arm_CC"; then
10371 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10372 else
10373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10374 for as_dir in $PATH
10376 IFS=$as_save_IFS
10377 case $as_dir in #(((
10378 '') as_dir=./ ;;
10379 */) ;;
10380 *) as_dir=$as_dir/ ;;
10381 esac
10382 for ac_exec_ext in '' $ac_executable_extensions; do
10383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10384 ac_cv_prog_arm_CC="$ac_prog"
10385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10386 break 2
10388 done
10389 done
10390 IFS=$as_save_IFS
10394 arm_CC=$ac_cv_prog_arm_CC
10395 if test -n "$arm_CC"; then
10396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10397 printf "%s\n" "$arm_CC" >&6; }
10398 else
10399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10400 printf "%s\n" "no" >&6; }
10404 test -n "$arm_CC" && break
10405 done
10406 test -n "$arm_CC" || arm_CC="false"
10409 i386)
10410 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 "
10411 for ac_prog in $ac_prefix_list clang
10413 # Extract the first word of "$ac_prog", so it can be a program name with args.
10414 set dummy $ac_prog; ac_word=$2
10415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10416 printf %s "checking for $ac_word... " >&6; }
10417 if test ${ac_cv_prog_i386_CC+y}
10418 then :
10419 printf %s "(cached) " >&6
10420 else $as_nop
10421 if test -n "$i386_CC"; then
10422 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10423 else
10424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10425 for as_dir in $PATH
10427 IFS=$as_save_IFS
10428 case $as_dir in #(((
10429 '') as_dir=./ ;;
10430 */) ;;
10431 *) as_dir=$as_dir/ ;;
10432 esac
10433 for ac_exec_ext in '' $ac_executable_extensions; do
10434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10435 ac_cv_prog_i386_CC="$ac_prog"
10436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10437 break 2
10439 done
10440 done
10441 IFS=$as_save_IFS
10445 i386_CC=$ac_cv_prog_i386_CC
10446 if test -n "$i386_CC"; then
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10448 printf "%s\n" "$i386_CC" >&6; }
10449 else
10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10451 printf "%s\n" "no" >&6; }
10455 test -n "$i386_CC" && break
10456 done
10457 test -n "$i386_CC" || i386_CC="false"
10460 x86_64)
10461 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10462 for ac_prog in $ac_prefix_list clang
10464 # Extract the first word of "$ac_prog", so it can be a program name with args.
10465 set dummy $ac_prog; ac_word=$2
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10467 printf %s "checking for $ac_word... " >&6; }
10468 if test ${ac_cv_prog_x86_64_CC+y}
10469 then :
10470 printf %s "(cached) " >&6
10471 else $as_nop
10472 if test -n "$x86_64_CC"; then
10473 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10474 else
10475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10476 for as_dir in $PATH
10478 IFS=$as_save_IFS
10479 case $as_dir in #(((
10480 '') as_dir=./ ;;
10481 */) ;;
10482 *) as_dir=$as_dir/ ;;
10483 esac
10484 for ac_exec_ext in '' $ac_executable_extensions; do
10485 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10486 ac_cv_prog_x86_64_CC="$ac_prog"
10487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10488 break 2
10490 done
10491 done
10492 IFS=$as_save_IFS
10496 x86_64_CC=$ac_cv_prog_x86_64_CC
10497 if test -n "$x86_64_CC"; then
10498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10499 printf "%s\n" "$x86_64_CC" >&6; }
10500 else
10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10502 printf "%s\n" "no" >&6; }
10506 test -n "$x86_64_CC" && break
10507 done
10508 test -n "$x86_64_CC" || x86_64_CC="false"
10511 esac
10514 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10515 then :
10516 continue
10519 saved_CC=$CC
10520 saved_CFLAGS=$CFLAGS
10521 saved_LDFLAGS=$LDFLAGS
10523 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10524 LDFLAGS=$CROSSLDFLAGS
10525 eval CC=\$${wine_arch}_CC
10526 eval ${wine_arch}_CFLAGS=\$CFLAGS
10527 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10528 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10530 target=""
10531 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10534 printf %s "checking whether $CC works... " >&6; }
10535 if eval test \${$as_wine_cv_crosscc+y}
10536 then :
10537 printf %s "(cached) " >&6
10538 else $as_nop
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10543 main (void)
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_compile "$LINENO"
10551 then :
10552 eval "$as_wine_cv_crosscc=yes"
10553 else $as_nop
10554 eval "$as_wine_cv_crosscc=no"
10556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10558 eval ac_res=\$$as_wine_cv_crosscc
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10560 printf "%s\n" "$ac_res" >&6; }
10561 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10562 then :
10563 set x $CC
10564 shift
10565 while test $# -ge 1
10567 case "$1" in
10568 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10569 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10570 esac
10571 shift
10572 done
10574 llvm_target=$target
10575 if test -z "$llvm_target"
10576 then
10577 case $wine_arch in
10578 i386) llvm_target=i686-windows ;;
10579 arm) llvm_target=armv7-windows ;;
10580 *) llvm_target=$wine_arch-windows ;;
10581 esac
10583 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10584 case $llvm_target in
10585 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10586 esac
10587 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10589 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10590 if eval test \${$as_ac_var+y}
10591 then :
10592 printf %s "(cached) " >&6
10593 else $as_nop
10594 ac_wine_try_cflags_saved=$CFLAGS
10595 ac_wine_try_cflags_saved_exeext=$ac_exeext
10596 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10597 ac_exeext=".exe"
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10600 int __cdecl mainCRTStartup(void) { return 0; }
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"
10603 then :
10604 eval "$as_ac_var=yes"
10605 else $as_nop
10606 eval "$as_ac_var=no"
10608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10609 conftest$ac_exeext conftest.$ac_ext
10610 CFLAGS=$ac_wine_try_cflags_saved
10611 ac_exeext=$ac_wine_try_cflags_saved_exeext
10613 eval ac_res=\$$as_ac_var
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10615 printf "%s\n" "$ac_res" >&6; }
10616 if eval test \"x\$"$as_ac_var"\" = x"yes"
10617 then :
10618 target=$llvm_target
10619 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10620 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10621 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10622 fi }
10623 eval "${wine_arch}_TARGET=\$target"
10627 if test -z "$target"
10628 then
10629 CC=$saved_CC
10630 CFLAGS=$saved_CFLAGS
10631 LDFLAGS=$saved_LDFLAGS
10632 continue
10635 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10638 printf %s "checking for $CC option to enable C99 features... " >&6; }
10639 if eval test \${$as_wine_cv_crosscc_c99+y}
10640 then :
10641 printf %s "(cached) " >&6
10642 else $as_nop
10643 eval "$as_wine_cv_crosscc_c99=no"
10644 for arg in '' '-std=gnu99' '-D__STDC__'
10646 test -z "$arg" || CC="$CC $arg"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10649 $ac_c_conftest_c99_program
10650 _ACEOF
10651 if ac_fn_c_try_compile "$LINENO"
10652 then :
10653 eval "$as_wine_cv_crosscc_c99=\$arg"
10654 else $as_nop
10655 eval "$as_wine_cv_crosscc_c99=no"
10657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10658 eval CC=\$${wine_arch}_CC
10659 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10660 then :
10662 else $as_nop
10663 break
10665 done
10668 eval res=\$$as_wine_cv_crosscc_c99
10670 case "x$res" in
10671 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10672 printf "%s\n" "none needed" >&6; } ;;
10673 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10674 printf "%s\n" "unsupported" >&6; }
10675 CC=$saved_CC
10676 CFLAGS=$saved_CFLAGS
10677 LDFLAGS=$saved_LDFLAGS
10678 continue
10680 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10681 printf "%s\n" "$res" >&6; }
10682 as_fn_append ${wine_arch}_CC " $res" ;;
10683 esac
10685 as_fn_append PE_ARCHS " $wine_arch"
10686 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10688 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10689 if eval test \${$as_ac_var+y}
10690 then :
10691 printf %s "(cached) " >&6
10692 else $as_nop
10693 ac_wine_try_cflags_saved=$CFLAGS
10694 ac_wine_try_cflags_saved_exeext=$ac_exeext
10695 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10696 ac_exeext=".exe"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10699 int __cdecl mainCRTStartup(void) { return 0; }
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"
10702 then :
10703 eval "$as_ac_var=yes"
10704 else $as_nop
10705 eval "$as_ac_var=no"
10707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10708 conftest$ac_exeext conftest.$ac_ext
10709 CFLAGS=$ac_wine_try_cflags_saved
10710 ac_exeext=$ac_wine_try_cflags_saved_exeext
10712 eval ac_res=\$$as_ac_var
10713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10714 printf "%s\n" "$ac_res" >&6; }
10715 if eval test \"x\$"$as_ac_var"\" = x"yes"
10716 then :
10717 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10718 fi }
10719 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10721 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10722 if eval test \${$as_ac_var+y}
10723 then :
10724 printf %s "(cached) " >&6
10725 else $as_nop
10726 ac_wine_try_cflags_saved=$CFLAGS
10727 ac_wine_try_cflags_saved_exeext=$ac_exeext
10728 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10729 ac_exeext=".exe"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10732 int __cdecl mainCRTStartup(void) { return 0; }
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"
10735 then :
10736 eval "$as_ac_var=yes"
10737 else $as_nop
10738 eval "$as_ac_var=no"
10740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10741 conftest$ac_exeext conftest.$ac_ext
10742 CFLAGS=$ac_wine_try_cflags_saved
10743 ac_exeext=$ac_wine_try_cflags_saved_exeext
10745 eval ac_res=\$$as_ac_var
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10747 printf "%s\n" "$ac_res" >&6; }
10748 if eval test \"x\$"$as_ac_var"\" = x"yes"
10749 then :
10750 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10751 fi }
10752 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10754 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10755 if eval test \${$as_ac_var+y}
10756 then :
10757 printf %s "(cached) " >&6
10758 else $as_nop
10759 ac_wine_try_cflags_saved=$CFLAGS
10760 ac_wine_try_cflags_saved_exeext=$ac_exeext
10761 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10762 ac_exeext=".exe"
10763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10765 int __cdecl mainCRTStartup(void) { return 0; }
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"
10768 then :
10769 eval "$as_ac_var=yes"
10770 else $as_nop
10771 eval "$as_ac_var=no"
10773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10774 conftest$ac_exeext conftest.$ac_ext
10775 CFLAGS=$ac_wine_try_cflags_saved
10776 ac_exeext=$ac_wine_try_cflags_saved_exeext
10778 eval ac_res=\$$as_ac_var
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10780 printf "%s\n" "$ac_res" >&6; }
10781 if eval test \"x\$"$as_ac_var"\" = x"yes"
10782 then :
10783 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10784 fi }
10785 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10787 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10788 if eval test \${$as_ac_var+y}
10789 then :
10790 printf %s "(cached) " >&6
10791 else $as_nop
10792 ac_wine_try_cflags_saved=$CFLAGS
10793 ac_wine_try_cflags_saved_exeext=$ac_exeext
10794 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10795 ac_exeext=".exe"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10798 int __cdecl mainCRTStartup(void) { return 0; }
10799 _ACEOF
10800 if ac_fn_c_try_link "$LINENO"
10801 then :
10802 eval "$as_ac_var=yes"
10803 else $as_nop
10804 eval "$as_ac_var=no"
10806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10807 conftest$ac_exeext conftest.$ac_ext
10808 CFLAGS=$ac_wine_try_cflags_saved
10809 ac_exeext=$ac_wine_try_cflags_saved_exeext
10811 eval ac_res=\$$as_ac_var
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10813 printf "%s\n" "$ac_res" >&6; }
10814 if eval test \"x\$"$as_ac_var"\" = x"yes"
10815 then :
10816 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10817 fi }
10818 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10820 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10821 if eval test \${$as_ac_var+y}
10822 then :
10823 printf %s "(cached) " >&6
10824 else $as_nop
10825 ac_wine_try_cflags_saved=$CFLAGS
10826 ac_wine_try_cflags_saved_exeext=$ac_exeext
10827 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10828 ac_exeext=".exe"
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10831 int __cdecl mainCRTStartup(void) { return 0; }
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"
10834 then :
10835 eval "$as_ac_var=yes"
10836 else $as_nop
10837 eval "$as_ac_var=no"
10839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10840 conftest$ac_exeext conftest.$ac_ext
10841 CFLAGS=$ac_wine_try_cflags_saved
10842 ac_exeext=$ac_wine_try_cflags_saved_exeext
10844 eval ac_res=\$$as_ac_var
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10846 printf "%s\n" "$ac_res" >&6; }
10847 if eval test \"x\$"$as_ac_var"\" = x"yes"
10848 then :
10849 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10850 fi }
10851 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10853 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10854 if eval test \${$as_ac_var+y}
10855 then :
10856 printf %s "(cached) " >&6
10857 else $as_nop
10858 ac_wine_try_cflags_saved=$CFLAGS
10859 ac_wine_try_cflags_saved_exeext=$ac_exeext
10860 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10861 ac_exeext=".exe"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10864 int __cdecl mainCRTStartup(void) { return 0; }
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"
10867 then :
10868 eval "$as_ac_var=yes"
10869 else $as_nop
10870 eval "$as_ac_var=no"
10872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10873 conftest$ac_exeext conftest.$ac_ext
10874 CFLAGS=$ac_wine_try_cflags_saved
10875 ac_exeext=$ac_wine_try_cflags_saved_exeext
10877 eval ac_res=\$$as_ac_var
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10879 printf "%s\n" "$ac_res" >&6; }
10880 if eval test \"x\$"$as_ac_var"\" = x"yes"
10881 then :
10882 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10883 fi }
10884 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10886 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10887 if eval test \${$as_ac_var+y}
10888 then :
10889 printf %s "(cached) " >&6
10890 else $as_nop
10891 ac_wine_try_cflags_saved=$CFLAGS
10892 ac_wine_try_cflags_saved_exeext=$ac_exeext
10893 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10894 ac_exeext=".exe"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897 int __cdecl mainCRTStartup(void) { return 0; }
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"
10900 then :
10901 eval "$as_ac_var=yes"
10902 else $as_nop
10903 eval "$as_ac_var=no"
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906 conftest$ac_exeext conftest.$ac_ext
10907 CFLAGS=$ac_wine_try_cflags_saved
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 eval ac_res=\$$as_ac_var
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10912 printf "%s\n" "$ac_res" >&6; }
10913 if eval test \"x\$"$as_ac_var"\" = x"yes"
10914 then :
10915 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10916 fi }
10917 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10919 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10920 if eval test \${$as_ac_var+y}
10921 then :
10922 printf %s "(cached) " >&6
10923 else $as_nop
10924 ac_wine_try_cflags_saved=$CFLAGS
10925 ac_wine_try_cflags_saved_exeext=$ac_exeext
10926 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10927 ac_exeext=".exe"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10930 int __cdecl mainCRTStartup(void) { return 0; }
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"
10933 then :
10934 eval "$as_ac_var=yes"
10935 else $as_nop
10936 eval "$as_ac_var=no"
10938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10939 conftest$ac_exeext conftest.$ac_ext
10940 CFLAGS=$ac_wine_try_cflags_saved
10941 ac_exeext=$ac_wine_try_cflags_saved_exeext
10943 eval ac_res=\$$as_ac_var
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10945 printf "%s\n" "$ac_res" >&6; }
10946 if eval test \"x\$"$as_ac_var"\" = x"yes"
10947 then :
10948 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10949 fi }
10950 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10952 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10953 if eval test \${$as_ac_var+y}
10954 then :
10955 printf %s "(cached) " >&6
10956 else $as_nop
10957 ac_wine_try_cflags_saved=$CFLAGS
10958 ac_wine_try_cflags_saved_exeext=$ac_exeext
10959 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10960 ac_exeext=".exe"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 int __cdecl mainCRTStartup(void) { return 0; }
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"
10966 then :
10967 eval "$as_ac_var=yes"
10968 else $as_nop
10969 eval "$as_ac_var=no"
10971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10972 conftest$ac_exeext conftest.$ac_ext
10973 CFLAGS=$ac_wine_try_cflags_saved
10974 ac_exeext=$ac_wine_try_cflags_saved_exeext
10976 eval ac_res=\$$as_ac_var
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10978 printf "%s\n" "$ac_res" >&6; }
10979 if eval test \"x\$"$as_ac_var"\" = x"yes"
10980 then :
10981 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10982 fi }
10983 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10985 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10986 if eval test \${$as_ac_var+y}
10987 then :
10988 printf %s "(cached) " >&6
10989 else $as_nop
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_exeext=$ac_exeext
10992 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10993 ac_exeext=".exe"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10996 int __cdecl mainCRTStartup(void) { return 0; }
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"
10999 then :
11000 eval "$as_ac_var=yes"
11001 else $as_nop
11002 eval "$as_ac_var=no"
11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11005 conftest$ac_exeext conftest.$ac_ext
11006 CFLAGS=$ac_wine_try_cflags_saved
11007 ac_exeext=$ac_wine_try_cflags_saved_exeext
11009 eval ac_res=\$$as_ac_var
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11011 printf "%s\n" "$ac_res" >&6; }
11012 if eval test \"x\$"$as_ac_var"\" = x"yes"
11013 then :
11014 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11015 fi }
11016 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11018 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11019 if eval test \${$as_ac_var+y}
11020 then :
11021 printf %s "(cached) " >&6
11022 else $as_nop
11023 ac_wine_try_cflags_saved=$CFLAGS
11024 ac_wine_try_cflags_saved_exeext=$ac_exeext
11025 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11026 ac_exeext=".exe"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 int __cdecl mainCRTStartup(void) { return 0; }
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"
11032 then :
11033 eval "$as_ac_var=yes"
11034 else $as_nop
11035 eval "$as_ac_var=no"
11037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11038 conftest$ac_exeext conftest.$ac_ext
11039 CFLAGS=$ac_wine_try_cflags_saved
11040 ac_exeext=$ac_wine_try_cflags_saved_exeext
11042 eval ac_res=\$$as_ac_var
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11044 printf "%s\n" "$ac_res" >&6; }
11045 if eval test \"x\$"$as_ac_var"\" = x"yes"
11046 then :
11047 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11048 fi }
11049 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11051 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11052 if eval test \${$as_ac_var+y}
11053 then :
11054 printf %s "(cached) " >&6
11055 else $as_nop
11056 ac_wine_try_cflags_saved=$CFLAGS
11057 ac_wine_try_cflags_saved_exeext=$ac_exeext
11058 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11059 ac_exeext=".exe"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11062 int __cdecl mainCRTStartup(void) { return 0; }
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"
11065 then :
11066 eval "$as_ac_var=yes"
11067 else $as_nop
11068 eval "$as_ac_var=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11071 conftest$ac_exeext conftest.$ac_ext
11072 CFLAGS=$ac_wine_try_cflags_saved
11073 ac_exeext=$ac_wine_try_cflags_saved_exeext
11075 eval ac_res=\$$as_ac_var
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11077 printf "%s\n" "$ac_res" >&6; }
11078 if eval test \"x\$"$as_ac_var"\" = x"yes"
11079 then :
11080 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11081 fi }
11082 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11084 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11085 if eval test \${$as_ac_var+y}
11086 then :
11087 printf %s "(cached) " >&6
11088 else $as_nop
11089 ac_wine_try_cflags_saved=$CFLAGS
11090 ac_wine_try_cflags_saved_exeext=$ac_exeext
11091 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11092 ac_exeext=".exe"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11095 int __cdecl mainCRTStartup(void) { return 0; }
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"
11098 then :
11099 eval "$as_ac_var=yes"
11100 else $as_nop
11101 eval "$as_ac_var=no"
11103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11104 conftest$ac_exeext conftest.$ac_ext
11105 CFLAGS=$ac_wine_try_cflags_saved
11106 ac_exeext=$ac_wine_try_cflags_saved_exeext
11108 eval ac_res=\$$as_ac_var
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11110 printf "%s\n" "$ac_res" >&6; }
11111 if eval test \"x\$"$as_ac_var"\" = x"yes"
11112 then :
11113 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11114 fi }
11115 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11117 printf %s "checking whether $CC supports -Wvla... " >&6; }
11118 if eval test \${$as_ac_var+y}
11119 then :
11120 printf %s "(cached) " >&6
11121 else $as_nop
11122 ac_wine_try_cflags_saved=$CFLAGS
11123 ac_wine_try_cflags_saved_exeext=$ac_exeext
11124 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11125 ac_exeext=".exe"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11128 int __cdecl mainCRTStartup(void) { return 0; }
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"
11131 then :
11132 eval "$as_ac_var=yes"
11133 else $as_nop
11134 eval "$as_ac_var=no"
11136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11137 conftest$ac_exeext conftest.$ac_ext
11138 CFLAGS=$ac_wine_try_cflags_saved
11139 ac_exeext=$ac_wine_try_cflags_saved_exeext
11141 eval ac_res=\$$as_ac_var
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11143 printf "%s\n" "$ac_res" >&6; }
11144 if eval test \"x\$"$as_ac_var"\" = x"yes"
11145 then :
11146 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11147 fi }
11148 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11150 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11151 if eval test \${$as_ac_var+y}
11152 then :
11153 printf %s "(cached) " >&6
11154 else $as_nop
11155 ac_wine_try_cflags_saved=$CFLAGS
11156 ac_wine_try_cflags_saved_exeext=$ac_exeext
11157 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11158 ac_exeext=".exe"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11161 int __cdecl mainCRTStartup(void) { return 0; }
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"
11164 then :
11165 eval "$as_ac_var=yes"
11166 else $as_nop
11167 eval "$as_ac_var=no"
11169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11170 conftest$ac_exeext conftest.$ac_ext
11171 CFLAGS=$ac_wine_try_cflags_saved
11172 ac_exeext=$ac_wine_try_cflags_saved_exeext
11174 eval ac_res=\$$as_ac_var
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11176 printf "%s\n" "$ac_res" >&6; }
11177 if eval test \"x\$"$as_ac_var"\" = x"yes"
11178 then :
11179 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11180 fi }
11181 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11183 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11184 if eval test \${$as_ac_var+y}
11185 then :
11186 printf %s "(cached) " >&6
11187 else $as_nop
11188 ac_wine_try_cflags_saved=$CFLAGS
11189 ac_wine_try_cflags_saved_exeext=$ac_exeext
11190 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11191 ac_exeext=".exe"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11194 int __cdecl mainCRTStartup(void) { return 0; }
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"
11197 then :
11198 eval "$as_ac_var=yes"
11199 else $as_nop
11200 eval "$as_ac_var=no"
11202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11203 conftest$ac_exeext conftest.$ac_ext
11204 CFLAGS=$ac_wine_try_cflags_saved
11205 ac_exeext=$ac_wine_try_cflags_saved_exeext
11207 eval ac_res=\$$as_ac_var
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11209 printf "%s\n" "$ac_res" >&6; }
11210 if eval test \"x\$"$as_ac_var"\" = x"yes"
11211 then :
11212 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11213 fi }
11214 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11216 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11217 if eval test \${$as_ac_var+y}
11218 then :
11219 printf %s "(cached) " >&6
11220 else $as_nop
11221 ac_wine_try_cflags_saved=$CFLAGS
11222 ac_wine_try_cflags_saved_exeext=$ac_exeext
11223 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11224 ac_exeext=".exe"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11227 int __cdecl mainCRTStartup(void) { return 0; }
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"
11230 then :
11231 eval "$as_ac_var=yes"
11232 else $as_nop
11233 eval "$as_ac_var=no"
11235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11236 conftest$ac_exeext conftest.$ac_ext
11237 CFLAGS=$ac_wine_try_cflags_saved
11238 ac_exeext=$ac_wine_try_cflags_saved_exeext
11240 eval ac_res=\$$as_ac_var
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11242 printf "%s\n" "$ac_res" >&6; }
11243 if eval test \"x\$"$as_ac_var"\" = x"yes"
11244 then :
11245 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11246 fi }
11247 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11249 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11250 if eval test \${$as_ac_var+y}
11251 then :
11252 printf %s "(cached) " >&6
11253 else $as_nop
11254 ac_wine_try_cflags_saved=$CFLAGS
11255 ac_wine_try_cflags_saved_exeext=$ac_exeext
11256 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11257 ac_exeext=".exe"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260 int __cdecl mainCRTStartup(void) { return 0; }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"
11263 then :
11264 eval "$as_ac_var=yes"
11265 else $as_nop
11266 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11269 conftest$ac_exeext conftest.$ac_ext
11270 CFLAGS=$ac_wine_try_cflags_saved
11271 ac_exeext=$ac_wine_try_cflags_saved_exeext
11273 eval ac_res=\$$as_ac_var
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11275 printf "%s\n" "$ac_res" >&6; }
11276 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 then :
11278 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11279 fi }
11281 case $wine_arch in
11282 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11284 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11285 if eval test \${$as_ac_var+y}
11286 then :
11287 printf %s "(cached) " >&6
11288 else $as_nop
11289 ac_wine_try_cflags_saved=$CFLAGS
11290 ac_wine_try_cflags_saved_exeext=$ac_exeext
11291 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11292 ac_exeext=".exe"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11295 int __cdecl mainCRTStartup(void) { return 0; }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"
11298 then :
11299 eval "$as_ac_var=yes"
11300 else $as_nop
11301 eval "$as_ac_var=no"
11303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11304 conftest$ac_exeext conftest.$ac_ext
11305 CFLAGS=$ac_wine_try_cflags_saved
11306 ac_exeext=$ac_wine_try_cflags_saved_exeext
11308 eval ac_res=\$$as_ac_var
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11310 printf "%s\n" "$ac_res" >&6; }
11311 if eval test \"x\$"$as_ac_var"\" = x"yes"
11312 then :
11313 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11314 fi }
11315 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11317 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11318 if eval test \${$as_ac_var+y}
11319 then :
11320 printf %s "(cached) " >&6
11321 else $as_nop
11322 ac_wine_try_cflags_saved=$CFLAGS
11323 ac_wine_try_cflags_saved_exeext=$ac_exeext
11324 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11325 ac_exeext=".exe"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 eval "$as_ac_var=yes"
11333 else $as_nop
11334 eval "$as_ac_var=no"
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 ac_exeext=$ac_wine_try_cflags_saved_exeext
11341 eval ac_res=\$$as_ac_var
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11343 printf "%s\n" "$ac_res" >&6; }
11344 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 then :
11346 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11347 fi } ;;
11348 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11350 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11351 if eval test \${$as_ac_var+y}
11352 then :
11353 printf %s "(cached) " >&6
11354 else $as_nop
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_exeext=$ac_exeext
11357 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11358 ac_exeext=".exe"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361 int __cdecl mainCRTStartup(void) { return 0; }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"
11364 then :
11365 eval "$as_ac_var=yes"
11366 else $as_nop
11367 eval "$as_ac_var=no"
11369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11370 conftest$ac_exeext conftest.$ac_ext
11371 CFLAGS=$ac_wine_try_cflags_saved
11372 ac_exeext=$ac_wine_try_cflags_saved_exeext
11374 eval ac_res=\$$as_ac_var
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11376 printf "%s\n" "$ac_res" >&6; }
11377 if eval test \"x\$"$as_ac_var"\" = x"yes"
11378 then :
11379 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11380 fi }
11381 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11383 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11384 if eval test \${$as_ac_var+y}
11385 then :
11386 printf %s "(cached) " >&6
11387 else $as_nop
11388 ac_wine_try_cflags_saved=$CFLAGS
11389 ac_wine_try_cflags_saved_exeext=$ac_exeext
11390 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11391 ac_exeext=".exe"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 int __cdecl mainCRTStartup(void) { return 0; }
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"
11397 then :
11398 eval "$as_ac_var=yes"
11399 else $as_nop
11400 eval "$as_ac_var=no"
11402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11403 conftest$ac_exeext conftest.$ac_ext
11404 CFLAGS=$ac_wine_try_cflags_saved
11405 ac_exeext=$ac_wine_try_cflags_saved_exeext
11407 eval ac_res=\$$as_ac_var
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11409 printf "%s\n" "$ac_res" >&6; }
11410 if eval test \"x\$"$as_ac_var"\" = x"yes"
11411 then :
11412 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11413 fi }
11414 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11416 printf %s "checking whether $CC supports -mcx16... " >&6; }
11417 if eval test \${$as_ac_var+y}
11418 then :
11419 printf %s "(cached) " >&6
11420 else $as_nop
11421 ac_wine_try_cflags_saved=$CFLAGS
11422 ac_wine_try_cflags_saved_exeext=$ac_exeext
11423 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11424 ac_exeext=".exe"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11427 int __cdecl mainCRTStartup(void) { return 0; }
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"
11430 then :
11431 eval "$as_ac_var=yes"
11432 else $as_nop
11433 eval "$as_ac_var=no"
11435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11436 conftest$ac_exeext conftest.$ac_ext
11437 CFLAGS=$ac_wine_try_cflags_saved
11438 ac_exeext=$ac_wine_try_cflags_saved_exeext
11440 eval ac_res=\$$as_ac_var
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11442 printf "%s\n" "$ac_res" >&6; }
11443 if eval test \"x\$"$as_ac_var"\" = x"yes"
11444 then :
11445 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11446 fi }
11447 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11449 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11450 if eval test \${$as_ac_var+y}
11451 then :
11452 printf %s "(cached) " >&6
11453 else $as_nop
11454 ac_wine_try_cflags_saved=$CFLAGS
11455 ac_wine_try_cflags_saved_exeext=$ac_exeext
11456 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11457 ac_exeext=".exe"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11460 int __cdecl mainCRTStartup(void) { return 0; }
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"
11463 then :
11464 eval "$as_ac_var=yes"
11465 else $as_nop
11466 eval "$as_ac_var=no"
11468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11469 conftest$ac_exeext conftest.$ac_ext
11470 CFLAGS=$ac_wine_try_cflags_saved
11471 ac_exeext=$ac_wine_try_cflags_saved_exeext
11473 eval ac_res=\$$as_ac_var
11474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11475 printf "%s\n" "$ac_res" >&6; }
11476 if eval test \"x\$"$as_ac_var"\" = x"yes"
11477 then :
11478 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11479 fi } ;;
11480 esac
11482 wine_crossdebug=$CROSSDEBUG
11483 if test -z "$wine_crossdebug"
11484 then
11485 for ac_flag in $CFLAGS; do
11486 case $ac_flag in
11487 -gdwarf*) wine_crossdebug=dwarf ;;
11488 -gcodeview) wine_crossdebug=pdb ;;
11489 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11490 esac
11491 done
11494 ac_debug_format_seen=""
11495 for ac_flag in $CFLAGS; do
11496 case $ac_flag in
11497 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11498 esac
11499 done
11500 if test "x$ac_debug_format_seen" = x
11501 then
11502 case $wine_crossdebug in
11503 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11505 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11506 if eval test \${$as_ac_var+y}
11507 then :
11508 printf %s "(cached) " >&6
11509 else $as_nop
11510 ac_wine_try_cflags_saved=$CFLAGS
11511 ac_wine_try_cflags_saved_exeext=$ac_exeext
11512 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11513 ac_exeext=".exe"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11516 int __cdecl mainCRTStartup(void) { return 0; }
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"
11519 then :
11520 eval "$as_ac_var=yes"
11521 else $as_nop
11522 eval "$as_ac_var=no"
11524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11525 conftest$ac_exeext conftest.$ac_ext
11526 CFLAGS=$ac_wine_try_cflags_saved
11527 ac_exeext=$ac_wine_try_cflags_saved_exeext
11529 eval ac_res=\$$as_ac_var
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11531 printf "%s\n" "$ac_res" >&6; }
11532 if eval test \"x\$"$as_ac_var"\" = x"yes"
11533 then :
11534 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11535 fi } ;;
11536 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11538 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11539 if eval test \${$as_ac_var+y}
11540 then :
11541 printf %s "(cached) " >&6
11542 else $as_nop
11543 ac_wine_try_cflags_saved=$CFLAGS
11544 ac_wine_try_cflags_saved_exeext=$ac_exeext
11545 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11546 ac_exeext=".exe"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11549 int __cdecl mainCRTStartup(void) { return 0; }
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"
11552 then :
11553 eval "$as_ac_var=yes"
11554 else $as_nop
11555 eval "$as_ac_var=no"
11557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11558 conftest$ac_exeext conftest.$ac_ext
11559 CFLAGS=$ac_wine_try_cflags_saved
11560 ac_exeext=$ac_wine_try_cflags_saved_exeext
11562 eval ac_res=\$$as_ac_var
11563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11564 printf "%s\n" "$ac_res" >&6; }
11565 if eval test \"x\$"$as_ac_var"\" = x"yes"
11566 then :
11567 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11568 fi } ;;
11569 esac
11571 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11573 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11575 printf %s "checking whether $CC supports -Werror... " >&6; }
11576 if eval test \${$as_ac_var+y}
11577 then :
11578 printf %s "(cached) " >&6
11579 else $as_nop
11580 ac_wine_try_cflags_saved=$CFLAGS
11581 ac_wine_try_cflags_saved_exeext=$ac_exeext
11582 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11583 ac_exeext=".exe"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 int __cdecl mainCRTStartup(void) { return 0; }
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"
11589 then :
11590 eval "$as_ac_var=yes"
11591 else $as_nop
11592 eval "$as_ac_var=no"
11594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11595 conftest$ac_exeext conftest.$ac_ext
11596 CFLAGS=$ac_wine_try_cflags_saved
11597 ac_exeext=$ac_wine_try_cflags_saved_exeext
11599 eval ac_res=\$$as_ac_var
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11601 printf "%s\n" "$ac_res" >&6; }
11602 if eval test \"x\$"$as_ac_var"\" = x"yes"
11603 then :
11604 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11605 fi }
11606 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11608 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11609 if eval test \${$as_ac_var+y}
11610 then :
11611 printf %s "(cached) " >&6
11612 else $as_nop
11613 ac_wine_try_cflags_saved=$CFLAGS
11614 ac_wine_try_cflags_saved_exeext=$ac_exeext
11615 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11616 ac_exeext=".exe"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11619 int __cdecl mainCRTStartup(void) { return 0; }
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"
11622 then :
11623 eval "$as_ac_var=yes"
11624 else $as_nop
11625 eval "$as_ac_var=no"
11627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11628 conftest$ac_exeext conftest.$ac_ext
11629 CFLAGS=$ac_wine_try_cflags_saved
11630 ac_exeext=$ac_wine_try_cflags_saved_exeext
11632 eval ac_res=\$$as_ac_var
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11634 printf "%s\n" "$ac_res" >&6; }
11635 if eval test \"x\$"$as_ac_var"\" = x"yes"
11636 then :
11637 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11638 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11639 fi }
11641 CC=$saved_CC
11642 CFLAGS=$saved_CFLAGS
11643 LDFLAGS=$saved_LDFLAGS
11644 done
11646 if test $HOST_ARCH = aarch64
11647 then
11648 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
11649 DLLEXT=""
11650 else
11651 if test "x$PE_ARCHS" = "x"
11652 then :
11653 case "x$with_mingw" in
11654 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11655 xno) ;;
11656 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11657 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11658 esac
11664 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11665 then
11666 case "$host_cpu" in
11667 i[3456789]86*)
11668 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11670 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11671 esac
11672 for ac_prog in $ac_prefix_list
11674 # Extract the first word of "$ac_prog", so it can be a program name with args.
11675 set dummy $ac_prog; ac_word=$2
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11677 printf %s "checking for $ac_word... " >&6; }
11678 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11679 then :
11680 printf %s "(cached) " >&6
11681 else $as_nop
11682 if test -n "$MINGW_PKG_CONFIG"; then
11683 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11684 else
11685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $PATH
11688 IFS=$as_save_IFS
11689 case $as_dir in #(((
11690 '') as_dir=./ ;;
11691 */) ;;
11692 *) as_dir=$as_dir/ ;;
11693 esac
11694 for ac_exec_ext in '' $ac_executable_extensions; do
11695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11696 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11698 break 2
11700 done
11701 done
11702 IFS=$as_save_IFS
11706 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11707 if test -n "$MINGW_PKG_CONFIG"; then
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11709 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11710 else
11711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712 printf "%s\n" "no" >&6; }
11716 test -n "$MINGW_PKG_CONFIG" && break
11717 done
11718 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11720 if ${FAUDIO_PE_CFLAGS:+false} :
11721 then :
11722 if test ${MINGW_PKG_CONFIG+y}
11723 then :
11724 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11727 if ${FAUDIO_PE_LIBS:+false} :
11728 then :
11729 if test ${MINGW_PKG_CONFIG+y}
11730 then :
11731 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11734 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11735 ac_save_CPPFLAGS=$CPPFLAGS
11736 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11738 printf %s "checking for MinGW FAudio.h... " >&6; }
11739 if test ${ac_cv_mingw_header_FAudio_h+y}
11740 then :
11741 printf %s "(cached) " >&6
11742 else $as_nop
11743 ac_wine_check_headers_saved_cc=$CC
11744 ac_wine_check_headers_saved_exeext=$ac_exeext
11745 eval CC=\$${wine_arch}_CC
11746 ac_exeext=".exe"
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11750 #include <FAudio.h>
11752 main (void)
11756 return 0;
11758 _ACEOF
11759 if ac_fn_c_try_compile "$LINENO"
11760 then :
11761 ac_cv_mingw_header_FAudio_h=yes
11762 else $as_nop
11763 ac_cv_mingw_header_FAudio_h=no
11765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11766 CC=$ac_wine_check_headers_saved_cc
11767 ac_exeext=$ac_wine_check_headers_saved_exeext
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11770 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11771 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11772 then :
11773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11774 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11775 if test ${ac_cv_mingw_lib_FAudio+y}
11776 then :
11777 printf %s "(cached) " >&6
11778 else $as_nop
11779 ac_wine_check_headers_saved_cc=$CC
11780 ac_wine_check_headers_saved_exeext=$ac_exeext
11781 ac_wine_check_headers_saved_libs=$LIBS
11782 eval CC=\$${wine_arch}_CC
11783 ac_exeext=".exe"
11784 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11788 /* Override any GCC internal prototype to avoid an error.
11789 Use char because int might match the return type of a GCC
11790 builtin and then its argument prototype would still apply. */
11791 char FAudio_CommitOperationSet ();
11793 main (void)
11795 return FAudio_CommitOperationSet ();
11797 return 0;
11799 _ACEOF
11800 if ac_fn_c_try_link "$LINENO"
11801 then :
11802 ac_cv_mingw_lib_FAudio=yes
11803 else $as_nop
11804 ac_cv_mingw_lib_FAudio=no
11806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11807 conftest$ac_exeext conftest.$ac_ext
11808 CC=$ac_wine_check_headers_saved_cc
11809 ac_exeext=$ac_wine_check_headers_saved_exeext
11810 LIBS=$ac_wine_check_headers_saved_libs
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11813 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11814 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11815 then :
11817 else $as_nop
11818 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11820 else $as_nop
11821 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11823 CPPFLAGS=$ac_save_CPPFLAGS
11825 if test "x$FAUDIO_PE_LIBS" = "x"
11826 then
11827 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11830 if ${JPEG_PE_CFLAGS:+false} :
11831 then :
11832 if test ${MINGW_PKG_CONFIG+y}
11833 then :
11834 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11837 if ${JPEG_PE_LIBS:+false} :
11838 then :
11839 if test ${MINGW_PKG_CONFIG+y}
11840 then :
11841 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11845 ac_save_CPPFLAGS=$CPPFLAGS
11846 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11848 printf %s "checking for MinGW jpeglib.h... " >&6; }
11849 if test ${ac_cv_mingw_header_jpeglib_h+y}
11850 then :
11851 printf %s "(cached) " >&6
11852 else $as_nop
11853 ac_wine_check_headers_saved_cc=$CC
11854 ac_wine_check_headers_saved_exeext=$ac_exeext
11855 eval CC=\$${wine_arch}_CC
11856 ac_exeext=".exe"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11859 #include <stddef.h>
11860 #include <stdio.h>
11861 #include <jpeglib.h>
11863 main (void)
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_compile "$LINENO"
11871 then :
11872 ac_cv_mingw_header_jpeglib_h=yes
11873 else $as_nop
11874 ac_cv_mingw_header_jpeglib_h=no
11876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11877 CC=$ac_wine_check_headers_saved_cc
11878 ac_exeext=$ac_wine_check_headers_saved_exeext
11880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11881 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11882 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11883 then :
11884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11885 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11886 if test ${ac_cv_mingw_lib_jpeg+y}
11887 then :
11888 printf %s "(cached) " >&6
11889 else $as_nop
11890 ac_wine_check_headers_saved_cc=$CC
11891 ac_wine_check_headers_saved_exeext=$ac_exeext
11892 ac_wine_check_headers_saved_libs=$LIBS
11893 eval CC=\$${wine_arch}_CC
11894 ac_exeext=".exe"
11895 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 char jpeg_start_decompress ();
11904 main (void)
11906 return jpeg_start_decompress ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"
11912 then :
11913 ac_cv_mingw_lib_jpeg=yes
11914 else $as_nop
11915 ac_cv_mingw_lib_jpeg=no
11917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11918 conftest$ac_exeext conftest.$ac_ext
11919 CC=$ac_wine_check_headers_saved_cc
11920 ac_exeext=$ac_wine_check_headers_saved_exeext
11921 LIBS=$ac_wine_check_headers_saved_libs
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11924 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11925 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11926 then :
11928 else $as_nop
11929 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11931 else $as_nop
11932 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11934 CPPFLAGS=$ac_save_CPPFLAGS
11936 if test "x$JPEG_PE_LIBS" = "x"
11937 then
11938 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11941 if ${LCMS2_PE_CFLAGS:+false} :
11942 then :
11943 if test ${MINGW_PKG_CONFIG+y}
11944 then :
11945 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11948 if ${LCMS2_PE_LIBS:+false} :
11949 then :
11950 if test ${MINGW_PKG_CONFIG+y}
11951 then :
11952 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11955 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11956 ac_save_CPPFLAGS=$CPPFLAGS
11957 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11959 printf %s "checking for MinGW lcms2.h... " >&6; }
11960 if test ${ac_cv_mingw_header_lcms2_h+y}
11961 then :
11962 printf %s "(cached) " >&6
11963 else $as_nop
11964 ac_wine_check_headers_saved_cc=$CC
11965 ac_wine_check_headers_saved_exeext=$ac_exeext
11966 eval CC=\$${wine_arch}_CC
11967 ac_exeext=".exe"
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 #include <lcms2.h>
11973 main (void)
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_compile "$LINENO"
11981 then :
11982 ac_cv_mingw_header_lcms2_h=yes
11983 else $as_nop
11984 ac_cv_mingw_header_lcms2_h=no
11986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11987 CC=$ac_wine_check_headers_saved_cc
11988 ac_exeext=$ac_wine_check_headers_saved_exeext
11990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11991 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11992 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11993 then :
11994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11995 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11996 if test ${ac_cv_mingw_lib_lcms2+y}
11997 then :
11998 printf %s "(cached) " >&6
11999 else $as_nop
12000 ac_wine_check_headers_saved_cc=$CC
12001 ac_wine_check_headers_saved_exeext=$ac_exeext
12002 ac_wine_check_headers_saved_libs=$LIBS
12003 eval CC=\$${wine_arch}_CC
12004 ac_exeext=".exe"
12005 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12012 char cmsOpenProfileFromFile ();
12014 main (void)
12016 return cmsOpenProfileFromFile ();
12018 return 0;
12020 _ACEOF
12021 if ac_fn_c_try_link "$LINENO"
12022 then :
12023 ac_cv_mingw_lib_lcms2=yes
12024 else $as_nop
12025 ac_cv_mingw_lib_lcms2=no
12027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12028 conftest$ac_exeext conftest.$ac_ext
12029 CC=$ac_wine_check_headers_saved_cc
12030 ac_exeext=$ac_wine_check_headers_saved_exeext
12031 LIBS=$ac_wine_check_headers_saved_libs
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12034 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12035 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12036 then :
12038 else $as_nop
12039 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12041 else $as_nop
12042 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12044 CPPFLAGS=$ac_save_CPPFLAGS
12046 if test "x$LCMS2_PE_LIBS" = "x"
12047 then
12048 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12051 if ${MPG123_PE_CFLAGS:+false} :
12052 then :
12053 if test ${MINGW_PKG_CONFIG+y}
12054 then :
12055 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12058 if ${MPG123_PE_LIBS:+false} :
12059 then :
12060 if test ${MINGW_PKG_CONFIG+y}
12061 then :
12062 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12065 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12066 ac_save_CPPFLAGS=$CPPFLAGS
12067 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12069 printf %s "checking for MinGW mpg123.h... " >&6; }
12070 if test ${ac_cv_mingw_header_mpg123_h+y}
12071 then :
12072 printf %s "(cached) " >&6
12073 else $as_nop
12074 ac_wine_check_headers_saved_cc=$CC
12075 ac_wine_check_headers_saved_exeext=$ac_exeext
12076 eval CC=\$${wine_arch}_CC
12077 ac_exeext=".exe"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 #include <mpg123.h>
12083 main (void)
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_compile "$LINENO"
12091 then :
12092 ac_cv_mingw_header_mpg123_h=yes
12093 else $as_nop
12094 ac_cv_mingw_header_mpg123_h=no
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12097 CC=$ac_wine_check_headers_saved_cc
12098 ac_exeext=$ac_wine_check_headers_saved_exeext
12100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12101 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12102 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12103 then :
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12105 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12106 if test ${ac_cv_mingw_lib_mpg123+y}
12107 then :
12108 printf %s "(cached) " >&6
12109 else $as_nop
12110 ac_wine_check_headers_saved_cc=$CC
12111 ac_wine_check_headers_saved_exeext=$ac_exeext
12112 ac_wine_check_headers_saved_libs=$LIBS
12113 eval CC=\$${wine_arch}_CC
12114 ac_exeext=".exe"
12115 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 char mpg123_feed ();
12124 main (void)
12126 return mpg123_feed ();
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_link "$LINENO"
12132 then :
12133 ac_cv_mingw_lib_mpg123=yes
12134 else $as_nop
12135 ac_cv_mingw_lib_mpg123=no
12137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12138 conftest$ac_exeext conftest.$ac_ext
12139 CC=$ac_wine_check_headers_saved_cc
12140 ac_exeext=$ac_wine_check_headers_saved_exeext
12141 LIBS=$ac_wine_check_headers_saved_libs
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12144 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12145 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12146 then :
12148 else $as_nop
12149 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12151 else $as_nop
12152 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12154 CPPFLAGS=$ac_save_CPPFLAGS
12156 if test "x$MPG123_PE_LIBS" = "x"
12157 then
12158 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12161 if ${PNG_PE_CFLAGS:+false} :
12162 then :
12163 if test ${MINGW_PKG_CONFIG+y}
12164 then :
12165 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12168 if ${PNG_PE_LIBS:+false} :
12169 then :
12170 if test ${MINGW_PKG_CONFIG+y}
12171 then :
12172 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12176 ac_save_CPPFLAGS=$CPPFLAGS
12177 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12179 printf %s "checking for MinGW png.h... " >&6; }
12180 if test ${ac_cv_mingw_header_png_h+y}
12181 then :
12182 printf %s "(cached) " >&6
12183 else $as_nop
12184 ac_wine_check_headers_saved_cc=$CC
12185 ac_wine_check_headers_saved_exeext=$ac_exeext
12186 eval CC=\$${wine_arch}_CC
12187 ac_exeext=".exe"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 #include <png.h>
12193 main (void)
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_compile "$LINENO"
12201 then :
12202 ac_cv_mingw_header_png_h=yes
12203 else $as_nop
12204 ac_cv_mingw_header_png_h=no
12206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12207 CC=$ac_wine_check_headers_saved_cc
12208 ac_exeext=$ac_wine_check_headers_saved_exeext
12210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12211 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12212 if test "x$ac_cv_mingw_header_png_h" = xyes
12213 then :
12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12215 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12216 if test ${ac_cv_mingw_lib_png+y}
12217 then :
12218 printf %s "(cached) " >&6
12219 else $as_nop
12220 ac_wine_check_headers_saved_cc=$CC
12221 ac_wine_check_headers_saved_exeext=$ac_exeext
12222 ac_wine_check_headers_saved_libs=$LIBS
12223 eval CC=\$${wine_arch}_CC
12224 ac_exeext=".exe"
12225 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 char png_create_read_struct ();
12234 main (void)
12236 return png_create_read_struct ();
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"
12242 then :
12243 ac_cv_mingw_lib_png=yes
12244 else $as_nop
12245 ac_cv_mingw_lib_png=no
12247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12248 conftest$ac_exeext conftest.$ac_ext
12249 CC=$ac_wine_check_headers_saved_cc
12250 ac_exeext=$ac_wine_check_headers_saved_exeext
12251 LIBS=$ac_wine_check_headers_saved_libs
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12254 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12255 if test "x$ac_cv_mingw_lib_png" = xyes
12256 then :
12258 else $as_nop
12259 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12261 else $as_nop
12262 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12264 CPPFLAGS=$ac_save_CPPFLAGS
12266 if test "x$PNG_PE_LIBS" = "x"
12267 then
12268 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12271 if ${TIFF_PE_CFLAGS:+false} :
12272 then :
12273 if test ${MINGW_PKG_CONFIG+y}
12274 then :
12275 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12278 if ${TIFF_PE_LIBS:+false} :
12279 then :
12280 if test ${MINGW_PKG_CONFIG+y}
12281 then :
12282 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12286 ac_save_CPPFLAGS=$CPPFLAGS
12287 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12289 printf %s "checking for MinGW tiffio.h... " >&6; }
12290 if test ${ac_cv_mingw_header_tiffio_h+y}
12291 then :
12292 printf %s "(cached) " >&6
12293 else $as_nop
12294 ac_wine_check_headers_saved_cc=$CC
12295 ac_wine_check_headers_saved_exeext=$ac_exeext
12296 eval CC=\$${wine_arch}_CC
12297 ac_exeext=".exe"
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 #include <tiffio.h>
12303 main (void)
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_compile "$LINENO"
12311 then :
12312 ac_cv_mingw_header_tiffio_h=yes
12313 else $as_nop
12314 ac_cv_mingw_header_tiffio_h=no
12316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12317 CC=$ac_wine_check_headers_saved_cc
12318 ac_exeext=$ac_wine_check_headers_saved_exeext
12320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12321 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12322 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12323 then :
12324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12325 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12326 if test ${ac_cv_mingw_lib_tiff+y}
12327 then :
12328 printf %s "(cached) " >&6
12329 else $as_nop
12330 ac_wine_check_headers_saved_cc=$CC
12331 ac_wine_check_headers_saved_exeext=$ac_exeext
12332 ac_wine_check_headers_saved_libs=$LIBS
12333 eval CC=\$${wine_arch}_CC
12334 ac_exeext=".exe"
12335 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 char TIFFClientOpen ();
12344 main (void)
12346 return TIFFClientOpen ();
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_link "$LINENO"
12352 then :
12353 ac_cv_mingw_lib_tiff=yes
12354 else $as_nop
12355 ac_cv_mingw_lib_tiff=no
12357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12358 conftest$ac_exeext conftest.$ac_ext
12359 CC=$ac_wine_check_headers_saved_cc
12360 ac_exeext=$ac_wine_check_headers_saved_exeext
12361 LIBS=$ac_wine_check_headers_saved_libs
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12364 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12365 if test "x$ac_cv_mingw_lib_tiff" = xyes
12366 then :
12368 else $as_nop
12369 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12371 else $as_nop
12372 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12374 CPPFLAGS=$ac_save_CPPFLAGS
12376 if test "x$TIFF_PE_LIBS" = "x"
12377 then
12378 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12381 if ${XML2_PE_CFLAGS:+false} :
12382 then :
12383 if test ${MINGW_PKG_CONFIG+y}
12384 then :
12385 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12388 if ${XML2_PE_LIBS:+false} :
12389 then :
12390 if test ${MINGW_PKG_CONFIG+y}
12391 then :
12392 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12395 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12396 ac_save_CPPFLAGS=$CPPFLAGS
12397 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12399 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12400 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12401 then :
12402 printf %s "(cached) " >&6
12403 else $as_nop
12404 ac_wine_check_headers_saved_cc=$CC
12405 ac_wine_check_headers_saved_exeext=$ac_exeext
12406 eval CC=\$${wine_arch}_CC
12407 ac_exeext=".exe"
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 #include <libxml/parser.h>
12413 main (void)
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_compile "$LINENO"
12421 then :
12422 ac_cv_mingw_header_libxml_parser_h=yes
12423 else $as_nop
12424 ac_cv_mingw_header_libxml_parser_h=no
12426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12427 CC=$ac_wine_check_headers_saved_cc
12428 ac_exeext=$ac_wine_check_headers_saved_exeext
12430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12431 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12432 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12433 then :
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12437 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12438 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12439 then :
12440 printf %s "(cached) " >&6
12441 else $as_nop
12442 ac_wine_check_headers_saved_cc=$CC
12443 ac_wine_check_headers_saved_exeext=$ac_exeext
12444 eval CC=\$${wine_arch}_CC
12445 ac_exeext=".exe"
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 #include <libxml/xmlsave.h>
12451 main (void)
12455 return 0;
12457 _ACEOF
12458 if ac_fn_c_try_compile "$LINENO"
12459 then :
12460 ac_cv_mingw_header_libxml_xmlsave_h=yes
12461 else $as_nop
12462 ac_cv_mingw_header_libxml_xmlsave_h=no
12464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12465 CC=$ac_wine_check_headers_saved_cc
12466 ac_exeext=$ac_wine_check_headers_saved_exeext
12468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12469 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12470 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12471 then :
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12475 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12476 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12477 then :
12478 printf %s "(cached) " >&6
12479 else $as_nop
12480 ac_wine_check_headers_saved_cc=$CC
12481 ac_wine_check_headers_saved_exeext=$ac_exeext
12482 eval CC=\$${wine_arch}_CC
12483 ac_exeext=".exe"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 #include <libxml/SAX2.h>
12489 main (void)
12493 return 0;
12495 _ACEOF
12496 if ac_fn_c_try_compile "$LINENO"
12497 then :
12498 ac_cv_mingw_header_libxml_SAX2_h=yes
12499 else $as_nop
12500 ac_cv_mingw_header_libxml_SAX2_h=no
12502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12503 CC=$ac_wine_check_headers_saved_cc
12504 ac_exeext=$ac_wine_check_headers_saved_exeext
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12507 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12508 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12509 then :
12512 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"
12513 then
12514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12515 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12516 if test ${ac_cv_mingw_lib_xml2+y}
12517 then :
12518 printf %s "(cached) " >&6
12519 else $as_nop
12520 ac_wine_check_headers_saved_cc=$CC
12521 ac_wine_check_headers_saved_exeext=$ac_exeext
12522 ac_wine_check_headers_saved_libs=$LIBS
12523 eval CC=\$${wine_arch}_CC
12524 ac_exeext=".exe"
12525 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12532 char xmlFirstElementChild ();
12534 main (void)
12536 return xmlFirstElementChild ();
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_link "$LINENO"
12542 then :
12543 ac_cv_mingw_lib_xml2=yes
12544 else $as_nop
12545 ac_cv_mingw_lib_xml2=no
12547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12548 conftest$ac_exeext conftest.$ac_ext
12549 CC=$ac_wine_check_headers_saved_cc
12550 ac_exeext=$ac_wine_check_headers_saved_exeext
12551 LIBS=$ac_wine_check_headers_saved_libs
12553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12554 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12555 if test "x$ac_cv_mingw_lib_xml2" = xyes
12556 then :
12558 else $as_nop
12559 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12561 else
12562 XML2_PE_CFLAGS=""
12563 XML2_PE_LIBS=""
12565 CPPFLAGS=$ac_save_CPPFLAGS
12567 if test "x$XML2_PE_LIBS" = "x"
12568 then
12569 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12572 if ${XSLT_PE_CFLAGS:+false} :
12573 then :
12574 if test ${MINGW_PKG_CONFIG+y}
12575 then :
12576 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12579 if ${XSLT_PE_LIBS:+false} :
12580 then :
12581 if test ${MINGW_PKG_CONFIG+y}
12582 then :
12583 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12586 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12587 ac_save_CPPFLAGS=$CPPFLAGS
12588 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12590 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12591 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12592 then :
12593 printf %s "(cached) " >&6
12594 else $as_nop
12595 ac_wine_check_headers_saved_cc=$CC
12596 ac_wine_check_headers_saved_exeext=$ac_exeext
12597 eval CC=\$${wine_arch}_CC
12598 ac_exeext=".exe"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 #include <libxslt/pattern.h>
12604 main (void)
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_compile "$LINENO"
12612 then :
12613 ac_cv_mingw_header_libxslt_pattern_h=yes
12614 else $as_nop
12615 ac_cv_mingw_header_libxslt_pattern_h=no
12617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12618 CC=$ac_wine_check_headers_saved_cc
12619 ac_exeext=$ac_wine_check_headers_saved_exeext
12621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12622 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12623 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12624 then :
12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12628 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12629 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12630 then :
12631 printf %s "(cached) " >&6
12632 else $as_nop
12633 ac_wine_check_headers_saved_cc=$CC
12634 ac_wine_check_headers_saved_exeext=$ac_exeext
12635 eval CC=\$${wine_arch}_CC
12636 ac_exeext=".exe"
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12640 #include <libxslt/transform.h>
12642 main (void)
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_compile "$LINENO"
12650 then :
12651 ac_cv_mingw_header_libxslt_transform_h=yes
12652 else $as_nop
12653 ac_cv_mingw_header_libxslt_transform_h=no
12655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12656 CC=$ac_wine_check_headers_saved_cc
12657 ac_exeext=$ac_wine_check_headers_saved_exeext
12659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12660 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12661 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12662 then :
12665 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12666 then
12667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12668 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12669 if test ${ac_cv_mingw_lib_xslt+y}
12670 then :
12671 printf %s "(cached) " >&6
12672 else $as_nop
12673 ac_wine_check_headers_saved_cc=$CC
12674 ac_wine_check_headers_saved_exeext=$ac_exeext
12675 ac_wine_check_headers_saved_libs=$LIBS
12676 eval CC=\$${wine_arch}_CC
12677 ac_exeext=".exe"
12678 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12682 /* Override any GCC internal prototype to avoid an error.
12683 Use char because int might match the return type of a GCC
12684 builtin and then its argument prototype would still apply. */
12685 char xsltCompilePattern ();
12687 main (void)
12689 return xsltCompilePattern ();
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_link "$LINENO"
12695 then :
12696 ac_cv_mingw_lib_xslt=yes
12697 else $as_nop
12698 ac_cv_mingw_lib_xslt=no
12700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12701 conftest$ac_exeext conftest.$ac_ext
12702 CC=$ac_wine_check_headers_saved_cc
12703 ac_exeext=$ac_wine_check_headers_saved_exeext
12704 LIBS=$ac_wine_check_headers_saved_libs
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12707 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12708 if test "x$ac_cv_mingw_lib_xslt" = xyes
12709 then :
12711 else $as_nop
12712 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12714 else
12715 XSLT_PE_CFLAGS=""
12716 XSLT_PE_LIBS=""
12718 CPPFLAGS=$ac_save_CPPFLAGS
12720 if test "x$XSLT_PE_LIBS" = "x"
12721 then
12722 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12725 if ${VKD3D_PE_CFLAGS:+false} :
12726 then :
12727 if test ${MINGW_PKG_CONFIG+y}
12728 then :
12729 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12732 if ${VKD3D_PE_LIBS:+false} :
12733 then :
12734 if test ${MINGW_PKG_CONFIG+y}
12735 then :
12736 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12739 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12740 ac_save_CPPFLAGS=$CPPFLAGS
12741 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12743 printf %s "checking for MinGW vkd3d.h... " >&6; }
12744 if test ${ac_cv_mingw_header_vkd3d_h+y}
12745 then :
12746 printf %s "(cached) " >&6
12747 else $as_nop
12748 ac_wine_check_headers_saved_cc=$CC
12749 ac_wine_check_headers_saved_exeext=$ac_exeext
12750 eval CC=\$${wine_arch}_CC
12751 ac_exeext=".exe"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 #include <vkd3d.h>
12757 main (void)
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_compile "$LINENO"
12765 then :
12766 ac_cv_mingw_header_vkd3d_h=yes
12767 else $as_nop
12768 ac_cv_mingw_header_vkd3d_h=no
12770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12771 CC=$ac_wine_check_headers_saved_cc
12772 ac_exeext=$ac_wine_check_headers_saved_exeext
12774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12775 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12776 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12777 then :
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12781 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12782 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12783 then :
12784 printf %s "(cached) " >&6
12785 else $as_nop
12786 ac_wine_check_headers_saved_cc=$CC
12787 ac_wine_check_headers_saved_exeext=$ac_exeext
12788 eval CC=\$${wine_arch}_CC
12789 ac_exeext=".exe"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 #include <vkd3d_shader.h>
12795 main (void)
12799 return 0;
12801 _ACEOF
12802 if ac_fn_c_try_compile "$LINENO"
12803 then :
12804 ac_cv_mingw_header_vkd3d_shader_h=yes
12805 else $as_nop
12806 ac_cv_mingw_header_vkd3d_shader_h=no
12808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12809 CC=$ac_wine_check_headers_saved_cc
12810 ac_exeext=$ac_wine_check_headers_saved_exeext
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12813 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12814 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12815 then :
12818 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12819 then
12820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12821 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12822 if test ${ac_cv_mingw_lib_vkd3d+y}
12823 then :
12824 printf %s "(cached) " >&6
12825 else $as_nop
12826 ac_wine_check_headers_saved_cc=$CC
12827 ac_wine_check_headers_saved_exeext=$ac_exeext
12828 ac_wine_check_headers_saved_libs=$LIBS
12829 eval CC=\$${wine_arch}_CC
12830 ac_exeext=".exe"
12831 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12835 /* Override any GCC internal prototype to avoid an error.
12836 Use char because int might match the return type of a GCC
12837 builtin and then its argument prototype would still apply. */
12838 char vkd3d_set_log_callback ();
12840 main (void)
12842 return vkd3d_set_log_callback ();
12844 return 0;
12846 _ACEOF
12847 if ac_fn_c_try_link "$LINENO"
12848 then :
12849 ac_cv_mingw_lib_vkd3d=yes
12850 else $as_nop
12851 ac_cv_mingw_lib_vkd3d=no
12853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12854 conftest$ac_exeext conftest.$ac_ext
12855 CC=$ac_wine_check_headers_saved_cc
12856 ac_exeext=$ac_wine_check_headers_saved_exeext
12857 LIBS=$ac_wine_check_headers_saved_libs
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12860 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12861 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12862 then :
12864 else $as_nop
12867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12868 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12869 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12870 then :
12871 printf %s "(cached) " >&6
12872 else $as_nop
12873 ac_wine_check_headers_saved_cc=$CC
12874 ac_wine_check_headers_saved_exeext=$ac_exeext
12875 ac_wine_check_headers_saved_libs=$LIBS
12876 eval CC=\$${wine_arch}_CC
12877 ac_exeext=".exe"
12878 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 /* Override any GCC internal prototype to avoid an error.
12883 Use char because int might match the return type of a GCC
12884 builtin and then its argument prototype would still apply. */
12885 char vkd3d_shader_serialize_dxbc ();
12887 main (void)
12889 return vkd3d_shader_serialize_dxbc ();
12891 return 0;
12893 _ACEOF
12894 if ac_fn_c_try_link "$LINENO"
12895 then :
12896 ac_cv_mingw_lib_vkd3d_shader=yes
12897 else $as_nop
12898 ac_cv_mingw_lib_vkd3d_shader=no
12900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12901 conftest$ac_exeext conftest.$ac_ext
12902 CC=$ac_wine_check_headers_saved_cc
12903 ac_exeext=$ac_wine_check_headers_saved_exeext
12904 LIBS=$ac_wine_check_headers_saved_libs
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12907 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12908 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12909 then :
12911 else $as_nop
12914 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12915 then
12916 VKD3D_PE_CFLAGS=""
12917 VKD3D_PE_LIBS=""
12919 else
12920 VKD3D_PE_CFLAGS=""
12921 VKD3D_PE_LIBS=""
12923 CPPFLAGS=$ac_save_CPPFLAGS
12925 if test "x$VKD3D_PE_LIBS" = "x"
12926 then
12927 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12930 if ${ZLIB_PE_CFLAGS:+false} :
12931 then :
12932 if test ${MINGW_PKG_CONFIG+y}
12933 then :
12934 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12937 if ${ZLIB_PE_LIBS:+false} :
12938 then :
12939 if test ${MINGW_PKG_CONFIG+y}
12940 then :
12941 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12944 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12945 ac_save_CPPFLAGS=$CPPFLAGS
12946 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12948 printf %s "checking for MinGW zlib.h... " >&6; }
12949 if test ${ac_cv_mingw_header_zlib_h+y}
12950 then :
12951 printf %s "(cached) " >&6
12952 else $as_nop
12953 ac_wine_check_headers_saved_cc=$CC
12954 ac_wine_check_headers_saved_exeext=$ac_exeext
12955 eval CC=\$${wine_arch}_CC
12956 ac_exeext=".exe"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 #include <zlib.h>
12962 main (void)
12966 return 0;
12968 _ACEOF
12969 if ac_fn_c_try_compile "$LINENO"
12970 then :
12971 ac_cv_mingw_header_zlib_h=yes
12972 else $as_nop
12973 ac_cv_mingw_header_zlib_h=no
12975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12976 CC=$ac_wine_check_headers_saved_cc
12977 ac_exeext=$ac_wine_check_headers_saved_exeext
12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12980 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12981 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12982 then :
12983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12984 printf %s "checking for inflate in MinGW -lz... " >&6; }
12985 if test ${ac_cv_mingw_lib_z+y}
12986 then :
12987 printf %s "(cached) " >&6
12988 else $as_nop
12989 ac_wine_check_headers_saved_cc=$CC
12990 ac_wine_check_headers_saved_exeext=$ac_exeext
12991 ac_wine_check_headers_saved_libs=$LIBS
12992 eval CC=\$${wine_arch}_CC
12993 ac_exeext=".exe"
12994 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13001 char inflate ();
13003 main (void)
13005 return inflate ();
13007 return 0;
13009 _ACEOF
13010 if ac_fn_c_try_link "$LINENO"
13011 then :
13012 ac_cv_mingw_lib_z=yes
13013 else $as_nop
13014 ac_cv_mingw_lib_z=no
13016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13017 conftest$ac_exeext conftest.$ac_ext
13018 CC=$ac_wine_check_headers_saved_cc
13019 ac_exeext=$ac_wine_check_headers_saved_exeext
13020 LIBS=$ac_wine_check_headers_saved_libs
13022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13023 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13024 if test "x$ac_cv_mingw_lib_z" = xyes
13025 then :
13027 else $as_nop
13028 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13030 else $as_nop
13031 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13033 CPPFLAGS=$ac_save_CPPFLAGS
13035 if test "x$ZLIB_PE_LIBS" = "x"
13036 then
13037 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13041 if ${FAUDIO_PE_LIBS:+false} :
13042 then :
13043 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13044 if ${FAUDIO_PE_CFLAGS:+false} :
13045 then :
13046 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13047 else $as_nop
13048 enable_faudio=no
13050 else $as_nop
13051 enable_faudio=no
13053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13056 if ${GSM_PE_LIBS:+false} :
13057 then :
13058 GSM_PE_LIBS=gsm
13059 if ${GSM_PE_CFLAGS:+false} :
13060 then :
13061 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13062 else $as_nop
13063 enable_gsm=no
13065 else $as_nop
13066 enable_gsm=no
13068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13071 if ${JPEG_PE_LIBS:+false} :
13072 then :
13073 JPEG_PE_LIBS=jpeg
13074 if ${JPEG_PE_CFLAGS:+false} :
13075 then :
13076 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13077 else $as_nop
13078 enable_jpeg=no
13080 else $as_nop
13081 enable_jpeg=no
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13086 if ${JXR_PE_LIBS:+false} :
13087 then :
13088 JXR_PE_LIBS=jxr
13089 if ${JXR_PE_CFLAGS:+false} :
13090 then :
13091 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13092 else $as_nop
13093 enable_jxr=no
13095 else $as_nop
13096 enable_jxr=no
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13101 if ${LCMS2_PE_LIBS:+false} :
13102 then :
13103 LCMS2_PE_LIBS=lcms2
13104 if ${LCMS2_PE_CFLAGS:+false} :
13105 then :
13106 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13107 else $as_nop
13108 enable_lcms2=no
13110 else $as_nop
13111 enable_lcms2=no
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13116 if ${LDAP_PE_LIBS:+false} :
13117 then :
13118 LDAP_PE_LIBS=ldap
13119 if ${LDAP_PE_CFLAGS:+false} :
13120 then :
13121 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13122 else $as_nop
13123 enable_ldap=no
13125 else $as_nop
13126 enable_ldap=no
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13131 if ${MPG123_PE_LIBS:+false} :
13132 then :
13133 MPG123_PE_LIBS=mpg123
13134 if ${MPG123_PE_CFLAGS:+false} :
13135 then :
13136 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13137 else $as_nop
13138 enable_mpg123=no
13140 else $as_nop
13141 enable_mpg123=no
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13146 if ${MUSL_PE_LIBS:+false} :
13147 then :
13148 MUSL_PE_LIBS=musl
13149 if ${MUSL_PE_CFLAGS:+false} :
13150 then :
13151 MUSL_PE_CFLAGS=
13152 else $as_nop
13153 enable_musl=no
13155 else $as_nop
13156 enable_musl=no
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13161 if ${PNG_PE_LIBS:+false} :
13162 then :
13163 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13164 if ${PNG_PE_CFLAGS:+false} :
13165 then :
13166 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13167 else $as_nop
13168 enable_png=no
13170 else $as_nop
13171 enable_png=no
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13176 if ${TIFF_PE_LIBS:+false} :
13177 then :
13178 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13179 if ${TIFF_PE_CFLAGS:+false} :
13180 then :
13181 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13182 else $as_nop
13183 enable_tiff=no
13185 else $as_nop
13186 enable_tiff=no
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13191 if ${VKD3D_PE_LIBS:+false} :
13192 then :
13193 VKD3D_PE_LIBS=vkd3d
13194 if ${VKD3D_PE_CFLAGS:+false} :
13195 then :
13196 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13197 else $as_nop
13198 enable_vkd3d=no
13200 else $as_nop
13201 enable_vkd3d=no
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13206 if ${XML2_PE_LIBS:+false} :
13207 then :
13208 XML2_PE_LIBS=xml2
13209 if ${XML2_PE_CFLAGS:+false} :
13210 then :
13211 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13212 else $as_nop
13213 enable_xml2=no
13215 else $as_nop
13216 enable_xml2=no
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13221 if ${XSLT_PE_LIBS:+false} :
13222 then :
13223 XSLT_PE_LIBS=xslt
13224 if ${XSLT_PE_CFLAGS:+false} :
13225 then :
13226 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13227 else $as_nop
13228 enable_xslt=no
13230 else $as_nop
13231 enable_xslt=no
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13236 if ${ZLIB_PE_LIBS:+false} :
13237 then :
13238 ZLIB_PE_LIBS=z
13239 if ${ZLIB_PE_CFLAGS:+false} :
13240 then :
13241 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13242 else $as_nop
13243 enable_zlib=no
13245 else $as_nop
13246 enable_zlib=no
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13251 if ${ZYDIS_PE_LIBS:+false} :
13252 then :
13253 ZYDIS_PE_LIBS=zydis
13254 if ${ZYDIS_PE_CFLAGS:+false} :
13255 then :
13256 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13257 else $as_nop
13258 enable_zydis=no
13260 else $as_nop
13261 enable_zydis=no
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13268 if test "$ac_cv_header_pthread_h" = "yes"
13269 then
13270 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13271 if test "x$ac_cv_func_pthread_create" = xyes
13272 then :
13274 else $as_nop
13275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13276 printf %s "checking for pthread_create in -lpthread... " >&6; }
13277 if test ${ac_cv_lib_pthread_pthread_create+y}
13278 then :
13279 printf %s "(cached) " >&6
13280 else $as_nop
13281 ac_check_lib_save_LIBS=$LIBS
13282 LIBS="-lpthread $LIBS"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13289 char pthread_create ();
13291 main (void)
13293 return pthread_create ();
13295 return 0;
13297 _ACEOF
13298 if ac_fn_c_try_link "$LINENO"
13299 then :
13300 ac_cv_lib_pthread_pthread_create=yes
13301 else $as_nop
13302 ac_cv_lib_pthread_pthread_create=no
13304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13305 conftest$ac_exeext conftest.$ac_ext
13306 LIBS=$ac_check_lib_save_LIBS
13308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13309 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13310 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13311 then :
13312 PTHREAD_LIBS="-lpthread"
13319 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13320 then :
13321 case "x$with_pthread" in
13322 xno) ;;
13323 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13324 Wine cannot support threads without libpthread.
13325 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13326 esac
13331 ac_ext=c
13332 ac_cpp='$CPP $CPPFLAGS'
13333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13337 printf %s "checking how to run the C preprocessor... " >&6; }
13338 # On Suns, sometimes $CPP names a directory.
13339 if test -n "$CPP" && test -d "$CPP"; then
13340 CPP=
13342 if test -z "$CPP"; then
13343 if test ${ac_cv_prog_CPP+y}
13344 then :
13345 printf %s "(cached) " >&6
13346 else $as_nop
13347 # Double quotes because $CC needs to be expanded
13348 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13350 ac_preproc_ok=false
13351 for ac_c_preproc_warn_flag in '' yes
13353 # Use a header file that comes with gcc, so configuring glibc
13354 # with a fresh cross-compiler works.
13355 # On the NeXT, cc -E runs the code through the compiler's parser,
13356 # not just through cpp. "Syntax error" is here to catch this case.
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13359 #include <limits.h>
13360 Syntax error
13361 _ACEOF
13362 if ac_fn_c_try_cpp "$LINENO"
13363 then :
13365 else $as_nop
13366 # Broken: fails on valid input.
13367 continue
13369 rm -f conftest.err conftest.i conftest.$ac_ext
13371 # OK, works on sane cases. Now check whether nonexistent headers
13372 # can be detected and how.
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13375 #include <ac_nonexistent.h>
13376 _ACEOF
13377 if ac_fn_c_try_cpp "$LINENO"
13378 then :
13379 # Broken: success on invalid input.
13380 continue
13381 else $as_nop
13382 # Passes both tests.
13383 ac_preproc_ok=:
13384 break
13386 rm -f conftest.err conftest.i conftest.$ac_ext
13388 done
13389 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13390 rm -f conftest.i conftest.err conftest.$ac_ext
13391 if $ac_preproc_ok
13392 then :
13393 break
13396 done
13397 ac_cv_prog_CPP=$CPP
13400 CPP=$ac_cv_prog_CPP
13401 else
13402 ac_cv_prog_CPP=$CPP
13404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13405 printf "%s\n" "$CPP" >&6; }
13406 ac_preproc_ok=false
13407 for ac_c_preproc_warn_flag in '' yes
13409 # Use a header file that comes with gcc, so configuring glibc
13410 # with a fresh cross-compiler works.
13411 # On the NeXT, cc -E runs the code through the compiler's parser,
13412 # not just through cpp. "Syntax error" is here to catch this case.
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13415 #include <limits.h>
13416 Syntax error
13417 _ACEOF
13418 if ac_fn_c_try_cpp "$LINENO"
13419 then :
13421 else $as_nop
13422 # Broken: fails on valid input.
13423 continue
13425 rm -f conftest.err conftest.i conftest.$ac_ext
13427 # OK, works on sane cases. Now check whether nonexistent headers
13428 # can be detected and how.
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13431 #include <ac_nonexistent.h>
13432 _ACEOF
13433 if ac_fn_c_try_cpp "$LINENO"
13434 then :
13435 # Broken: success on invalid input.
13436 continue
13437 else $as_nop
13438 # Passes both tests.
13439 ac_preproc_ok=:
13440 break
13442 rm -f conftest.err conftest.i conftest.$ac_ext
13444 done
13445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13446 rm -f conftest.i conftest.err conftest.$ac_ext
13447 if $ac_preproc_ok
13448 then :
13450 else $as_nop
13451 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13452 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13453 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13454 See \`config.log' for more details" "$LINENO" 5; }
13457 ac_ext=c
13458 ac_cpp='$CPP $CPPFLAGS'
13459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13465 printf %s "checking for X... " >&6; }
13468 # Check whether --with-x was given.
13469 if test ${with_x+y}
13470 then :
13471 withval=$with_x;
13474 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13475 if test "x$with_x" = xno; then
13476 # The user explicitly disabled X.
13477 have_x=disabled
13478 else
13479 case $x_includes,$x_libraries in #(
13480 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13481 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13482 then :
13483 printf %s "(cached) " >&6
13484 else $as_nop
13485 # One or both of the vars are not set, and there is no cached value.
13486 ac_x_includes=no
13487 ac_x_libraries=no
13488 # Do we need to do anything special at all?
13489 ac_save_LIBS=$LIBS
13490 LIBS="-lX11 $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13493 #include <X11/Xlib.h>
13495 main (void)
13497 XrmInitialize ()
13499 return 0;
13501 _ACEOF
13502 if ac_fn_c_try_link "$LINENO"
13503 then :
13504 # We can compile and link X programs with no special options.
13505 ac_x_includes=
13506 ac_x_libraries=
13508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13509 conftest$ac_exeext conftest.$ac_ext
13510 LIBS="$ac_save_LIBS"
13511 # If that didn't work, only try xmkmf and file system searches
13512 # for native compilation.
13513 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13514 then :
13515 rm -f -r conftest.dir
13516 if mkdir conftest.dir; then
13517 cd conftest.dir
13518 cat >Imakefile <<'_ACEOF'
13519 incroot:
13520 @echo incroot='${INCROOT}'
13521 usrlibdir:
13522 @echo usrlibdir='${USRLIBDIR}'
13523 libdir:
13524 @echo libdir='${LIBDIR}'
13525 _ACEOF
13526 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13527 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13528 for ac_var in incroot usrlibdir libdir; do
13529 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13530 done
13531 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13532 for ac_extension in a so sl dylib la dll; do
13533 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13534 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13535 ac_im_usrlibdir=$ac_im_libdir; break
13537 done
13538 # Screen out bogus values from the imake configuration. They are
13539 # bogus both because they are the default anyway, and because
13540 # using them would break gcc on systems where it needs fixed includes.
13541 case $ac_im_incroot in
13542 /usr/include) ac_x_includes= ;;
13543 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13544 esac
13545 case $ac_im_usrlibdir in
13546 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13547 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13548 esac
13550 cd ..
13551 rm -f -r conftest.dir
13554 # Standard set of common directories for X headers.
13555 # Check X11 before X11Rn because it is often a symlink to the current release.
13556 ac_x_header_dirs='
13557 /usr/X11/include
13558 /usr/X11R7/include
13559 /usr/X11R6/include
13560 /usr/X11R5/include
13561 /usr/X11R4/include
13563 /usr/include/X11
13564 /usr/include/X11R7
13565 /usr/include/X11R6
13566 /usr/include/X11R5
13567 /usr/include/X11R4
13569 /usr/local/X11/include
13570 /usr/local/X11R7/include
13571 /usr/local/X11R6/include
13572 /usr/local/X11R5/include
13573 /usr/local/X11R4/include
13575 /usr/local/include/X11
13576 /usr/local/include/X11R7
13577 /usr/local/include/X11R6
13578 /usr/local/include/X11R5
13579 /usr/local/include/X11R4
13581 /opt/X11/include
13583 /usr/X386/include
13584 /usr/x386/include
13585 /usr/XFree86/include/X11
13587 /usr/include
13588 /usr/local/include
13589 /usr/unsupported/include
13590 /usr/athena/include
13591 /usr/local/x11r5/include
13592 /usr/lpp/Xamples/include
13594 /usr/openwin/include
13595 /usr/openwin/share/include'
13597 if test "$ac_x_includes" = no; then
13598 # Guess where to find include files, by looking for Xlib.h.
13599 # First, try using that file with no special directory specified.
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13602 #include <X11/Xlib.h>
13603 _ACEOF
13604 if ac_fn_c_try_cpp "$LINENO"
13605 then :
13606 # We can compile using X headers with no special include directory.
13607 ac_x_includes=
13608 else $as_nop
13609 for ac_dir in $ac_x_header_dirs; do
13610 if test -r "$ac_dir/X11/Xlib.h"; then
13611 ac_x_includes=$ac_dir
13612 break
13614 done
13616 rm -f conftest.err conftest.i conftest.$ac_ext
13617 fi # $ac_x_includes = no
13619 if test "$ac_x_libraries" = no; then
13620 # Check for the libraries.
13621 # See if we find them without any special options.
13622 # Don't add to $LIBS permanently.
13623 ac_save_LIBS=$LIBS
13624 LIBS="-lX11 $LIBS"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <X11/Xlib.h>
13629 main (void)
13631 XrmInitialize ()
13633 return 0;
13635 _ACEOF
13636 if ac_fn_c_try_link "$LINENO"
13637 then :
13638 LIBS=$ac_save_LIBS
13639 # We can link X programs with no special library path.
13640 ac_x_libraries=
13641 else $as_nop
13642 LIBS=$ac_save_LIBS
13643 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13645 # Don't even attempt the hair of trying to link an X program!
13646 for ac_extension in a so sl dylib la dll; do
13647 if test -r "$ac_dir/libX11.$ac_extension"; then
13648 ac_x_libraries=$ac_dir
13649 break 2
13651 done
13652 done
13654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13655 conftest$ac_exeext conftest.$ac_ext
13656 fi # $ac_x_libraries = no
13659 # Record the results.
13660 case $ac_x_includes,$ac_x_libraries in #(
13661 no,* | *,no | *\'*) :
13662 # Didn't find X, or a directory has "'" in its name.
13663 ac_cv_have_x="have_x=no" ;; #(
13664 *) :
13665 # Record where we found X for the cache.
13666 ac_cv_have_x="have_x=yes\
13667 ac_x_includes='$ac_x_includes'\
13668 ac_x_libraries='$ac_x_libraries'" ;;
13669 esac
13671 ;; #(
13672 *) have_x=yes;;
13673 esac
13674 eval "$ac_cv_have_x"
13675 fi # $with_x != no
13677 if test "$have_x" != yes; then
13678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13679 printf "%s\n" "$have_x" >&6; }
13680 no_x=yes
13681 else
13682 # If each of the values was on the command line, it overrides each guess.
13683 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13684 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13685 # Update the cache value to reflect the command line values.
13686 ac_cv_have_x="have_x=yes\
13687 ac_x_includes='$x_includes'\
13688 ac_x_libraries='$x_libraries'"
13689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13690 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13693 if test "$no_x" = yes; then
13694 # Not all programs may use this symbol, but it does not hurt to define it.
13696 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13698 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13699 else
13700 if test -n "$x_includes"; then
13701 X_CFLAGS="$X_CFLAGS -I$x_includes"
13704 # It would also be nice to do this for all -L options, not just this one.
13705 if test -n "$x_libraries"; then
13706 X_LIBS="$X_LIBS -L$x_libraries"
13707 # For Solaris; some versions of Sun CC require a space after -R and
13708 # others require no space. Words are not sufficient . . . .
13709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13710 printf %s "checking whether -R must be followed by a space... " >&6; }
13711 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13712 ac_xsave_c_werror_flag=$ac_c_werror_flag
13713 ac_c_werror_flag=yes
13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13718 main (void)
13722 return 0;
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"
13726 then :
13727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 printf "%s\n" "no" >&6; }
13729 X_LIBS="$X_LIBS -R$x_libraries"
13730 else $as_nop
13731 LIBS="$ac_xsave_LIBS -R $x_libraries"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13736 main (void)
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"
13744 then :
13745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13746 printf "%s\n" "yes" >&6; }
13747 X_LIBS="$X_LIBS -R $x_libraries"
13748 else $as_nop
13749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13750 printf "%s\n" "neither works" >&6; }
13752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13753 conftest$ac_exeext conftest.$ac_ext
13755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13756 conftest$ac_exeext conftest.$ac_ext
13757 ac_c_werror_flag=$ac_xsave_c_werror_flag
13758 LIBS=$ac_xsave_LIBS
13761 # Check for system-dependent libraries X programs must link with.
13762 # Do this before checking for the system-independent R6 libraries
13763 # (-lICE), since we may need -lsocket or whatever for X linking.
13765 if test "$ISC" = yes; then
13766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13767 else
13768 # Martyn Johnson says this is needed for Ultrix, if the X
13769 # libraries were built with DECnet support. And Karl Berry says
13770 # the Alpha needs dnet_stub (dnet does not exist).
13771 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13775 /* Override any GCC internal prototype to avoid an error.
13776 Use char because int might match the return type of a GCC
13777 builtin and then its argument prototype would still apply. */
13778 char XOpenDisplay ();
13780 main (void)
13782 return XOpenDisplay ();
13784 return 0;
13786 _ACEOF
13787 if ac_fn_c_try_link "$LINENO"
13788 then :
13790 else $as_nop
13791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13792 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13793 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13794 then :
13795 printf %s "(cached) " >&6
13796 else $as_nop
13797 ac_check_lib_save_LIBS=$LIBS
13798 LIBS="-ldnet $LIBS"
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13802 /* Override any GCC internal prototype to avoid an error.
13803 Use char because int might match the return type of a GCC
13804 builtin and then its argument prototype would still apply. */
13805 char dnet_ntoa ();
13807 main (void)
13809 return dnet_ntoa ();
13811 return 0;
13813 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"
13815 then :
13816 ac_cv_lib_dnet_dnet_ntoa=yes
13817 else $as_nop
13818 ac_cv_lib_dnet_dnet_ntoa=no
13820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13825 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13826 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13827 then :
13828 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13831 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13833 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13834 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13835 then :
13836 printf %s "(cached) " >&6
13837 else $as_nop
13838 ac_check_lib_save_LIBS=$LIBS
13839 LIBS="-ldnet_stub $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 char dnet_ntoa ();
13848 main (void)
13850 return dnet_ntoa ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"
13856 then :
13857 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13858 else $as_nop
13859 ac_cv_lib_dnet_stub_dnet_ntoa=no
13861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13862 conftest$ac_exeext conftest.$ac_ext
13863 LIBS=$ac_check_lib_save_LIBS
13865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13866 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13867 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13868 then :
13869 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS="$ac_xsave_LIBS"
13878 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13879 # to get the SysV transport functions.
13880 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13881 # needs -lnsl.
13882 # The nsl library prevents programs from opening the X display
13883 # on Irix 5.2, according to T.E. Dickey.
13884 # The functions gethostbyname, getservbyname, and inet_addr are
13885 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13886 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13887 if test "x$ac_cv_func_gethostbyname" = xyes
13888 then :
13892 if test $ac_cv_func_gethostbyname = no; then
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13894 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13895 if test ${ac_cv_lib_nsl_gethostbyname+y}
13896 then :
13897 printf %s "(cached) " >&6
13898 else $as_nop
13899 ac_check_lib_save_LIBS=$LIBS
13900 LIBS="-lnsl $LIBS"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13907 char gethostbyname ();
13909 main (void)
13911 return gethostbyname ();
13913 return 0;
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"
13917 then :
13918 ac_cv_lib_nsl_gethostbyname=yes
13919 else $as_nop
13920 ac_cv_lib_nsl_gethostbyname=no
13922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13923 conftest$ac_exeext conftest.$ac_ext
13924 LIBS=$ac_check_lib_save_LIBS
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13927 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13928 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13929 then :
13930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13933 if test $ac_cv_lib_nsl_gethostbyname = no; then
13934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13935 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13936 if test ${ac_cv_lib_bsd_gethostbyname+y}
13937 then :
13938 printf %s "(cached) " >&6
13939 else $as_nop
13940 ac_check_lib_save_LIBS=$LIBS
13941 LIBS="-lbsd $LIBS"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13948 char gethostbyname ();
13950 main (void)
13952 return gethostbyname ();
13954 return 0;
13956 _ACEOF
13957 if ac_fn_c_try_link "$LINENO"
13958 then :
13959 ac_cv_lib_bsd_gethostbyname=yes
13960 else $as_nop
13961 ac_cv_lib_bsd_gethostbyname=no
13963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13964 conftest$ac_exeext conftest.$ac_ext
13965 LIBS=$ac_check_lib_save_LIBS
13967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13968 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13969 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13970 then :
13971 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13977 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13978 # socket/setsockopt and other routines are undefined under SCO ODT
13979 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13980 # on later versions), says Simon Leinen: it contains gethostby*
13981 # variants that don't use the name server (or something). -lsocket
13982 # must be given before -lnsl if both are needed. We assume that
13983 # if connect needs -lnsl, so does gethostbyname.
13984 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13985 if test "x$ac_cv_func_connect" = xyes
13986 then :
13990 if test $ac_cv_func_connect = no; then
13991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13992 printf %s "checking for connect in -lsocket... " >&6; }
13993 if test ${ac_cv_lib_socket_connect+y}
13994 then :
13995 printf %s "(cached) " >&6
13996 else $as_nop
13997 ac_check_lib_save_LIBS=$LIBS
13998 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 char connect ();
14007 main (void)
14009 return connect ();
14011 return 0;
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"
14015 then :
14016 ac_cv_lib_socket_connect=yes
14017 else $as_nop
14018 ac_cv_lib_socket_connect=no
14020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14021 conftest$ac_exeext conftest.$ac_ext
14022 LIBS=$ac_check_lib_save_LIBS
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14025 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14026 if test "x$ac_cv_lib_socket_connect" = xyes
14027 then :
14028 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14033 # Guillermo Gomez says -lposix is necessary on A/UX.
14034 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14035 if test "x$ac_cv_func_remove" = xyes
14036 then :
14040 if test $ac_cv_func_remove = no; then
14041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14042 printf %s "checking for remove in -lposix... " >&6; }
14043 if test ${ac_cv_lib_posix_remove+y}
14044 then :
14045 printf %s "(cached) " >&6
14046 else $as_nop
14047 ac_check_lib_save_LIBS=$LIBS
14048 LIBS="-lposix $LIBS"
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14052 /* Override any GCC internal prototype to avoid an error.
14053 Use char because int might match the return type of a GCC
14054 builtin and then its argument prototype would still apply. */
14055 char remove ();
14057 main (void)
14059 return remove ();
14061 return 0;
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"
14065 then :
14066 ac_cv_lib_posix_remove=yes
14067 else $as_nop
14068 ac_cv_lib_posix_remove=no
14070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14071 conftest$ac_exeext conftest.$ac_ext
14072 LIBS=$ac_check_lib_save_LIBS
14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14075 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14076 if test "x$ac_cv_lib_posix_remove" = xyes
14077 then :
14078 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14083 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14084 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14085 if test "x$ac_cv_func_shmat" = xyes
14086 then :
14090 if test $ac_cv_func_shmat = no; then
14091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14092 printf %s "checking for shmat in -lipc... " >&6; }
14093 if test ${ac_cv_lib_ipc_shmat+y}
14094 then :
14095 printf %s "(cached) " >&6
14096 else $as_nop
14097 ac_check_lib_save_LIBS=$LIBS
14098 LIBS="-lipc $LIBS"
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14102 /* Override any GCC internal prototype to avoid an error.
14103 Use char because int might match the return type of a GCC
14104 builtin and then its argument prototype would still apply. */
14105 char shmat ();
14107 main (void)
14109 return shmat ();
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"
14115 then :
14116 ac_cv_lib_ipc_shmat=yes
14117 else $as_nop
14118 ac_cv_lib_ipc_shmat=no
14120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14121 conftest$ac_exeext conftest.$ac_ext
14122 LIBS=$ac_check_lib_save_LIBS
14124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14125 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14126 if test "x$ac_cv_lib_ipc_shmat" = xyes
14127 then :
14128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14134 # Check for libraries that X11R6 Xt/Xaw programs need.
14135 ac_save_LDFLAGS=$LDFLAGS
14136 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14137 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14138 # check for ICE first), but we must link in the order -lSM -lICE or
14139 # we get undefined symbols. So assume we have SM if we have ICE.
14140 # These have to be linked with before -lX11, unlike the other
14141 # libraries we check for below, so use a different variable.
14142 # John Interrante, Karl Berry
14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14144 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14145 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14146 then :
14147 printf %s "(cached) " >&6
14148 else $as_nop
14149 ac_check_lib_save_LIBS=$LIBS
14150 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14157 char IceConnectionNumber ();
14159 main (void)
14161 return IceConnectionNumber ();
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"
14167 then :
14168 ac_cv_lib_ICE_IceConnectionNumber=yes
14169 else $as_nop
14170 ac_cv_lib_ICE_IceConnectionNumber=no
14172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14173 conftest$ac_exeext conftest.$ac_ext
14174 LIBS=$ac_check_lib_save_LIBS
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14177 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14178 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14179 then :
14180 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14183 LDFLAGS=$ac_save_LDFLAGS
14188 if test "$have_x" = "yes"
14189 then
14190 ac_save_CPPFLAGS="$CPPFLAGS"
14191 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14194 printf %s "checking for -lX11... " >&6; }
14195 if test ${ac_cv_lib_soname_X11+y}
14196 then :
14197 printf %s "(cached) " >&6
14198 else $as_nop
14199 ac_check_soname_save_LIBS=$LIBS
14200 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 /* Override any GCC internal prototype to avoid an error.
14205 Use char because int might match the return type of a GCC
14206 builtin and then its argument prototype would still apply. */
14207 char XCreateWindow ();
14209 main (void)
14211 return XCreateWindow ();
14213 return 0;
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"
14217 then :
14218 case "$LIBEXT" in
14219 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14220 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'` ;;
14221 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14222 if ${ac_cv_lib_soname_X11:+false} :
14223 then :
14224 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14225 fi ;;
14226 esac
14227 else $as_nop
14228 ac_cv_lib_soname_X11=
14230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14231 conftest$ac_exeext conftest.$ac_ext
14232 LIBS=$ac_check_soname_save_LIBS
14234 if ${ac_cv_lib_soname_X11:+false} :
14235 then :
14236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14237 printf "%s\n" "not found" >&6; }
14239 else $as_nop
14240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14241 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14243 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14248 printf %s "checking for -lXext... " >&6; }
14249 if test ${ac_cv_lib_soname_Xext+y}
14250 then :
14251 printf %s "(cached) " >&6
14252 else $as_nop
14253 ac_check_soname_save_LIBS=$LIBS
14254 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 /* Override any GCC internal prototype to avoid an error.
14259 Use char because int might match the return type of a GCC
14260 builtin and then its argument prototype would still apply. */
14261 char XextCreateExtension ();
14263 main (void)
14265 return XextCreateExtension ();
14267 return 0;
14269 _ACEOF
14270 if ac_fn_c_try_link "$LINENO"
14271 then :
14272 case "$LIBEXT" in
14273 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14274 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'` ;;
14275 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14276 if ${ac_cv_lib_soname_Xext:+false} :
14277 then :
14278 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14279 fi ;;
14280 esac
14281 else $as_nop
14282 ac_cv_lib_soname_Xext=
14284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14285 conftest$ac_exeext conftest.$ac_ext
14286 LIBS=$ac_check_soname_save_LIBS
14288 if ${ac_cv_lib_soname_Xext:+false} :
14289 then :
14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14291 printf "%s\n" "not found" >&6; }
14293 else $as_nop
14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14295 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14297 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14299 X_LIBS="$X_LIBS -lXext"
14301 X_LIBS="$X_LIBS -lX11"
14303 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14304 # include <X11/Xlib.h>
14305 #endif
14306 #ifdef HAVE_X11_XUTIL_H
14307 # include <X11/Xutil.h>
14308 #endif
14310 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14311 then :
14312 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14315 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14316 # include <X11/Xlib.h>
14317 #endif
14318 #ifdef HAVE_X11_XUTIL_H
14319 # include <X11/Xutil.h>
14320 #endif
14322 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14323 then :
14324 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14327 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14328 # include <X11/Xlib.h>
14329 #endif
14330 #ifdef HAVE_X11_XUTIL_H
14331 # include <X11/Xutil.h>
14332 #endif
14334 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14335 then :
14336 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14339 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14340 # include <X11/Xlib.h>
14341 #endif
14342 #ifdef HAVE_X11_XUTIL_H
14343 # include <X11/Xutil.h>
14344 #endif
14346 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14347 then :
14348 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14351 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14352 # include <X11/Xlib.h>
14353 #endif
14354 #ifdef HAVE_X11_XUTIL_H
14355 # include <X11/Xutil.h>
14356 #endif
14358 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14359 then :
14360 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14363 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14364 # include <X11/Xlib.h>
14365 #endif
14366 #ifdef HAVE_X11_XUTIL_H
14367 # include <X11/Xutil.h>
14368 #endif
14370 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14371 then :
14372 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14375 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14376 # include <X11/Xlib.h>
14377 #endif
14378 #ifdef HAVE_X11_XUTIL_H
14379 # include <X11/Xutil.h>
14380 #endif
14382 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14383 then :
14384 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14387 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14388 # include <X11/Xlib.h>
14389 #endif
14390 #ifdef HAVE_X11_XUTIL_H
14391 # include <X11/Xutil.h>
14392 #endif
14394 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14395 then :
14396 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14399 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14400 # include <X11/Xlib.h>
14401 #endif
14402 #ifdef HAVE_X11_XUTIL_H
14403 # include <X11/Xutil.h>
14404 #endif
14406 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14407 then :
14408 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14411 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14412 # include <X11/Xlib.h>
14413 #endif
14414 #ifdef HAVE_X11_XUTIL_H
14415 # include <X11/Xutil.h>
14416 #endif
14418 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14419 then :
14420 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14423 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14424 # include <X11/Xlib.h>
14425 #endif
14426 #ifdef HAVE_X11_XUTIL_H
14427 # include <X11/Xutil.h>
14428 #endif
14430 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14431 then :
14432 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14435 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14436 # include <X11/Xlib.h>
14437 #endif
14438 #ifdef HAVE_X11_XUTIL_H
14439 # include <X11/Xutil.h>
14440 #endif
14442 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14443 then :
14444 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14447 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14448 # include <X11/Xlib.h>
14449 #endif
14450 #ifdef HAVE_X11_XUTIL_H
14451 # include <X11/Xutil.h>
14452 #endif
14454 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14455 then :
14456 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14459 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14460 # include <X11/Xlib.h>
14461 #endif
14462 #ifdef HAVE_X11_XUTIL_H
14463 # include <X11/Xutil.h>
14464 #endif
14466 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14467 then :
14468 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14471 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14472 # include <X11/Xlib.h>
14473 #endif
14474 #ifdef HAVE_X11_XUTIL_H
14475 # include <X11/Xutil.h>
14476 #endif
14478 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14479 then :
14480 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14485 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14486 then
14487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14488 printf %s "checking for -lXcursor... " >&6; }
14489 if test ${ac_cv_lib_soname_Xcursor+y}
14490 then :
14491 printf %s "(cached) " >&6
14492 else $as_nop
14493 ac_check_soname_save_LIBS=$LIBS
14494 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14498 /* Override any GCC internal prototype to avoid an error.
14499 Use char because int might match the return type of a GCC
14500 builtin and then its argument prototype would still apply. */
14501 char XcursorImageLoadCursor ();
14503 main (void)
14505 return XcursorImageLoadCursor ();
14507 return 0;
14509 _ACEOF
14510 if ac_fn_c_try_link "$LINENO"
14511 then :
14512 case "$LIBEXT" in
14513 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14514 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'` ;;
14515 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14516 if ${ac_cv_lib_soname_Xcursor:+false} :
14517 then :
14518 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14519 fi ;;
14520 esac
14521 else $as_nop
14522 ac_cv_lib_soname_Xcursor=
14524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LIBS=$ac_check_soname_save_LIBS
14528 if ${ac_cv_lib_soname_Xcursor:+false} :
14529 then :
14530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14531 printf "%s\n" "not found" >&6; }
14533 else $as_nop
14534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14535 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14537 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14542 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14543 then :
14544 case "x$with_xcursor" in
14545 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14546 xno) ;;
14547 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14548 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14549 esac
14553 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14554 then
14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14556 printf %s "checking for -lXi... " >&6; }
14557 if test ${ac_cv_lib_soname_Xi+y}
14558 then :
14559 printf %s "(cached) " >&6
14560 else $as_nop
14561 ac_check_soname_save_LIBS=$LIBS
14562 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14569 char XOpenDevice ();
14571 main (void)
14573 return XOpenDevice ();
14575 return 0;
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"
14579 then :
14580 case "$LIBEXT" in
14581 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14582 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'` ;;
14583 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14584 if ${ac_cv_lib_soname_Xi:+false} :
14585 then :
14586 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14587 fi ;;
14588 esac
14589 else $as_nop
14590 ac_cv_lib_soname_Xi=
14592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14593 conftest$ac_exeext conftest.$ac_ext
14594 LIBS=$ac_check_soname_save_LIBS
14596 if ${ac_cv_lib_soname_Xi:+false} :
14597 then :
14598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14599 printf "%s\n" "not found" >&6; }
14601 else $as_nop
14602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14603 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14605 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14610 if test "x$ac_cv_lib_soname_Xi" = "x"
14611 then :
14612 case "x$with_xinput" in
14613 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14614 xno) ;;
14615 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14616 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14617 esac
14621 if test "x$ac_cv_lib_soname_Xi" != x
14622 then
14623 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14624 then :
14625 case "x$with_xinput2" in
14626 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14627 xno) ;;
14628 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14629 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14630 esac
14635 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14636 then
14637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14638 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14639 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14640 then :
14641 printf %s "(cached) " >&6
14642 else $as_nop
14643 ac_check_lib_save_LIBS=$LIBS
14644 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14648 /* Override any GCC internal prototype to avoid an error.
14649 Use char because int might match the return type of a GCC
14650 builtin and then its argument prototype would still apply. */
14651 char XShmQueryExtension ();
14653 main (void)
14655 return XShmQueryExtension ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"
14661 then :
14662 ac_cv_lib_Xext_XShmQueryExtension=yes
14663 else $as_nop
14664 ac_cv_lib_Xext_XShmQueryExtension=no
14666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14667 conftest$ac_exeext conftest.$ac_ext
14668 LIBS=$ac_check_lib_save_LIBS
14670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14671 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14672 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14673 then :
14675 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14680 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14681 then :
14682 case "x$with_xshm" in
14683 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14684 xno) ;;
14685 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14686 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14687 esac
14691 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14692 then
14693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14694 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14695 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14696 then :
14697 printf %s "(cached) " >&6
14698 else $as_nop
14699 ac_check_lib_save_LIBS=$LIBS
14700 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14707 char XShapeQueryExtension ();
14709 main (void)
14711 return XShapeQueryExtension ();
14713 return 0;
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"
14717 then :
14718 ac_cv_lib_Xext_XShapeQueryExtension=yes
14719 else $as_nop
14720 ac_cv_lib_Xext_XShapeQueryExtension=no
14722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14723 conftest$ac_exeext conftest.$ac_ext
14724 LIBS=$ac_check_lib_save_LIBS
14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14727 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14728 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14729 then :
14731 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14736 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14737 then :
14738 case "x$with_xshape" in
14739 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14740 xno) ;;
14741 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14742 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14743 esac
14747 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14748 then
14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14750 printf %s "checking for -lXxf86vm... " >&6; }
14751 if test ${ac_cv_lib_soname_Xxf86vm+y}
14752 then :
14753 printf %s "(cached) " >&6
14754 else $as_nop
14755 ac_check_soname_save_LIBS=$LIBS
14756 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 /* Override any GCC internal prototype to avoid an error.
14761 Use char because int might match the return type of a GCC
14762 builtin and then its argument prototype would still apply. */
14763 char XF86VidModeQueryExtension ();
14765 main (void)
14767 return XF86VidModeQueryExtension ();
14769 return 0;
14771 _ACEOF
14772 if ac_fn_c_try_link "$LINENO"
14773 then :
14774 case "$LIBEXT" in
14775 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14776 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'` ;;
14777 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14778 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14779 then :
14780 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14781 fi ;;
14782 esac
14783 else $as_nop
14784 ac_cv_lib_soname_Xxf86vm=
14786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_soname_save_LIBS
14790 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14791 then :
14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14793 printf "%s\n" "not found" >&6; }
14795 else $as_nop
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14797 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14799 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14804 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14805 then :
14806 case "x$with_xxf86vm" in
14807 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14808 xno) ;;
14809 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14810 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14811 esac
14815 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14816 then
14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14818 printf %s "checking for -lXrender... " >&6; }
14819 if test ${ac_cv_lib_soname_Xrender+y}
14820 then :
14821 printf %s "(cached) " >&6
14822 else $as_nop
14823 ac_check_soname_save_LIBS=$LIBS
14824 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14828 /* Override any GCC internal prototype to avoid an error.
14829 Use char because int might match the return type of a GCC
14830 builtin and then its argument prototype would still apply. */
14831 char XRenderQueryExtension ();
14833 main (void)
14835 return XRenderQueryExtension ();
14837 return 0;
14839 _ACEOF
14840 if ac_fn_c_try_link "$LINENO"
14841 then :
14842 case "$LIBEXT" in
14843 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14844 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'` ;;
14845 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14846 if ${ac_cv_lib_soname_Xrender:+false} :
14847 then :
14848 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14849 fi ;;
14850 esac
14851 else $as_nop
14852 ac_cv_lib_soname_Xrender=
14854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14855 conftest$ac_exeext conftest.$ac_ext
14856 LIBS=$ac_check_soname_save_LIBS
14858 if ${ac_cv_lib_soname_Xrender:+false} :
14859 then :
14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14861 printf "%s\n" "not found" >&6; }
14863 else $as_nop
14864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14865 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14867 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14870 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14871 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14872 then :
14873 printf %s "(cached) " >&6
14874 else $as_nop
14875 ac_check_lib_save_LIBS=$LIBS
14876 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14883 char XRenderSetPictureTransform ();
14885 main (void)
14887 return XRenderSetPictureTransform ();
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"
14893 then :
14894 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14895 else $as_nop
14896 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14899 conftest$ac_exeext conftest.$ac_ext
14900 LIBS=$ac_check_lib_save_LIBS
14902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14903 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14904 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14905 then :
14907 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14912 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14913 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14914 then :
14915 printf %s "(cached) " >&6
14916 else $as_nop
14917 ac_check_lib_save_LIBS=$LIBS
14918 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920 /* end confdefs.h. */
14922 /* Override any GCC internal prototype to avoid an error.
14923 Use char because int might match the return type of a GCC
14924 builtin and then its argument prototype would still apply. */
14925 char XRenderCreateLinearGradient ();
14927 main (void)
14929 return XRenderCreateLinearGradient ();
14931 return 0;
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"
14935 then :
14936 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14937 else $as_nop
14938 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_lib_save_LIBS
14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14945 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14946 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14947 then :
14949 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14956 if test "x$ac_cv_lib_soname_Xrender" = "x"
14957 then :
14958 case "x$with_xrender" in
14959 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14960 xno) ;;
14961 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14962 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14963 esac
14967 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14968 then
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 #include <X11/Xlib.h>
14972 #include <X11/extensions/Xrandr.h>
14974 main (void)
14976 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_compile "$LINENO"
14982 then :
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14984 printf %s "checking for -lXrandr... " >&6; }
14985 if test ${ac_cv_lib_soname_Xrandr+y}
14986 then :
14987 printf %s "(cached) " >&6
14988 else $as_nop
14989 ac_check_soname_save_LIBS=$LIBS
14990 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
14997 char XRRQueryExtension ();
14999 main (void)
15001 return XRRQueryExtension ();
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"
15007 then :
15008 case "$LIBEXT" in
15009 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15010 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'` ;;
15011 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15012 if ${ac_cv_lib_soname_Xrandr:+false} :
15013 then :
15014 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15015 fi ;;
15016 esac
15017 else $as_nop
15018 ac_cv_lib_soname_Xrandr=
15020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15021 conftest$ac_exeext conftest.$ac_ext
15022 LIBS=$ac_check_soname_save_LIBS
15024 if ${ac_cv_lib_soname_Xrandr:+false} :
15025 then :
15026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15027 printf "%s\n" "not found" >&6; }
15029 else $as_nop
15030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15031 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15033 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15037 #include <X11/Xlib.h>
15038 #include <X11/extensions/Xrandr.h>
15040 main (void)
15042 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15044 return 0;
15046 _ACEOF
15047 if ac_fn_c_try_compile "$LINENO"
15048 then :
15050 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15052 else $as_nop
15053 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15060 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15061 then :
15062 case "x$with_xrandr" in
15063 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15064 xno) ;;
15065 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15066 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15067 esac
15071 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15072 then
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 #include <X11/Xlib.h>
15076 #include <X11/extensions/Xfixes.h>
15078 main (void)
15080 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_compile "$LINENO"
15086 then :
15087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15088 printf %s "checking for -lXfixes... " >&6; }
15089 if test ${ac_cv_lib_soname_Xfixes+y}
15090 then :
15091 printf %s "(cached) " >&6
15092 else $as_nop
15093 ac_check_soname_save_LIBS=$LIBS
15094 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15098 /* Override any GCC internal prototype to avoid an error.
15099 Use char because int might match the return type of a GCC
15100 builtin and then its argument prototype would still apply. */
15101 char XFixesQueryVersion ();
15103 main (void)
15105 return XFixesQueryVersion ();
15107 return 0;
15109 _ACEOF
15110 if ac_fn_c_try_link "$LINENO"
15111 then :
15112 case "$LIBEXT" in
15113 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15114 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'` ;;
15115 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15116 if ${ac_cv_lib_soname_Xfixes:+false} :
15117 then :
15118 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15119 fi ;;
15120 esac
15121 else $as_nop
15122 ac_cv_lib_soname_Xfixes=
15124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15125 conftest$ac_exeext conftest.$ac_ext
15126 LIBS=$ac_check_soname_save_LIBS
15128 if ${ac_cv_lib_soname_Xfixes:+false} :
15129 then :
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15131 printf "%s\n" "not found" >&6; }
15133 else $as_nop
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15135 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15137 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15144 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15145 then :
15146 case "x$with_xfixes" in
15147 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15148 xno) ;;
15149 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15150 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15151 esac
15155 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15156 then
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #include <X11/Xlib.h>
15160 #include <X11/extensions/Xinerama.h>
15162 main (void)
15164 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_compile "$LINENO"
15170 then :
15171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15172 printf %s "checking for -lXinerama... " >&6; }
15173 if test ${ac_cv_lib_soname_Xinerama+y}
15174 then :
15175 printf %s "(cached) " >&6
15176 else $as_nop
15177 ac_check_soname_save_LIBS=$LIBS
15178 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 char XineramaQueryScreens ();
15187 main (void)
15189 return XineramaQueryScreens ();
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"
15195 then :
15196 case "$LIBEXT" in
15197 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15198 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'` ;;
15199 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15200 if ${ac_cv_lib_soname_Xinerama:+false} :
15201 then :
15202 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15203 fi ;;
15204 esac
15205 else $as_nop
15206 ac_cv_lib_soname_Xinerama=
15208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_soname_save_LIBS
15212 if ${ac_cv_lib_soname_Xinerama:+false} :
15213 then :
15214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15215 printf "%s\n" "not found" >&6; }
15217 else $as_nop
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15219 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15221 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15228 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15229 then :
15230 case "x$with_xinerama" in
15231 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15232 xno) ;;
15233 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15234 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15235 esac
15239 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15240 then
15241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15242 printf %s "checking for -lXcomposite... " >&6; }
15243 if test ${ac_cv_lib_soname_Xcomposite+y}
15244 then :
15245 printf %s "(cached) " >&6
15246 else $as_nop
15247 ac_check_soname_save_LIBS=$LIBS
15248 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15252 /* Override any GCC internal prototype to avoid an error.
15253 Use char because int might match the return type of a GCC
15254 builtin and then its argument prototype would still apply. */
15255 char XCompositeRedirectWindow ();
15257 main (void)
15259 return XCompositeRedirectWindow ();
15261 return 0;
15263 _ACEOF
15264 if ac_fn_c_try_link "$LINENO"
15265 then :
15266 case "$LIBEXT" in
15267 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15268 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'` ;;
15269 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15270 if ${ac_cv_lib_soname_Xcomposite:+false} :
15271 then :
15272 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15273 fi ;;
15274 esac
15275 else $as_nop
15276 ac_cv_lib_soname_Xcomposite=
15278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15279 conftest$ac_exeext conftest.$ac_ext
15280 LIBS=$ac_check_soname_save_LIBS
15282 if ${ac_cv_lib_soname_Xcomposite:+false} :
15283 then :
15284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15285 printf "%s\n" "not found" >&6; }
15287 else $as_nop
15288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15289 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15291 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15296 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15297 then :
15298 case "x$with_xcomposite" in
15299 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15300 xno) ;;
15301 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15302 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15303 esac
15307 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15308 #include <X11/Xlib.h>
15309 #endif
15311 if test "x$ac_cv_member_XICCallback_callback" = xyes
15312 then :
15314 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15318 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15319 #include <X11/Xlib.h>
15320 #endif
15322 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15323 then :
15325 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15332 opengl_msg=""
15333 if test "x$with_opengl" != "xno"
15334 then
15335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15336 printf %s "checking for -lGL... " >&6; }
15337 if test ${ac_cv_lib_soname_GL+y}
15338 then :
15339 printf %s "(cached) " >&6
15340 else $as_nop
15341 ac_check_soname_save_LIBS=$LIBS
15342 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15346 /* Override any GCC internal prototype to avoid an error.
15347 Use char because int might match the return type of a GCC
15348 builtin and then its argument prototype would still apply. */
15349 char glXCreateContext ();
15351 main (void)
15353 return glXCreateContext ();
15355 return 0;
15357 _ACEOF
15358 if ac_fn_c_try_link "$LINENO"
15359 then :
15360 case "$LIBEXT" in
15361 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15362 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'` ;;
15363 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15364 if ${ac_cv_lib_soname_GL:+false} :
15365 then :
15366 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15367 fi ;;
15368 esac
15369 else $as_nop
15370 ac_cv_lib_soname_GL=
15372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15373 conftest$ac_exeext conftest.$ac_ext
15374 LIBS=$ac_check_soname_save_LIBS
15376 if ${ac_cv_lib_soname_GL:+false} :
15377 then :
15378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15379 printf "%s\n" "not found" >&6; }
15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15381 printf %s "checking for -lGL... " >&6; }
15382 if test ${ac_cv_lib_soname_GL+y}
15383 then :
15384 printf %s "(cached) " >&6
15385 else $as_nop
15386 ac_check_soname_save_LIBS=$LIBS
15387 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"
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15391 /* Override any GCC internal prototype to avoid an error.
15392 Use char because int might match the return type of a GCC
15393 builtin and then its argument prototype would still apply. */
15394 char glXCreateContext ();
15396 main (void)
15398 return glXCreateContext ();
15400 return 0;
15402 _ACEOF
15403 if ac_fn_c_try_link "$LINENO"
15404 then :
15405 case "$LIBEXT" in
15406 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15407 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'` ;;
15408 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15409 if ${ac_cv_lib_soname_GL:+false} :
15410 then :
15411 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15412 fi ;;
15413 esac
15414 else $as_nop
15415 ac_cv_lib_soname_GL=
15417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15418 conftest$ac_exeext conftest.$ac_ext
15419 LIBS=$ac_check_soname_save_LIBS
15421 if ${ac_cv_lib_soname_GL:+false} :
15422 then :
15423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15424 printf "%s\n" "not found" >&6; }
15425 if test -f /usr/X11R6/lib/libGL.a
15426 then
15427 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15428 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15429 else
15430 opengl_msg="No OpenGL library found on this system."
15432 else $as_nop
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15434 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15436 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15438 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"
15440 else $as_nop
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15442 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15444 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15446 OPENGL_LIBS="-lGL"
15448 if test "x$with_osmesa" != "xno"
15449 then
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15451 printf %s "checking for -lOSMesa... " >&6; }
15452 if test ${ac_cv_lib_soname_OSMesa+y}
15453 then :
15454 printf %s "(cached) " >&6
15455 else $as_nop
15456 ac_check_soname_save_LIBS=$LIBS
15457 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15461 /* Override any GCC internal prototype to avoid an error.
15462 Use char because int might match the return type of a GCC
15463 builtin and then its argument prototype would still apply. */
15464 char OSMesaGetProcAddress ();
15466 main (void)
15468 return OSMesaGetProcAddress ();
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_link "$LINENO"
15474 then :
15475 case "$LIBEXT" in
15476 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15477 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'` ;;
15478 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15479 if ${ac_cv_lib_soname_OSMesa:+false} :
15480 then :
15481 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15482 fi ;;
15483 esac
15484 else $as_nop
15485 ac_cv_lib_soname_OSMesa=
15487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15488 conftest$ac_exeext conftest.$ac_ext
15489 LIBS=$ac_check_soname_save_LIBS
15491 if ${ac_cv_lib_soname_OSMesa:+false} :
15492 then :
15493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15494 printf "%s\n" "not found" >&6; }
15496 else $as_nop
15497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15498 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15500 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15504 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15505 then :
15506 case "x$with_osmesa" in
15507 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15508 xno) ;;
15509 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15510 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15511 esac
15516 if test -n "$opengl_msg"
15517 then :
15518 case "x$with_opengl" in
15519 x) as_fn_append wine_warnings "|$opengl_msg
15520 OpenGL and Direct3D won't be supported." ;;
15521 xno) ;;
15522 *) as_fn_error $? "$opengl_msg
15523 OpenGL and Direct3D won't be supported.
15524 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15525 esac
15529 CPPFLAGS="$ac_save_CPPFLAGS"
15530 else
15531 X_CFLAGS=""
15532 X_LIBS=""
15535 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15536 then
15537 if test "x$X_LIBS" = "x"
15538 then :
15539 case "x$with_x" in
15540 xno) ;;
15541 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15542 without X support, which probably isn't what you want. You will need
15543 to install ${notice_platform}development packages of Xlib at the very least.
15544 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15545 esac
15546 enable_winex11_drv=${enable_winex11_drv:-no}
15548 else
15549 if test "x$X_LIBS" = "x"
15550 then :
15551 case "x$with_x" in
15552 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15553 xno) ;;
15554 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15555 This is an error since --with-x was requested." "$LINENO" 5 ;;
15556 esac
15557 enable_winex11_drv=${enable_winex11_drv:-no}
15561 if test "x$with_wayland" != "xno"
15562 then
15563 rm -f conftest.err
15564 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15565 then :
15566 if test ${PKG_CONFIG+y}
15567 then :
15568 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15572 if ${WAYLAND_CLIENT_LIBS:+false} :
15573 then :
15574 if test ${PKG_CONFIG+y}
15575 then :
15576 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15583 if test -s conftest.err; then
15584 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15585 cat conftest.err >&5
15587 rm -f conftest.err
15588 ac_save_CPPFLAGS=$CPPFLAGS
15589 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15590 for ac_header in wayland-client.h
15591 do :
15592 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15593 if test "x$ac_cv_header_wayland_client_h" = xyes
15594 then :
15595 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15597 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15598 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15599 then :
15600 printf %s "(cached) " >&6
15601 else $as_nop
15602 ac_check_lib_save_LIBS=$LIBS
15603 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15605 /* end confdefs.h. */
15607 /* Override any GCC internal prototype to avoid an error.
15608 Use char because int might match the return type of a GCC
15609 builtin and then its argument prototype would still apply. */
15610 char wl_display_connect ();
15612 main (void)
15614 return wl_display_connect ();
15616 return 0;
15618 _ACEOF
15619 if ac_fn_c_try_link "$LINENO"
15620 then :
15621 ac_cv_lib_wayland_client_wl_display_connect=yes
15622 else $as_nop
15623 ac_cv_lib_wayland_client_wl_display_connect=no
15625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15626 conftest$ac_exeext conftest.$ac_ext
15627 LIBS=$ac_check_lib_save_LIBS
15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15630 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15631 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15632 then :
15633 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15634 set dummy wayland-scanner; ac_word=$2
15635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15636 printf %s "checking for $ac_word... " >&6; }
15637 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15638 then :
15639 printf %s "(cached) " >&6
15640 else $as_nop
15641 case $WAYLAND_SCANNER in
15642 [\\/]* | ?:[\\/]*)
15643 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15647 for as_dir in $PATH
15649 IFS=$as_save_IFS
15650 case $as_dir in #(((
15651 '') as_dir=./ ;;
15652 */) ;;
15653 *) as_dir=$as_dir/ ;;
15654 esac
15655 for ac_exec_ext in '' $ac_executable_extensions; do
15656 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15657 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15659 break 2
15661 done
15662 done
15663 IFS=$as_save_IFS
15665 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`"
15667 esac
15669 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15670 if test -n "$WAYLAND_SCANNER"; then
15671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15672 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15673 else
15674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15675 printf "%s\n" "no" >&6; }
15679 else $as_nop
15680 WAYLAND_CLIENT_LIBS=""
15685 done
15686 CPPFLAGS=$ac_save_CPPFLAGS
15689 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15690 then :
15691 case "x$with_wayland" in
15692 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15693 xno) ;;
15694 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15695 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15696 esac
15697 enable_winewayland_drv=${enable_winewayland_drv:-no}
15700 if test "$ac_cv_header_CL_cl_h" = "yes"
15701 then
15702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15703 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15704 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15705 then :
15706 printf %s "(cached) " >&6
15707 else $as_nop
15708 ac_check_lib_save_LIBS=$LIBS
15709 LIBS="-lOpenCL $LIBS"
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15716 char clGetPlatformInfo ();
15718 main (void)
15720 return clGetPlatformInfo ();
15722 return 0;
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"
15726 then :
15727 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15728 else $as_nop
15729 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15732 conftest$ac_exeext conftest.$ac_ext
15733 LIBS=$ac_check_lib_save_LIBS
15735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15736 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15737 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15738 then :
15739 OPENCL_LIBS="-lOpenCL"
15744 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15745 then :
15746 case "x$with_opencl" in
15747 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15748 xno) ;;
15749 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15750 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15751 esac
15752 enable_opencl=${enable_opencl:-no}
15755 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15756 then
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15758 printf %s "checking for pcap_init in -lpcap... " >&6; }
15759 if test ${ac_cv_lib_pcap_pcap_init+y}
15760 then :
15761 printf %s "(cached) " >&6
15762 else $as_nop
15763 ac_check_lib_save_LIBS=$LIBS
15764 LIBS="-lpcap $LIBS"
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15771 char pcap_init ();
15773 main (void)
15775 return pcap_init ();
15777 return 0;
15779 _ACEOF
15780 if ac_fn_c_try_link "$LINENO"
15781 then :
15782 ac_cv_lib_pcap_pcap_init=yes
15783 else $as_nop
15784 ac_cv_lib_pcap_pcap_init=no
15786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15787 conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_lib_save_LIBS
15790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15791 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15792 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15793 then :
15794 PCAP_LIBS="-lpcap"
15799 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15800 then :
15801 case "x$with_pcap" in
15802 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15803 xno) ;;
15804 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15805 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15806 esac
15807 enable_wpcap=${enable_wpcap:-no}
15810 if test "x$with_pcsclite" != "xno"
15811 then
15812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15813 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15814 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15815 then :
15816 printf %s "(cached) " >&6
15817 else $as_nop
15818 ac_check_lib_save_LIBS=$LIBS
15819 LIBS="-lpcsclite $LIBS"
15820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15821 /* end confdefs.h. */
15823 /* Override any GCC internal prototype to avoid an error.
15824 Use char because int might match the return type of a GCC
15825 builtin and then its argument prototype would still apply. */
15826 char SCardEstablishContext ();
15828 main (void)
15830 return SCardEstablishContext ();
15832 return 0;
15834 _ACEOF
15835 if ac_fn_c_try_link "$LINENO"
15836 then :
15837 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15838 else $as_nop
15839 ac_cv_lib_pcsclite_SCardEstablishContext=no
15841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15842 conftest$ac_exeext conftest.$ac_ext
15843 LIBS=$ac_check_lib_save_LIBS
15845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15846 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15847 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15848 then :
15849 PCSCLITE_LIBS="-lpcsclite"
15853 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes && test "$ac_cv_header_PCSC_pcsclite_h" = "yes"
15854 then
15855 PCSCLITE_LIBS="-framework PCSC"
15857 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15860 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15861 then :
15862 case "x$with_pcsclite" in
15863 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15864 xno) ;;
15865 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15866 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15867 esac
15868 enable_winscard=${enable_winscard:-no}
15871 if test "x$with_inotify" != "xno"
15872 then
15873 rm -f conftest.err
15874 if ${INOTIFY_CFLAGS:+false} :
15875 then :
15876 if test ${PKG_CONFIG+y}
15877 then :
15878 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15882 if ${INOTIFY_LIBS:+false} :
15883 then :
15884 if test ${PKG_CONFIG+y}
15885 then :
15886 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15893 if test -s conftest.err; then
15894 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15895 cat conftest.err >&5
15897 rm -f conftest.err
15898 ac_save_CPPFLAGS=$CPPFLAGS
15899 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15900 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15901 if test "x$ac_cv_header_sys_inotify_h" = xyes
15902 then :
15903 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15908 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15909 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15910 then :
15911 printf %s "(cached) " >&6
15912 else $as_nop
15913 ac_check_lib_save_LIBS=$LIBS
15914 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15916 /* end confdefs.h. */
15918 /* Override any GCC internal prototype to avoid an error.
15919 Use char because int might match the return type of a GCC
15920 builtin and then its argument prototype would still apply. */
15921 char inotify_add_watch ();
15923 main (void)
15925 return inotify_add_watch ();
15927 return 0;
15929 _ACEOF
15930 if ac_fn_c_try_link "$LINENO"
15931 then :
15932 ac_cv_lib_inotify_inotify_add_watch=yes
15933 else $as_nop
15934 ac_cv_lib_inotify_inotify_add_watch=no
15936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_lib_save_LIBS
15940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15941 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15942 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15943 then :
15945 else $as_nop
15946 INOTIFY_LIBS=""
15949 CPPFLAGS=$ac_save_CPPFLAGS
15952 if test "$ac_cv_header_sys_inotify_h" != "yes"
15953 then :
15954 case "x$with_inotify" in
15955 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15956 xno) ;;
15957 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15958 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15959 esac
15963 if test "x$with_dbus" != "xno"
15964 then
15965 rm -f conftest.err
15966 if ${DBUS_CFLAGS:+false} :
15967 then :
15968 if test ${PKG_CONFIG+y}
15969 then :
15970 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15974 if ${DBUS_LIBS:+false} :
15975 then :
15976 if test ${PKG_CONFIG+y}
15977 then :
15978 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15985 if test -s conftest.err; then
15986 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15987 cat conftest.err >&5
15989 rm -f conftest.err
15990 ac_save_CPPFLAGS=$CPPFLAGS
15991 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15992 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15993 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15994 then :
15995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15996 printf %s "checking for -ldbus-1... " >&6; }
15997 if test ${ac_cv_lib_soname_dbus_1+y}
15998 then :
15999 printf %s "(cached) " >&6
16000 else $as_nop
16001 ac_check_soname_save_LIBS=$LIBS
16002 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16004 /* end confdefs.h. */
16006 /* Override any GCC internal prototype to avoid an error.
16007 Use char because int might match the return type of a GCC
16008 builtin and then its argument prototype would still apply. */
16009 char dbus_connection_close ();
16011 main (void)
16013 return dbus_connection_close ();
16015 return 0;
16017 _ACEOF
16018 if ac_fn_c_try_link "$LINENO"
16019 then :
16020 case "$LIBEXT" in
16021 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16022 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'` ;;
16023 *) 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'`
16024 if ${ac_cv_lib_soname_dbus_1:+false} :
16025 then :
16026 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16027 fi ;;
16028 esac
16029 else $as_nop
16030 ac_cv_lib_soname_dbus_1=
16032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16033 conftest$ac_exeext conftest.$ac_ext
16034 LIBS=$ac_check_soname_save_LIBS
16036 if ${ac_cv_lib_soname_dbus_1:+false} :
16037 then :
16038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16039 printf "%s\n" "not found" >&6; }
16040 DBUS_CFLAGS=""
16041 else $as_nop
16042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16043 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16045 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16049 else $as_nop
16050 DBUS_CFLAGS=""
16053 CPPFLAGS=$ac_save_CPPFLAGS
16056 case $host_os in
16057 darwin*|macosx*) ;;
16058 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16059 then :
16060 case "x$with_dbus" in
16061 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16062 xno) ;;
16063 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16064 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16065 esac
16067 fi ;;
16068 esac
16070 if test "x$with_gnutls" != "xno"
16071 then
16072 rm -f conftest.err
16073 if ${GNUTLS_CFLAGS:+false} :
16074 then :
16075 if test ${PKG_CONFIG+y}
16076 then :
16077 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16081 if ${GNUTLS_LIBS:+false} :
16082 then :
16083 if test ${PKG_CONFIG+y}
16084 then :
16085 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16089 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16092 if test -s conftest.err; then
16093 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16094 cat conftest.err >&5
16096 rm -f conftest.err
16097 ac_save_CPPFLAGS=$CPPFLAGS
16098 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16099 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16100 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16101 then :
16102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h. */
16104 #include <gnutls/gnutls.h>
16105 #include <gnutls/crypto.h>
16107 main (void)
16109 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16111 return 0;
16113 _ACEOF
16114 if ac_fn_c_try_compile "$LINENO"
16115 then :
16116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16117 printf %s "checking for -lgnutls... " >&6; }
16118 if test ${ac_cv_lib_soname_gnutls+y}
16119 then :
16120 printf %s "(cached) " >&6
16121 else $as_nop
16122 ac_check_soname_save_LIBS=$LIBS
16123 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16127 /* Override any GCC internal prototype to avoid an error.
16128 Use char because int might match the return type of a GCC
16129 builtin and then its argument prototype would still apply. */
16130 char gnutls_global_init ();
16132 main (void)
16134 return gnutls_global_init ();
16136 return 0;
16138 _ACEOF
16139 if ac_fn_c_try_link "$LINENO"
16140 then :
16141 case "$LIBEXT" in
16142 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16143 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'` ;;
16144 *) 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'`
16145 if ${ac_cv_lib_soname_gnutls:+false} :
16146 then :
16147 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'`
16148 fi ;;
16149 esac
16150 else $as_nop
16151 ac_cv_lib_soname_gnutls=
16153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16154 conftest$ac_exeext conftest.$ac_ext
16155 LIBS=$ac_check_soname_save_LIBS
16157 if ${ac_cv_lib_soname_gnutls:+false} :
16158 then :
16159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16160 printf "%s\n" "not found" >&6; }
16161 GNUTLS_CFLAGS=""
16162 else $as_nop
16163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16164 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16166 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16170 ac_wine_check_funcs_save_LIBS="$LIBS"
16171 LIBS="$LIBS $GNUTLS_LIBS"
16173 for ac_func in gnutls_cipher_init
16174 do :
16175 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16176 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16177 then :
16178 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16180 else $as_nop
16181 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16184 done
16185 LIBS="$ac_wine_check_funcs_save_LIBS"
16187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16188 else $as_nop
16189 GNUTLS_CFLAGS=""
16192 CPPFLAGS=$ac_save_CPPFLAGS
16195 if test "x$ac_cv_lib_soname_gnutls" = "x"
16196 then :
16197 case "x$with_gnutls" in
16198 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16199 xno) ;;
16200 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16201 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16202 esac
16206 if test "x$with_sane" != "xno"
16207 then
16208 rm -f conftest.err
16209 if ${SANE_CFLAGS:+false} :
16210 then :
16211 if test ${PKG_CONFIG+y}
16212 then :
16213 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16216 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16217 if ${SANE_LIBS:+false} :
16218 then :
16219 if test ${PKG_CONFIG+y}
16220 then :
16221 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16224 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16228 if test -s conftest.err; then
16229 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16230 cat conftest.err >&5
16232 rm -f conftest.err
16233 ac_save_CPPFLAGS=$CPPFLAGS
16234 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16235 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16236 if test "x$ac_cv_header_sane_sane_h" = xyes
16237 then :
16238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16239 printf %s "checking for sane_init in -lsane... " >&6; }
16240 if test ${ac_cv_lib_sane_sane_init+y}
16241 then :
16242 printf %s "(cached) " >&6
16243 else $as_nop
16244 ac_check_lib_save_LIBS=$LIBS
16245 LIBS="-lsane $SANE_LIBS $LIBS"
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16249 /* Override any GCC internal prototype to avoid an error.
16250 Use char because int might match the return type of a GCC
16251 builtin and then its argument prototype would still apply. */
16252 char sane_init ();
16254 main (void)
16256 return sane_init ();
16258 return 0;
16260 _ACEOF
16261 if ac_fn_c_try_link "$LINENO"
16262 then :
16263 ac_cv_lib_sane_sane_init=yes
16264 else $as_nop
16265 ac_cv_lib_sane_sane_init=no
16267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16268 conftest$ac_exeext conftest.$ac_ext
16269 LIBS=$ac_check_lib_save_LIBS
16271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16272 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16273 if test "x$ac_cv_lib_sane_sane_init" = xyes
16274 then :
16280 CPPFLAGS=$ac_save_CPPFLAGS
16283 if test "$ac_cv_lib_sane_sane_init" != "yes"
16284 then :
16285 case "x$with_sane" in
16286 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16287 xno) ;;
16288 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16289 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16290 esac
16291 enable_sane_ds=${enable_sane_ds:-no}
16294 if test "x$with_usb" != "xno"
16295 then
16296 rm -f conftest.err
16297 if ${USB_CFLAGS:+false} :
16298 then :
16299 if test ${PKG_CONFIG+y}
16300 then :
16301 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16305 if ${USB_LIBS:+false} :
16306 then :
16307 if test ${PKG_CONFIG+y}
16308 then :
16309 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16313 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16316 if test -s conftest.err; then
16317 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16318 cat conftest.err >&5
16320 rm -f conftest.err
16321 ac_save_CPPFLAGS=$CPPFLAGS
16322 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16323 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16324 if test "x$ac_cv_header_libusb_h" = xyes
16325 then :
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16327 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16328 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16329 then :
16330 printf %s "(cached) " >&6
16331 else $as_nop
16332 ac_check_lib_save_LIBS=$LIBS
16333 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16340 char libusb_interrupt_event_handler ();
16342 main (void)
16344 return libusb_interrupt_event_handler ();
16346 return 0;
16348 _ACEOF
16349 if ac_fn_c_try_link "$LINENO"
16350 then :
16351 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16352 else $as_nop
16353 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16356 conftest$ac_exeext conftest.$ac_ext
16357 LIBS=$ac_check_lib_save_LIBS
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16360 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16361 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16362 then :
16364 else $as_nop
16365 USB_LIBS=""
16368 else $as_nop
16369 USB_LIBS=""
16372 CPPFLAGS=$ac_save_CPPFLAGS
16375 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16376 then :
16377 case "x$with_usb" in
16378 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16379 xno) ;;
16380 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16381 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16382 esac
16383 enable_wineusb_sys=${enable_wineusb_sys:-no}
16386 if test "x$with_v4l2" != "xno"
16387 then
16388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16389 printf %s "checking for -lv4l2... " >&6; }
16390 if test ${ac_cv_lib_soname_v4l2+y}
16391 then :
16392 printf %s "(cached) " >&6
16393 else $as_nop
16394 ac_check_soname_save_LIBS=$LIBS
16395 LIBS="-lv4l2 $LIBS"
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16399 /* Override any GCC internal prototype to avoid an error.
16400 Use char because int might match the return type of a GCC
16401 builtin and then its argument prototype would still apply. */
16402 char v4l2_open ();
16404 main (void)
16406 return v4l2_open ();
16408 return 0;
16410 _ACEOF
16411 if ac_fn_c_try_link "$LINENO"
16412 then :
16413 case "$LIBEXT" in
16414 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16415 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'` ;;
16416 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16417 if ${ac_cv_lib_soname_v4l2:+false} :
16418 then :
16419 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16420 fi ;;
16421 esac
16422 else $as_nop
16423 ac_cv_lib_soname_v4l2=
16425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16426 conftest$ac_exeext conftest.$ac_ext
16427 LIBS=$ac_check_soname_save_LIBS
16429 if ${ac_cv_lib_soname_v4l2:+false} :
16430 then :
16431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16432 printf "%s\n" "not found" >&6; }
16434 else $as_nop
16435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16436 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16438 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16443 if test "x$ac_cv_lib_soname_v4l2" = "x"
16444 then :
16445 case "x$with_v4l2" in
16446 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16447 xno) ;;
16448 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16449 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16450 esac
16454 if test "x$with_gphoto" != "xno"
16455 then
16456 rm -f conftest.err
16457 if ${GPHOTO2_CFLAGS:+false} :
16458 then :
16459 if test ${PKG_CONFIG+y}
16460 then :
16461 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16464 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16465 if ${GPHOTO2_LIBS:+false} :
16466 then :
16467 if test ${PKG_CONFIG+y}
16468 then :
16469 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16472 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16473 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16476 if test -s conftest.err; then
16477 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16478 cat conftest.err >&5
16480 rm -f conftest.err
16481 ac_save_CPPFLAGS=$CPPFLAGS
16482 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16483 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16484 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16485 then :
16486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16487 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16488 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16489 then :
16490 printf %s "(cached) " >&6
16491 else $as_nop
16492 ac_check_lib_save_LIBS=$LIBS
16493 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16497 /* Override any GCC internal prototype to avoid an error.
16498 Use char because int might match the return type of a GCC
16499 builtin and then its argument prototype would still apply. */
16500 char gp_camera_new ();
16502 main (void)
16504 return gp_camera_new ();
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"
16510 then :
16511 ac_cv_lib_gphoto2_gp_camera_new=yes
16512 else $as_nop
16513 ac_cv_lib_gphoto2_gp_camera_new=no
16515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16516 conftest$ac_exeext conftest.$ac_ext
16517 LIBS=$ac_check_lib_save_LIBS
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16520 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16521 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16522 then :
16528 CPPFLAGS=$ac_save_CPPFLAGS
16530 rm -f conftest.err
16531 if ${GPHOTO2_PORT_CFLAGS:+false} :
16532 then :
16533 if test ${PKG_CONFIG+y}
16534 then :
16535 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16538 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16539 if ${GPHOTO2_PORT_LIBS:+false} :
16540 then :
16541 if test ${PKG_CONFIG+y}
16542 then :
16543 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16546 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16547 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16550 if test -s conftest.err; then
16551 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16552 cat conftest.err >&5
16554 rm -f conftest.err
16555 ac_save_CPPFLAGS=$CPPFLAGS
16556 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16557 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16558 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16559 then :
16560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16561 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16562 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16563 then :
16564 printf %s "(cached) " >&6
16565 else $as_nop
16566 ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16571 /* Override any GCC internal prototype to avoid an error.
16572 Use char because int might match the return type of a GCC
16573 builtin and then its argument prototype would still apply. */
16574 char gp_port_info_list_new ();
16576 main (void)
16578 return gp_port_info_list_new ();
16580 return 0;
16582 _ACEOF
16583 if ac_fn_c_try_link "$LINENO"
16584 then :
16585 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16586 else $as_nop
16587 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16590 conftest$ac_exeext conftest.$ac_ext
16591 LIBS=$ac_check_lib_save_LIBS
16593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16594 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16595 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16596 then :
16598 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16600 else $as_nop
16601 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16604 else $as_nop
16605 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16608 CPPFLAGS=$ac_save_CPPFLAGS
16611 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16612 then :
16613 case "x$with_gphoto" in
16614 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16615 xno) ;;
16616 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16617 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16618 esac
16619 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16621 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16622 then :
16623 case "x$with_gphoto" in
16624 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16625 xno) ;;
16626 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16627 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16628 esac
16633 if test "$ac_cv_header_resolv_h" = "yes"
16634 then
16635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16636 printf %s "checking for resolver library... " >&6; }
16637 if test ${ac_cv_have_resolv+y}
16638 then :
16639 printf %s "(cached) " >&6
16640 else $as_nop
16641 ac_save_LIBS="$LIBS"
16642 for lib in '' -lresolv
16644 LIBS="$lib $ac_save_LIBS"
16645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16647 #ifdef HAVE_NETINET_IN_H
16648 #include <netinet/in.h>
16649 #endif
16650 #include <resolv.h>
16652 main (void)
16654 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16656 return 0;
16658 _ACEOF
16659 if ac_fn_c_try_link "$LINENO"
16660 then :
16661 ac_cv_have_resolv=${lib:-"none required"}
16662 else $as_nop
16663 ac_cv_have_resolv="not found"
16665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16666 conftest$ac_exeext conftest.$ac_ext
16667 test "x$ac_cv_have_resolv" = "xnot found" || break
16668 done
16669 LIBS="$ac_save_LIBS"
16671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16672 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16674 case "$ac_cv_have_resolv" in
16675 "not found") ;;
16676 "none required")
16678 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16681 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16683 RESOLV_LIBS=$ac_cv_have_resolv
16685 esac
16687 if test "x$ac_cv_have_resolv" != "xnot found"
16688 then
16689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16690 printf %s "checking for res_getservers... " >&6; }
16691 if test ${ac_cv_have_res_getservers+y}
16692 then :
16693 printf %s "(cached) " >&6
16694 else $as_nop
16695 ac_save_LIBS="$LIBS"
16696 LIBS="$RESOLV_LIBS $LIBS"
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #include <resolv.h>
16701 main (void)
16703 res_getservers(NULL, NULL, 0);
16705 return 0;
16707 _ACEOF
16708 if ac_fn_c_try_link "$LINENO"
16709 then :
16710 ac_cv_have_res_getservers=yes
16711 else $as_nop
16712 ac_cv_have_res_getservers=no
16714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16715 conftest$ac_exeext conftest.$ac_ext
16716 LIBS="$ac_save_LIBS"
16718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16719 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16720 if test "$ac_cv_have_res_getservers" = "yes"
16721 then
16723 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16729 if test "x$with_freetype" != "xno"
16730 then
16731 rm -f conftest.err
16732 if ${FREETYPE_CFLAGS:+false} :
16733 then :
16734 if test ${PKG_CONFIG+y}
16735 then :
16736 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16739 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16740 if ${FREETYPE_LIBS:+false} :
16741 then :
16742 if test ${PKG_CONFIG+y}
16743 then :
16744 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16747 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16748 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16751 if test -s conftest.err; then
16752 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16753 cat conftest.err >&5
16755 rm -f conftest.err
16756 ac_save_CPPFLAGS=$CPPFLAGS
16757 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16758 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16759 if test "x$ac_cv_header_ft2build_h" = xyes
16760 then :
16761 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16765 if test "$ac_cv_header_ft2build_h" = "yes"
16766 then
16767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16768 printf %s "checking for -lfreetype... " >&6; }
16769 if test ${ac_cv_lib_soname_freetype+y}
16770 then :
16771 printf %s "(cached) " >&6
16772 else $as_nop
16773 ac_check_soname_save_LIBS=$LIBS
16774 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 /* Override any GCC internal prototype to avoid an error.
16779 Use char because int might match the return type of a GCC
16780 builtin and then its argument prototype would still apply. */
16781 char FT_Init_FreeType ();
16783 main (void)
16785 return FT_Init_FreeType ();
16787 return 0;
16789 _ACEOF
16790 if ac_fn_c_try_link "$LINENO"
16791 then :
16792 case "$LIBEXT" in
16793 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16794 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'` ;;
16795 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16796 if ${ac_cv_lib_soname_freetype:+false} :
16797 then :
16798 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16799 fi ;;
16800 esac
16801 else $as_nop
16802 ac_cv_lib_soname_freetype=
16804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16805 conftest$ac_exeext conftest.$ac_ext
16806 LIBS=$ac_check_soname_save_LIBS
16808 if ${ac_cv_lib_soname_freetype:+false} :
16809 then :
16810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16811 printf "%s\n" "not found" >&6; }
16812 FREETYPE_LIBS=""
16813 else $as_nop
16814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16815 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16817 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16820 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16822 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16823 #include FT_MODULE_H
16825 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16826 then :
16828 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16834 else
16835 FREETYPE_CFLAGS=""
16836 FREETYPE_LIBS=""
16838 CPPFLAGS=$ac_save_CPPFLAGS
16841 if test "x$ac_cv_lib_soname_freetype" = x
16842 then :
16843 case "x$with_freetype" in
16844 xno) ;;
16845 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16846 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16847 esac
16848 enable_fonts=${enable_fonts:-no}
16851 ac_wine_check_funcs_save_LIBS="$LIBS"
16852 LIBS="$LIBS $PTHREAD_LIBS"
16853 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16854 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16855 then :
16856 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16860 LIBS="$ac_wine_check_funcs_save_LIBS"
16862 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16863 then
16864 if test "$ac_cv_header_gettext_po_h" = "yes"
16865 then
16866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16867 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16868 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16869 then :
16870 printf %s "(cached) " >&6
16871 else $as_nop
16872 ac_check_lib_save_LIBS=$LIBS
16873 LIBS="-lgettextpo $LIBS"
16874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16877 /* Override any GCC internal prototype to avoid an error.
16878 Use char because int might match the return type of a GCC
16879 builtin and then its argument prototype would still apply. */
16880 char po_message_msgctxt ();
16882 main (void)
16884 return po_message_msgctxt ();
16886 return 0;
16888 _ACEOF
16889 if ac_fn_c_try_link "$LINENO"
16890 then :
16891 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16892 else $as_nop
16893 ac_cv_lib_gettextpo_po_message_msgctxt=no
16895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16896 conftest$ac_exeext conftest.$ac_ext
16897 LIBS=$ac_check_lib_save_LIBS
16899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16900 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16901 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16902 then :
16904 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16906 GETTEXTPO_LIBS="-lgettextpo"
16911 if test "x$GETTEXTPO_LIBS" = "x"
16912 then :
16913 case "x$with_gettextpo" in
16914 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16915 xno) ;;
16916 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16917 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16918 esac
16921 if test "$srcdir" != .
16922 then :
16923 case "x$with_gettextpo" in
16924 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16925 xno) ;;
16926 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16927 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16928 esac
16933 if test "x$with_pulse" != "xno";
16934 then
16935 rm -f conftest.err
16936 if ${PULSE_CFLAGS:+false} :
16937 then :
16938 if test ${PKG_CONFIG+y}
16939 then :
16940 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16944 if ${PULSE_LIBS:+false} :
16945 then :
16946 if test ${PKG_CONFIG+y}
16947 then :
16948 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16955 if test -s conftest.err; then
16956 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16957 cat conftest.err >&5
16959 rm -f conftest.err
16960 ac_save_CPPFLAGS=$CPPFLAGS
16961 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16962 for ac_header in pulse/pulseaudio.h
16963 do :
16964 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16965 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16966 then :
16967 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16969 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16970 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16971 then :
16972 printf %s "(cached) " >&6
16973 else $as_nop
16974 ac_check_lib_save_LIBS=$LIBS
16975 LIBS="-lpulse $PULSE_LIBS $LIBS"
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16979 /* Override any GCC internal prototype to avoid an error.
16980 Use char because int might match the return type of a GCC
16981 builtin and then its argument prototype would still apply. */
16982 char pa_stream_is_corked ();
16984 main (void)
16986 return pa_stream_is_corked ();
16988 return 0;
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"
16992 then :
16993 ac_cv_lib_pulse_pa_stream_is_corked=yes
16994 else $as_nop
16995 ac_cv_lib_pulse_pa_stream_is_corked=no
16997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16998 conftest$ac_exeext conftest.$ac_ext
16999 LIBS=$ac_check_lib_save_LIBS
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17002 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17003 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17004 then :
17006 else $as_nop
17007 PULSE_LIBS=""
17010 else $as_nop
17011 PULSE_LIBS=""
17014 done
17015 CPPFLAGS=$ac_save_CPPFLAGS
17018 if test -z "$PULSE_LIBS"
17019 then :
17020 case "x$with_pulse" in
17021 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17022 xno) ;;
17023 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17024 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17025 esac
17026 enable_winepulse_drv=${enable_winepulse_drv:-no}
17029 if test "x$with_gstreamer" != "xno"
17030 then
17031 rm -f conftest.err
17032 if ${GSTREAMER_CFLAGS:+false} :
17033 then :
17034 if test ${PKG_CONFIG+y}
17035 then :
17036 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17040 if ${GSTREAMER_LIBS:+false} :
17041 then :
17042 if test ${PKG_CONFIG+y}
17043 then :
17044 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17049 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
17050 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
17051 if test -s conftest.err; then
17052 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17053 cat conftest.err >&5
17055 rm -f conftest.err
17056 ac_save_CPPFLAGS=$CPPFLAGS
17057 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17058 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17059 if test "x$ac_cv_header_gst_gst_h" = xyes
17060 then :
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17062 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 #include <gst/gst.h>
17067 main (void)
17069 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17071 return 0;
17073 _ACEOF
17074 if ac_fn_c_try_compile "$LINENO"
17075 then :
17076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17077 printf "%s\n" "yes" >&6; }
17078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17079 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17080 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17081 then :
17082 printf %s "(cached) " >&6
17083 else $as_nop
17084 ac_check_lib_save_LIBS=$LIBS
17085 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17089 /* Override any GCC internal prototype to avoid an error.
17090 Use char because int might match the return type of a GCC
17091 builtin and then its argument prototype would still apply. */
17092 char gst_pad_new ();
17094 main (void)
17096 return gst_pad_new ();
17098 return 0;
17100 _ACEOF
17101 if ac_fn_c_try_link "$LINENO"
17102 then :
17103 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17104 else $as_nop
17105 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17108 conftest$ac_exeext conftest.$ac_ext
17109 LIBS=$ac_check_lib_save_LIBS
17111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17112 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17113 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17114 then :
17118 else $as_nop
17119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17120 printf "%s\n" "no" >&6; }
17121 ac_glib2_broken=yes
17122 enable_winegstreamer=${enable_winegstreamer:-no}
17123 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17128 CPPFLAGS=$ac_save_CPPFLAGS
17131 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17132 then :
17133 case "x$with_gstreamer" in
17134 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17135 xno) ;;
17136 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17137 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17138 esac
17139 enable_winegstreamer=${enable_winegstreamer:-no}
17142 ALSA_LIBS=""
17144 if test "x$with_alsa" != "xno"
17145 then
17146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17147 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17148 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17149 then :
17150 printf %s "(cached) " >&6
17151 else $as_nop
17152 ac_check_lib_save_LIBS=$LIBS
17153 LIBS="-lasound $LIBS"
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17157 /* Override any GCC internal prototype to avoid an error.
17158 Use char because int might match the return type of a GCC
17159 builtin and then its argument prototype would still apply. */
17160 char snd_pcm_hw_params_get_access_mask ();
17162 main (void)
17164 return snd_pcm_hw_params_get_access_mask ();
17166 return 0;
17168 _ACEOF
17169 if ac_fn_c_try_link "$LINENO"
17170 then :
17171 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17172 else $as_nop
17173 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17176 conftest$ac_exeext conftest.$ac_ext
17177 LIBS=$ac_check_lib_save_LIBS
17179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17180 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17181 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17182 then :
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 #include <alsa/asoundlib.h>
17187 main (void)
17189 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17191 return 0;
17193 _ACEOF
17194 if ac_fn_c_try_compile "$LINENO"
17195 then :
17196 ALSA_LIBS="-lasound"
17198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17202 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17204 if test "x$with_oss" != xno
17205 then
17206 ac_save_CPPFLAGS="$CPPFLAGS"
17207 if test -f /etc/oss.conf
17208 then
17209 . /etc/oss.conf
17211 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17212 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17213 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17214 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17215 then :
17216 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17218 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17219 then :
17221 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17223 OSS4_CFLAGS="$ac_oss_incl"
17225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17226 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17227 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17228 then :
17229 printf %s "(cached) " >&6
17230 else $as_nop
17231 ac_check_lib_save_LIBS=$LIBS
17232 LIBS="-lossaudio $LIBS"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 /* Override any GCC internal prototype to avoid an error.
17237 Use char because int might match the return type of a GCC
17238 builtin and then its argument prototype would still apply. */
17239 char _oss_ioctl ();
17241 main (void)
17243 return _oss_ioctl ();
17245 return 0;
17247 _ACEOF
17248 if ac_fn_c_try_link "$LINENO"
17249 then :
17250 ac_cv_lib_ossaudio__oss_ioctl=yes
17251 else $as_nop
17252 ac_cv_lib_ossaudio__oss_ioctl=no
17254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17255 conftest$ac_exeext conftest.$ac_ext
17256 LIBS=$ac_check_lib_save_LIBS
17258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17259 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17260 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17261 then :
17262 OSS4_LIBS="-lossaudio"
17270 CPPFLAGS="$ac_save_CPPFLAGS"
17272 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17273 then :
17274 case "x$with_oss" in
17275 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17276 xno) ;;
17277 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17278 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17279 esac
17280 enable_wineoss_drv=${enable_wineoss_drv:-no}
17283 if test "x$with_udev" != "xno"
17284 then
17285 rm -f conftest.err
17286 if ${UDEV_CFLAGS:+false} :
17287 then :
17288 if test ${PKG_CONFIG+y}
17289 then :
17290 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17294 if ${UDEV_LIBS:+false} :
17295 then :
17296 if test ${PKG_CONFIG+y}
17297 then :
17298 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17302 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17305 if test -s conftest.err; then
17306 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17307 cat conftest.err >&5
17309 rm -f conftest.err
17310 ac_save_CPPFLAGS=$CPPFLAGS
17311 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17312 for ac_header in libudev.h
17313 do :
17314 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17315 if test "x$ac_cv_header_libudev_h" = xyes
17316 then :
17317 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17319 printf %s "checking for udev_new in -ludev... " >&6; }
17320 if test ${ac_cv_lib_udev_udev_new+y}
17321 then :
17322 printf %s "(cached) " >&6
17323 else $as_nop
17324 ac_check_lib_save_LIBS=$LIBS
17325 LIBS="-ludev $UDEV_LIBS $LIBS"
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17329 /* Override any GCC internal prototype to avoid an error.
17330 Use char because int might match the return type of a GCC
17331 builtin and then its argument prototype would still apply. */
17332 char udev_new ();
17334 main (void)
17336 return udev_new ();
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"
17342 then :
17343 ac_cv_lib_udev_udev_new=yes
17344 else $as_nop
17345 ac_cv_lib_udev_udev_new=no
17347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17348 conftest$ac_exeext conftest.$ac_ext
17349 LIBS=$ac_check_lib_save_LIBS
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17352 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17353 if test "x$ac_cv_lib_udev_udev_new" = xyes
17354 then :
17356 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17358 else $as_nop
17359 UDEV_LIBS=""
17362 else $as_nop
17363 UDEV_LIBS=""
17366 done
17367 CPPFLAGS=$ac_save_CPPFLAGS
17370 if test "x$UDEV_LIBS" = "x"
17371 then :
17372 case "x$with_udev" in
17373 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17374 xno) ;;
17375 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17376 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17377 esac
17381 if test "x$with_unwind" != xno
17382 then
17383 rm -f conftest.err
17384 if ${UNWIND_CFLAGS:+false} :
17385 then :
17386 if test ${PKG_CONFIG+y}
17387 then :
17388 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17392 if ${UNWIND_LIBS:+false} :
17393 then :
17394 if test ${PKG_CONFIG+y}
17395 then :
17396 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17400 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17403 if test -s conftest.err; then
17404 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17405 cat conftest.err >&5
17407 rm -f conftest.err
17408 ac_save_CPPFLAGS=$CPPFLAGS
17409 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17411 printf %s "checking for unw_step... " >&6; }
17412 if test ${wine_cv_have_unw_step+y}
17413 then :
17414 printf %s "(cached) " >&6
17415 else $as_nop
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 #define UNW_LOCAL_ONLY
17419 #include <libunwind.h>
17421 main (void)
17423 unw_cursor_t cursor; unw_step( &cursor );
17425 return 0;
17427 _ACEOF
17428 if ac_fn_c_try_link "$LINENO"
17429 then :
17430 wine_cv_have_unw_step="yes"
17431 else $as_nop
17432 wine_cv_have_unw_step="no"
17434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17435 conftest$ac_exeext conftest.$ac_ext
17437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17438 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17439 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17440 then
17441 save_libs=$LIBS
17442 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17443 LIBS="$UNWIND_LIBS $LIBS"
17444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17445 printf %s "checking for unw_step in libunwind... " >&6; }
17446 if test ${wine_cv_have_libunwind_unw_step+y}
17447 then :
17448 printf %s "(cached) " >&6
17449 else $as_nop
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 #define UNW_LOCAL_ONLY
17453 #include <libunwind.h>
17455 main (void)
17457 unw_cursor_t cursor; unw_step( &cursor );
17459 return 0;
17461 _ACEOF
17462 if ac_fn_c_try_link "$LINENO"
17463 then :
17464 wine_cv_have_libunwind_unw_step="yes"
17465 else $as_nop
17466 wine_cv_have_libunwind_unw_step="no"
17468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17469 conftest$ac_exeext conftest.$ac_ext
17471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17472 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17473 LIBS=$save_libs
17475 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17476 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17477 then
17479 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17482 CPPFLAGS=$ac_save_CPPFLAGS
17485 case $host in
17486 aarch64*|*-darwin*)
17487 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17488 then :
17489 case "x$with_unwind" in
17490 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17491 xno) ;;
17492 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17493 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17494 esac
17496 fi ;;
17497 esac
17499 if test "x$with_sdl" != "xno"
17500 then
17501 rm -f conftest.err
17502 if ${SDL2_CFLAGS:+false} :
17503 then :
17504 if test ${PKG_CONFIG+y}
17505 then :
17506 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17510 if ${SDL2_LIBS:+false} :
17511 then :
17512 if test ${PKG_CONFIG+y}
17513 then :
17514 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17518 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17521 if test -s conftest.err; then
17522 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17523 cat conftest.err >&5
17525 rm -f conftest.err
17526 ac_save_CPPFLAGS=$CPPFLAGS
17527 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17528 for ac_header in SDL.h
17529 do :
17530 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17531 if test "x$ac_cv_header_SDL_h" = xyes
17532 then :
17533 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17535 printf %s "checking for -lSDL2... " >&6; }
17536 if test ${ac_cv_lib_soname_SDL2+y}
17537 then :
17538 printf %s "(cached) " >&6
17539 else $as_nop
17540 ac_check_soname_save_LIBS=$LIBS
17541 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17545 /* Override any GCC internal prototype to avoid an error.
17546 Use char because int might match the return type of a GCC
17547 builtin and then its argument prototype would still apply. */
17548 char SDL_Init ();
17550 main (void)
17552 return SDL_Init ();
17554 return 0;
17556 _ACEOF
17557 if ac_fn_c_try_link "$LINENO"
17558 then :
17559 case "$LIBEXT" in
17560 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17561 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'` ;;
17562 *) 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'`
17563 if ${ac_cv_lib_soname_SDL2:+false} :
17564 then :
17565 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17566 fi ;;
17567 esac
17568 else $as_nop
17569 ac_cv_lib_soname_SDL2=
17571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17572 conftest$ac_exeext conftest.$ac_ext
17573 LIBS=$ac_check_soname_save_LIBS
17575 if ${ac_cv_lib_soname_SDL2:+false} :
17576 then :
17577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17578 printf "%s\n" "not found" >&6; }
17580 else $as_nop
17581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17582 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17584 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17590 done
17591 CPPFLAGS=$ac_save_CPPFLAGS
17594 if test "x$ac_cv_lib_soname_SDL2" = "x"
17595 then :
17596 case "x$with_sdl" in
17597 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17598 xno) ;;
17599 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17600 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17601 esac
17605 if test "x$with_capi" != "xno"
17606 then
17607 rm -f conftest.err
17608 if ${CAPI20_CFLAGS:+false} :
17609 then :
17610 if test ${PKG_CONFIG+y}
17611 then :
17612 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17616 if ${CAPI20_LIBS:+false} :
17617 then :
17618 if test ${PKG_CONFIG+y}
17619 then :
17620 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17627 if test -s conftest.err; then
17628 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17629 cat conftest.err >&5
17631 rm -f conftest.err
17632 ac_save_CPPFLAGS=$CPPFLAGS
17633 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17634 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17636 if test "x$ac_cv_header_capi20_h" = xyes
17637 then :
17638 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17641 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17643 if test "x$ac_cv_header_linux_capi_h" = xyes
17644 then :
17645 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17649 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17650 then
17651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17652 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17653 if test ${ac_cv_lib_capi20_capi20_register+y}
17654 then :
17655 printf %s "(cached) " >&6
17656 else $as_nop
17657 ac_check_lib_save_LIBS=$LIBS
17658 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17662 /* Override any GCC internal prototype to avoid an error.
17663 Use char because int might match the return type of a GCC
17664 builtin and then its argument prototype would still apply. */
17665 char capi20_register ();
17667 main (void)
17669 return capi20_register ();
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_link "$LINENO"
17675 then :
17676 ac_cv_lib_capi20_capi20_register=yes
17677 else $as_nop
17678 ac_cv_lib_capi20_capi20_register=no
17680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17681 conftest$ac_exeext conftest.$ac_ext
17682 LIBS=$ac_check_lib_save_LIBS
17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17685 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17686 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17687 then :
17689 else $as_nop
17690 CAPI20_LIBS=""
17694 CPPFLAGS=$ac_save_CPPFLAGS
17697 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17698 then :
17699 case "x$with_capi" in
17700 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17701 xno) ;;
17702 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17703 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17704 esac
17705 enable_capi2032=${enable_capi2032:-no}
17708 if test "x$with_cups" != "xno"
17709 then
17710 rm -f conftest.err
17711 if ${CUPS_CFLAGS:+false} :
17712 then :
17713 if test ${PKG_CONFIG+y}
17714 then :
17715 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17718 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17719 if ${CUPS_LIBS:+false} :
17720 then :
17721 if test ${PKG_CONFIG+y}
17722 then :
17723 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17726 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17727 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17730 if test -s conftest.err; then
17731 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17732 cat conftest.err >&5
17734 rm -f conftest.err
17735 ac_save_CPPFLAGS=$CPPFLAGS
17736 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17737 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17738 if test "x$ac_cv_header_cups_cups_h" = xyes
17739 then :
17740 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17743 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17744 if test "x$ac_cv_header_cups_ppd_h" = xyes
17745 then :
17746 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17750 if test "$ac_cv_header_cups_cups_h" = "yes"
17751 then
17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17753 printf %s "checking for -lcups... " >&6; }
17754 if test ${ac_cv_lib_soname_cups+y}
17755 then :
17756 printf %s "(cached) " >&6
17757 else $as_nop
17758 ac_check_soname_save_LIBS=$LIBS
17759 LIBS="-lcups $CUPS_LIBS $LIBS"
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 /* Override any GCC internal prototype to avoid an error.
17764 Use char because int might match the return type of a GCC
17765 builtin and then its argument prototype would still apply. */
17766 char cupsGetDefault ();
17768 main (void)
17770 return cupsGetDefault ();
17772 return 0;
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"
17776 then :
17777 case "$LIBEXT" in
17778 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17779 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'` ;;
17780 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17781 if ${ac_cv_lib_soname_cups:+false} :
17782 then :
17783 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17784 fi ;;
17785 esac
17786 else $as_nop
17787 ac_cv_lib_soname_cups=
17789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17790 conftest$ac_exeext conftest.$ac_ext
17791 LIBS=$ac_check_soname_save_LIBS
17793 if ${ac_cv_lib_soname_cups:+false} :
17794 then :
17795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17796 printf "%s\n" "not found" >&6; }
17797 CUPS_LIBS=""
17798 else $as_nop
17799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17800 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17802 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17806 else
17807 CUPS_CFLAGS=""
17808 CUPS_LIBS=""
17810 CPPFLAGS=$ac_save_CPPFLAGS
17813 if test "x$ac_cv_lib_soname_cups" = "x"
17814 then :
17815 case "x$with_cups" in
17816 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17817 xno) ;;
17818 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17819 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17820 esac
17824 if test "x$with_fontconfig" != "xno"
17825 then
17826 rm -f conftest.err
17827 if ${FONTCONFIG_CFLAGS:+false} :
17828 then :
17829 if test ${PKG_CONFIG+y}
17830 then :
17831 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17834 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17835 if ${FONTCONFIG_LIBS:+false} :
17836 then :
17837 if test ${PKG_CONFIG+y}
17838 then :
17839 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17842 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17846 if test -s conftest.err; then
17847 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17848 cat conftest.err >&5
17850 rm -f conftest.err
17851 ac_save_CPPFLAGS=$CPPFLAGS
17852 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17853 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17854 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17855 then :
17856 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17860 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17861 then
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17863 printf %s "checking for -lfontconfig... " >&6; }
17864 if test ${ac_cv_lib_soname_fontconfig+y}
17865 then :
17866 printf %s "(cached) " >&6
17867 else $as_nop
17868 ac_check_soname_save_LIBS=$LIBS
17869 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17873 /* Override any GCC internal prototype to avoid an error.
17874 Use char because int might match the return type of a GCC
17875 builtin and then its argument prototype would still apply. */
17876 char FcInit ();
17878 main (void)
17880 return FcInit ();
17882 return 0;
17884 _ACEOF
17885 if ac_fn_c_try_link "$LINENO"
17886 then :
17887 case "$LIBEXT" in
17888 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17889 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'` ;;
17890 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17891 if ${ac_cv_lib_soname_fontconfig:+false} :
17892 then :
17893 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17894 fi ;;
17895 esac
17896 else $as_nop
17897 ac_cv_lib_soname_fontconfig=
17899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17900 conftest$ac_exeext conftest.$ac_ext
17901 LIBS=$ac_check_soname_save_LIBS
17903 if ${ac_cv_lib_soname_fontconfig:+false} :
17904 then :
17905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17906 printf "%s\n" "not found" >&6; }
17907 FONTCONFIG_CFLAGS=""
17908 else $as_nop
17909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17910 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17912 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17916 else
17917 FONTCONFIG_CFLAGS=""
17919 CPPFLAGS=$ac_save_CPPFLAGS
17922 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17923 then :
17924 case "x$with_fontconfig" in
17925 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17926 xno) ;;
17927 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17928 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17929 esac
17933 if test "x$with_krb5" != "xno"
17934 then
17935 rm -f conftest.err
17936 if ${KRB5_CFLAGS:+false} :
17937 then :
17938 if test ${PKG_CONFIG+y}
17939 then :
17940 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17943 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17944 if ${KRB5_LIBS:+false} :
17945 then :
17946 if test ${PKG_CONFIG+y}
17947 then :
17948 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17951 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17955 if test -s conftest.err; then
17956 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17957 cat conftest.err >&5
17959 rm -f conftest.err
17960 ac_save_CPPFLAGS=$CPPFLAGS
17961 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17962 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17963 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17964 then :
17965 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17969 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17970 then
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17972 printf %s "checking for -lkrb5... " >&6; }
17973 if test ${ac_cv_lib_soname_krb5+y}
17974 then :
17975 printf %s "(cached) " >&6
17976 else $as_nop
17977 ac_check_soname_save_LIBS=$LIBS
17978 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17980 /* end confdefs.h. */
17982 /* Override any GCC internal prototype to avoid an error.
17983 Use char because int might match the return type of a GCC
17984 builtin and then its argument prototype would still apply. */
17985 char krb5_is_config_principal ();
17987 main (void)
17989 return krb5_is_config_principal ();
17991 return 0;
17993 _ACEOF
17994 if ac_fn_c_try_link "$LINENO"
17995 then :
17996 case "$LIBEXT" in
17997 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17998 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'` ;;
17999 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18000 if ${ac_cv_lib_soname_krb5:+false} :
18001 then :
18002 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18003 fi ;;
18004 esac
18005 else $as_nop
18006 ac_cv_lib_soname_krb5=
18008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18009 conftest$ac_exeext conftest.$ac_ext
18010 LIBS=$ac_check_soname_save_LIBS
18012 if ${ac_cv_lib_soname_krb5:+false} :
18013 then :
18014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18015 printf "%s\n" "not found" >&6; }
18016 KRB5_CFLAGS=""
18017 else $as_nop
18018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18019 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18021 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18025 else
18026 KRB5_CFLAGS=""
18028 CPPFLAGS=$ac_save_CPPFLAGS
18031 if test "x$ac_cv_lib_soname_krb5" = "x"
18032 then :
18033 case "x$with_krb5" in
18034 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18035 xno) ;;
18036 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18037 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18038 esac
18041 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18043 if test "x$with_gssapi" != "xno"
18044 then
18045 rm -f conftest.err
18046 if ${GSSAPI_CFLAGS:+false} :
18047 then :
18048 if test ${PKG_CONFIG+y}
18049 then :
18050 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18053 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18054 if ${GSSAPI_LIBS:+false} :
18055 then :
18056 if test ${PKG_CONFIG+y}
18057 then :
18058 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18061 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18065 if test -s conftest.err; then
18066 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18067 cat conftest.err >&5
18069 rm -f conftest.err
18070 ac_save_CPPFLAGS=$CPPFLAGS
18071 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18072 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18073 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18074 then :
18075 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18078 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18079 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18080 then :
18081 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18085 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18086 then
18087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18088 printf %s "checking for -lgssapi_krb5... " >&6; }
18089 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18090 then :
18091 printf %s "(cached) " >&6
18092 else $as_nop
18093 ac_check_soname_save_LIBS=$LIBS
18094 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18098 /* Override any GCC internal prototype to avoid an error.
18099 Use char because int might match the return type of a GCC
18100 builtin and then its argument prototype would still apply. */
18101 char gss_init_sec_context ();
18103 main (void)
18105 return gss_init_sec_context ();
18107 return 0;
18109 _ACEOF
18110 if ac_fn_c_try_link "$LINENO"
18111 then :
18112 case "$LIBEXT" in
18113 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18114 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'` ;;
18115 *) 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'`
18116 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18117 then :
18118 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18119 fi ;;
18120 esac
18121 else $as_nop
18122 ac_cv_lib_soname_gssapi_krb5=
18124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18125 conftest$ac_exeext conftest.$ac_ext
18126 LIBS=$ac_check_soname_save_LIBS
18128 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18129 then :
18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18131 printf "%s\n" "not found" >&6; }
18132 GSSAPI_CFLAGS=""
18133 else $as_nop
18134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18135 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18137 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18141 else
18142 GSSAPI_CFLAGS=""
18144 CPPFLAGS=$ac_save_CPPFLAGS
18147 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18148 then :
18149 case "x$with_gssapi" in
18150 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18151 xno) ;;
18152 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18153 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18154 esac
18158 if test "$ac_cv_header_libprocstat_h" = "yes"
18159 then
18160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18161 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18162 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18163 then :
18164 printf %s "(cached) " >&6
18165 else $as_nop
18166 ac_check_lib_save_LIBS=$LIBS
18167 LIBS="-lprocstat $LIBS"
18168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18171 /* Override any GCC internal prototype to avoid an error.
18172 Use char because int might match the return type of a GCC
18173 builtin and then its argument prototype would still apply. */
18174 char procstat_open_sysctl ();
18176 main (void)
18178 return procstat_open_sysctl ();
18180 return 0;
18182 _ACEOF
18183 if ac_fn_c_try_link "$LINENO"
18184 then :
18185 ac_cv_lib_procstat_procstat_open_sysctl=yes
18186 else $as_nop
18187 ac_cv_lib_procstat_procstat_open_sysctl=no
18189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18190 conftest$ac_exeext conftest.$ac_ext
18191 LIBS=$ac_check_lib_save_LIBS
18193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18194 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18195 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18196 then :
18198 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18200 PROCSTAT_LIBS="-lprocstat"
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18207 printf %s "checking for -lodbc... " >&6; }
18208 if test ${ac_cv_lib_soname_odbc+y}
18209 then :
18210 printf %s "(cached) " >&6
18211 else $as_nop
18212 ac_check_soname_save_LIBS=$LIBS
18213 LIBS="-lodbc $LIBS"
18214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18215 /* end confdefs.h. */
18217 /* Override any GCC internal prototype to avoid an error.
18218 Use char because int might match the return type of a GCC
18219 builtin and then its argument prototype would still apply. */
18220 char SQLConnect ();
18222 main (void)
18224 return SQLConnect ();
18226 return 0;
18228 _ACEOF
18229 if ac_fn_c_try_link "$LINENO"
18230 then :
18231 case "$LIBEXT" in
18232 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18233 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'` ;;
18234 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18235 if ${ac_cv_lib_soname_odbc:+false} :
18236 then :
18237 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18238 fi ;;
18239 esac
18240 else $as_nop
18241 ac_cv_lib_soname_odbc=
18243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18244 conftest$ac_exeext conftest.$ac_ext
18245 LIBS=$ac_check_soname_save_LIBS
18247 if ${ac_cv_lib_soname_odbc:+false} :
18248 then :
18249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18250 printf "%s\n" "not found" >&6; }
18251 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18253 else $as_nop
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18255 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18257 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18262 if test "x$with_netapi" != "xno"
18263 then
18264 rm -f conftest.err
18265 if ${NETAPI_CFLAGS:+false} :
18266 then :
18267 if test ${PKG_CONFIG+y}
18268 then :
18269 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18273 if ${NETAPI_LIBS:+false} :
18274 then :
18275 if test ${PKG_CONFIG+y}
18276 then :
18277 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18284 if test -s conftest.err; then
18285 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18286 cat conftest.err >&5
18288 rm -f conftest.err
18289 ac_save_CPPFLAGS=$CPPFLAGS
18290 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18292 printf %s "checking for -lnetapi... " >&6; }
18293 if test ${ac_cv_lib_soname_netapi+y}
18294 then :
18295 printf %s "(cached) " >&6
18296 else $as_nop
18297 ac_check_soname_save_LIBS=$LIBS
18298 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18302 /* Override any GCC internal prototype to avoid an error.
18303 Use char because int might match the return type of a GCC
18304 builtin and then its argument prototype would still apply. */
18305 char libnetapi_init ();
18307 main (void)
18309 return libnetapi_init ();
18311 return 0;
18313 _ACEOF
18314 if ac_fn_c_try_link "$LINENO"
18315 then :
18316 case "$LIBEXT" in
18317 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18318 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'` ;;
18319 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18320 if ${ac_cv_lib_soname_netapi:+false} :
18321 then :
18322 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18323 fi ;;
18324 esac
18325 else $as_nop
18326 ac_cv_lib_soname_netapi=
18328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18329 conftest$ac_exeext conftest.$ac_ext
18330 LIBS=$ac_check_soname_save_LIBS
18332 if ${ac_cv_lib_soname_netapi:+false} :
18333 then :
18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18335 printf "%s\n" "not found" >&6; }
18336 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18338 else $as_nop
18339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18340 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18342 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18346 CPPFLAGS=$ac_save_CPPFLAGS
18349 if test "x$ac_cv_lib_soname_netapi" = "x"
18350 then :
18351 case "x$with_netapi" in
18352 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18353 xno) ;;
18354 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18355 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18356 esac
18357 enable_netapi=${enable_netapi:-no}
18361 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18362 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18363 then
18364 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18367 if test "x$with_vulkan" != "xno"
18368 then
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18370 printf %s "checking for -lvulkan... " >&6; }
18371 if test ${ac_cv_lib_soname_vulkan+y}
18372 then :
18373 printf %s "(cached) " >&6
18374 else $as_nop
18375 ac_check_soname_save_LIBS=$LIBS
18376 LIBS="-lvulkan $LIBS"
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18380 /* Override any GCC internal prototype to avoid an error.
18381 Use char because int might match the return type of a GCC
18382 builtin and then its argument prototype would still apply. */
18383 char vkGetInstanceProcAddr ();
18385 main (void)
18387 return vkGetInstanceProcAddr ();
18389 return 0;
18391 _ACEOF
18392 if ac_fn_c_try_link "$LINENO"
18393 then :
18394 case "$LIBEXT" in
18395 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18396 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'` ;;
18397 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18398 if ${ac_cv_lib_soname_vulkan:+false} :
18399 then :
18400 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18401 fi ;;
18402 esac
18403 else $as_nop
18404 ac_cv_lib_soname_vulkan=
18406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18407 conftest$ac_exeext conftest.$ac_ext
18408 LIBS=$ac_check_soname_save_LIBS
18410 if ${ac_cv_lib_soname_vulkan:+false} :
18411 then :
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18413 printf "%s\n" "not found" >&6; }
18415 else $as_nop
18416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18417 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18419 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18423 if test "x$ac_cv_lib_soname_vulkan" = "x"
18424 then
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18426 printf %s "checking for -lMoltenVK... " >&6; }
18427 if test ${ac_cv_lib_soname_MoltenVK+y}
18428 then :
18429 printf %s "(cached) " >&6
18430 else $as_nop
18431 ac_check_soname_save_LIBS=$LIBS
18432 LIBS="-lMoltenVK $LIBS"
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18436 /* Override any GCC internal prototype to avoid an error.
18437 Use char because int might match the return type of a GCC
18438 builtin and then its argument prototype would still apply. */
18439 char vkGetInstanceProcAddr ();
18441 main (void)
18443 return vkGetInstanceProcAddr ();
18445 return 0;
18447 _ACEOF
18448 if ac_fn_c_try_link "$LINENO"
18449 then :
18450 case "$LIBEXT" in
18451 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18452 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'` ;;
18453 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18454 if ${ac_cv_lib_soname_MoltenVK:+false} :
18455 then :
18456 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18457 fi ;;
18458 esac
18459 else $as_nop
18460 ac_cv_lib_soname_MoltenVK=
18462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18463 conftest$ac_exeext conftest.$ac_ext
18464 LIBS=$ac_check_soname_save_LIBS
18466 if ${ac_cv_lib_soname_MoltenVK:+false} :
18467 then :
18468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18469 printf "%s\n" "not found" >&6; }
18471 else $as_nop
18472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18473 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18475 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18481 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18482 then :
18483 case "x$with_vulkan" in
18484 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18485 xno) ;;
18486 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18487 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18488 esac
18493 if test "x${GCC}" = "xyes"
18494 then
18495 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18497 saved_CFLAGS=$CFLAGS
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18499 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18500 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18501 then :
18502 printf %s "(cached) " >&6
18503 else $as_nop
18504 ac_wine_try_cflags_saved=$CFLAGS
18505 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 int main(int argc, char **argv) { return 0; }
18509 _ACEOF
18510 if ac_fn_c_try_link "$LINENO"
18511 then :
18512 ac_cv_cflags__Werror_unknown_warning_option=yes
18513 else $as_nop
18514 ac_cv_cflags__Werror_unknown_warning_option=no
18516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18517 conftest$ac_exeext conftest.$ac_ext
18518 CFLAGS=$ac_wine_try_cflags_saved
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18521 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18522 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18523 then :
18524 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18527 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18528 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18529 then :
18530 printf %s "(cached) " >&6
18531 else $as_nop
18532 ac_wine_try_cflags_saved=$CFLAGS
18533 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 int main(int argc, char **argv) { return 0; }
18537 _ACEOF
18538 if ac_fn_c_try_link "$LINENO"
18539 then :
18540 ac_cv_cflags__Werror_unused_command_line_argument=yes
18541 else $as_nop
18542 ac_cv_cflags__Werror_unused_command_line_argument=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18545 conftest$ac_exeext conftest.$ac_ext
18546 CFLAGS=$ac_wine_try_cflags_saved
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18549 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18550 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18551 then :
18552 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18555 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18556 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18557 then :
18558 printf %s "(cached) " >&6
18559 else $as_nop
18560 ac_wine_try_cflags_saved=$CFLAGS
18561 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 int main(int argc, char **argv) { return 0; }
18565 _ACEOF
18566 if ac_fn_c_try_link "$LINENO"
18567 then :
18568 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18569 else $as_nop
18570 ac_cv_cflags__Werror_ignored_optimization_argument=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18573 conftest$ac_exeext conftest.$ac_ext
18574 CFLAGS=$ac_wine_try_cflags_saved
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18577 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18578 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18579 then :
18580 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18583 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18584 if test ${ac_cv_cflags__fcf_protection_none+y}
18585 then :
18586 printf %s "(cached) " >&6
18587 else $as_nop
18588 ac_wine_try_cflags_saved=$CFLAGS
18589 CFLAGS="$CFLAGS -fcf-protection=none"
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592 int main(int argc, char **argv) { return 0; }
18593 _ACEOF
18594 if ac_fn_c_try_link "$LINENO"
18595 then :
18596 ac_cv_cflags__fcf_protection_none=yes
18597 else $as_nop
18598 ac_cv_cflags__fcf_protection_none=no
18600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18601 conftest$ac_exeext conftest.$ac_ext
18602 CFLAGS=$ac_wine_try_cflags_saved
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18605 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18606 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18607 then :
18608 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18611 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18612 if test ${ac_cv_cflags__fno_stack_protector+y}
18613 then :
18614 printf %s "(cached) " >&6
18615 else $as_nop
18616 ac_wine_try_cflags_saved=$CFLAGS
18617 CFLAGS="$CFLAGS -fno-stack-protector"
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 int main(int argc, char **argv) { return 0; }
18621 _ACEOF
18622 if ac_fn_c_try_link "$LINENO"
18623 then :
18624 ac_cv_cflags__fno_stack_protector=yes
18625 else $as_nop
18626 ac_cv_cflags__fno_stack_protector=no
18628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18629 conftest$ac_exeext conftest.$ac_ext
18630 CFLAGS=$ac_wine_try_cflags_saved
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18633 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18634 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18635 then :
18636 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18639 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18640 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18641 then :
18642 printf %s "(cached) " >&6
18643 else $as_nop
18644 ac_wine_try_cflags_saved=$CFLAGS
18645 CFLAGS="$CFLAGS -fno-strict-aliasing"
18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 int main(int argc, char **argv) { return 0; }
18649 _ACEOF
18650 if ac_fn_c_try_link "$LINENO"
18651 then :
18652 ac_cv_cflags__fno_strict_aliasing=yes
18653 else $as_nop
18654 ac_cv_cflags__fno_strict_aliasing=no
18656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18657 conftest$ac_exeext conftest.$ac_ext
18658 CFLAGS=$ac_wine_try_cflags_saved
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18661 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18662 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18663 then :
18664 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18667 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18668 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18669 then :
18670 printf %s "(cached) " >&6
18671 else $as_nop
18672 ac_wine_try_cflags_saved=$CFLAGS
18673 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 int main(int argc, char **argv) { return 0; }
18677 _ACEOF
18678 if ac_fn_c_try_link "$LINENO"
18679 then :
18680 ac_cv_cflags__Wdeclaration_after_statement=yes
18681 else $as_nop
18682 ac_cv_cflags__Wdeclaration_after_statement=no
18684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18685 conftest$ac_exeext conftest.$ac_ext
18686 CFLAGS=$ac_wine_try_cflags_saved
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18689 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18690 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18691 then :
18692 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18695 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18696 if test ${ac_cv_cflags__Wempty_body+y}
18697 then :
18698 printf %s "(cached) " >&6
18699 else $as_nop
18700 ac_wine_try_cflags_saved=$CFLAGS
18701 CFLAGS="$CFLAGS -Wempty-body"
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 int main(int argc, char **argv) { return 0; }
18705 _ACEOF
18706 if ac_fn_c_try_link "$LINENO"
18707 then :
18708 ac_cv_cflags__Wempty_body=yes
18709 else $as_nop
18710 ac_cv_cflags__Wempty_body=no
18712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18713 conftest$ac_exeext conftest.$ac_ext
18714 CFLAGS=$ac_wine_try_cflags_saved
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18717 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18718 if test "x$ac_cv_cflags__Wempty_body" = xyes
18719 then :
18720 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18723 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18724 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18725 then :
18726 printf %s "(cached) " >&6
18727 else $as_nop
18728 ac_wine_try_cflags_saved=$CFLAGS
18729 CFLAGS="$CFLAGS -Wignored-qualifiers"
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 int main(int argc, char **argv) { return 0; }
18733 _ACEOF
18734 if ac_fn_c_try_link "$LINENO"
18735 then :
18736 ac_cv_cflags__Wignored_qualifiers=yes
18737 else $as_nop
18738 ac_cv_cflags__Wignored_qualifiers=no
18740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18741 conftest$ac_exeext conftest.$ac_ext
18742 CFLAGS=$ac_wine_try_cflags_saved
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18745 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18746 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18747 then :
18748 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18751 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18752 if test ${ac_cv_cflags__Winit_self+y}
18753 then :
18754 printf %s "(cached) " >&6
18755 else $as_nop
18756 ac_wine_try_cflags_saved=$CFLAGS
18757 CFLAGS="$CFLAGS -Winit-self"
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 int main(int argc, char **argv) { return 0; }
18761 _ACEOF
18762 if ac_fn_c_try_link "$LINENO"
18763 then :
18764 ac_cv_cflags__Winit_self=yes
18765 else $as_nop
18766 ac_cv_cflags__Winit_self=no
18768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18769 conftest$ac_exeext conftest.$ac_ext
18770 CFLAGS=$ac_wine_try_cflags_saved
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18773 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18774 if test "x$ac_cv_cflags__Winit_self" = xyes
18775 then :
18776 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18779 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18780 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18781 then :
18782 printf %s "(cached) " >&6
18783 else $as_nop
18784 ac_wine_try_cflags_saved=$CFLAGS
18785 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18788 int main(int argc, char **argv) { return 0; }
18789 _ACEOF
18790 if ac_fn_c_try_link "$LINENO"
18791 then :
18792 ac_cv_cflags__Wpacked_not_aligned=yes
18793 else $as_nop
18794 ac_cv_cflags__Wpacked_not_aligned=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18797 conftest$ac_exeext conftest.$ac_ext
18798 CFLAGS=$ac_wine_try_cflags_saved
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18801 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18802 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18803 then :
18804 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18807 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18808 if test ${ac_cv_cflags__Wpragma_pack+y}
18809 then :
18810 printf %s "(cached) " >&6
18811 else $as_nop
18812 ac_wine_try_cflags_saved=$CFLAGS
18813 CFLAGS="$CFLAGS -Wpragma-pack"
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 int main(int argc, char **argv) { return 0; }
18817 _ACEOF
18818 if ac_fn_c_try_link "$LINENO"
18819 then :
18820 ac_cv_cflags__Wpragma_pack=yes
18821 else $as_nop
18822 ac_cv_cflags__Wpragma_pack=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18825 conftest$ac_exeext conftest.$ac_ext
18826 CFLAGS=$ac_wine_try_cflags_saved
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18829 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18830 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18831 then :
18832 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18835 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18836 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18837 then :
18838 printf %s "(cached) " >&6
18839 else $as_nop
18840 ac_wine_try_cflags_saved=$CFLAGS
18841 CFLAGS="$CFLAGS -Wshift-overflow=2"
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 int main(int argc, char **argv) { return 0; }
18845 _ACEOF
18846 if ac_fn_c_try_link "$LINENO"
18847 then :
18848 ac_cv_cflags__Wshift_overflow_2=yes
18849 else $as_nop
18850 ac_cv_cflags__Wshift_overflow_2=no
18852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18853 conftest$ac_exeext conftest.$ac_ext
18854 CFLAGS=$ac_wine_try_cflags_saved
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18857 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18858 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18859 then :
18860 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18863 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18864 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18865 then :
18866 printf %s "(cached) " >&6
18867 else $as_nop
18868 ac_wine_try_cflags_saved=$CFLAGS
18869 CFLAGS="$CFLAGS -Wstrict-prototypes"
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 int main(int argc, char **argv) { return 0; }
18873 _ACEOF
18874 if ac_fn_c_try_link "$LINENO"
18875 then :
18876 ac_cv_cflags__Wstrict_prototypes=yes
18877 else $as_nop
18878 ac_cv_cflags__Wstrict_prototypes=no
18880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18881 conftest$ac_exeext conftest.$ac_ext
18882 CFLAGS=$ac_wine_try_cflags_saved
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18885 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18886 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18887 then :
18888 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18891 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18892 if test ${ac_cv_cflags__Wtype_limits+y}
18893 then :
18894 printf %s "(cached) " >&6
18895 else $as_nop
18896 ac_wine_try_cflags_saved=$CFLAGS
18897 CFLAGS="$CFLAGS -Wtype-limits"
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 int main(int argc, char **argv) { return 0; }
18901 _ACEOF
18902 if ac_fn_c_try_link "$LINENO"
18903 then :
18904 ac_cv_cflags__Wtype_limits=yes
18905 else $as_nop
18906 ac_cv_cflags__Wtype_limits=no
18908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18909 conftest$ac_exeext conftest.$ac_ext
18910 CFLAGS=$ac_wine_try_cflags_saved
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18913 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18914 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18915 then :
18916 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18919 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18920 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18921 then :
18922 printf %s "(cached) " >&6
18923 else $as_nop
18924 ac_wine_try_cflags_saved=$CFLAGS
18925 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 int main(int argc, char **argv) { return 0; }
18929 _ACEOF
18930 if ac_fn_c_try_link "$LINENO"
18931 then :
18932 ac_cv_cflags__Wunused_but_set_parameter=yes
18933 else $as_nop
18934 ac_cv_cflags__Wunused_but_set_parameter=no
18936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18937 conftest$ac_exeext conftest.$ac_ext
18938 CFLAGS=$ac_wine_try_cflags_saved
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18941 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18942 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18943 then :
18944 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18947 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18948 if test ${ac_cv_cflags__Wvla+y}
18949 then :
18950 printf %s "(cached) " >&6
18951 else $as_nop
18952 ac_wine_try_cflags_saved=$CFLAGS
18953 CFLAGS="$CFLAGS -Wvla"
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18956 int main(int argc, char **argv) { return 0; }
18957 _ACEOF
18958 if ac_fn_c_try_link "$LINENO"
18959 then :
18960 ac_cv_cflags__Wvla=yes
18961 else $as_nop
18962 ac_cv_cflags__Wvla=no
18964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18965 conftest$ac_exeext conftest.$ac_ext
18966 CFLAGS=$ac_wine_try_cflags_saved
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18969 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18970 if test "x$ac_cv_cflags__Wvla" = xyes
18971 then :
18972 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18975 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18976 if test ${ac_cv_cflags__Wwrite_strings+y}
18977 then :
18978 printf %s "(cached) " >&6
18979 else $as_nop
18980 ac_wine_try_cflags_saved=$CFLAGS
18981 CFLAGS="$CFLAGS -Wwrite-strings"
18982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18983 /* end confdefs.h. */
18984 int main(int argc, char **argv) { return 0; }
18985 _ACEOF
18986 if ac_fn_c_try_link "$LINENO"
18987 then :
18988 ac_cv_cflags__Wwrite_strings=yes
18989 else $as_nop
18990 ac_cv_cflags__Wwrite_strings=no
18992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18993 conftest$ac_exeext conftest.$ac_ext
18994 CFLAGS=$ac_wine_try_cflags_saved
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18997 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18998 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18999 then :
19000 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19004 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19005 if test ${ac_cv_cflags__Wpointer_arith+y}
19006 then :
19007 printf %s "(cached) " >&6
19008 else $as_nop
19009 ac_wine_try_cflags_saved=$CFLAGS
19010 CFLAGS="$CFLAGS -Wpointer-arith"
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 int main(int argc, char **argv) { return 0; }
19014 _ACEOF
19015 if ac_fn_c_try_link "$LINENO"
19016 then :
19017 ac_cv_cflags__Wpointer_arith=yes
19018 else $as_nop
19019 ac_cv_cflags__Wpointer_arith=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19022 conftest$ac_exeext conftest.$ac_ext
19023 CFLAGS=$ac_wine_try_cflags_saved
19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19026 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19027 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19028 then :
19029 saved_string_h_CFLAGS=$CFLAGS
19030 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19032 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19033 if test ${ac_cv_c_string_h_warnings+y}
19034 then :
19035 printf %s "(cached) " >&6
19036 else $as_nop
19037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19039 #include <string.h>
19041 main (void)
19045 return 0;
19047 _ACEOF
19048 if ac_fn_c_try_compile "$LINENO"
19049 then :
19050 ac_cv_c_string_h_warnings=no
19051 else $as_nop
19052 ac_cv_c_string_h_warnings=yes
19054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19057 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19058 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19059 CFLAGS=$saved_string_h_CFLAGS
19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19063 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19064 if test ${ac_cv_cflags__Wlogical_op+y}
19065 then :
19066 printf %s "(cached) " >&6
19067 else $as_nop
19068 ac_wine_try_cflags_saved=$CFLAGS
19069 CFLAGS="$CFLAGS -Wlogical-op"
19070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19072 int main(int argc, char **argv) { return 0; }
19073 _ACEOF
19074 if ac_fn_c_try_link "$LINENO"
19075 then :
19076 ac_cv_cflags__Wlogical_op=yes
19077 else $as_nop
19078 ac_cv_cflags__Wlogical_op=no
19080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19081 conftest$ac_exeext conftest.$ac_ext
19082 CFLAGS=$ac_wine_try_cflags_saved
19084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19085 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19086 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19087 then :
19088 saved_string_h_CFLAGS=$CFLAGS
19089 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19091 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19092 if test ${ac_cv_c_logicalop_noisy+y}
19093 then :
19094 printf %s "(cached) " >&6
19095 else $as_nop
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19098 #include <string.h>
19099 char*f(const char *h,char n) {return strchr(h,n);}
19101 main (void)
19105 return 0;
19107 _ACEOF
19108 if ac_fn_c_try_compile "$LINENO"
19109 then :
19110 ac_cv_c_logicalop_noisy=no
19111 else $as_nop
19112 ac_cv_c_logicalop_noisy=yes
19114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19117 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19118 CFLAGS=$saved_string_h_CFLAGS
19119 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19123 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19124 if test ${wine_cv_64bit_compare_swap+y}
19125 then :
19126 printf %s "(cached) " >&6
19127 else $as_nop
19128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19130 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19131 #error no
19132 #endif
19134 main (void)
19138 return 0;
19140 _ACEOF
19141 if ac_fn_c_try_compile "$LINENO"
19142 then :
19143 wine_cv_64bit_compare_swap="none needed"
19144 else $as_nop
19145 case $host_cpu in
19146 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19147 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19148 *) wine_cv_64bit_compare_swap="unknown" ;;
19149 esac
19150 if test "x$wine_cv_64bit_compare_swap" != xunknown
19151 then
19152 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19155 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19156 #error no
19157 #endif
19159 main (void)
19163 return 0;
19165 _ACEOF
19166 if ac_fn_c_try_compile "$LINENO"
19167 then :
19169 else $as_nop
19170 wine_cv_64bit_compare_swap="unknown"
19172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19173 CFLAGS=$saved_CFLAGS
19176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19179 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19180 case "$wine_cv_64bit_compare_swap" in
19181 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19182 "none needed") ;;
19183 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19184 esac
19186 ac_debug_format_seen=""
19187 for ac_flag in $CFLAGS; do
19188 case $ac_flag in
19189 -gdwarf*) ac_debug_format_seen=yes ;;
19190 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19191 esac
19192 done
19193 if test "x$ac_debug_format_seen" = xdefault
19194 then
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19196 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19197 if test ${ac_cv_cflags__gdwarf_4+y}
19198 then :
19199 printf %s "(cached) " >&6
19200 else $as_nop
19201 ac_wine_try_cflags_saved=$CFLAGS
19202 CFLAGS="$CFLAGS -gdwarf-4"
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 int main(int argc, char **argv) { return 0; }
19206 _ACEOF
19207 if ac_fn_c_try_link "$LINENO"
19208 then :
19209 ac_cv_cflags__gdwarf_4=yes
19210 else $as_nop
19211 ac_cv_cflags__gdwarf_4=no
19213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19214 conftest$ac_exeext conftest.$ac_ext
19215 CFLAGS=$ac_wine_try_cflags_saved
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19218 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19219 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19220 then :
19221 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19225 MSVCRTFLAGS=""
19227 case $host_os in
19228 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19229 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19230 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19231 then :
19232 printf %s "(cached) " >&6
19233 else $as_nop
19234 ac_wine_try_cflags_saved=$CFLAGS
19235 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19237 /* end confdefs.h. */
19238 int main(int argc, char **argv) { return 0; }
19239 _ACEOF
19240 if ac_fn_c_try_link "$LINENO"
19241 then :
19242 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19243 else $as_nop
19244 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19247 conftest$ac_exeext conftest.$ac_ext
19248 CFLAGS=$ac_wine_try_cflags_saved
19250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19251 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19252 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19253 then :
19254 DELAYLOADFLAG="-Wl,-delayload,"
19256 fi ;;
19257 *) MSVCRTFLAGS="-D_WIN32"
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19259 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19260 if test ${ac_cv_cflags__fno_builtin+y}
19261 then :
19262 printf %s "(cached) " >&6
19263 else $as_nop
19264 ac_wine_try_cflags_saved=$CFLAGS
19265 CFLAGS="$CFLAGS -fno-builtin"
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 int main(int argc, char **argv) { return 0; }
19269 _ACEOF
19270 if ac_fn_c_try_link "$LINENO"
19271 then :
19272 ac_cv_cflags__fno_builtin=yes
19273 else $as_nop
19274 ac_cv_cflags__fno_builtin=no
19276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19277 conftest$ac_exeext conftest.$ac_ext
19278 CFLAGS=$ac_wine_try_cflags_saved
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19281 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19282 if test "x$ac_cv_cflags__fno_builtin" = xyes
19283 then :
19284 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19287 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19288 if test ${ac_cv_cflags__fshort_wchar+y}
19289 then :
19290 printf %s "(cached) " >&6
19291 else $as_nop
19292 ac_wine_try_cflags_saved=$CFLAGS
19293 CFLAGS="$CFLAGS -fshort-wchar"
19294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19295 /* end confdefs.h. */
19296 int main(int argc, char **argv) { return 0; }
19297 _ACEOF
19298 if ac_fn_c_try_link "$LINENO"
19299 then :
19300 ac_cv_cflags__fshort_wchar=yes
19301 else $as_nop
19302 ac_cv_cflags__fshort_wchar=no
19304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19305 conftest$ac_exeext conftest.$ac_ext
19306 CFLAGS=$ac_wine_try_cflags_saved
19308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19309 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19310 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19311 then :
19312 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19315 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19316 if test ${ac_cv_cflags__fvisibility_hidden+y}
19317 then :
19318 printf %s "(cached) " >&6
19319 else $as_nop
19320 ac_wine_try_cflags_saved=$CFLAGS
19321 CFLAGS="$CFLAGS -fvisibility=hidden"
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324 int main(int argc, char **argv) { return 0; }
19325 _ACEOF
19326 if ac_fn_c_try_link "$LINENO"
19327 then :
19328 ac_cv_cflags__fvisibility_hidden=yes
19329 else $as_nop
19330 ac_cv_cflags__fvisibility_hidden=no
19332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19333 conftest$ac_exeext conftest.$ac_ext
19334 CFLAGS=$ac_wine_try_cflags_saved
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19337 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19338 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19339 then :
19340 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19343 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19344 if test ${ac_cv_cflags__Wno_format+y}
19345 then :
19346 printf %s "(cached) " >&6
19347 else $as_nop
19348 ac_wine_try_cflags_saved=$CFLAGS
19349 CFLAGS="$CFLAGS -Wno-format"
19350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 int main(int argc, char **argv) { return 0; }
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"
19355 then :
19356 ac_cv_cflags__Wno_format=yes
19357 else $as_nop
19358 ac_cv_cflags__Wno_format=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19361 conftest$ac_exeext conftest.$ac_ext
19362 CFLAGS=$ac_wine_try_cflags_saved
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19365 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19366 if test "x$ac_cv_cflags__Wno_format" = xyes
19367 then :
19368 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19369 fi ;;
19370 esac
19372 case $host_cpu in
19373 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19374 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19375 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19376 then :
19377 printf %s "(cached) " >&6
19378 else $as_nop
19379 ac_wine_try_cflags_saved=$CFLAGS
19380 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19383 int main(int argc, char **argv) { return 0; }
19384 _ACEOF
19385 if ac_fn_c_try_link "$LINENO"
19386 then :
19387 ac_cv_cflags__fno_omit_frame_pointer=yes
19388 else $as_nop
19389 ac_cv_cflags__fno_omit_frame_pointer=no
19391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19392 conftest$ac_exeext conftest.$ac_ext
19393 CFLAGS=$ac_wine_try_cflags_saved
19395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19396 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19397 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19398 then :
19399 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19400 fi ;;
19401 *x86_64*)
19402 case $host_os in
19403 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19404 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19405 if test ${ac_cv_cflags__Wno_format+y}
19406 then :
19407 printf %s "(cached) " >&6
19408 else $as_nop
19409 ac_wine_try_cflags_saved=$CFLAGS
19410 CFLAGS="$CFLAGS -Wno-format"
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19413 int main(int argc, char **argv) { return 0; }
19414 _ACEOF
19415 if ac_fn_c_try_link "$LINENO"
19416 then :
19417 ac_cv_cflags__Wno_format=yes
19418 else $as_nop
19419 ac_cv_cflags__Wno_format=no
19421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19422 conftest$ac_exeext conftest.$ac_ext
19423 CFLAGS=$ac_wine_try_cflags_saved
19425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19426 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19427 if test "x$ac_cv_cflags__Wno_format" = xyes
19428 then :
19429 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19430 fi ;;
19431 *) if test -z "$PE_ARCHS"
19432 then
19433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19434 printf %s "checking for working -mabi=ms... " >&6; }
19435 if test ${ac_cv_mabi_ms+y}
19436 then :
19437 printf %s "(cached) " >&6
19438 else $as_nop
19439 CFLAGS="$CFLAGS -mabi=ms"
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19442 #include <stdarg.h>
19443 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19445 main (void)
19449 return 0;
19451 _ACEOF
19452 if ac_fn_c_try_compile "$LINENO"
19453 then :
19454 ac_cv_mabi_ms=yes
19455 else $as_nop
19456 ac_cv_mabi_ms=no
19458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19459 CFLAGS=$saved_CFLAGS
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19462 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19463 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
19465 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19466 esac ;;
19467 arm*)
19468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19469 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19470 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19471 then :
19472 printf %s "(cached) " >&6
19473 else $as_nop
19474 ac_wine_try_cflags_saved=$CFLAGS
19475 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19478 int main(int argc, char **argv) { return 0; }
19479 _ACEOF
19480 if ac_fn_c_try_link "$LINENO"
19481 then :
19482 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19483 else $as_nop
19484 ac_cv_cflags__Wincompatible_function_pointer_types=no
19486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19487 conftest$ac_exeext conftest.$ac_ext
19488 CFLAGS=$ac_wine_try_cflags_saved
19490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19491 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19492 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19493 then :
19494 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19495 fi ;;
19496 esac
19498 CFLAGS=$saved_CFLAGS
19500 if test "x$enable_werror" = "xyes"
19501 then
19502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19503 printf %s "checking whether the compiler supports -Werror... " >&6; }
19504 if test ${ac_cv_cflags__Werror+y}
19505 then :
19506 printf %s "(cached) " >&6
19507 else $as_nop
19508 ac_wine_try_cflags_saved=$CFLAGS
19509 CFLAGS="$CFLAGS -Werror"
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512 int main(int argc, char **argv) { return 0; }
19513 _ACEOF
19514 if ac_fn_c_try_link "$LINENO"
19515 then :
19516 ac_cv_cflags__Werror=yes
19517 else $as_nop
19518 ac_cv_cflags__Werror=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19521 conftest$ac_exeext conftest.$ac_ext
19522 CFLAGS=$ac_wine_try_cflags_saved
19524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19525 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19526 if test "x$ac_cv_cflags__Werror" = xyes
19527 then :
19528 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19531 if test "x$enable_build_id" = "xyes"
19532 then
19533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19534 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19535 if test ${ac_cv_cflags__Wl___build_id+y}
19536 then :
19537 printf %s "(cached) " >&6
19538 else $as_nop
19539 ac_wine_try_cflags_saved=$CFLAGS
19540 CFLAGS="$CFLAGS -Wl,--build-id"
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 int main(int argc, char **argv) { return 0; }
19544 _ACEOF
19545 if ac_fn_c_try_link "$LINENO"
19546 then :
19547 ac_cv_cflags__Wl___build_id=yes
19548 else $as_nop
19549 ac_cv_cflags__Wl___build_id=no
19551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19552 conftest$ac_exeext conftest.$ac_ext
19553 CFLAGS=$ac_wine_try_cflags_saved
19555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19556 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19557 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19558 then :
19559 CFLAGS="$CFLAGS -Wl,--build-id"
19560 LDFLAGS="$LDFLAGS -Wl,--build-id"
19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19567 printf %s "checking for the need to disable Fortify... " >&6; }
19568 if test ${ac_cv_c_fortify_enabled+y}
19569 then :
19570 printf %s "(cached) " >&6
19571 else $as_nop
19572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19574 #include <string.h>
19576 main (void)
19578 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19579 #error Fortify enabled
19580 #endif
19582 return 0;
19584 _ACEOF
19585 if ac_fn_c_try_compile "$LINENO"
19586 then :
19587 ac_cv_c_fortify_enabled=no
19588 else $as_nop
19589 ac_cv_c_fortify_enabled=yes
19591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19594 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19595 if test "$ac_cv_c_fortify_enabled" = yes
19596 then
19597 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19602 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19603 if test ${ac_cv_c_cfi_support+y}
19604 then :
19605 printf %s "(cached) " >&6
19606 else $as_nop
19607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19609 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19611 main (void)
19615 return 0;
19617 _ACEOF
19618 if ac_fn_c_try_compile "$LINENO"
19619 then :
19620 ac_cv_c_cfi_support="yes"
19621 else $as_nop
19622 ac_cv_c_cfi_support="no"
19624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19627 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19628 if test "$ac_cv_c_cfi_support" = "yes"
19629 then
19630 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19631 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19632 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19633 elif test $HOST_ARCH = x86_64
19634 then
19635 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19639 case "$HOST_ARCH,$PE_ARCHS" in
19640 x86_64,*i386*) wine_binary="wine" ;;
19641 x86_64,*) wine_binary="wine64" ;;
19642 *) wine_binary="wine" ;;
19643 esac
19644 WINELOADER_PROGRAMS="$wine_binary"
19647 case $host_os in
19648 linux*)
19649 case $host_cpu in
19650 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19651 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19652 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19654 esac
19656 darwin*|macosx*)
19657 if test "$wine_can_build_preloader" = "yes"
19658 then
19659 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19660 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19663 esac
19666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19667 printf %s "checking for library containing dlopen... " >&6; }
19668 if test ${ac_cv_search_dlopen+y}
19669 then :
19670 printf %s "(cached) " >&6
19671 else $as_nop
19672 ac_func_search_save_LIBS=$LIBS
19673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19676 /* Override any GCC internal prototype to avoid an error.
19677 Use char because int might match the return type of a GCC
19678 builtin and then its argument prototype would still apply. */
19679 char dlopen ();
19681 main (void)
19683 return dlopen ();
19685 return 0;
19687 _ACEOF
19688 for ac_lib in '' dl
19690 if test -z "$ac_lib"; then
19691 ac_res="none required"
19692 else
19693 ac_res=-l$ac_lib
19694 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19696 if ac_fn_c_try_link "$LINENO"
19697 then :
19698 ac_cv_search_dlopen=$ac_res
19700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19701 conftest$ac_exeext
19702 if test ${ac_cv_search_dlopen+y}
19703 then :
19704 break
19706 done
19707 if test ${ac_cv_search_dlopen+y}
19708 then :
19710 else $as_nop
19711 ac_cv_search_dlopen=no
19713 rm conftest.$ac_ext
19714 LIBS=$ac_func_search_save_LIBS
19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19717 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19718 ac_res=$ac_cv_search_dlopen
19719 if test "$ac_res" != no
19720 then :
19721 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19727 printf %s "checking for library containing gethostbyname... " >&6; }
19728 if test ${ac_cv_search_gethostbyname+y}
19729 then :
19730 printf %s "(cached) " >&6
19731 else $as_nop
19732 ac_func_search_save_LIBS=$LIBS
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19736 /* Override any GCC internal prototype to avoid an error.
19737 Use char because int might match the return type of a GCC
19738 builtin and then its argument prototype would still apply. */
19739 char gethostbyname ();
19741 main (void)
19743 return gethostbyname ();
19745 return 0;
19747 _ACEOF
19748 for ac_lib in '' nsl
19750 if test -z "$ac_lib"; then
19751 ac_res="none required"
19752 else
19753 ac_res=-l$ac_lib
19754 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19756 if ac_fn_c_try_link "$LINENO"
19757 then :
19758 ac_cv_search_gethostbyname=$ac_res
19760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19761 conftest$ac_exeext
19762 if test ${ac_cv_search_gethostbyname+y}
19763 then :
19764 break
19766 done
19767 if test ${ac_cv_search_gethostbyname+y}
19768 then :
19770 else $as_nop
19771 ac_cv_search_gethostbyname=no
19773 rm conftest.$ac_ext
19774 LIBS=$ac_func_search_save_LIBS
19776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19777 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19778 ac_res=$ac_cv_search_gethostbyname
19779 if test "$ac_res" != no
19780 then :
19781 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19787 printf %s "checking for library containing connect... " >&6; }
19788 if test ${ac_cv_search_connect+y}
19789 then :
19790 printf %s "(cached) " >&6
19791 else $as_nop
19792 ac_func_search_save_LIBS=$LIBS
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19796 /* Override any GCC internal prototype to avoid an error.
19797 Use char because int might match the return type of a GCC
19798 builtin and then its argument prototype would still apply. */
19799 char connect ();
19801 main (void)
19803 return connect ();
19805 return 0;
19807 _ACEOF
19808 for ac_lib in '' socket
19810 if test -z "$ac_lib"; then
19811 ac_res="none required"
19812 else
19813 ac_res=-l$ac_lib
19814 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19816 if ac_fn_c_try_link "$LINENO"
19817 then :
19818 ac_cv_search_connect=$ac_res
19820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19821 conftest$ac_exeext
19822 if test ${ac_cv_search_connect+y}
19823 then :
19824 break
19826 done
19827 if test ${ac_cv_search_connect+y}
19828 then :
19830 else $as_nop
19831 ac_cv_search_connect=no
19833 rm conftest.$ac_ext
19834 LIBS=$ac_func_search_save_LIBS
19836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19837 printf "%s\n" "$ac_cv_search_connect" >&6; }
19838 ac_res=$ac_cv_search_connect
19839 if test "$ac_res" != no
19840 then :
19841 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19847 printf %s "checking for library containing inet_aton... " >&6; }
19848 if test ${ac_cv_search_inet_aton+y}
19849 then :
19850 printf %s "(cached) " >&6
19851 else $as_nop
19852 ac_func_search_save_LIBS=$LIBS
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19856 /* Override any GCC internal prototype to avoid an error.
19857 Use char because int might match the return type of a GCC
19858 builtin and then its argument prototype would still apply. */
19859 char inet_aton ();
19861 main (void)
19863 return inet_aton ();
19865 return 0;
19867 _ACEOF
19868 for ac_lib in '' resolv
19870 if test -z "$ac_lib"; then
19871 ac_res="none required"
19872 else
19873 ac_res=-l$ac_lib
19874 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19876 if ac_fn_c_try_link "$LINENO"
19877 then :
19878 ac_cv_search_inet_aton=$ac_res
19880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19881 conftest$ac_exeext
19882 if test ${ac_cv_search_inet_aton+y}
19883 then :
19884 break
19886 done
19887 if test ${ac_cv_search_inet_aton+y}
19888 then :
19890 else $as_nop
19891 ac_cv_search_inet_aton=no
19893 rm conftest.$ac_ext
19894 LIBS=$ac_func_search_save_LIBS
19896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19897 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19898 ac_res=$ac_cv_search_inet_aton
19899 if test "$ac_res" != no
19900 then :
19901 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19906 ac_save_CFLAGS="$CFLAGS"
19907 CFLAGS="$CFLAGS $BUILTINFLAG"
19908 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19909 if test "x$ac_cv_func_dladdr1" = xyes
19910 then :
19911 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19914 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19915 if test "x$ac_cv_func_dlinfo" = xyes
19916 then :
19917 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19920 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19921 if test "x$ac_cv_func_epoll_create" = xyes
19922 then :
19923 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19926 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19927 if test "x$ac_cv_func_fstatfs" = xyes
19928 then :
19929 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19932 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19933 if test "x$ac_cv_func_futimens" = xyes
19934 then :
19935 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19938 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19939 if test "x$ac_cv_func_futimes" = xyes
19940 then :
19941 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19944 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19945 if test "x$ac_cv_func_futimesat" = xyes
19946 then :
19947 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19950 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19951 if test "x$ac_cv_func_getaddrinfo" = xyes
19952 then :
19953 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19956 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19957 if test "x$ac_cv_func_getattrlist" = xyes
19958 then :
19959 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19962 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19963 if test "x$ac_cv_func_getauxval" = xyes
19964 then :
19965 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19968 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19969 if test "x$ac_cv_func_getifaddrs" = xyes
19970 then :
19971 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19974 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19975 if test "x$ac_cv_func_getrandom" = xyes
19976 then :
19977 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19980 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19981 if test "x$ac_cv_func_kqueue" = xyes
19982 then :
19983 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19986 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19987 if test "x$ac_cv_func_mach_continuous_time" = xyes
19988 then :
19989 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19992 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19993 if test "x$ac_cv_func_pipe2" = xyes
19994 then :
19995 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19998 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19999 if test "x$ac_cv_func_port_create" = xyes
20000 then :
20001 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20004 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20005 if test "x$ac_cv_func_posix_fadvise" = xyes
20006 then :
20007 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20010 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20011 if test "x$ac_cv_func_posix_fallocate" = xyes
20012 then :
20013 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20016 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20017 if test "x$ac_cv_func_prctl" = xyes
20018 then :
20019 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20022 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20023 if test "x$ac_cv_func_proc_pidinfo" = xyes
20024 then :
20025 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20028 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20029 if test "x$ac_cv_func_sched_yield" = xyes
20030 then :
20031 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20034 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20035 if test "x$ac_cv_func_setproctitle" = xyes
20036 then :
20037 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20040 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20041 if test "x$ac_cv_func_setprogname" = xyes
20042 then :
20043 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20046 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20047 if test "x$ac_cv_func_sigprocmask" = xyes
20048 then :
20049 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20052 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20053 if test "x$ac_cv_func_sysinfo" = xyes
20054 then :
20055 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20058 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20059 if test "x$ac_cv_func_tcdrain" = xyes
20060 then :
20061 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20064 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20065 if test "x$ac_cv_func_thr_kill2" = xyes
20066 then :
20067 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20071 CFLAGS="$ac_save_CFLAGS"
20073 case $host_os in
20074 darwin*|macosx*) ;;
20075 *) ac_save_LIBS=$LIBS
20076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20077 printf %s "checking for library containing clock_gettime... " >&6; }
20078 if test ${ac_cv_search_clock_gettime+y}
20079 then :
20080 printf %s "(cached) " >&6
20081 else $as_nop
20082 ac_func_search_save_LIBS=$LIBS
20083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20084 /* end confdefs.h. */
20086 /* Override any GCC internal prototype to avoid an error.
20087 Use char because int might match the return type of a GCC
20088 builtin and then its argument prototype would still apply. */
20089 char clock_gettime ();
20091 main (void)
20093 return clock_gettime ();
20095 return 0;
20097 _ACEOF
20098 for ac_lib in '' rt
20100 if test -z "$ac_lib"; then
20101 ac_res="none required"
20102 else
20103 ac_res=-l$ac_lib
20104 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20106 if ac_fn_c_try_link "$LINENO"
20107 then :
20108 ac_cv_search_clock_gettime=$ac_res
20110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20111 conftest$ac_exeext
20112 if test ${ac_cv_search_clock_gettime+y}
20113 then :
20114 break
20116 done
20117 if test ${ac_cv_search_clock_gettime+y}
20118 then :
20120 else $as_nop
20121 ac_cv_search_clock_gettime=no
20123 rm conftest.$ac_ext
20124 LIBS=$ac_func_search_save_LIBS
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20127 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20128 ac_res=$ac_cv_search_clock_gettime
20129 if test "$ac_res" != no
20130 then :
20131 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20133 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20135 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20139 LIBS=$ac_save_LIBS
20141 esac
20143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20144 printf %s "checking for sched_setaffinity... " >&6; }
20145 if test ${wine_cv_have_sched_setaffinity+y}
20146 then :
20147 printf %s "(cached) " >&6
20148 else $as_nop
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151 #include <sched.h>
20153 main (void)
20155 sched_setaffinity(0, 0, 0);
20157 return 0;
20159 _ACEOF
20160 if ac_fn_c_try_link "$LINENO"
20161 then :
20162 wine_cv_have_sched_setaffinity=yes
20163 else $as_nop
20164 wine_cv_have_sched_setaffinity=no
20166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20167 conftest$ac_exeext conftest.$ac_ext
20169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20170 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20171 if test "$wine_cv_have_sched_setaffinity" = "yes"
20172 then
20174 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20180 printf %s "checking for inline... " >&6; }
20181 if test ${ac_cv_c_inline+y}
20182 then :
20183 printf %s "(cached) " >&6
20184 else $as_nop
20185 ac_cv_c_inline=no
20186 for ac_kw in inline __inline__ __inline; do
20187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20188 /* end confdefs.h. */
20189 #ifndef __cplusplus
20190 typedef int foo_t;
20191 static $ac_kw foo_t static_foo (void) {return 0; }
20192 $ac_kw foo_t foo (void) {return 0; }
20193 #endif
20195 _ACEOF
20196 if ac_fn_c_try_compile "$LINENO"
20197 then :
20198 ac_cv_c_inline=$ac_kw
20200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20201 test "$ac_cv_c_inline" != no && break
20202 done
20205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20206 printf "%s\n" "$ac_cv_c_inline" >&6; }
20208 case $ac_cv_c_inline in
20209 inline | yes) ;;
20211 case $ac_cv_c_inline in
20212 no) ac_val=;;
20213 *) ac_val=$ac_cv_c_inline;;
20214 esac
20215 cat >>confdefs.h <<_ACEOF
20216 #ifndef __cplusplus
20217 #define inline $ac_val
20218 #endif
20219 _ACEOF
20221 esac
20223 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20225 if test "x$ac_cv_type_request_sense" = xyes
20226 then :
20228 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20234 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20235 #include <sys/socket.h>
20236 #ifdef HAVE_SYS_SOCKETVAR_H
20237 #include <sys/socketvar.h>
20238 #endif
20239 #ifdef HAVE_NET_ROUTE_H
20240 #include <net/route.h>
20241 #endif
20242 #ifdef HAVE_NETINET_IN_H
20243 #include <netinet/in.h>
20244 #endif
20245 #ifdef HAVE_NETINET_IN_SYSTM_H
20246 #include <netinet/in_systm.h>
20247 #endif
20248 #ifdef HAVE_NETINET_IP_H
20249 #include <netinet/ip.h>
20250 #endif
20251 #ifdef HAVE_NETINET_IN_PCB_H
20252 #include <netinet/in_pcb.h>
20253 #endif
20255 if test "x$ac_cv_type_struct_xinpgen" = xyes
20256 then :
20258 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20265 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20266 if test ${wine_cv_linux_gethostbyname_r_6+y}
20267 then :
20268 printf %s "(cached) " >&6
20269 else $as_nop
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20272 #include <netdb.h>
20274 main (void)
20277 char *name=0;
20278 struct hostent he;
20279 struct hostent *result;
20280 char *buf=0;
20281 int bufsize=0;
20282 int errnr;
20283 char *addr=0;
20284 int addrlen=0;
20285 int addrtype=0;
20286 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20287 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20290 return 0;
20292 _ACEOF
20293 if ac_fn_c_try_link "$LINENO"
20294 then :
20295 wine_cv_linux_gethostbyname_r_6=yes
20296 else $as_nop
20297 wine_cv_linux_gethostbyname_r_6=no
20300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20301 conftest$ac_exeext conftest.$ac_ext
20304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20305 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20306 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20307 then
20309 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20313 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20314 #include <sys/socket.h>
20315 #ifdef HAVE_SYS_UN_H
20316 # include <sys/un.h>
20317 #endif
20319 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20320 then :
20322 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20326 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20327 #include <sys/socket.h>
20328 #ifdef HAVE_SYS_UN_H
20329 # include <sys/un.h>
20330 #endif
20332 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20333 then :
20335 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20341 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20342 #ifdef HAVE_SCSI_SG_H
20343 #include <scsi/sg.h>
20344 #endif
20346 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20347 then :
20349 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20353 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>
20354 #ifdef HAVE_SCSI_SG_H
20355 #include <scsi/sg.h>
20356 #endif
20358 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20359 then :
20361 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20367 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20369 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20370 then :
20372 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20378 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20379 #ifdef HAVE_SYS_MTIO_H
20380 #include <sys/mtio.h>
20381 #endif
20383 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20384 then :
20386 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20390 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20391 #ifdef HAVE_SYS_MTIO_H
20392 #include <sys/mtio.h>
20393 #endif
20395 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20396 then :
20398 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20402 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20403 #ifdef HAVE_SYS_MTIO_H
20404 #include <sys/mtio.h>
20405 #endif
20407 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20408 then :
20410 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20416 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20417 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20418 then :
20420 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20424 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20425 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20426 then :
20428 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20432 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20433 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20434 then :
20436 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20440 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20441 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20442 then :
20444 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20448 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20449 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20450 then :
20452 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20456 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20457 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20458 then :
20460 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20464 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20465 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20466 then :
20468 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20472 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20473 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20474 then :
20476 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20480 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20481 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20482 then :
20484 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20488 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20489 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20490 then :
20492 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20496 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20497 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20498 then :
20500 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20506 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>
20507 #ifdef HAVE_NETINET_IN_H
20508 #include <netinet/in.h>
20509 #endif
20511 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20512 then :
20514 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20520 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
20521 #include <resolv.h>
20522 #endif
20524 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20525 then :
20527 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20533 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20534 #include <netinet/in.h>
20535 #endif
20537 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20538 then :
20540 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20546 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20547 #ifdef HAVE_SYS_SOCKETVAR_H
20548 #include <sys/socketvar.h>
20549 #endif
20550 #ifdef HAVE_NETINET_IN_H
20551 #include <netinet/in.h>
20552 #endif
20553 #ifdef HAVE_NETINET_IP_VAR_H
20554 #include <netinet/ip_var.h>
20555 #endif
20557 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20558 then :
20560 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20566 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
20567 #include <netinet/ip_var.h>
20568 #endif
20570 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20571 then :
20573 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20579 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20580 #ifdef HAVE_SYS_SOCKETVAR_H
20581 #include <sys/socketvar.h>
20582 #endif
20583 #ifdef HAVE_NETINET_IN_H
20584 #include <netinet/in.h>
20585 #endif
20586 #ifdef HAVE_NETINET6_IP6_VAR_H
20587 #include <netinet6/ip6_var.h>
20588 #endif
20590 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20591 then :
20593 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20599 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20600 #ifdef HAVE_SYS_SOCKETVAR_H
20601 #include <sys/socketvar.h>
20602 #endif
20603 #ifdef HAVE_NETINET_IN_H
20604 #include <netinet/in.h>
20605 #endif
20606 #ifdef HAVE_NETINET_IP_H
20607 #include <netinet/ip.h>
20608 #endif
20609 #ifdef HAVE_NETINET_IP_ICMP_H
20610 #include <netinet/ip_icmp.h>
20611 #endif
20612 #ifdef HAVE_NETINET_ICMP_VAR_H
20613 #include <netinet/icmp_var.h>
20614 #endif
20616 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20617 then :
20619 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20625 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20626 #ifdef HAVE_SYS_SOCKETVAR_H
20627 #include <sys/socketvar.h>
20628 #endif
20629 #ifdef HAVE_NETINET_IN_H
20630 #include <netinet/in.h>
20631 #endif
20632 #ifdef HAVE_NETINET_ICMP6_H
20633 #include <netinet/icmp6.h>
20634 #endif
20636 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20637 then :
20639 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20645 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20646 #ifdef HAVE_SYS_SOCKETVAR_H
20647 #include <sys/socketvar.h>
20648 #endif
20649 #ifdef HAVE_NETINET_IN_H
20650 #include <netinet/in.h>
20651 #endif
20652 #ifdef HAVE_NETINET_TCP_H
20653 #include <netinet/tcp.h>
20654 #endif
20655 #ifdef HAVE_NETINET_TCP_VAR_H
20656 #include <netinet/tcp_var.h>
20657 #endif
20659 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20660 then :
20662 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20668 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
20669 #include <netinet/tcp_var.h>
20670 #endif
20672 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20673 then :
20675 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20681 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20682 #ifdef HAVE_NETINET_IN_H
20683 #include <netinet/in.h>
20684 #endif
20685 #ifdef HAVE_NETINET_IP_VAR_H
20686 #include <netinet/ip_var.h>
20687 #endif
20688 #ifdef HAVE_NETINET_UDP_H
20689 #include <netinet/udp.h>
20690 #endif
20691 #ifdef HAVE_NETINET_UDP_VAR_H
20692 #include <netinet/udp_var.h>
20693 #endif
20695 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20696 then :
20698 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20705 #ifdef HAVE_NET_IF_H
20706 # include <net/if.h>
20707 #endif
20709 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20710 then :
20712 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20718 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20719 # include <sys/sysinfo.h>
20720 #endif
20722 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20723 then :
20725 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20729 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20730 # include <sys/sysinfo.h>
20731 #endif
20733 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20734 then :
20736 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20742 LIBS="$ac_save_LIBS"
20744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20745 printf %s "checking for __builtin_popcount... " >&6; }
20746 if test ${ac_cv_have___builtin_popcount+y}
20747 then :
20748 printf %s "(cached) " >&6
20749 else $as_nop
20750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20751 /* end confdefs.h. */
20754 main (void)
20756 return __builtin_popcount(1)
20758 return 0;
20760 _ACEOF
20761 if ac_fn_c_try_link "$LINENO"
20762 then :
20763 ac_cv_have___builtin_popcount="yes"
20764 else $as_nop
20765 ac_cv_have___builtin_popcount="no"
20767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20768 conftest$ac_exeext conftest.$ac_ext
20770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20771 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20772 if test "$ac_cv_have___builtin_popcount" = "yes"
20773 then
20775 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20780 printf %s "checking for __clear_cache... " >&6; }
20781 if test ${ac_cv_have___clear_cache+y}
20782 then :
20783 printf %s "(cached) " >&6
20784 else $as_nop
20785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20789 main (void)
20791 __clear_cache((void*)0, (void*)0); return 0;
20793 return 0;
20795 _ACEOF
20796 if ac_fn_c_try_link "$LINENO"
20797 then :
20798 ac_cv_have___clear_cache="yes"
20799 else $as_nop
20800 ac_cv_have___clear_cache="no"
20802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20803 conftest$ac_exeext conftest.$ac_ext
20805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20806 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20807 if test "$ac_cv_have___clear_cache" = "yes"
20808 then
20810 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20815 case $host_cpu in
20816 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20817 printf %s "checking whether we need to define __i386__... " >&6; }
20818 if test ${ac_cv_cpp_def___i386__+y}
20819 then :
20820 printf %s "(cached) " >&6
20821 else $as_nop
20822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20824 #ifndef __i386__
20826 #endif
20827 _ACEOF
20828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20829 $EGREP "yes" >/dev/null 2>&1
20830 then :
20831 ac_cv_cpp_def___i386__=yes
20832 else $as_nop
20833 ac_cv_cpp_def___i386__=no
20835 rm -rf conftest*
20838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20839 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20840 if test "x$ac_cv_cpp_def___i386__" = xyes
20841 then :
20842 CFLAGS="$CFLAGS -D__i386__"
20843 LINTFLAGS="$LINTFLAGS -D__i386__"
20844 fi ;;
20845 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20846 printf %s "checking whether we need to define __x86_64__... " >&6; }
20847 if test ${ac_cv_cpp_def___x86_64__+y}
20848 then :
20849 printf %s "(cached) " >&6
20850 else $as_nop
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #ifndef __x86_64__
20855 #endif
20856 _ACEOF
20857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20858 $EGREP "yes" >/dev/null 2>&1
20859 then :
20860 ac_cv_cpp_def___x86_64__=yes
20861 else $as_nop
20862 ac_cv_cpp_def___x86_64__=no
20864 rm -rf conftest*
20867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20868 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20869 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20870 then :
20871 CFLAGS="$CFLAGS -D__x86_64__"
20872 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20873 fi ;;
20874 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20875 printf %s "checking whether we need to define __sparc64__... " >&6; }
20876 if test ${ac_cv_cpp_def___sparc64__+y}
20877 then :
20878 printf %s "(cached) " >&6
20879 else $as_nop
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #ifndef __sparc64__
20884 #endif
20885 _ACEOF
20886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20887 $EGREP "yes" >/dev/null 2>&1
20888 then :
20889 ac_cv_cpp_def___sparc64__=yes
20890 else $as_nop
20891 ac_cv_cpp_def___sparc64__=no
20893 rm -rf conftest*
20896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20897 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20898 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20899 then :
20900 CFLAGS="$CFLAGS -D__sparc64__"
20901 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20902 fi ;;
20903 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20904 printf %s "checking whether we need to define __sparc__... " >&6; }
20905 if test ${ac_cv_cpp_def___sparc__+y}
20906 then :
20907 printf %s "(cached) " >&6
20908 else $as_nop
20909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20910 /* end confdefs.h. */
20911 #ifndef __sparc__
20913 #endif
20914 _ACEOF
20915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20916 $EGREP "yes" >/dev/null 2>&1
20917 then :
20918 ac_cv_cpp_def___sparc__=yes
20919 else $as_nop
20920 ac_cv_cpp_def___sparc__=no
20922 rm -rf conftest*
20925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20926 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20927 if test "x$ac_cv_cpp_def___sparc__" = xyes
20928 then :
20929 CFLAGS="$CFLAGS -D__sparc__"
20930 LINTFLAGS="$LINTFLAGS -D__sparc__"
20931 fi ;;
20932 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20933 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20934 if test ${ac_cv_cpp_def___powerpc64__+y}
20935 then :
20936 printf %s "(cached) " >&6
20937 else $as_nop
20938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20940 #ifndef __powerpc64__
20942 #endif
20943 _ACEOF
20944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20945 $EGREP "yes" >/dev/null 2>&1
20946 then :
20947 ac_cv_cpp_def___powerpc64__=yes
20948 else $as_nop
20949 ac_cv_cpp_def___powerpc64__=no
20951 rm -rf conftest*
20954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20955 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20956 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20957 then :
20958 CFLAGS="$CFLAGS -D__powerpc64__"
20959 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20960 fi ;;
20961 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20962 printf %s "checking whether we need to define __powerpc__... " >&6; }
20963 if test ${ac_cv_cpp_def___powerpc__+y}
20964 then :
20965 printf %s "(cached) " >&6
20966 else $as_nop
20967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20968 /* end confdefs.h. */
20969 #ifndef __powerpc__
20971 #endif
20972 _ACEOF
20973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20974 $EGREP "yes" >/dev/null 2>&1
20975 then :
20976 ac_cv_cpp_def___powerpc__=yes
20977 else $as_nop
20978 ac_cv_cpp_def___powerpc__=no
20980 rm -rf conftest*
20983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20984 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20985 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20986 then :
20987 CFLAGS="$CFLAGS -D__powerpc__"
20988 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20989 fi ;;
20990 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20991 printf %s "checking whether we need to define __aarch64__... " >&6; }
20992 if test ${ac_cv_cpp_def___aarch64__+y}
20993 then :
20994 printf %s "(cached) " >&6
20995 else $as_nop
20996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20997 /* end confdefs.h. */
20998 #ifndef __aarch64__
21000 #endif
21001 _ACEOF
21002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21003 $EGREP "yes" >/dev/null 2>&1
21004 then :
21005 ac_cv_cpp_def___aarch64__=yes
21006 else $as_nop
21007 ac_cv_cpp_def___aarch64__=no
21009 rm -rf conftest*
21012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21013 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21014 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21015 then :
21016 CFLAGS="$CFLAGS -D__aarch64__"
21017 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21018 fi ;;
21019 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21020 printf %s "checking whether we need to define __arm__... " >&6; }
21021 if test ${ac_cv_cpp_def___arm__+y}
21022 then :
21023 printf %s "(cached) " >&6
21024 else $as_nop
21025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21026 /* end confdefs.h. */
21027 #ifndef __arm__
21029 #endif
21030 _ACEOF
21031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21032 $EGREP "yes" >/dev/null 2>&1
21033 then :
21034 ac_cv_cpp_def___arm__=yes
21035 else $as_nop
21036 ac_cv_cpp_def___arm__=no
21038 rm -rf conftest*
21041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21042 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21043 if test "x$ac_cv_cpp_def___arm__" = xyes
21044 then :
21045 CFLAGS="$CFLAGS -D__arm__"
21046 LINTFLAGS="$LINTFLAGS -D__arm__"
21047 fi ;;
21048 esac
21050 case $host_vendor in
21051 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21052 printf %s "checking whether we need to define __sun__... " >&6; }
21053 if test ${ac_cv_cpp_def___sun__+y}
21054 then :
21055 printf %s "(cached) " >&6
21056 else $as_nop
21057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21059 #ifndef __sun__
21061 #endif
21062 _ACEOF
21063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21064 $EGREP "yes" >/dev/null 2>&1
21065 then :
21066 ac_cv_cpp_def___sun__=yes
21067 else $as_nop
21068 ac_cv_cpp_def___sun__=no
21070 rm -rf conftest*
21073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21074 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21075 if test "x$ac_cv_cpp_def___sun__" = xyes
21076 then :
21077 CFLAGS="$CFLAGS -D__sun__"
21078 LINTFLAGS="$LINTFLAGS -D__sun__"
21079 fi ;;
21080 esac
21086 ac_config_commands="$ac_config_commands include/stamp-h"
21088 printf %s "creating Makefile rules..." >&6
21090 makedep_flags=""
21091 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21093 wine_srcdir=
21094 test "$srcdir" = . || wine_srcdir="$srcdir/"
21096 ac_config_links="$ac_config_links wine:tools/winewrapper"
21097 wine_fn_config_symlink wine
21098 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21099 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21100 wine_fn_config_symlink wine64
21103 wine_fn_config_makefile dlls/acledit enable_acledit
21104 wine_fn_config_makefile dlls/aclui enable_aclui
21105 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21106 wine_fn_config_makefile dlls/activeds enable_activeds
21107 wine_fn_config_makefile dlls/activeds/tests enable_tests
21108 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21109 wine_fn_config_makefile dlls/adsldp enable_adsldp
21110 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21111 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21112 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21113 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21114 wine_fn_config_makefile dlls/advpack enable_advpack
21115 wine_fn_config_makefile dlls/advpack/tests enable_tests
21116 wine_fn_config_makefile dlls/amsi enable_amsi
21117 wine_fn_config_makefile dlls/amstream enable_amstream
21118 wine_fn_config_makefile dlls/amstream/tests enable_tests
21119 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21120 wine_fn_config_makefile dlls/apphelp enable_apphelp
21121 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21122 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21123 wine_fn_config_makefile dlls/atl enable_atl
21124 wine_fn_config_makefile dlls/atl/tests enable_tests
21125 wine_fn_config_makefile dlls/atl100 enable_atl100
21126 wine_fn_config_makefile dlls/atl100/tests enable_tests
21127 wine_fn_config_makefile dlls/atl110 enable_atl110
21128 wine_fn_config_makefile dlls/atl110/tests enable_tests
21129 wine_fn_config_makefile dlls/atl80 enable_atl80
21130 wine_fn_config_makefile dlls/atl80/tests enable_tests
21131 wine_fn_config_makefile dlls/atl90 enable_atl90
21132 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21133 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21134 wine_fn_config_makefile dlls/atmlib enable_atmlib
21135 wine_fn_config_makefile dlls/authz enable_authz
21136 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21137 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21138 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21139 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21140 wine_fn_config_makefile dlls/avrt enable_avrt
21141 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21142 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21143 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21144 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21145 wine_fn_config_makefile dlls/browseui enable_browseui
21146 wine_fn_config_makefile dlls/browseui/tests enable_tests
21147 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21148 wine_fn_config_makefile dlls/cabinet enable_cabinet
21149 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21150 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21151 wine_fn_config_makefile dlls/cards enable_cards
21152 wine_fn_config_makefile dlls/cdosys enable_cdosys
21153 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21154 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21155 wine_fn_config_makefile dlls/clusapi enable_clusapi
21156 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21157 wine_fn_config_makefile dlls/combase enable_combase
21158 wine_fn_config_makefile dlls/combase/tests enable_tests
21159 wine_fn_config_makefile dlls/comcat enable_comcat
21160 wine_fn_config_makefile dlls/comcat/tests enable_tests
21161 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21162 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21163 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21164 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21165 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21166 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21167 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21168 wine_fn_config_makefile dlls/compstui enable_compstui
21169 wine_fn_config_makefile dlls/compstui/tests enable_tests
21170 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21171 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21172 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21173 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21174 wine_fn_config_makefile dlls/connect enable_connect
21175 wine_fn_config_makefile dlls/credui enable_credui
21176 wine_fn_config_makefile dlls/credui/tests enable_tests
21177 wine_fn_config_makefile dlls/crtdll enable_crtdll
21178 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21179 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21180 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21181 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21182 wine_fn_config_makefile dlls/cryptext enable_cryptext
21183 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21184 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21185 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21186 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21187 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21188 wine_fn_config_makefile dlls/cryptui enable_cryptui
21189 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21190 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21191 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21192 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21193 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21194 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21195 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21196 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21197 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21198 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21199 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21200 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21201 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21202 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21203 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21204 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21205 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21206 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21207 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21208 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21209 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21210 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21211 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21212 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21213 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21214 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21215 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21216 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21217 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21218 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21219 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21220 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21221 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21222 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21223 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21225 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21227 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dim enable_d3dim
21229 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21230 wine_fn_config_makefile dlls/d3drm enable_d3drm
21231 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21232 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21233 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21234 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21235 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21236 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21238 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21240 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21242 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21244 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21246 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21248 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21250 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21251 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21252 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21253 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21254 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21255 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21256 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21257 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21258 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21259 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21260 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21261 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21262 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21263 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21264 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21265 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21266 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21267 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21268 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21269 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21270 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21271 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21272 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21273 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21274 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21275 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21276 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21277 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21278 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21279 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21280 wine_fn_config_makefile dlls/davclnt enable_davclnt
21281 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21282 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21283 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21284 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21285 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21286 wine_fn_config_makefile dlls/dcomp enable_dcomp
21287 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21288 wine_fn_config_makefile dlls/ddraw enable_ddraw
21289 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21290 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21291 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21292 wine_fn_config_makefile dlls/devenum enable_devenum
21293 wine_fn_config_makefile dlls/devenum/tests enable_tests
21294 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21295 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21296 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21297 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21298 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21299 wine_fn_config_makefile dlls/difxapi enable_difxapi
21300 wine_fn_config_makefile dlls/dinput enable_dinput
21301 wine_fn_config_makefile dlls/dinput/tests enable_tests
21302 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21303 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21304 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21305 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21306 wine_fn_config_makefile dlls/dispex enable_dispex
21307 wine_fn_config_makefile dlls/dispex/tests enable_tests
21308 wine_fn_config_makefile dlls/display.drv16 enable_win16
21309 wine_fn_config_makefile dlls/dmband enable_dmband
21310 wine_fn_config_makefile dlls/dmband/tests enable_tests
21311 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21312 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21313 wine_fn_config_makefile dlls/dmime enable_dmime
21314 wine_fn_config_makefile dlls/dmime/tests enable_tests
21315 wine_fn_config_makefile dlls/dmloader enable_dmloader
21316 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21317 wine_fn_config_makefile dlls/dmscript enable_dmscript
21318 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21319 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21320 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21321 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21322 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21323 wine_fn_config_makefile dlls/dmusic enable_dmusic
21324 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21325 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21326 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21327 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21328 wine_fn_config_makefile dlls/dplay enable_dplay
21329 wine_fn_config_makefile dlls/dplayx enable_dplayx
21330 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21331 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21332 wine_fn_config_makefile dlls/dpnet enable_dpnet
21333 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21334 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21335 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21336 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21337 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21338 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21339 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21340 wine_fn_config_makefile dlls/drmclien enable_drmclien
21341 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21342 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21343 wine_fn_config_makefile dlls/dsound enable_dsound
21344 wine_fn_config_makefile dlls/dsound/tests enable_tests
21345 wine_fn_config_makefile dlls/dsquery enable_dsquery
21346 wine_fn_config_makefile dlls/dssenh enable_dssenh
21347 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21348 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21349 wine_fn_config_makefile dlls/dswave enable_dswave
21350 wine_fn_config_makefile dlls/dswave/tests enable_tests
21351 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21352 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21353 wine_fn_config_makefile dlls/dwrite enable_dwrite
21354 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21355 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21356 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21357 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21358 wine_fn_config_makefile dlls/dxgi enable_dxgi
21359 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21360 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21361 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21362 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21363 wine_fn_config_makefile dlls/esent enable_esent
21364 wine_fn_config_makefile dlls/evr enable_evr
21365 wine_fn_config_makefile dlls/evr/tests enable_tests
21366 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21367 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21368 wine_fn_config_makefile dlls/faultrep enable_faultrep
21369 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21370 wine_fn_config_makefile dlls/feclient enable_feclient
21371 wine_fn_config_makefile dlls/fltlib enable_fltlib
21372 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21373 wine_fn_config_makefile dlls/fntcache enable_fntcache
21374 wine_fn_config_makefile dlls/fontsub enable_fontsub
21375 wine_fn_config_makefile dlls/fusion enable_fusion
21376 wine_fn_config_makefile dlls/fusion/tests enable_tests
21377 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21378 wine_fn_config_makefile dlls/gameux enable_gameux
21379 wine_fn_config_makefile dlls/gameux/tests enable_tests
21380 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21381 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21382 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21383 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21384 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21385 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21386 wine_fn_config_makefile dlls/geolocation enable_geolocation
21387 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21388 wine_fn_config_makefile dlls/glu32 enable_glu32
21389 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21390 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21391 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21392 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21393 wine_fn_config_makefile dlls/hal enable_hal
21394 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21395 wine_fn_config_makefile dlls/hid enable_hid
21396 wine_fn_config_makefile dlls/hid/tests enable_tests
21397 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21398 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21399 wine_fn_config_makefile dlls/hlink enable_hlink
21400 wine_fn_config_makefile dlls/hlink/tests enable_tests
21401 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21402 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21403 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21404 wine_fn_config_makefile dlls/http.sys enable_http_sys
21405 wine_fn_config_makefile dlls/httpapi enable_httpapi
21406 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21407 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21408 wine_fn_config_makefile dlls/iccvid enable_iccvid
21409 wine_fn_config_makefile dlls/icmp enable_icmp
21410 wine_fn_config_makefile dlls/ieframe enable_ieframe
21411 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21412 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21413 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21414 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21415 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21416 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21417 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21418 wine_fn_config_makefile dlls/imm32 enable_imm32
21419 wine_fn_config_makefile dlls/imm32/tests enable_tests
21420 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21421 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21422 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21423 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21424 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21425 wine_fn_config_makefile dlls/infosoft enable_infosoft
21426 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21427 wine_fn_config_makefile dlls/initpki enable_initpki
21428 wine_fn_config_makefile dlls/inkobj enable_inkobj
21429 wine_fn_config_makefile dlls/inseng enable_inseng
21430 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21431 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21432 wine_fn_config_makefile dlls/iprop enable_iprop
21433 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21434 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21435 wine_fn_config_makefile dlls/itircl enable_itircl
21436 wine_fn_config_makefile dlls/itss enable_itss
21437 wine_fn_config_makefile dlls/itss/tests enable_tests
21438 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21439 wine_fn_config_makefile dlls/jscript enable_jscript
21440 wine_fn_config_makefile dlls/jscript/tests enable_tests
21441 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21442 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21443 wine_fn_config_makefile dlls/kerberos enable_kerberos
21444 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21445 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21446 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21447 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21448 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21449 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21450 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21451 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21452 wine_fn_config_makefile dlls/ksuser enable_ksuser
21453 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21454 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21455 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21456 wine_fn_config_makefile dlls/loadperf enable_loadperf
21457 wine_fn_config_makefile dlls/localspl enable_localspl
21458 wine_fn_config_makefile dlls/localspl/tests enable_tests
21459 wine_fn_config_makefile dlls/localui enable_localui
21460 wine_fn_config_makefile dlls/localui/tests enable_tests
21461 wine_fn_config_makefile dlls/lz32 enable_lz32
21462 wine_fn_config_makefile dlls/lz32/tests enable_tests
21463 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21464 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21465 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21466 wine_fn_config_makefile dlls/mapistub enable_mapistub
21467 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21468 wine_fn_config_makefile dlls/mcicda enable_mcicda
21469 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21470 wine_fn_config_makefile dlls/mciseq enable_mciseq
21471 wine_fn_config_makefile dlls/mciwave enable_mciwave
21472 wine_fn_config_makefile dlls/mf enable_mf
21473 wine_fn_config_makefile dlls/mf/tests enable_tests
21474 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21475 wine_fn_config_makefile dlls/mferror enable_mferror
21476 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21477 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21478 wine_fn_config_makefile dlls/mfplat enable_mfplat
21479 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21480 wine_fn_config_makefile dlls/mfplay enable_mfplay
21481 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21482 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21483 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21484 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21485 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21486 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21487 wine_fn_config_makefile dlls/midimap enable_midimap
21488 wine_fn_config_makefile dlls/mlang enable_mlang
21489 wine_fn_config_makefile dlls/mlang/tests enable_tests
21490 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21491 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21492 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21493 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21494 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21495 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21496 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21497 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21498 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21499 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21500 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21501 wine_fn_config_makefile dlls/mpr enable_mpr
21502 wine_fn_config_makefile dlls/mpr/tests enable_tests
21503 wine_fn_config_makefile dlls/mprapi enable_mprapi
21504 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21505 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21506 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21507 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21508 wine_fn_config_makefile dlls/msado15 enable_msado15
21509 wine_fn_config_makefile dlls/msado15/tests enable_tests
21510 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21511 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21512 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21513 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21514 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21515 wine_fn_config_makefile dlls/mscms enable_mscms
21516 wine_fn_config_makefile dlls/mscms/tests enable_tests
21517 wine_fn_config_makefile dlls/mscoree enable_mscoree
21518 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21519 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21520 wine_fn_config_makefile dlls/msctf enable_msctf
21521 wine_fn_config_makefile dlls/msctf/tests enable_tests
21522 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21523 wine_fn_config_makefile dlls/msctfp enable_msctfp
21524 wine_fn_config_makefile dlls/msdaps enable_msdaps
21525 wine_fn_config_makefile dlls/msdasql enable_msdasql
21526 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21527 wine_fn_config_makefile dlls/msdelta enable_msdelta
21528 wine_fn_config_makefile dlls/msdmo enable_msdmo
21529 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21530 wine_fn_config_makefile dlls/msdrm enable_msdrm
21531 wine_fn_config_makefile dlls/msftedit enable_msftedit
21532 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21533 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21534 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21535 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21536 wine_fn_config_makefile dlls/mshtml enable_mshtml
21537 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21538 wine_fn_config_makefile dlls/msi enable_msi
21539 wine_fn_config_makefile dlls/msi/tests enable_tests
21540 wine_fn_config_makefile dlls/msident enable_msident
21541 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21542 wine_fn_config_makefile dlls/msimsg enable_msimsg
21543 wine_fn_config_makefile dlls/msimtf enable_msimtf
21544 wine_fn_config_makefile dlls/msisip enable_msisip
21545 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21546 wine_fn_config_makefile dlls/msls31 enable_msls31
21547 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21548 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21549 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21550 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21551 wine_fn_config_makefile dlls/msports enable_msports
21552 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21553 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21554 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21555 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21556 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21557 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21558 wine_fn_config_makefile dlls/mstask enable_mstask
21559 wine_fn_config_makefile dlls/mstask/tests enable_tests
21560 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21561 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21562 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21563 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21564 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21565 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21566 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21567 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21568 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21569 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21570 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21571 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21572 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21573 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21574 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21575 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21576 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21577 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21578 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21579 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21580 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21581 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21582 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21583 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21584 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21585 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21586 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21587 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21588 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21589 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21590 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21591 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21593 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21595 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21596 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21597 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21598 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21599 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21600 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21601 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21602 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21603 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21604 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21605 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21606 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21607 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21608 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21609 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21610 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21611 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21612 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21613 wine_fn_config_makefile dlls/mswsock enable_mswsock
21614 wine_fn_config_makefile dlls/msxml enable_msxml
21615 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21616 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21617 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21618 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21619 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21620 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21621 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21622 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21623 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21624 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21625 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21626 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21627 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21628 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21629 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21630 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21631 wine_fn_config_makefile dlls/netprofm enable_netprofm
21632 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21633 wine_fn_config_makefile dlls/netutils enable_netutils
21634 wine_fn_config_makefile dlls/newdev enable_newdev
21635 wine_fn_config_makefile dlls/ninput enable_ninput
21636 wine_fn_config_makefile dlls/ninput/tests enable_tests
21637 wine_fn_config_makefile dlls/normaliz enable_normaliz
21638 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21639 wine_fn_config_makefile dlls/npptools enable_npptools
21640 wine_fn_config_makefile dlls/nsi enable_nsi
21641 wine_fn_config_makefile dlls/nsi/tests enable_tests
21642 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21643 wine_fn_config_makefile dlls/ntdll enable_ntdll
21644 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21645 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21646 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21647 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21648 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21649 wine_fn_config_makefile dlls/ntprint enable_ntprint
21650 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21651 wine_fn_config_makefile dlls/objsel enable_objsel
21652 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21653 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21654 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21655 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21656 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21657 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21658 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21659 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21660 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21661 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21662 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21663 wine_fn_config_makefile dlls/ole32 enable_ole32
21664 wine_fn_config_makefile dlls/ole32/tests enable_tests
21665 wine_fn_config_makefile dlls/oleacc enable_oleacc
21666 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21667 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21668 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21669 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21670 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21671 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21672 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21673 wine_fn_config_makefile dlls/oledlg enable_oledlg
21674 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21675 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21676 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21677 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21678 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21679 wine_fn_config_makefile dlls/opcservices enable_opcservices
21680 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21681 wine_fn_config_makefile dlls/opencl enable_opencl
21682 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21683 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21684 wine_fn_config_makefile dlls/packager enable_packager
21685 wine_fn_config_makefile dlls/packager/tests enable_tests
21686 wine_fn_config_makefile dlls/pdh enable_pdh
21687 wine_fn_config_makefile dlls/pdh/tests enable_tests
21688 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21689 wine_fn_config_makefile dlls/pidgen enable_pidgen
21690 wine_fn_config_makefile dlls/powrprof enable_powrprof
21691 wine_fn_config_makefile dlls/printui enable_printui
21692 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21693 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21694 wine_fn_config_makefile dlls/propsys enable_propsys
21695 wine_fn_config_makefile dlls/propsys/tests enable_tests
21696 wine_fn_config_makefile dlls/psapi enable_psapi
21697 wine_fn_config_makefile dlls/psapi/tests enable_tests
21698 wine_fn_config_makefile dlls/pstorec enable_pstorec
21699 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21700 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21701 wine_fn_config_makefile dlls/qasf enable_qasf
21702 wine_fn_config_makefile dlls/qasf/tests enable_tests
21703 wine_fn_config_makefile dlls/qcap enable_qcap
21704 wine_fn_config_makefile dlls/qcap/tests enable_tests
21705 wine_fn_config_makefile dlls/qdvd enable_qdvd
21706 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21707 wine_fn_config_makefile dlls/qedit enable_qedit
21708 wine_fn_config_makefile dlls/qedit/tests enable_tests
21709 wine_fn_config_makefile dlls/qmgr enable_qmgr
21710 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21711 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21712 wine_fn_config_makefile dlls/quartz enable_quartz
21713 wine_fn_config_makefile dlls/quartz/tests enable_tests
21714 wine_fn_config_makefile dlls/query enable_query
21715 wine_fn_config_makefile dlls/qwave enable_qwave
21716 wine_fn_config_makefile dlls/qwave/tests enable_tests
21717 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21718 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21719 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21720 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21721 wine_fn_config_makefile dlls/regapi enable_regapi
21722 wine_fn_config_makefile dlls/resutils enable_resutils
21723 wine_fn_config_makefile dlls/riched20 enable_riched20
21724 wine_fn_config_makefile dlls/riched20/tests enable_tests
21725 wine_fn_config_makefile dlls/riched32 enable_riched32
21726 wine_fn_config_makefile dlls/riched32/tests enable_tests
21727 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21728 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21729 wine_fn_config_makefile dlls/rsabase enable_rsabase
21730 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21731 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21732 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21733 wine_fn_config_makefile dlls/rtutils enable_rtutils
21734 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21735 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21736 wine_fn_config_makefile dlls/samlib enable_samlib
21737 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21738 wine_fn_config_makefile dlls/sapi enable_sapi
21739 wine_fn_config_makefile dlls/sapi/tests enable_tests
21740 wine_fn_config_makefile dlls/sas enable_sas
21741 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21742 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21743 wine_fn_config_makefile dlls/sccbase enable_sccbase
21744 wine_fn_config_makefile dlls/schannel enable_schannel
21745 wine_fn_config_makefile dlls/schannel/tests enable_tests
21746 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21747 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21748 wine_fn_config_makefile dlls/scrobj enable_scrobj
21749 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21750 wine_fn_config_makefile dlls/scrrun enable_scrrun
21751 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21752 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21753 wine_fn_config_makefile dlls/sechost enable_sechost
21754 wine_fn_config_makefile dlls/secur32 enable_secur32
21755 wine_fn_config_makefile dlls/secur32/tests enable_tests
21756 wine_fn_config_makefile dlls/security enable_security
21757 wine_fn_config_makefile dlls/sensapi enable_sensapi
21758 wine_fn_config_makefile dlls/serialui enable_serialui
21759 wine_fn_config_makefile dlls/serialui/tests enable_tests
21760 wine_fn_config_makefile dlls/setupapi enable_setupapi
21761 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21762 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21763 wine_fn_config_makefile dlls/sfc enable_sfc
21764 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21765 wine_fn_config_makefile dlls/shcore enable_shcore
21766 wine_fn_config_makefile dlls/shcore/tests enable_tests
21767 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21768 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21769 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21770 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21771 wine_fn_config_makefile dlls/shell32 enable_shell32
21772 wine_fn_config_makefile dlls/shell32/tests enable_tests
21773 wine_fn_config_makefile dlls/shfolder enable_shfolder
21774 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21775 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21776 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21777 wine_fn_config_makefile dlls/slc enable_slc
21778 wine_fn_config_makefile dlls/slc/tests enable_tests
21779 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21780 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21781 wine_fn_config_makefile dlls/softpub enable_softpub
21782 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21783 wine_fn_config_makefile dlls/spoolss enable_spoolss
21784 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21785 wine_fn_config_makefile dlls/sppc enable_sppc
21786 wine_fn_config_makefile dlls/srclient enable_srclient
21787 wine_fn_config_makefile dlls/srvcli enable_srvcli
21788 wine_fn_config_makefile dlls/sspicli enable_sspicli
21789 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21790 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21791 wine_fn_config_makefile dlls/sti enable_sti
21792 wine_fn_config_makefile dlls/sti/tests enable_tests
21793 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21794 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21795 wine_fn_config_makefile dlls/strmdll enable_strmdll
21796 wine_fn_config_makefile dlls/svrapi enable_svrapi
21797 wine_fn_config_makefile dlls/sxs enable_sxs
21798 wine_fn_config_makefile dlls/sxs/tests enable_tests
21799 wine_fn_config_makefile dlls/system.drv16 enable_win16
21800 wine_fn_config_makefile dlls/t2embed enable_t2embed
21801 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21802 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21803 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21804 wine_fn_config_makefile dlls/taskschd enable_taskschd
21805 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21806 wine_fn_config_makefile dlls/tbs enable_tbs
21807 wine_fn_config_makefile dlls/tdh enable_tdh
21808 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21809 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21810 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21811 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21812 wine_fn_config_makefile dlls/traffic enable_traffic
21813 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21814 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21815 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21816 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21817 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21818 wine_fn_config_makefile dlls/tzres enable_tzres
21819 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21820 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21821 wine_fn_config_makefile dlls/uianimation enable_uianimation
21822 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21823 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21824 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21825 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21826 wine_fn_config_makefile dlls/unicows enable_unicows
21827 wine_fn_config_makefile dlls/updspapi enable_updspapi
21828 wine_fn_config_makefile dlls/url enable_url
21829 wine_fn_config_makefile dlls/urlmon enable_urlmon
21830 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21831 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21832 wine_fn_config_makefile dlls/user.exe16 enable_win16
21833 wine_fn_config_makefile dlls/user32 enable_user32
21834 wine_fn_config_makefile dlls/user32/tests enable_tests
21835 wine_fn_config_makefile dlls/userenv enable_userenv
21836 wine_fn_config_makefile dlls/userenv/tests enable_tests
21837 wine_fn_config_makefile dlls/usp10 enable_usp10
21838 wine_fn_config_makefile dlls/usp10/tests enable_tests
21839 wine_fn_config_makefile dlls/utildll enable_utildll
21840 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21841 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21842 wine_fn_config_makefile dlls/vbscript enable_vbscript
21843 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21844 wine_fn_config_makefile dlls/vcomp enable_vcomp
21845 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21846 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21847 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21848 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21849 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21850 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21851 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21852 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21853 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21854 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21855 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21856 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21857 wine_fn_config_makefile dlls/version enable_version
21858 wine_fn_config_makefile dlls/version/tests enable_tests
21859 wine_fn_config_makefile dlls/vga enable_vga
21860 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21861 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21862 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21863 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21864 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21865 wine_fn_config_makefile dlls/vssapi enable_vssapi
21866 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21867 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21868 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21869 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21870 wine_fn_config_makefile dlls/w32skrnl enable_win16
21871 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21872 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21873 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21874 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21875 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21876 wine_fn_config_makefile dlls/wdscore enable_wdscore
21877 wine_fn_config_makefile dlls/webservices enable_webservices
21878 wine_fn_config_makefile dlls/webservices/tests enable_tests
21879 wine_fn_config_makefile dlls/websocket enable_websocket
21880 wine_fn_config_makefile dlls/wer enable_wer
21881 wine_fn_config_makefile dlls/wer/tests enable_tests
21882 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21883 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21884 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21885 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21886 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21887 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21888 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21889 wine_fn_config_makefile dlls/win32u enable_win32u
21890 wine_fn_config_makefile dlls/win32u/tests enable_tests
21891 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21892 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21893 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21894 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21895 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21896 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21897 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21898 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21899 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21900 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21901 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21902 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21903 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21904 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21905 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21906 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21907 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21908 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21909 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21910 wine_fn_config_makefile dlls/windows.media enable_windows_media
21911 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21912 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21913 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21914 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21915 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21916 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21917 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21918 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21919 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21920 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21921 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21922 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21923 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21924 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21925 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21926 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21927 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21928 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21929 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21930 wine_fn_config_makefile dlls/wined3d enable_wined3d
21931 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21932 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21933 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21934 wine_fn_config_makefile dlls/winemapi enable_winemapi
21935 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21936 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21937 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21938 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21939 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21940 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21941 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21942 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21943 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21944 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21945 wine_fn_config_makefile dlls/wing32 enable_wing32
21946 wine_fn_config_makefile dlls/winhttp enable_winhttp
21947 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21948 wine_fn_config_makefile dlls/wininet enable_wininet
21949 wine_fn_config_makefile dlls/wininet/tests enable_tests
21950 wine_fn_config_makefile dlls/winmm enable_winmm
21951 wine_fn_config_makefile dlls/winmm/tests enable_tests
21952 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21953 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21954 wine_fn_config_makefile dlls/winprint enable_winprint
21955 wine_fn_config_makefile dlls/winscard enable_winscard
21956 wine_fn_config_makefile dlls/winscard/tests enable_tests
21957 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21958 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21959 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21960 wine_fn_config_makefile dlls/winsta enable_winsta
21961 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21962 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21963 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21964 wine_fn_config_makefile dlls/wintrust enable_wintrust
21965 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21966 wine_fn_config_makefile dlls/wintypes enable_wintypes
21967 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21968 wine_fn_config_makefile dlls/winusb enable_winusb
21969 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21970 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21971 wine_fn_config_makefile dlls/wlanui enable_wlanui
21972 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21973 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21974 wine_fn_config_makefile dlls/wmasf enable_wmasf
21975 wine_fn_config_makefile dlls/wmi enable_wmi
21976 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21977 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21978 wine_fn_config_makefile dlls/wmp enable_wmp
21979 wine_fn_config_makefile dlls/wmp/tests enable_tests
21980 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21981 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21982 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21983 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21984 wine_fn_config_makefile dlls/wofutil enable_wofutil
21985 wine_fn_config_makefile dlls/wow32 enable_win16
21986 wine_fn_config_makefile dlls/wow64 enable_wow64
21987 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21988 wine_fn_config_makefile dlls/wow64win enable_wow64win
21989 wine_fn_config_makefile dlls/wpc enable_wpc
21990 wine_fn_config_makefile dlls/wpc/tests enable_tests
21991 wine_fn_config_makefile dlls/wpcap enable_wpcap
21992 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21993 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21994 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21995 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21996 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21997 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21998 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21999 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22000 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22001 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22002 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22003 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22004 wine_fn_config_makefile dlls/wuapi enable_wuapi
22005 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22006 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22007 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22008 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22009 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22010 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22011 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22012 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22013 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22014 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22015 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22016 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22017 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22018 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22019 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22020 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22021 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22022 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22023 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22024 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22025 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22026 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22027 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22028 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22029 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22030 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22031 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22032 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22033 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22034 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22035 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22036 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22037 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22038 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22039 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22040 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22041 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22042 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22043 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22044 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22045 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22046 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22047 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22048 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22049 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22050 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22051 wine_fn_config_makefile dlls/xmllite enable_xmllite
22052 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22053 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22054 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22055 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22056 wine_fn_config_makefile fonts enable_fonts
22057 wine_fn_config_makefile include enable_include
22058 wine_fn_config_makefile libs/adsiid enable_adsiid
22059 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22060 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22061 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22062 wine_fn_config_makefile libs/dxguid enable_dxguid
22063 wine_fn_config_makefile libs/faudio enable_faudio
22064 wine_fn_config_makefile libs/gsm enable_gsm
22065 wine_fn_config_makefile libs/jpeg enable_jpeg
22066 wine_fn_config_makefile libs/jxr enable_jxr
22067 wine_fn_config_makefile libs/lcms2 enable_lcms2
22068 wine_fn_config_makefile libs/ldap enable_ldap
22069 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22070 wine_fn_config_makefile libs/mpg123 enable_mpg123
22071 wine_fn_config_makefile libs/musl enable_musl
22072 wine_fn_config_makefile libs/png enable_png
22073 wine_fn_config_makefile libs/strmbase enable_strmbase
22074 wine_fn_config_makefile libs/strmiids enable_strmiids
22075 wine_fn_config_makefile libs/tiff enable_tiff
22076 wine_fn_config_makefile libs/uuid enable_uuid
22077 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22078 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22079 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22080 wine_fn_config_makefile libs/xml2 enable_xml2
22081 wine_fn_config_makefile libs/xslt enable_xslt
22082 wine_fn_config_makefile libs/zlib enable_zlib
22083 wine_fn_config_makefile libs/zydis enable_zydis
22084 wine_fn_config_makefile loader enable_loader
22085 wine_fn_config_makefile nls enable_nls
22086 wine_fn_config_makefile po enable_po
22087 wine_fn_config_makefile programs/arp enable_arp
22088 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22089 wine_fn_config_makefile programs/attrib enable_attrib
22090 wine_fn_config_makefile programs/cabarc enable_cabarc
22091 wine_fn_config_makefile programs/cacls enable_cacls
22092 wine_fn_config_makefile programs/certutil enable_certutil
22093 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22094 wine_fn_config_makefile programs/clock enable_clock
22095 wine_fn_config_makefile programs/cmd enable_cmd
22096 wine_fn_config_makefile programs/cmd/tests enable_tests
22097 wine_fn_config_makefile programs/conhost enable_conhost
22098 wine_fn_config_makefile programs/conhost/tests enable_tests
22099 wine_fn_config_makefile programs/control enable_control
22100 wine_fn_config_makefile programs/cscript enable_cscript
22101 wine_fn_config_makefile programs/dism enable_dism
22102 wine_fn_config_makefile programs/dllhost enable_dllhost
22103 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22104 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22105 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22106 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22107 wine_fn_config_makefile programs/eject enable_eject
22108 wine_fn_config_makefile programs/expand enable_expand
22109 wine_fn_config_makefile programs/explorer enable_explorer
22110 wine_fn_config_makefile programs/explorer/tests enable_tests
22111 wine_fn_config_makefile programs/extrac32 enable_extrac32
22112 wine_fn_config_makefile programs/fc enable_fc
22113 wine_fn_config_makefile programs/find enable_find
22114 wine_fn_config_makefile programs/find/tests enable_tests
22115 wine_fn_config_makefile programs/findstr enable_findstr
22116 wine_fn_config_makefile programs/findstr/tests enable_tests
22117 wine_fn_config_makefile programs/fsutil enable_fsutil
22118 wine_fn_config_makefile programs/fsutil/tests enable_tests
22119 wine_fn_config_makefile programs/hh enable_hh
22120 wine_fn_config_makefile programs/hostname enable_hostname
22121 wine_fn_config_makefile programs/icacls enable_icacls
22122 wine_fn_config_makefile programs/icinfo enable_icinfo
22123 wine_fn_config_makefile programs/iexplore enable_iexplore
22124 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22125 wine_fn_config_makefile programs/klist enable_klist
22126 wine_fn_config_makefile programs/lodctr enable_lodctr
22127 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22128 wine_fn_config_makefile programs/mshta enable_mshta
22129 wine_fn_config_makefile programs/msidb enable_msidb
22130 wine_fn_config_makefile programs/msiexec enable_msiexec
22131 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22132 wine_fn_config_makefile programs/net enable_net
22133 wine_fn_config_makefile programs/netsh enable_netsh
22134 wine_fn_config_makefile programs/netstat enable_netstat
22135 wine_fn_config_makefile programs/ngen enable_ngen
22136 wine_fn_config_makefile programs/notepad enable_notepad
22137 wine_fn_config_makefile programs/oleview enable_oleview
22138 wine_fn_config_makefile programs/ping enable_ping
22139 wine_fn_config_makefile programs/plugplay enable_plugplay
22140 wine_fn_config_makefile programs/pnputil enable_pnputil
22141 wine_fn_config_makefile programs/powershell enable_powershell
22142 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22143 wine_fn_config_makefile programs/progman enable_progman
22144 wine_fn_config_makefile programs/reg enable_reg
22145 wine_fn_config_makefile programs/reg/tests enable_tests
22146 wine_fn_config_makefile programs/regasm enable_regasm
22147 wine_fn_config_makefile programs/regedit enable_regedit
22148 wine_fn_config_makefile programs/regedit/tests enable_tests
22149 wine_fn_config_makefile programs/regini enable_regini
22150 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22151 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22152 wine_fn_config_makefile programs/robocopy enable_robocopy
22153 wine_fn_config_makefile programs/rpcss enable_rpcss
22154 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22155 wine_fn_config_makefile programs/rundll32 enable_rundll32
22156 wine_fn_config_makefile programs/sc enable_sc
22157 wine_fn_config_makefile programs/sc/tests enable_tests
22158 wine_fn_config_makefile programs/schtasks enable_schtasks
22159 wine_fn_config_makefile programs/schtasks/tests enable_tests
22160 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22161 wine_fn_config_makefile programs/secedit enable_secedit
22162 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22163 wine_fn_config_makefile programs/services enable_services
22164 wine_fn_config_makefile programs/services/tests enable_tests
22165 wine_fn_config_makefile programs/setx enable_setx
22166 wine_fn_config_makefile programs/shutdown enable_shutdown
22167 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22168 wine_fn_config_makefile programs/start enable_start
22169 wine_fn_config_makefile programs/subst enable_subst
22170 wine_fn_config_makefile programs/svchost enable_svchost
22171 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22172 wine_fn_config_makefile programs/taskkill enable_taskkill
22173 wine_fn_config_makefile programs/tasklist enable_tasklist
22174 wine_fn_config_makefile programs/tasklist/tests enable_tests
22175 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22176 wine_fn_config_makefile programs/termsv enable_termsv
22177 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22178 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22179 wine_fn_config_makefile programs/view enable_view
22180 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22181 wine_fn_config_makefile programs/where enable_where
22182 wine_fn_config_makefile programs/whoami enable_whoami
22183 wine_fn_config_makefile programs/wineboot enable_wineboot
22184 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22185 wine_fn_config_makefile programs/winecfg enable_winecfg
22186 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22187 wine_fn_config_makefile programs/winedbg enable_winedbg
22188 wine_fn_config_makefile programs/winedevice enable_winedevice
22189 wine_fn_config_makefile programs/winefile enable_winefile
22190 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22191 wine_fn_config_makefile programs/winemine enable_winemine
22192 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22193 wine_fn_config_makefile programs/winepath enable_winepath
22194 wine_fn_config_makefile programs/winetest enable_winetest
22195 wine_fn_config_makefile programs/winevdm enable_win16
22196 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22197 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22198 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22199 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22200 wine_fn_config_makefile programs/winver enable_winver
22201 wine_fn_config_makefile programs/wmic enable_wmic
22202 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22203 wine_fn_config_makefile programs/wordpad enable_wordpad
22204 wine_fn_config_makefile programs/write enable_write
22205 wine_fn_config_makefile programs/wscript enable_wscript
22206 wine_fn_config_makefile programs/wscript/tests enable_tests
22207 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22208 wine_fn_config_makefile programs/wusa enable_wusa
22209 wine_fn_config_makefile programs/xcopy enable_xcopy
22210 wine_fn_config_makefile programs/xcopy/tests enable_tests
22211 wine_fn_config_makefile server enable_server
22212 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22213 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22214 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22215 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22216 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22217 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22218 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22219 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22220 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22223 as_fn_append CONFIGURE_TARGETS " TAGS"
22224 as_fn_append CONFIGURE_TARGETS " tags"
22225 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22226 as_fn_append CONFIGURE_TARGETS " config.log"
22227 as_fn_append CONFIGURE_TARGETS " config.status"
22228 as_fn_append CONFIGURE_TARGETS " include/config.h"
22229 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22230 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22232 if test "x$enable_tools" != xno
22233 then
22234 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22235 ac_config_commands="$ac_config_commands tools/makedep"
22239 ac_config_commands="$ac_config_commands Makefile"
22243 SHELL=/bin/sh
22246 as_fn_append wine_rules "
22247 all: wine
22248 @echo \"Wine build complete.\"
22249 .INIT: Makefile
22250 .MAKEFILEDEPS:
22251 all: Makefile
22252 Makefile: config.status \$(MAKEDEP)
22253 @./config.status Makefile
22254 depend: \$(MAKEDEP)
22255 \$(MAKEDEP)$makedep_flags"
22258 as_fn_append wine_rules "
22259 config.status: ${wine_srcdir}configure
22260 @./config.status --recheck
22261 include/config.h: include/stamp-h
22262 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22263 @./config.status include/config.h include/stamp-h"
22265 if test "x$enable_maintainer_mode" = xyes
22266 then
22267 as_fn_append wine_rules "
22268 configure: configure.ac aclocal.m4
22269 autoconf --warnings=all
22270 include/config.h.in: include/stamp-h.in
22271 include/stamp-h.in: configure.ac aclocal.m4
22272 autoheader --warnings=all
22273 @echo timestamp > \$@"
22276 if test "x$enable_tools" != xno
22277 then
22278 as_fn_append wine_rules "
22279 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22280 @./config.status tools/makedep
22281 Makefile: tools/makedep$ac_exeext"
22282 else
22283 as_fn_append wine_rules "
22284 \$(MAKEDEP):
22285 @echo \"You need to run make in $toolsdir first\" && false"
22289 if test -n "$with_wine64"
22290 then
22291 case "$with_wine64" in
22292 /*) reldir="" ;;
22293 *) reldir="../" ;;
22294 esac
22295 rm -f fonts server 2>/dev/null
22296 as_fn_append wine_rules "
22297 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22298 loader/wine64 loader/wine64-preloader:
22299 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22300 $with_wine64/loader/wine:
22301 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22302 $with_wine64/loader/wine-preloader:
22303 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22304 clean::
22305 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22306 else
22307 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22308 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22309 fonts \
22310 loader/wine.inf \
22311 nls \
22312 programs/msidb/msidb \
22313 programs/msiexec/msiexec \
22314 programs/notepad/notepad \
22315 programs/regedit/regedit \
22316 programs/regsvr32/regsvr32 \
22317 programs/wineboot/wineboot \
22318 programs/winecfg/winecfg \
22319 programs/wineconsole/wineconsole \
22320 programs/winedbg/winedbg \
22321 programs/winefile/winefile \
22322 programs/winemine/winemine \
22323 programs/winepath/winepath \
22324 server/wineserver"
22326 case $host_os in
22327 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22328 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22329 esac
22333 as_fn_append wine_rules "
22334 distclean:: clean
22335 rm -rf autom4te.cache
22336 maintainer-clean::
22337 rm -f configure include/config.h.in"
22340 as_fn_append wine_rules "
22341 dlls/ntdll/unix/version.c: dummy
22342 @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)
22343 programs/winetest/build.rc: dummy
22344 @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)
22345 programs/winetest/build.nfo:
22346 @-\$(CC) -v 2>\$@
22347 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
22348 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22349 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22352 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22354 as_fn_append wine_rules "
22355 TAGS etags:
22356 rm -f TAGS
22357 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22358 tags ctags:
22359 rm -f tags
22360 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22361 dummy:
22362 .PHONY: depend dummy install-manpages"
22364 printf "%s\n" " done" >&6
22365 cat >confcache <<\_ACEOF
22366 # This file is a shell script that caches the results of configure
22367 # tests run on this system so they can be shared between configure
22368 # scripts and configure runs, see configure's option --config-cache.
22369 # It is not useful on other systems. If it contains results you don't
22370 # want to keep, you may remove or edit it.
22372 # config.status only pays attention to the cache file if you give it
22373 # the --recheck option to rerun configure.
22375 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22376 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22377 # following values.
22379 _ACEOF
22381 # The following way of writing the cache mishandles newlines in values,
22382 # but we know of no workaround that is simple, portable, and efficient.
22383 # So, we kill variables containing newlines.
22384 # Ultrix sh set writes to stderr and can't be redirected directly,
22385 # and sets the high bit in the cache file unless we assign to the vars.
22387 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22388 eval ac_val=\$$ac_var
22389 case $ac_val in #(
22390 *${as_nl}*)
22391 case $ac_var in #(
22392 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22393 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22394 esac
22395 case $ac_var in #(
22396 _ | IFS | as_nl) ;; #(
22397 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22398 *) { eval $ac_var=; unset $ac_var;} ;;
22399 esac ;;
22400 esac
22401 done
22403 (set) 2>&1 |
22404 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22405 *${as_nl}ac_space=\ *)
22406 # `set' does not quote correctly, so add quotes: double-quote
22407 # substitution turns \\\\ into \\, and sed turns \\ into \.
22408 sed -n \
22409 "s/'/'\\\\''/g;
22410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22411 ;; #(
22413 # `set' quotes correctly as required by POSIX, so do not add quotes.
22414 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22416 esac |
22417 sort
22419 sed '
22420 /^ac_cv_env_/b end
22421 t clear
22422 :clear
22423 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22424 t end
22425 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22426 :end' >>confcache
22427 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22428 if test -w "$cache_file"; then
22429 if test "x$cache_file" != "x/dev/null"; then
22430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22431 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22432 if test ! -f "$cache_file" || test -h "$cache_file"; then
22433 cat confcache >"$cache_file"
22434 else
22435 case $cache_file in #(
22436 */* | ?:*)
22437 mv -f confcache "$cache_file"$$ &&
22438 mv -f "$cache_file"$$ "$cache_file" ;; #(
22440 mv -f confcache "$cache_file" ;;
22441 esac
22444 else
22445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22446 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22449 rm -f confcache
22451 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22452 # Let make expand exec_prefix.
22453 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22455 DEFS=-DHAVE_CONFIG_H
22457 ac_libobjs=
22458 ac_ltlibobjs=
22460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22461 # 1. Remove the extension, and $U if already installed.
22462 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22463 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22464 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22465 # will be set to the directory where LIBOBJS objects are built.
22466 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22467 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22468 done
22469 LIBOBJS=$ac_libobjs
22471 LTLIBOBJS=$ac_ltlibobjs
22475 : "${CONFIG_STATUS=./config.status}"
22476 ac_write_fail=0
22477 ac_clean_files_save=$ac_clean_files
22478 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22480 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22481 as_write_fail=0
22482 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22483 #! $SHELL
22484 # Generated by $as_me.
22485 # Run this file to recreate the current configuration.
22486 # Compiler output produced by configure, useful for debugging
22487 # configure, is in config.log if it exists.
22489 debug=false
22490 ac_cs_recheck=false
22491 ac_cs_silent=false
22493 SHELL=\${CONFIG_SHELL-$SHELL}
22494 export SHELL
22495 _ASEOF
22496 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22497 ## -------------------- ##
22498 ## M4sh Initialization. ##
22499 ## -------------------- ##
22501 # Be more Bourne compatible
22502 DUALCASE=1; export DUALCASE # for MKS sh
22503 as_nop=:
22504 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22505 then :
22506 emulate sh
22507 NULLCMD=:
22508 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22509 # is contrary to our usage. Disable this feature.
22510 alias -g '${1+"$@"}'='"$@"'
22511 setopt NO_GLOB_SUBST
22512 else $as_nop
22513 case `(set -o) 2>/dev/null` in #(
22514 *posix*) :
22515 set -o posix ;; #(
22516 *) :
22518 esac
22523 # Reset variables that may have inherited troublesome values from
22524 # the environment.
22526 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22527 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22528 # side effect of setting IFS to empty, thus disabling word splitting.)
22529 # Quoting is to prevent editors from complaining about space-tab.
22530 as_nl='
22532 export as_nl
22533 IFS=" "" $as_nl"
22535 PS1='$ '
22536 PS2='> '
22537 PS4='+ '
22539 # Ensure predictable behavior from utilities with locale-dependent output.
22540 LC_ALL=C
22541 export LC_ALL
22542 LANGUAGE=C
22543 export LANGUAGE
22545 # We cannot yet rely on "unset" to work, but we need these variables
22546 # to be unset--not just set to an empty or harmless value--now, to
22547 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22548 # also avoids known problems related to "unset" and subshell syntax
22549 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22550 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22551 do eval test \${$as_var+y} \
22552 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22553 done
22555 # Ensure that fds 0, 1, and 2 are open.
22556 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22557 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22558 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22560 # The user is always right.
22561 if ${PATH_SEPARATOR+false} :; then
22562 PATH_SEPARATOR=:
22563 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22564 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22565 PATH_SEPARATOR=';'
22570 # Find who we are. Look in the path if we contain no directory separator.
22571 as_myself=
22572 case $0 in #((
22573 *[\\/]* ) as_myself=$0 ;;
22574 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22575 for as_dir in $PATH
22577 IFS=$as_save_IFS
22578 case $as_dir in #(((
22579 '') as_dir=./ ;;
22580 */) ;;
22581 *) as_dir=$as_dir/ ;;
22582 esac
22583 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22584 done
22585 IFS=$as_save_IFS
22588 esac
22589 # We did not find ourselves, most probably we were run as `sh COMMAND'
22590 # in which case we are not to be found in the path.
22591 if test "x$as_myself" = x; then
22592 as_myself=$0
22594 if test ! -f "$as_myself"; then
22595 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22596 exit 1
22601 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22602 # ----------------------------------------
22603 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22604 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22605 # script with STATUS, using 1 if that was 0.
22606 as_fn_error ()
22608 as_status=$1; test $as_status -eq 0 && as_status=1
22609 if test "$4"; then
22610 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22613 printf "%s\n" "$as_me: error: $2" >&2
22614 as_fn_exit $as_status
22615 } # as_fn_error
22619 # as_fn_set_status STATUS
22620 # -----------------------
22621 # Set $? to STATUS, without forking.
22622 as_fn_set_status ()
22624 return $1
22625 } # as_fn_set_status
22627 # as_fn_exit STATUS
22628 # -----------------
22629 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22630 as_fn_exit ()
22632 set +e
22633 as_fn_set_status $1
22634 exit $1
22635 } # as_fn_exit
22637 # as_fn_unset VAR
22638 # ---------------
22639 # Portably unset VAR.
22640 as_fn_unset ()
22642 { eval $1=; unset $1;}
22644 as_unset=as_fn_unset
22646 # as_fn_append VAR VALUE
22647 # ----------------------
22648 # Append the text in VALUE to the end of the definition contained in VAR. Take
22649 # advantage of any shell optimizations that allow amortized linear growth over
22650 # repeated appends, instead of the typical quadratic growth present in naive
22651 # implementations.
22652 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22653 then :
22654 eval 'as_fn_append ()
22656 eval $1+=\$2
22658 else $as_nop
22659 as_fn_append ()
22661 eval $1=\$$1\$2
22663 fi # as_fn_append
22665 # as_fn_arith ARG...
22666 # ------------------
22667 # Perform arithmetic evaluation on the ARGs, and store the result in the
22668 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22669 # must be portable across $(()) and expr.
22670 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22671 then :
22672 eval 'as_fn_arith ()
22674 as_val=$(( $* ))
22676 else $as_nop
22677 as_fn_arith ()
22679 as_val=`expr "$@" || test $? -eq 1`
22681 fi # as_fn_arith
22684 if expr a : '\(a\)' >/dev/null 2>&1 &&
22685 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22686 as_expr=expr
22687 else
22688 as_expr=false
22691 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22692 as_basename=basename
22693 else
22694 as_basename=false
22697 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22698 as_dirname=dirname
22699 else
22700 as_dirname=false
22703 as_me=`$as_basename -- "$0" ||
22704 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22705 X"$0" : 'X\(//\)$' \| \
22706 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22707 printf "%s\n" X/"$0" |
22708 sed '/^.*\/\([^/][^/]*\)\/*$/{
22709 s//\1/
22712 /^X\/\(\/\/\)$/{
22713 s//\1/
22716 /^X\/\(\/\).*/{
22717 s//\1/
22720 s/.*/./; q'`
22722 # Avoid depending upon Character Ranges.
22723 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22724 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22725 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22726 as_cr_digits='0123456789'
22727 as_cr_alnum=$as_cr_Letters$as_cr_digits
22730 # Determine whether it's possible to make 'echo' print without a newline.
22731 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22732 # for compatibility with existing Makefiles.
22733 ECHO_C= ECHO_N= ECHO_T=
22734 case `echo -n x` in #(((((
22735 -n*)
22736 case `echo 'xy\c'` in
22737 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22738 xy) ECHO_C='\c';;
22739 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22740 ECHO_T=' ';;
22741 esac;;
22743 ECHO_N='-n';;
22744 esac
22746 # For backward compatibility with old third-party macros, we provide
22747 # the shell variables $as_echo and $as_echo_n. New code should use
22748 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22749 as_echo='printf %s\n'
22750 as_echo_n='printf %s'
22752 rm -f conf$$ conf$$.exe conf$$.file
22753 if test -d conf$$.dir; then
22754 rm -f conf$$.dir/conf$$.file
22755 else
22756 rm -f conf$$.dir
22757 mkdir conf$$.dir 2>/dev/null
22759 if (echo >conf$$.file) 2>/dev/null; then
22760 if ln -s conf$$.file conf$$ 2>/dev/null; then
22761 as_ln_s='ln -s'
22762 # ... but there are two gotchas:
22763 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22764 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22765 # In both cases, we have to default to `cp -pR'.
22766 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22767 as_ln_s='cp -pR'
22768 elif ln conf$$.file conf$$ 2>/dev/null; then
22769 as_ln_s=ln
22770 else
22771 as_ln_s='cp -pR'
22773 else
22774 as_ln_s='cp -pR'
22776 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22777 rmdir conf$$.dir 2>/dev/null
22780 # as_fn_mkdir_p
22781 # -------------
22782 # Create "$as_dir" as a directory, including parents if necessary.
22783 as_fn_mkdir_p ()
22786 case $as_dir in #(
22787 -*) as_dir=./$as_dir;;
22788 esac
22789 test -d "$as_dir" || eval $as_mkdir_p || {
22790 as_dirs=
22791 while :; do
22792 case $as_dir in #(
22793 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22794 *) as_qdir=$as_dir;;
22795 esac
22796 as_dirs="'$as_qdir' $as_dirs"
22797 as_dir=`$as_dirname -- "$as_dir" ||
22798 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22799 X"$as_dir" : 'X\(//\)[^/]' \| \
22800 X"$as_dir" : 'X\(//\)$' \| \
22801 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22802 printf "%s\n" X"$as_dir" |
22803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22804 s//\1/
22807 /^X\(\/\/\)[^/].*/{
22808 s//\1/
22811 /^X\(\/\/\)$/{
22812 s//\1/
22815 /^X\(\/\).*/{
22816 s//\1/
22819 s/.*/./; q'`
22820 test -d "$as_dir" && break
22821 done
22822 test -z "$as_dirs" || eval "mkdir $as_dirs"
22823 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22826 } # as_fn_mkdir_p
22827 if mkdir -p . 2>/dev/null; then
22828 as_mkdir_p='mkdir -p "$as_dir"'
22829 else
22830 test -d ./-p && rmdir ./-p
22831 as_mkdir_p=false
22835 # as_fn_executable_p FILE
22836 # -----------------------
22837 # Test if FILE is an executable regular file.
22838 as_fn_executable_p ()
22840 test -f "$1" && test -x "$1"
22841 } # as_fn_executable_p
22842 as_test_x='test -x'
22843 as_executable_p=as_fn_executable_p
22845 # Sed expression to map a string onto a valid CPP name.
22846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22848 # Sed expression to map a string onto a valid variable name.
22849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22852 exec 6>&1
22853 ## ----------------------------------- ##
22854 ## Main body of $CONFIG_STATUS script. ##
22855 ## ----------------------------------- ##
22856 _ASEOF
22857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22860 # Save the log message, to keep $0 and so on meaningful, and to
22861 # report actual input values of CONFIG_FILES etc. instead of their
22862 # values after options handling.
22863 ac_log="
22864 This file was extended by Wine $as_me 8.13, which was
22865 generated by GNU Autoconf 2.71. Invocation command line was
22867 CONFIG_FILES = $CONFIG_FILES
22868 CONFIG_HEADERS = $CONFIG_HEADERS
22869 CONFIG_LINKS = $CONFIG_LINKS
22870 CONFIG_COMMANDS = $CONFIG_COMMANDS
22871 $ $0 $@
22873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22876 _ACEOF
22879 case $ac_config_headers in *"
22880 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22881 esac
22884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22885 # Files that config.status was made for.
22886 config_headers="$ac_config_headers"
22887 config_links="$ac_config_links"
22888 config_commands="$ac_config_commands"
22890 _ACEOF
22892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22893 ac_cs_usage="\
22894 \`$as_me' instantiates files and other configuration actions
22895 from templates according to the current configuration. Unless the files
22896 and actions are specified as TAGs, all are instantiated by default.
22898 Usage: $0 [OPTION]... [TAG]...
22900 -h, --help print this help, then exit
22901 -V, --version print version number and configuration settings, then exit
22902 --config print configuration, then exit
22903 -q, --quiet, --silent
22904 do not print progress messages
22905 -d, --debug don't remove temporary files
22906 --recheck update $as_me by reconfiguring in the same conditions
22907 --header=FILE[:TEMPLATE]
22908 instantiate the configuration header FILE
22910 Configuration headers:
22911 $config_headers
22913 Configuration links:
22914 $config_links
22916 Configuration commands:
22917 $config_commands
22919 Report bugs to <wine-devel@winehq.org>.
22920 Wine home page: <https://www.winehq.org>."
22922 _ACEOF
22923 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22924 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22926 ac_cs_config='$ac_cs_config_escaped'
22927 ac_cs_version="\\
22928 Wine config.status 8.13
22929 configured by $0, generated by GNU Autoconf 2.71,
22930 with options \\"\$ac_cs_config\\"
22932 Copyright (C) 2021 Free Software Foundation, Inc.
22933 This config.status script is free software; the Free Software Foundation
22934 gives unlimited permission to copy, distribute and modify it."
22936 ac_pwd='$ac_pwd'
22937 srcdir='$srcdir'
22938 test -n "\$AWK" || AWK=awk
22939 _ACEOF
22941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22942 # The default lists apply if the user does not specify any file.
22943 ac_need_defaults=:
22944 while test $# != 0
22946 case $1 in
22947 --*=?*)
22948 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22949 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22950 ac_shift=:
22952 --*=)
22953 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22954 ac_optarg=
22955 ac_shift=:
22958 ac_option=$1
22959 ac_optarg=$2
22960 ac_shift=shift
22962 esac
22964 case $ac_option in
22965 # Handling of the options.
22966 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22967 ac_cs_recheck=: ;;
22968 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22969 printf "%s\n" "$ac_cs_version"; exit ;;
22970 --config | --confi | --conf | --con | --co | --c )
22971 printf "%s\n" "$ac_cs_config"; exit ;;
22972 --debug | --debu | --deb | --de | --d | -d )
22973 debug=: ;;
22974 --header | --heade | --head | --hea )
22975 $ac_shift
22976 case $ac_optarg in
22977 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22978 esac
22979 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22980 ac_need_defaults=false;;
22981 --he | --h)
22982 # Conflict between --help and --header
22983 as_fn_error $? "ambiguous option: \`$1'
22984 Try \`$0 --help' for more information.";;
22985 --help | --hel | -h )
22986 printf "%s\n" "$ac_cs_usage"; exit ;;
22987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22988 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22989 ac_cs_silent=: ;;
22991 # This is an error.
22992 -*) as_fn_error $? "unrecognized option: \`$1'
22993 Try \`$0 --help' for more information." ;;
22995 *) as_fn_append ac_config_targets " $1"
22996 ac_need_defaults=false ;;
22998 esac
22999 shift
23000 done
23002 ac_configure_extra_args=
23004 if $ac_cs_silent; then
23005 exec 6>/dev/null
23006 ac_configure_extra_args="$ac_configure_extra_args --silent"
23009 _ACEOF
23010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23011 if \$ac_cs_recheck; then
23012 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23013 shift
23014 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23015 CONFIG_SHELL='$SHELL'
23016 export CONFIG_SHELL
23017 exec "\$@"
23020 _ACEOF
23021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23022 exec 5>>config.log
23024 echo
23025 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23026 ## Running $as_me. ##
23027 _ASBOX
23028 printf "%s\n" "$ac_log"
23029 } >&5
23031 _ACEOF
23032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23034 # INIT-COMMANDS
23036 wine_fn_output_makedep ()
23038 as_dir=tools; as_fn_mkdir_p
23039 $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
23041 wine_fn_output_makefile ()
23043 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23044 # This Makefile understands the following targets:
23046 # all (default): build wine
23047 # clean: remove all intermediate files
23048 # distclean: also remove all files created by configure
23049 # test: run tests
23050 # testclean: clean test results to force running all tests again
23051 # install-lib: install libraries needed to run applications
23052 # install-dev: install development environment
23053 # install: install everything
23054 # uninstall: uninstall everything
23055 # ctags: create a tags file for vim and others.
23056 # etags: create a TAGS file for Emacs.
23058 SHELL = $SHELL
23059 PATH_SEPARATOR = $PATH_SEPARATOR
23060 PACKAGE_NAME = $PACKAGE_NAME
23061 PACKAGE_TARNAME = $PACKAGE_TARNAME
23062 PACKAGE_VERSION = $PACKAGE_VERSION
23063 PACKAGE_STRING = $PACKAGE_STRING
23064 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23065 PACKAGE_URL = $PACKAGE_URL
23066 exec_prefix = $exec_prefix
23067 prefix = $prefix
23068 program_transform_name = $program_transform_name
23069 bindir = $bindir
23070 sbindir = $sbindir
23071 libexecdir = $libexecdir
23072 datarootdir = $datarootdir
23073 datadir = $datadir
23074 sysconfdir = $sysconfdir
23075 sharedstatedir = $sharedstatedir
23076 localstatedir = $localstatedir
23077 runstatedir = $runstatedir
23078 includedir = $includedir
23079 oldincludedir = $oldincludedir
23080 docdir = $docdir
23081 infodir = $infodir
23082 htmldir = $htmldir
23083 dvidir = $dvidir
23084 pdfdir = $pdfdir
23085 psdir = $psdir
23086 libdir = $libdir
23087 localedir = $localedir
23088 mandir = $mandir
23089 DEFS = $DEFS
23090 ECHO_C = $ECHO_C
23091 ECHO_N = $ECHO_N
23092 ECHO_T = $ECHO_T
23093 LIBS = $LIBS
23094 build_alias = $build_alias
23095 host_alias = $host_alias
23096 target_alias = $target_alias
23097 system_dllpath = $system_dllpath
23098 build = $build
23099 build_cpu = $build_cpu
23100 build_vendor = $build_vendor
23101 build_os = $build_os
23102 host = $host
23103 host_cpu = $host_cpu
23104 host_vendor = $host_vendor
23105 host_os = $host_os
23106 dlldir = $dlldir
23107 fontdir = $fontdir
23108 nlsdir = $nlsdir
23109 srcdir = $srcdir
23110 SET_MAKE = $SET_MAKE
23111 CC = $CC
23112 CFLAGS = $CFLAGS
23113 LDFLAGS = $LDFLAGS
23114 CPPFLAGS = $CPPFLAGS
23115 ac_ct_CC = $ac_ct_CC
23116 EXEEXT = $EXEEXT
23117 OBJEXT = $OBJEXT
23118 CXX = $CXX
23119 CXXFLAGS = $CXXFLAGS
23120 ac_ct_CXX = $ac_ct_CXX
23121 CPPBIN = $CPPBIN
23122 LD = $LD
23123 TARGETFLAGS = $TARGETFLAGS
23124 toolsext = $toolsext
23125 HOST_ARCH = $HOST_ARCH
23126 aarch64_CC = $aarch64_CC
23127 aarch64_CFLAGS = $aarch64_CFLAGS
23128 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23129 aarch64_LDFLAGS = $aarch64_LDFLAGS
23130 aarch64_DEBUG = $aarch64_DEBUG
23131 aarch64_TARGET = $aarch64_TARGET
23132 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23133 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23134 arm_CC = $arm_CC
23135 arm_CFLAGS = $arm_CFLAGS
23136 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23137 arm_LDFLAGS = $arm_LDFLAGS
23138 arm_DEBUG = $arm_DEBUG
23139 arm_TARGET = $arm_TARGET
23140 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23141 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23142 i386_CC = $i386_CC
23143 i386_CFLAGS = $i386_CFLAGS
23144 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23145 i386_LDFLAGS = $i386_LDFLAGS
23146 i386_DEBUG = $i386_DEBUG
23147 i386_TARGET = $i386_TARGET
23148 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23149 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23150 x86_64_CC = $x86_64_CC
23151 x86_64_CFLAGS = $x86_64_CFLAGS
23152 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23153 x86_64_LDFLAGS = $x86_64_LDFLAGS
23154 x86_64_DEBUG = $x86_64_DEBUG
23155 x86_64_TARGET = $x86_64_TARGET
23156 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23157 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23158 toolsdir = $toolsdir
23159 MAKEDEP = $MAKEDEP
23160 RUNTESTFLAGS = $RUNTESTFLAGS
23161 SED_CMD = $SED_CMD
23162 FLEX = $FLEX
23163 BISON = $BISON
23164 AR = $AR
23165 ac_ct_AR = $ac_ct_AR
23166 STRIP = $STRIP
23167 RANLIB = $RANLIB
23168 LN_S = $LN_S
23169 GREP = $GREP
23170 EGREP = $EGREP
23171 LDCONFIG = $LDCONFIG
23172 MSGFMT = $MSGFMT
23173 PKG_CONFIG = $PKG_CONFIG
23174 FONTFORGE = $FONTFORGE
23175 RSVG = $RSVG
23176 CONVERT = $CONVERT
23177 ICOTOOL = $ICOTOOL
23178 I386_LIBS = $I386_LIBS
23179 OPENGL_LIBS = $OPENGL_LIBS
23180 DLLFLAGS = $DLLFLAGS
23181 LDDLLFLAGS = $LDDLLFLAGS
23182 LDEXECFLAGS = $LDEXECFLAGS
23183 EXTRACFLAGS = $EXTRACFLAGS
23184 UNIXDLLFLAGS = $UNIXDLLFLAGS
23185 UNIXLDFLAGS = $UNIXLDFLAGS
23186 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23187 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23188 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23189 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23190 DLLEXT = $DLLEXT
23191 LDD = $LDD
23192 OTOOL = $OTOOL
23193 READELF = $READELF
23194 SUBDIRS = $SUBDIRS
23195 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23196 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23197 CARBON_LIBS = $CARBON_LIBS
23198 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23199 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23200 IOKIT_LIBS = $IOKIT_LIBS
23201 METAL_LIBS = $METAL_LIBS
23202 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23203 CORESERVICES_LIBS = $CORESERVICES_LIBS
23204 APPKIT_LIBS = $APPKIT_LIBS
23205 SECURITY_LIBS = $SECURITY_LIBS
23206 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23207 COREAUDIO_LIBS = $COREAUDIO_LIBS
23208 OPENCL_LIBS = $OPENCL_LIBS
23209 OBJC = $OBJC
23210 OBJCFLAGS = $OBJCFLAGS
23211 ac_ct_OBJC = $ac_ct_OBJC
23212 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23213 PE_ARCHS = $PE_ARCHS
23214 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23215 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23216 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23217 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23218 GSM_PE_LIBS = $GSM_PE_LIBS
23219 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23220 JPEG_PE_LIBS = $JPEG_PE_LIBS
23221 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23222 JXR_PE_LIBS = $JXR_PE_LIBS
23223 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23224 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23225 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23226 LDAP_PE_LIBS = $LDAP_PE_LIBS
23227 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23228 MPG123_PE_LIBS = $MPG123_PE_LIBS
23229 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23230 MUSL_PE_LIBS = $MUSL_PE_LIBS
23231 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23232 PNG_PE_LIBS = $PNG_PE_LIBS
23233 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23234 TIFF_PE_LIBS = $TIFF_PE_LIBS
23235 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23236 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23237 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23238 XML2_PE_LIBS = $XML2_PE_LIBS
23239 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23240 XSLT_PE_LIBS = $XSLT_PE_LIBS
23241 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23242 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23243 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23244 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23245 PTHREAD_LIBS = $PTHREAD_LIBS
23246 XMKMF = $XMKMF
23247 CPP = $CPP
23248 X_CFLAGS = $X_CFLAGS
23249 X_PRE_LIBS = $X_PRE_LIBS
23250 X_LIBS = $X_LIBS
23251 X_EXTRA_LIBS = $X_EXTRA_LIBS
23252 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23253 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23254 WAYLAND_SCANNER = $WAYLAND_SCANNER
23255 PCAP_LIBS = $PCAP_LIBS
23256 PCSCLITE_LIBS = $PCSCLITE_LIBS
23257 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23258 INOTIFY_LIBS = $INOTIFY_LIBS
23259 DBUS_CFLAGS = $DBUS_CFLAGS
23260 DBUS_LIBS = $DBUS_LIBS
23261 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23262 GNUTLS_LIBS = $GNUTLS_LIBS
23263 SANE_CFLAGS = $SANE_CFLAGS
23264 SANE_LIBS = $SANE_LIBS
23265 USB_CFLAGS = $USB_CFLAGS
23266 USB_LIBS = $USB_LIBS
23267 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23268 GPHOTO2_LIBS = $GPHOTO2_LIBS
23269 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23270 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23271 RESOLV_LIBS = $RESOLV_LIBS
23272 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23273 FREETYPE_LIBS = $FREETYPE_LIBS
23274 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23275 PULSE_CFLAGS = $PULSE_CFLAGS
23276 PULSE_LIBS = $PULSE_LIBS
23277 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23278 GSTREAMER_LIBS = $GSTREAMER_LIBS
23279 ALSA_LIBS = $ALSA_LIBS
23280 OSS4_CFLAGS = $OSS4_CFLAGS
23281 OSS4_LIBS = $OSS4_LIBS
23282 UDEV_CFLAGS = $UDEV_CFLAGS
23283 UDEV_LIBS = $UDEV_LIBS
23284 UNWIND_CFLAGS = $UNWIND_CFLAGS
23285 UNWIND_LIBS = $UNWIND_LIBS
23286 SDL2_CFLAGS = $SDL2_CFLAGS
23287 SDL2_LIBS = $SDL2_LIBS
23288 CAPI20_CFLAGS = $CAPI20_CFLAGS
23289 CAPI20_LIBS = $CAPI20_LIBS
23290 CUPS_CFLAGS = $CUPS_CFLAGS
23291 CUPS_LIBS = $CUPS_LIBS
23292 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23293 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23294 KRB5_CFLAGS = $KRB5_CFLAGS
23295 KRB5_LIBS = $KRB5_LIBS
23296 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23297 GSSAPI_LIBS = $GSSAPI_LIBS
23298 PROCSTAT_LIBS = $PROCSTAT_LIBS
23299 NETAPI_CFLAGS = $NETAPI_CFLAGS
23300 NETAPI_LIBS = $NETAPI_LIBS
23301 MSVCRTFLAGS = $MSVCRTFLAGS
23302 DELAYLOADFLAG = $DELAYLOADFLAG
23303 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23304 RT_LIBS = $RT_LIBS
23305 TAGSFLAGS = $TAGSFLAGS
23306 LIBOBJS = $LIBOBJS
23307 LTLIBOBJS = $LTLIBOBJS
23308 $SET_MAKE
23309 $wine_rules
23310 _WINE_EOF
23311 as_fn_error $? "could not create Makefile" "$LINENO" 5
23314 _ACEOF
23316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23318 # Handling of arguments.
23319 for ac_config_target in $ac_config_targets
23321 case $ac_config_target in
23322 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23323 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23324 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23325 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23326 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23327 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23329 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23330 esac
23331 done
23334 # If the user did not use the arguments to specify the items to instantiate,
23335 # then the envvar interface is used. Set only those that are not.
23336 # We use the long form for the default assignment because of an extremely
23337 # bizarre bug on SunOS 4.1.3.
23338 if $ac_need_defaults; then
23339 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23340 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23341 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23344 # Have a temporary directory for convenience. Make it in the build tree
23345 # simply because there is no reason against having it here, and in addition,
23346 # creating and moving files from /tmp can sometimes cause problems.
23347 # Hook for its removal unless debugging.
23348 # Note that there is a small window in which the directory will not be cleaned:
23349 # after its creation but before its name has been assigned to `$tmp'.
23350 $debug ||
23352 tmp= ac_tmp=
23353 trap 'exit_status=$?
23354 : "${ac_tmp:=$tmp}"
23355 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23357 trap 'as_fn_exit 1' 1 2 13 15
23359 # Create a (secure) tmp directory for tmp files.
23362 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23363 test -d "$tmp"
23364 } ||
23366 tmp=./conf$$-$RANDOM
23367 (umask 077 && mkdir "$tmp")
23368 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23369 ac_tmp=$tmp
23371 # Set up the scripts for CONFIG_HEADERS section.
23372 # No need to generate them if there are no CONFIG_HEADERS.
23373 # This happens for instance with `./config.status Makefile'.
23374 if test -n "$CONFIG_HEADERS"; then
23375 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23376 BEGIN {
23377 _ACEOF
23379 # Transform confdefs.h into an awk script `defines.awk', embedded as
23380 # here-document in config.status, that substitutes the proper values into
23381 # config.h.in to produce config.h.
23383 # Create a delimiter string that does not exist in confdefs.h, to ease
23384 # handling of long lines.
23385 ac_delim='%!_!# '
23386 for ac_last_try in false false :; do
23387 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23388 if test -z "$ac_tt"; then
23389 break
23390 elif $ac_last_try; then
23391 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23392 else
23393 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23395 done
23397 # For the awk script, D is an array of macro values keyed by name,
23398 # likewise P contains macro parameters if any. Preserve backslash
23399 # newline sequences.
23401 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23402 sed -n '
23403 s/.\{148\}/&'"$ac_delim"'/g
23404 t rset
23405 :rset
23406 s/^[ ]*#[ ]*define[ ][ ]*/ /
23407 t def
23409 :def
23410 s/\\$//
23411 t bsnl
23412 s/["\\]/\\&/g
23413 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23414 D["\1"]=" \3"/p
23415 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23417 :bsnl
23418 s/["\\]/\\&/g
23419 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23420 D["\1"]=" \3\\\\\\n"\\/p
23421 t cont
23422 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23423 t cont
23425 :cont
23427 s/.\{148\}/&'"$ac_delim"'/g
23428 t clear
23429 :clear
23430 s/\\$//
23431 t bsnlc
23432 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23434 :bsnlc
23435 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23436 b cont
23437 ' <confdefs.h | sed '
23438 s/'"$ac_delim"'/"\\\
23439 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23442 for (key in D) D_is_set[key] = 1
23443 FS = "\a"
23445 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23446 line = \$ 0
23447 split(line, arg, " ")
23448 if (arg[1] == "#") {
23449 defundef = arg[2]
23450 mac1 = arg[3]
23451 } else {
23452 defundef = substr(arg[1], 2)
23453 mac1 = arg[2]
23455 split(mac1, mac2, "(") #)
23456 macro = mac2[1]
23457 prefix = substr(line, 1, index(line, defundef) - 1)
23458 if (D_is_set[macro]) {
23459 # Preserve the white space surrounding the "#".
23460 print prefix "define", macro P[macro] D[macro]
23461 next
23462 } else {
23463 # Replace #undef with comments. This is necessary, for example,
23464 # in the case of _POSIX_SOURCE, which is predefined and required
23465 # on some systems where configure will not decide to define it.
23466 if (defundef == "undef") {
23467 print "/*", prefix defundef, macro, "*/"
23468 next
23472 { print }
23473 _ACAWK
23474 _ACEOF
23475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23476 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23477 fi # test -n "$CONFIG_HEADERS"
23480 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23481 shift
23482 for ac_tag
23484 case $ac_tag in
23485 :[FHLC]) ac_mode=$ac_tag; continue;;
23486 esac
23487 case $ac_mode$ac_tag in
23488 :[FHL]*:*);;
23489 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23490 :[FH]-) ac_tag=-:-;;
23491 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23492 esac
23493 ac_save_IFS=$IFS
23494 IFS=:
23495 set x $ac_tag
23496 IFS=$ac_save_IFS
23497 shift
23498 ac_file=$1
23499 shift
23501 case $ac_mode in
23502 :L) ac_source=$1;;
23503 :[FH])
23504 ac_file_inputs=
23505 for ac_f
23507 case $ac_f in
23508 -) ac_f="$ac_tmp/stdin";;
23509 *) # Look for the file first in the build tree, then in the source tree
23510 # (if the path is not absolute). The absolute path cannot be DOS-style,
23511 # because $ac_f cannot contain `:'.
23512 test -f "$ac_f" ||
23513 case $ac_f in
23514 [\\/$]*) false;;
23515 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23516 esac ||
23517 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23518 esac
23519 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23520 as_fn_append ac_file_inputs " '$ac_f'"
23521 done
23523 # Let's still pretend it is `configure' which instantiates (i.e., don't
23524 # use $as_me), people would be surprised to read:
23525 # /* config.h. Generated by config.status. */
23526 configure_input='Generated from '`
23527 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23528 `' by configure.'
23529 if test x"$ac_file" != x-; then
23530 configure_input="$ac_file. $configure_input"
23531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23532 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23534 # Neutralize special characters interpreted by sed in replacement strings.
23535 case $configure_input in #(
23536 *\&* | *\|* | *\\* )
23537 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23538 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23539 *) ac_sed_conf_input=$configure_input;;
23540 esac
23542 case $ac_tag in
23543 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23545 esac
23547 esac
23549 ac_dir=`$as_dirname -- "$ac_file" ||
23550 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23551 X"$ac_file" : 'X\(//\)[^/]' \| \
23552 X"$ac_file" : 'X\(//\)$' \| \
23553 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23554 printf "%s\n" X"$ac_file" |
23555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23556 s//\1/
23559 /^X\(\/\/\)[^/].*/{
23560 s//\1/
23563 /^X\(\/\/\)$/{
23564 s//\1/
23567 /^X\(\/\).*/{
23568 s//\1/
23571 s/.*/./; q'`
23572 as_dir="$ac_dir"; as_fn_mkdir_p
23573 ac_builddir=.
23575 case "$ac_dir" in
23576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23578 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23579 # A ".." for each directory in $ac_dir_suffix.
23580 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23581 case $ac_top_builddir_sub in
23582 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23583 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23584 esac ;;
23585 esac
23586 ac_abs_top_builddir=$ac_pwd
23587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23588 # for backward compatibility:
23589 ac_top_builddir=$ac_top_build_prefix
23591 case $srcdir in
23592 .) # We are building in place.
23593 ac_srcdir=.
23594 ac_top_srcdir=$ac_top_builddir_sub
23595 ac_abs_top_srcdir=$ac_pwd ;;
23596 [\\/]* | ?:[\\/]* ) # Absolute name.
23597 ac_srcdir=$srcdir$ac_dir_suffix;
23598 ac_top_srcdir=$srcdir
23599 ac_abs_top_srcdir=$srcdir ;;
23600 *) # Relative name.
23601 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23602 ac_top_srcdir=$ac_top_build_prefix$srcdir
23603 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23604 esac
23605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23608 case $ac_mode in
23612 # CONFIG_HEADER
23614 if test x"$ac_file" != x-; then
23616 printf "%s\n" "/* $configure_input */" >&1 \
23617 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23618 } >"$ac_tmp/config.h" \
23619 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23620 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23622 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23623 else
23624 rm -f "$ac_file"
23625 mv "$ac_tmp/config.h" "$ac_file" \
23626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23628 else
23629 printf "%s\n" "/* $configure_input */" >&1 \
23630 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23631 || as_fn_error $? "could not create -" "$LINENO" 5
23636 # CONFIG_LINK
23639 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23641 else
23642 # Prefer the file from the source tree if names are identical.
23643 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23644 ac_source=$srcdir/$ac_source
23647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23648 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23650 if test ! -r "$ac_source"; then
23651 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23653 rm -f "$ac_file"
23655 # Try a relative symlink, then a hard link, then a copy.
23656 case $ac_source in
23657 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23658 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23659 esac
23660 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23661 ln "$ac_source" "$ac_file" 2>/dev/null ||
23662 cp -p "$ac_source" "$ac_file" ||
23663 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23666 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23667 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23669 esac
23672 case $ac_file$ac_mode in
23673 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23674 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23675 "Makefile":C) wine_fn_output_makefile Makefile ;;
23677 esac
23678 done # for ac_tag
23681 as_fn_exit 0
23682 _ACEOF
23683 ac_clean_files=$ac_clean_files_save
23685 test $ac_write_fail = 0 ||
23686 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23689 # configure is writing to config.log, and then calls config.status.
23690 # config.status does its own redirection, appending to config.log.
23691 # Unfortunately, on DOS this fails, as config.log is still kept open
23692 # by configure, so config.status won't be able to write to it; its
23693 # output is simply discarded. So we exec the FD to /dev/null,
23694 # effectively closing config.log, so it can be properly (re)opened and
23695 # appended to by config.status. When coming back to configure, we
23696 # need to make the FD available again.
23697 if test "$no_create" != yes; then
23698 ac_cs_success=:
23699 ac_config_status_args=
23700 test "$silent" = yes &&
23701 ac_config_status_args="$ac_config_status_args --quiet"
23702 exec 5>/dev/null
23703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23704 exec 5>>config.log
23705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23706 # would make configure fail if this is the last instruction.
23707 $ac_cs_success || as_fn_exit 1
23709 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23711 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23715 if test "$no_create" = "yes"
23716 then
23717 exit 0
23720 ac_save_IFS="$IFS"
23721 if test "x$wine_notices" != x; then
23722 echo >&6
23723 IFS="|"
23724 for msg in $wine_notices; do
23725 IFS="$ac_save_IFS"
23726 if ${msg:+false} :
23727 then :
23729 else $as_nop
23730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23731 printf "%s\n" "$as_me: $msg" >&6;}
23733 done
23735 IFS="|"
23736 for msg in $wine_warnings; do
23737 IFS="$ac_save_IFS"
23738 if ${msg:+false} :
23739 then :
23741 else $as_nop
23742 echo >&2
23743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23744 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23746 done
23747 IFS="$ac_save_IFS"
23749 printf "%s\n" "
23750 $as_me: Finished. Do '${ac_make}' to compile Wine.
23751 " >&6