opengl32: Preserve the remainder of the version string when limiting the version...
[wine.git] / configure
blob829741a5c0e73f25ee2408bc1b8b5e177d68e23c
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_hvsimanagementapi
1161 enable_ia2comproxy
1162 enable_iccvid
1163 enable_icmp
1164 enable_ieframe
1165 enable_ieproxy
1166 enable_imaadp32_acm
1167 enable_imagehlp
1168 enable_imm32
1169 enable_inetcomm
1170 enable_inetcpl_cpl
1171 enable_inetmib1
1172 enable_infosoft
1173 enable_initpki
1174 enable_inkobj
1175 enable_inseng
1176 enable_iphlpapi
1177 enable_iprop
1178 enable_ir50_32
1179 enable_irprops_cpl
1180 enable_itircl
1181 enable_itss
1182 enable_joy_cpl
1183 enable_jscript
1184 enable_jsproxy
1185 enable_kerberos
1186 enable_kernel32
1187 enable_kernelbase
1188 enable_ksecdd_sys
1189 enable_ksproxy_ax
1190 enable_ksuser
1191 enable_ktmw32
1192 enable_l3codeca_acm
1193 enable_light_msstyles
1194 enable_loadperf
1195 enable_localspl
1196 enable_localui
1197 enable_lz32
1198 enable_mapi32
1199 enable_mapistub
1200 enable_mciavi32
1201 enable_mcicda
1202 enable_mciqtz32
1203 enable_mciseq
1204 enable_mciwave
1205 enable_mf
1206 enable_mf3216
1207 enable_mferror
1208 enable_mfmediaengine
1209 enable_mfplat
1210 enable_mfplay
1211 enable_mfreadwrite
1212 enable_mfsrcsnk
1213 enable_mgmtapi
1214 enable_midimap
1215 enable_mlang
1216 enable_mmcndmgr
1217 enable_mmdevapi
1218 enable_mountmgr_sys
1219 enable_mp3dmod
1220 enable_mpr
1221 enable_mprapi
1222 enable_msacm32_drv
1223 enable_msacm32
1224 enable_msado15
1225 enable_msadp32_acm
1226 enable_msasn1
1227 enable_msauddecmft
1228 enable_mscat32
1229 enable_mscms
1230 enable_mscoree
1231 enable_mscorwks
1232 enable_msctf
1233 enable_msctfmonitor
1234 enable_msctfp
1235 enable_msdaps
1236 enable_msdasql
1237 enable_msdelta
1238 enable_msdmo
1239 enable_msdrm
1240 enable_msftedit
1241 enable_msg711_acm
1242 enable_msgsm32_acm
1243 enable_mshtml_tlb
1244 enable_mshtml
1245 enable_msi
1246 enable_msident
1247 enable_msimg32
1248 enable_msimsg
1249 enable_msimtf
1250 enable_msisip
1251 enable_msisys_ocx
1252 enable_msls31
1253 enable_msmpeg2vdec
1254 enable_msnet32
1255 enable_mspatcha
1256 enable_msports
1257 enable_msrle32
1258 enable_msscript_ocx
1259 enable_mssign32
1260 enable_mssip32
1261 enable_mstask
1262 enable_msv1_0
1263 enable_msvcirt
1264 enable_msvcm80
1265 enable_msvcm90
1266 enable_msvcp100
1267 enable_msvcp110
1268 enable_msvcp120
1269 enable_msvcp120_app
1270 enable_msvcp140
1271 enable_msvcp140_1
1272 enable_msvcp140_2
1273 enable_msvcp140_atomic_wait
1274 enable_msvcp140_codecvt_ids
1275 enable_msvcp60
1276 enable_msvcp70
1277 enable_msvcp71
1278 enable_msvcp80
1279 enable_msvcp90
1280 enable_msvcp_win
1281 enable_msvcr100
1282 enable_msvcr110
1283 enable_msvcr120
1284 enable_msvcr120_app
1285 enable_msvcr70
1286 enable_msvcr71
1287 enable_msvcr80
1288 enable_msvcr90
1289 enable_msvcrt
1290 enable_msvcrt20
1291 enable_msvcrt40
1292 enable_msvcrtd
1293 enable_msvfw32
1294 enable_msvidc32
1295 enable_mswsock
1296 enable_msxml
1297 enable_msxml2
1298 enable_msxml3
1299 enable_msxml4
1300 enable_msxml6
1301 enable_mtxdm
1302 enable_ncrypt
1303 enable_nddeapi
1304 enable_ndis_sys
1305 enable_netapi32
1306 enable_netcfgx
1307 enable_netio_sys
1308 enable_netprofm
1309 enable_netutils
1310 enable_newdev
1311 enable_ninput
1312 enable_normaliz
1313 enable_npmshtml
1314 enable_npptools
1315 enable_nsi
1316 enable_nsiproxy_sys
1317 enable_ntdll
1318 enable_ntdsapi
1319 enable_ntoskrnl_exe
1320 enable_ntprint
1321 enable_objsel
1322 enable_odbc32
1323 enable_odbcbcp
1324 enable_odbccp32
1325 enable_odbccu32
1326 enable_ole32
1327 enable_oleacc
1328 enable_oleaut32
1329 enable_olecli32
1330 enable_oledb32
1331 enable_oledlg
1332 enable_olepro32
1333 enable_olesvr32
1334 enable_olethk32
1335 enable_opcservices
1336 enable_opencl
1337 enable_opengl32
1338 enable_packager
1339 enable_pdh
1340 enable_photometadatahandler
1341 enable_pidgen
1342 enable_powrprof
1343 enable_printui
1344 enable_prntvpt
1345 enable_propsys
1346 enable_psapi
1347 enable_pstorec
1348 enable_pwrshplugin
1349 enable_qasf
1350 enable_qcap
1351 enable_qdvd
1352 enable_qedit
1353 enable_qmgr
1354 enable_qmgrprxy
1355 enable_quartz
1356 enable_query
1357 enable_qwave
1358 enable_rasapi32
1359 enable_rasdlg
1360 enable_regapi
1361 enable_resutils
1362 enable_riched20
1363 enable_riched32
1364 enable_rpcrt4
1365 enable_rsabase
1366 enable_rsaenh
1367 enable_rstrtmgr
1368 enable_rtutils
1369 enable_rtworkq
1370 enable_samlib
1371 enable_sane_ds
1372 enable_sapi
1373 enable_sas
1374 enable_scarddlg
1375 enable_scardsvr
1376 enable_sccbase
1377 enable_schannel
1378 enable_schedsvc
1379 enable_scrobj
1380 enable_scrrun
1381 enable_scsiport_sys
1382 enable_sechost
1383 enable_secur32
1384 enable_security
1385 enable_sensapi
1386 enable_serialui
1387 enable_setupapi
1388 enable_sfc
1389 enable_sfc_os
1390 enable_shcore
1391 enable_shdoclc
1392 enable_shdocvw
1393 enable_shell32
1394 enable_shfolder
1395 enable_shlwapi
1396 enable_slbcsp
1397 enable_slc
1398 enable_snmpapi
1399 enable_softpub
1400 enable_spoolss
1401 enable_sppc
1402 enable_srclient
1403 enable_srvcli
1404 enable_sspicli
1405 enable_stdole2_tlb
1406 enable_stdole32_tlb
1407 enable_sti
1408 enable_strmdll
1409 enable_svrapi
1410 enable_sxs
1411 enable_t2embed
1412 enable_tapi32
1413 enable_taskschd
1414 enable_tbs
1415 enable_tdh
1416 enable_tdi_sys
1417 enable_threadpoolwinrt
1418 enable_traffic
1419 enable_twain_32
1420 enable_twinapi_appcore
1421 enable_tzres
1422 enable_ucrtbase
1423 enable_uianimation
1424 enable_uiautomationcore
1425 enable_uiribbon
1426 enable_unicows
1427 enable_updspapi
1428 enable_url
1429 enable_urlmon
1430 enable_usbd_sys
1431 enable_user32
1432 enable_userenv
1433 enable_usp10
1434 enable_utildll
1435 enable_uxtheme
1436 enable_vbscript
1437 enable_vcomp
1438 enable_vcomp100
1439 enable_vcomp110
1440 enable_vcomp120
1441 enable_vcomp140
1442 enable_vcomp90
1443 enable_vcruntime140
1444 enable_vcruntime140_1
1445 enable_vdmdbg
1446 enable_version
1447 enable_vga
1448 enable_virtdisk
1449 enable_vssapi
1450 enable_vulkan_1
1451 enable_wbemdisp
1452 enable_wbemprox
1453 enable_wdscore
1454 enable_webservices
1455 enable_websocket
1456 enable_wer
1457 enable_wevtapi
1458 enable_wevtsvc
1459 enable_wiaservc
1460 enable_wimgapi
1461 enable_win32u
1462 enable_windows_devices_bluetooth
1463 enable_windows_devices_enumeration
1464 enable_windows_devices_usb
1465 enable_windows_gaming_input
1466 enable_windows_gaming_ui_gamebar
1467 enable_windows_globalization
1468 enable_windows_media_devices
1469 enable_windows_media_speech
1470 enable_windows_media
1471 enable_windows_networking_hostname
1472 enable_windows_networking
1473 enable_windows_perception_stub
1474 enable_windows_system_profile_systemmanufacturers
1475 enable_windows_ui
1476 enable_windowscodecs
1477 enable_windowscodecsext
1478 enable_winealsa_drv
1479 enable_wineandroid_drv
1480 enable_winebus_sys
1481 enable_winecoreaudio_drv
1482 enable_winecrt0
1483 enable_wined3d
1484 enable_winegstreamer
1485 enable_winehid_sys
1486 enable_winemac_drv
1487 enable_winemapi
1488 enable_wineoss_drv
1489 enable_wineps_drv
1490 enable_winepulse_drv
1491 enable_wineusb_sys
1492 enable_winevulkan
1493 enable_winewayland_drv
1494 enable_winex11_drv
1495 enable_winexinput_sys
1496 enable_wing32
1497 enable_winhttp
1498 enable_wininet
1499 enable_winmm
1500 enable_winnls32
1501 enable_winprint
1502 enable_winscard
1503 enable_winspool_drv
1504 enable_winsta
1505 enable_wintab32
1506 enable_wintrust
1507 enable_wintypes
1508 enable_winusb
1509 enable_wlanapi
1510 enable_wlanui
1511 enable_wldap32
1512 enable_wmasf
1513 enable_wmi
1514 enable_wmiutils
1515 enable_wmp
1516 enable_wmphoto
1517 enable_wmvcore
1518 enable_wnaspi32
1519 enable_wofutil
1520 enable_wow64
1521 enable_wow64cpu
1522 enable_wow64win
1523 enable_wpc
1524 enable_wpcap
1525 enable_ws2_32
1526 enable_wsdapi
1527 enable_wshom_ocx
1528 enable_wsnmp32
1529 enable_wsock32
1530 enable_wtsapi32
1531 enable_wuapi
1532 enable_wuaueng
1533 enable_x3daudio1_0
1534 enable_x3daudio1_1
1535 enable_x3daudio1_2
1536 enable_x3daudio1_3
1537 enable_x3daudio1_4
1538 enable_x3daudio1_5
1539 enable_x3daudio1_6
1540 enable_x3daudio1_7
1541 enable_xactengine2_0
1542 enable_xactengine2_4
1543 enable_xactengine2_7
1544 enable_xactengine2_9
1545 enable_xactengine3_0
1546 enable_xactengine3_1
1547 enable_xactengine3_2
1548 enable_xactengine3_3
1549 enable_xactengine3_4
1550 enable_xactengine3_5
1551 enable_xactengine3_6
1552 enable_xactengine3_7
1553 enable_xapofx1_1
1554 enable_xapofx1_2
1555 enable_xapofx1_3
1556 enable_xapofx1_4
1557 enable_xapofx1_5
1558 enable_xaudio2_0
1559 enable_xaudio2_1
1560 enable_xaudio2_2
1561 enable_xaudio2_3
1562 enable_xaudio2_4
1563 enable_xaudio2_5
1564 enable_xaudio2_6
1565 enable_xaudio2_7
1566 enable_xaudio2_8
1567 enable_xaudio2_9
1568 enable_xinput1_1
1569 enable_xinput1_2
1570 enable_xinput1_3
1571 enable_xinput1_4
1572 enable_xinput9_1_0
1573 enable_xinputuap
1574 enable_xmllite
1575 enable_xolehlp
1576 enable_xpsprint
1577 enable_xpssvcs
1578 enable_fonts
1579 enable_include
1580 enable_adsiid
1581 enable_dmoguids
1582 enable_dxerr8
1583 enable_dxerr9
1584 enable_dxguid
1585 enable_faudio
1586 enable_gsm
1587 enable_jpeg
1588 enable_jxr
1589 enable_lcms2
1590 enable_ldap
1591 enable_mfuuid
1592 enable_mpg123
1593 enable_musl
1594 enable_png
1595 enable_strmbase
1596 enable_strmiids
1597 enable_tiff
1598 enable_uuid
1599 enable_vkd3d
1600 enable_wbemuuid
1601 enable_wmcodecdspuuid
1602 enable_xml2
1603 enable_xslt
1604 enable_zlib
1605 enable_zydis
1606 enable_loader
1607 enable_nls
1608 enable_po
1609 enable_arp
1610 enable_aspnet_regiis
1611 enable_attrib
1612 enable_cabarc
1613 enable_cacls
1614 enable_certutil
1615 enable_chcp_com
1616 enable_clock
1617 enable_cmd
1618 enable_conhost
1619 enable_control
1620 enable_cscript
1621 enable_dism
1622 enable_dllhost
1623 enable_dplaysvr
1624 enable_dpnsvr
1625 enable_dpvsetup
1626 enable_dxdiag
1627 enable_eject
1628 enable_expand
1629 enable_explorer
1630 enable_extrac32
1631 enable_fc
1632 enable_find
1633 enable_findstr
1634 enable_fsutil
1635 enable_hh
1636 enable_hostname
1637 enable_icacls
1638 enable_icinfo
1639 enable_iexplore
1640 enable_ipconfig
1641 enable_klist
1642 enable_lodctr
1643 enable_mofcomp
1644 enable_mshta
1645 enable_msidb
1646 enable_msiexec
1647 enable_msinfo32
1648 enable_net
1649 enable_netsh
1650 enable_netstat
1651 enable_ngen
1652 enable_notepad
1653 enable_oleview
1654 enable_ping
1655 enable_plugplay
1656 enable_pnputil
1657 enable_powershell
1658 enable_presentationfontcache
1659 enable_progman
1660 enable_reg
1661 enable_regasm
1662 enable_regedit
1663 enable_regini
1664 enable_regsvcs
1665 enable_regsvr32
1666 enable_robocopy
1667 enable_rpcss
1668 enable_rundll32
1669 enable_sc
1670 enable_schtasks
1671 enable_sdbinst
1672 enable_secedit
1673 enable_servicemodelreg
1674 enable_services
1675 enable_setx
1676 enable_shutdown
1677 enable_spoolsv
1678 enable_start
1679 enable_subst
1680 enable_svchost
1681 enable_systeminfo
1682 enable_taskkill
1683 enable_tasklist
1684 enable_taskmgr
1685 enable_termsv
1686 enable_uninstaller
1687 enable_unlodctr
1688 enable_view
1689 enable_wevtutil
1690 enable_where
1691 enable_whoami
1692 enable_wineboot
1693 enable_winebrowser
1694 enable_winecfg
1695 enable_wineconsole
1696 enable_winedbg
1697 enable_winedevice
1698 enable_winefile
1699 enable_winemenubuilder
1700 enable_winemine
1701 enable_winemsibuilder
1702 enable_winepath
1703 enable_winetest
1704 enable_winhlp32
1705 enable_winmgmt
1706 enable_winver
1707 enable_wmic
1708 enable_wmplayer
1709 enable_wordpad
1710 enable_write
1711 enable_wscript
1712 enable_wuauserv
1713 enable_wusa
1714 enable_xcopy
1715 enable_server
1716 enable_tools
1717 enable_sfnt2fon
1718 enable_widl
1719 enable_winebuild
1720 enable_winedump
1721 enable_winegcc
1722 enable_winemaker
1723 enable_wmc
1724 enable_wrc
1726 ac_precious_vars='build_alias
1727 host_alias
1728 target_alias
1730 CFLAGS
1731 LDFLAGS
1732 LIBS
1733 CPPFLAGS
1735 CXXFLAGS
1737 OBJC
1738 OBJCFLAGS
1739 FAUDIO_PE_CFLAGS
1740 FAUDIO_PE_LIBS
1741 GSM_PE_CFLAGS
1742 GSM_PE_LIBS
1743 JPEG_PE_CFLAGS
1744 JPEG_PE_LIBS
1745 JXR_PE_CFLAGS
1746 JXR_PE_LIBS
1747 LCMS2_PE_CFLAGS
1748 LCMS2_PE_LIBS
1749 LDAP_PE_CFLAGS
1750 LDAP_PE_LIBS
1751 MPG123_PE_CFLAGS
1752 MPG123_PE_LIBS
1753 MUSL_PE_CFLAGS
1754 MUSL_PE_LIBS
1755 PNG_PE_CFLAGS
1756 PNG_PE_LIBS
1757 TIFF_PE_CFLAGS
1758 TIFF_PE_LIBS
1759 VKD3D_PE_CFLAGS
1760 VKD3D_PE_LIBS
1761 XML2_PE_CFLAGS
1762 XML2_PE_LIBS
1763 XSLT_PE_CFLAGS
1764 XSLT_PE_LIBS
1765 ZLIB_PE_CFLAGS
1766 ZLIB_PE_LIBS
1767 ZYDIS_PE_CFLAGS
1768 ZYDIS_PE_LIBS
1769 XMKMF
1771 WAYLAND_CLIENT_CFLAGS
1772 WAYLAND_CLIENT_LIBS
1773 INOTIFY_CFLAGS
1774 INOTIFY_LIBS
1775 DBUS_CFLAGS
1776 DBUS_LIBS
1777 GNUTLS_CFLAGS
1778 GNUTLS_LIBS
1779 SANE_CFLAGS
1780 SANE_LIBS
1781 USB_CFLAGS
1782 USB_LIBS
1783 GPHOTO2_CFLAGS
1784 GPHOTO2_LIBS
1785 GPHOTO2_PORT_CFLAGS
1786 GPHOTO2_PORT_LIBS
1787 FREETYPE_CFLAGS
1788 FREETYPE_LIBS
1789 PULSE_CFLAGS
1790 PULSE_LIBS
1791 GSTREAMER_CFLAGS
1792 GSTREAMER_LIBS
1793 UDEV_CFLAGS
1794 UDEV_LIBS
1795 UNWIND_CFLAGS
1796 UNWIND_LIBS
1797 SDL2_CFLAGS
1798 SDL2_LIBS
1799 CAPI20_CFLAGS
1800 CAPI20_LIBS
1801 CUPS_CFLAGS
1802 CUPS_LIBS
1803 FONTCONFIG_CFLAGS
1804 FONTCONFIG_LIBS
1805 KRB5_CFLAGS
1806 KRB5_LIBS
1807 GSSAPI_CFLAGS
1808 GSSAPI_LIBS
1809 NETAPI_CFLAGS
1810 NETAPI_LIBS'
1813 # Initialize some variables set by options.
1814 ac_init_help=
1815 ac_init_version=false
1816 ac_unrecognized_opts=
1817 ac_unrecognized_sep=
1818 # The variables have the same names as the options, with
1819 # dashes changed to underlines.
1820 cache_file=/dev/null
1821 exec_prefix=NONE
1822 no_create=
1823 no_recursion=
1824 prefix=NONE
1825 program_prefix=NONE
1826 program_suffix=NONE
1827 program_transform_name=s,x,x,
1828 silent=
1829 site=
1830 srcdir=
1831 verbose=
1832 x_includes=NONE
1833 x_libraries=NONE
1835 # Installation directory options.
1836 # These are left unexpanded so users can "make install exec_prefix=/foo"
1837 # and all the variables that are supposed to be based on exec_prefix
1838 # by default will actually change.
1839 # Use braces instead of parens because sh, perl, etc. also accept them.
1840 # (The list follows the same order as the GNU Coding Standards.)
1841 bindir='${exec_prefix}/bin'
1842 sbindir='${exec_prefix}/sbin'
1843 libexecdir='${exec_prefix}/libexec'
1844 datarootdir='${prefix}/share'
1845 datadir='${datarootdir}'
1846 sysconfdir='${prefix}/etc'
1847 sharedstatedir='${prefix}/com'
1848 localstatedir='${prefix}/var'
1849 runstatedir='${localstatedir}/run'
1850 includedir='${prefix}/include'
1851 oldincludedir='/usr/include'
1852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1853 infodir='${datarootdir}/info'
1854 htmldir='${docdir}'
1855 dvidir='${docdir}'
1856 pdfdir='${docdir}'
1857 psdir='${docdir}'
1858 libdir='${exec_prefix}/lib'
1859 localedir='${datarootdir}/locale'
1860 mandir='${datarootdir}/man'
1862 ac_prev=
1863 ac_dashdash=
1864 for ac_option
1866 # If the previous option needs an argument, assign it.
1867 if test -n "$ac_prev"; then
1868 eval $ac_prev=\$ac_option
1869 ac_prev=
1870 continue
1873 case $ac_option in
1874 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1875 *=) ac_optarg= ;;
1876 *) ac_optarg=yes ;;
1877 esac
1879 case $ac_dashdash$ac_option in
1881 ac_dashdash=yes ;;
1883 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1884 ac_prev=bindir ;;
1885 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1886 bindir=$ac_optarg ;;
1888 -build | --build | --buil | --bui | --bu)
1889 ac_prev=build_alias ;;
1890 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1891 build_alias=$ac_optarg ;;
1893 -cache-file | --cache-file | --cache-fil | --cache-fi \
1894 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1895 ac_prev=cache_file ;;
1896 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1897 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1898 cache_file=$ac_optarg ;;
1900 --config-cache | -C)
1901 cache_file=config.cache ;;
1903 -datadir | --datadir | --datadi | --datad)
1904 ac_prev=datadir ;;
1905 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1906 datadir=$ac_optarg ;;
1908 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1909 | --dataroo | --dataro | --datar)
1910 ac_prev=datarootdir ;;
1911 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1912 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1913 datarootdir=$ac_optarg ;;
1915 -disable-* | --disable-*)
1916 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1919 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1920 ac_useropt_orig=$ac_useropt
1921 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_$ac_useropt"
1925 "*) ;;
1926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1927 ac_unrecognized_sep=', ';;
1928 esac
1929 eval enable_$ac_useropt=no ;;
1931 -docdir | --docdir | --docdi | --doc | --do)
1932 ac_prev=docdir ;;
1933 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1934 docdir=$ac_optarg ;;
1936 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1937 ac_prev=dvidir ;;
1938 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1939 dvidir=$ac_optarg ;;
1941 -enable-* | --enable-*)
1942 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1943 # Reject names that are not valid shell variable names.
1944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1945 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1946 ac_useropt_orig=$ac_useropt
1947 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1948 case $ac_user_opts in
1950 "enable_$ac_useropt"
1951 "*) ;;
1952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1953 ac_unrecognized_sep=', ';;
1954 esac
1955 eval enable_$ac_useropt=\$ac_optarg ;;
1957 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1958 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1959 | --exec | --exe | --ex)
1960 ac_prev=exec_prefix ;;
1961 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1962 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1963 | --exec=* | --exe=* | --ex=*)
1964 exec_prefix=$ac_optarg ;;
1966 -gas | --gas | --ga | --g)
1967 # Obsolete; use --with-gas.
1968 with_gas=yes ;;
1970 -help | --help | --hel | --he | -h)
1971 ac_init_help=long ;;
1972 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1973 ac_init_help=recursive ;;
1974 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1975 ac_init_help=short ;;
1977 -host | --host | --hos | --ho)
1978 ac_prev=host_alias ;;
1979 -host=* | --host=* | --hos=* | --ho=*)
1980 host_alias=$ac_optarg ;;
1982 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1983 ac_prev=htmldir ;;
1984 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1985 | --ht=*)
1986 htmldir=$ac_optarg ;;
1988 -includedir | --includedir | --includedi | --included | --include \
1989 | --includ | --inclu | --incl | --inc)
1990 ac_prev=includedir ;;
1991 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1992 | --includ=* | --inclu=* | --incl=* | --inc=*)
1993 includedir=$ac_optarg ;;
1995 -infodir | --infodir | --infodi | --infod | --info | --inf)
1996 ac_prev=infodir ;;
1997 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1998 infodir=$ac_optarg ;;
2000 -libdir | --libdir | --libdi | --libd)
2001 ac_prev=libdir ;;
2002 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2003 libdir=$ac_optarg ;;
2005 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2006 | --libexe | --libex | --libe)
2007 ac_prev=libexecdir ;;
2008 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2009 | --libexe=* | --libex=* | --libe=*)
2010 libexecdir=$ac_optarg ;;
2012 -localedir | --localedir | --localedi | --localed | --locale)
2013 ac_prev=localedir ;;
2014 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2015 localedir=$ac_optarg ;;
2017 -localstatedir | --localstatedir | --localstatedi | --localstated \
2018 | --localstate | --localstat | --localsta | --localst | --locals)
2019 ac_prev=localstatedir ;;
2020 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2021 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2022 localstatedir=$ac_optarg ;;
2024 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2025 ac_prev=mandir ;;
2026 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2027 mandir=$ac_optarg ;;
2029 -nfp | --nfp | --nf)
2030 # Obsolete; use --without-fp.
2031 with_fp=no ;;
2033 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2034 | --no-cr | --no-c | -n)
2035 no_create=yes ;;
2037 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2038 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2039 no_recursion=yes ;;
2041 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2042 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2043 | --oldin | --oldi | --old | --ol | --o)
2044 ac_prev=oldincludedir ;;
2045 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2046 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2047 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2048 oldincludedir=$ac_optarg ;;
2050 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2051 ac_prev=prefix ;;
2052 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2053 prefix=$ac_optarg ;;
2055 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2056 | --program-pre | --program-pr | --program-p)
2057 ac_prev=program_prefix ;;
2058 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2059 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2060 program_prefix=$ac_optarg ;;
2062 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2063 | --program-suf | --program-su | --program-s)
2064 ac_prev=program_suffix ;;
2065 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2066 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2067 program_suffix=$ac_optarg ;;
2069 -program-transform-name | --program-transform-name \
2070 | --program-transform-nam | --program-transform-na \
2071 | --program-transform-n | --program-transform- \
2072 | --program-transform | --program-transfor \
2073 | --program-transfo | --program-transf \
2074 | --program-trans | --program-tran \
2075 | --progr-tra | --program-tr | --program-t)
2076 ac_prev=program_transform_name ;;
2077 -program-transform-name=* | --program-transform-name=* \
2078 | --program-transform-nam=* | --program-transform-na=* \
2079 | --program-transform-n=* | --program-transform-=* \
2080 | --program-transform=* | --program-transfor=* \
2081 | --program-transfo=* | --program-transf=* \
2082 | --program-trans=* | --program-tran=* \
2083 | --progr-tra=* | --program-tr=* | --program-t=*)
2084 program_transform_name=$ac_optarg ;;
2086 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2087 ac_prev=pdfdir ;;
2088 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2089 pdfdir=$ac_optarg ;;
2091 -psdir | --psdir | --psdi | --psd | --ps)
2092 ac_prev=psdir ;;
2093 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2094 psdir=$ac_optarg ;;
2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2097 | -silent | --silent | --silen | --sile | --sil)
2098 silent=yes ;;
2100 -runstatedir | --runstatedir | --runstatedi | --runstated \
2101 | --runstate | --runstat | --runsta | --runst | --runs \
2102 | --run | --ru | --r)
2103 ac_prev=runstatedir ;;
2104 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2105 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2106 | --run=* | --ru=* | --r=*)
2107 runstatedir=$ac_optarg ;;
2109 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2110 ac_prev=sbindir ;;
2111 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2112 | --sbi=* | --sb=*)
2113 sbindir=$ac_optarg ;;
2115 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2116 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2117 | --sharedst | --shareds | --shared | --share | --shar \
2118 | --sha | --sh)
2119 ac_prev=sharedstatedir ;;
2120 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2121 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2122 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2123 | --sha=* | --sh=*)
2124 sharedstatedir=$ac_optarg ;;
2126 -site | --site | --sit)
2127 ac_prev=site ;;
2128 -site=* | --site=* | --sit=*)
2129 site=$ac_optarg ;;
2131 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2132 ac_prev=srcdir ;;
2133 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2134 srcdir=$ac_optarg ;;
2136 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2137 | --syscon | --sysco | --sysc | --sys | --sy)
2138 ac_prev=sysconfdir ;;
2139 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2140 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2141 sysconfdir=$ac_optarg ;;
2143 -target | --target | --targe | --targ | --tar | --ta | --t)
2144 ac_prev=target_alias ;;
2145 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2146 target_alias=$ac_optarg ;;
2148 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2149 verbose=yes ;;
2151 -version | --version | --versio | --versi | --vers | -V)
2152 ac_init_version=: ;;
2154 -with-* | --with-*)
2155 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2156 # Reject names that are not valid shell variable names.
2157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2158 as_fn_error $? "invalid package name: \`$ac_useropt'"
2159 ac_useropt_orig=$ac_useropt
2160 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2161 case $ac_user_opts in
2163 "with_$ac_useropt"
2164 "*) ;;
2165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2166 ac_unrecognized_sep=', ';;
2167 esac
2168 eval with_$ac_useropt=\$ac_optarg ;;
2170 -without-* | --without-*)
2171 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2172 # Reject names that are not valid shell variable names.
2173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2174 as_fn_error $? "invalid package name: \`$ac_useropt'"
2175 ac_useropt_orig=$ac_useropt
2176 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2177 case $ac_user_opts in
2179 "with_$ac_useropt"
2180 "*) ;;
2181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2182 ac_unrecognized_sep=', ';;
2183 esac
2184 eval with_$ac_useropt=no ;;
2186 --x)
2187 # Obsolete; use --with-x.
2188 with_x=yes ;;
2190 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2191 | --x-incl | --x-inc | --x-in | --x-i)
2192 ac_prev=x_includes ;;
2193 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2194 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2195 x_includes=$ac_optarg ;;
2197 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2198 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2199 ac_prev=x_libraries ;;
2200 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2201 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2202 x_libraries=$ac_optarg ;;
2204 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2205 Try \`$0 --help' for more information"
2208 *=*)
2209 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2210 # Reject names that are not valid shell variable names.
2211 case $ac_envvar in #(
2212 '' | [0-9]* | *[!_$as_cr_alnum]* )
2213 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2214 esac
2215 eval $ac_envvar=\$ac_optarg
2216 export $ac_envvar ;;
2219 # FIXME: should be removed in autoconf 3.0.
2220 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2222 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2226 esac
2227 done
2229 if test -n "$ac_prev"; then
2230 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2231 as_fn_error $? "missing argument to $ac_option"
2234 if test -n "$ac_unrecognized_opts"; then
2235 case $enable_option_checking in
2236 no) ;;
2237 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2238 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2239 esac
2242 # Check all directory arguments for consistency.
2243 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2244 datadir sysconfdir sharedstatedir localstatedir includedir \
2245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2246 libdir localedir mandir runstatedir
2248 eval ac_val=\$$ac_var
2249 # Remove trailing slashes.
2250 case $ac_val in
2251 */ )
2252 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2253 eval $ac_var=\$ac_val;;
2254 esac
2255 # Be sure to have absolute directory names.
2256 case $ac_val in
2257 [\\/$]* | ?:[\\/]* ) continue;;
2258 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2259 esac
2260 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2261 done
2263 # There might be people who depend on the old broken behavior: `$host'
2264 # used to hold the argument of --host etc.
2265 # FIXME: To remove some day.
2266 build=$build_alias
2267 host=$host_alias
2268 target=$target_alias
2270 # FIXME: To remove some day.
2271 if test "x$host_alias" != x; then
2272 if test "x$build_alias" = x; then
2273 cross_compiling=maybe
2274 elif test "x$build_alias" != "x$host_alias"; then
2275 cross_compiling=yes
2279 ac_tool_prefix=
2280 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2282 test "$silent" = yes && exec 6>/dev/null
2285 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2286 ac_ls_di=`ls -di .` &&
2287 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2288 as_fn_error $? "working directory cannot be determined"
2289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2290 as_fn_error $? "pwd does not report name of working directory"
2293 # Find the source files, if location was not specified.
2294 if test -z "$srcdir"; then
2295 ac_srcdir_defaulted=yes
2296 # Try the directory containing this script, then the parent directory.
2297 ac_confdir=`$as_dirname -- "$as_myself" ||
2298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2299 X"$as_myself" : 'X\(//\)[^/]' \| \
2300 X"$as_myself" : 'X\(//\)$' \| \
2301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2302 printf "%s\n" X"$as_myself" |
2303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2304 s//\1/
2307 /^X\(\/\/\)[^/].*/{
2308 s//\1/
2311 /^X\(\/\/\)$/{
2312 s//\1/
2315 /^X\(\/\).*/{
2316 s//\1/
2319 s/.*/./; q'`
2320 srcdir=$ac_confdir
2321 if test ! -r "$srcdir/$ac_unique_file"; then
2322 srcdir=..
2324 else
2325 ac_srcdir_defaulted=no
2327 if test ! -r "$srcdir/$ac_unique_file"; then
2328 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2329 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2331 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2332 ac_abs_confdir=`(
2333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2334 pwd)`
2335 # When building in place, set srcdir=.
2336 if test "$ac_abs_confdir" = "$ac_pwd"; then
2337 srcdir=.
2339 # Remove unnecessary trailing slashes from srcdir.
2340 # Double slashes in file names in object file debugging info
2341 # mess up M-x gdb in Emacs.
2342 case $srcdir in
2343 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2344 esac
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2347 eval ac_env_${ac_var}_value=\$${ac_var}
2348 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2349 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2350 done
2353 # Report the --help message.
2355 if test "$ac_init_help" = "long"; then
2356 # Omit some internal or obsolete options to make the list less imposing.
2357 # This message is too long to be a string in the A/UX 3.1 sh.
2358 cat <<_ACEOF
2359 \`configure' configures Wine 8.13 to adapt to many kinds of systems.
2361 Usage: $0 [OPTION]... [VAR=VALUE]...
2363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2364 VAR=VALUE. See below for descriptions of some of the useful variables.
2366 Defaults for the options are specified in brackets.
2368 Configuration:
2369 -h, --help display this help and exit
2370 --help=short display options specific to this package
2371 --help=recursive display the short help of all the included packages
2372 -V, --version display version information and exit
2373 -q, --quiet, --silent do not print \`checking ...' messages
2374 --cache-file=FILE cache test results in FILE [disabled]
2375 -C, --config-cache alias for \`--cache-file=config.cache'
2376 -n, --no-create do not create output files
2377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2379 Installation directories:
2380 --prefix=PREFIX install architecture-independent files in PREFIX
2381 [$ac_default_prefix]
2382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2383 [PREFIX]
2385 By default, \`make install' will install all the files in
2386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2388 for instance \`--prefix=\$HOME'.
2390 For better control, use the options below.
2392 Fine tuning of the installation directories:
2393 --bindir=DIR user executables [EPREFIX/bin]
2394 --sbindir=DIR system admin executables [EPREFIX/sbin]
2395 --libexecdir=DIR program executables [EPREFIX/libexec]
2396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2399 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2400 --libdir=DIR object code libraries [EPREFIX/lib]
2401 --includedir=DIR C header files [PREFIX/include]
2402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2405 --infodir=DIR info documentation [DATAROOTDIR/info]
2406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2407 --mandir=DIR man documentation [DATAROOTDIR/man]
2408 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2409 --htmldir=DIR html documentation [DOCDIR]
2410 --dvidir=DIR dvi documentation [DOCDIR]
2411 --pdfdir=DIR pdf documentation [DOCDIR]
2412 --psdir=DIR ps documentation [DOCDIR]
2413 _ACEOF
2415 cat <<\_ACEOF
2417 X features:
2418 --x-includes=DIR X include files are in DIR
2419 --x-libraries=DIR X library files are in DIR
2421 System types:
2422 --build=BUILD configure for building on BUILD [guessed]
2423 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2424 _ACEOF
2427 if test -n "$ac_init_help"; then
2428 case $ac_init_help in
2429 short | recursive ) echo "Configuration of Wine 8.13:";;
2430 esac
2431 cat <<\_ACEOF
2433 Optional Features:
2434 --disable-option-checking ignore unrecognized --enable/--with options
2435 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2436 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2437 --enable-archs={i386,x86_64,arm,aarch64}
2438 enable multiple architectures for PE compilation
2439 --disable-win16 do not include Win16 support
2440 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2441 binaries)
2442 --disable-tests do not build the regression tests
2443 --enable-build-id include .buildid section in output objects
2444 --enable-maintainer-mode
2445 enable maintainer-specific build rules
2446 --enable-silent-rules use silent build rules (override: "make V=1")
2447 --enable-werror treat compilation warnings as errors
2448 --disable-largefile omit support for large files
2450 Optional Packages:
2451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2453 --without-alsa do not use the Alsa sound support
2454 --without-capi do not use CAPI (ISDN support)
2455 --without-coreaudio do not use the CoreAudio sound support
2456 --without-cups do not use CUPS
2457 --without-dbus do not use DBus (dynamic device support)
2458 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2459 --without-fontconfig do not use fontconfig
2460 --without-freetype do not use the FreeType library
2461 --without-gettext do not use gettext
2462 --with-gettextpo use the GetTextPO library to rebuild po files
2463 --without-gphoto do not use gphoto (Digital Camera support)
2464 --without-gnutls do not use GnuTLS (schannel support)
2465 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2466 --without-gstreamer do not use GStreamer (codecs support)
2467 --without-inotify do not use inotify (filesystem change notifications)
2468 --without-krb5 do not use krb5 (Kerberos)
2469 --without-mingw do not use the MinGW cross-compiler
2470 --without-netapi do not use the Samba NetAPI library
2471 --without-opencl do not use OpenCL
2472 --without-opengl do not use OpenGL
2473 --without-osmesa do not use the OSMesa library
2474 --without-oss do not use the OSS sound support
2475 --without-pcap do not use the Packet Capture library
2476 --without-pcsclite do not use PCSC lite
2477 --without-pthread do not use the pthread library
2478 --without-pulse do not use PulseAudio sound support
2479 --without-sane do not use SANE (scanner support)
2480 --without-sdl do not use SDL
2481 --without-udev do not use udev (plug and play support)
2482 --without-unwind do not use the libunwind library (exception
2483 handling)
2484 --without-usb do not use the libusb library
2485 --without-v4l2 do not use v4l2 (video capture)
2486 --without-vulkan do not use Vulkan
2487 --without-wayland do not build the Wayland driver
2488 --without-xcomposite do not use the Xcomposite extension
2489 --without-xcursor do not use the Xcursor extension
2490 --without-xfixes do not use Xfixes for clipboard change notifications
2491 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2492 --without-xinput do not use the Xinput extension
2493 --without-xinput2 do not use the Xinput 2 extension
2494 --without-xrandr do not use Xrandr (multi-monitor support)
2495 --without-xrender do not use the Xrender extension
2496 --without-xshape do not use the Xshape extension
2497 --without-xshm do not use XShm (shared memory extension)
2498 --without-xxf86vm do not use XFree video mode extension
2499 --with-system-dllpath=PATH
2500 load external PE dependencies from colon-separated
2501 path PATH
2502 --with-wine-tools=DIR use Wine tools from directory DIR
2503 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2504 --with-x use the X Window System
2506 Some influential environment variables:
2507 CC C compiler command
2508 CFLAGS C compiler flags
2509 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2510 nonstandard directory <lib dir>
2511 LIBS libraries to pass to the linker, e.g. -l<library>
2512 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2513 you have headers in a nonstandard directory <include dir>
2514 CXX C++ compiler command
2515 CXXFLAGS C++ compiler flags
2516 OBJC Objective C compiler command
2517 OBJCFLAGS Objective C compiler flags
2518 FAUDIO_PE_CFLAGS
2519 C compiler flags for the PE faudio, overriding the bundled
2520 version
2521 FAUDIO_PE_LIBS
2522 Linker flags for the PE faudio, overriding the bundled version
2523 GSM_PE_CFLAGS
2524 C compiler flags for the PE gsm, overriding the bundled version
2525 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2526 JPEG_PE_CFLAGS
2527 C compiler flags for the PE jpeg, overriding the bundled version
2528 JPEG_PE_LIBS
2529 Linker flags for the PE jpeg, overriding the bundled version
2530 JXR_PE_CFLAGS
2531 C compiler flags for the PE jxr, overriding the bundled version
2532 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2533 LCMS2_PE_CFLAGS
2534 C compiler flags for the PE lcms2, overriding the bundled
2535 version
2536 LCMS2_PE_LIBS
2537 Linker flags for the PE lcms2, overriding the bundled version
2538 LDAP_PE_CFLAGS
2539 C compiler flags for the PE ldap, overriding the bundled version
2540 LDAP_PE_LIBS
2541 Linker flags for the PE ldap, overriding the bundled version
2542 MPG123_PE_CFLAGS
2543 C compiler flags for the PE mpg123, overriding the bundled
2544 version
2545 MPG123_PE_LIBS
2546 Linker flags for the PE mpg123, overriding the bundled version
2547 MUSL_PE_CFLAGS
2548 C compiler flags for the PE musl, overriding the bundled version
2549 MUSL_PE_LIBS
2550 Linker flags for the PE musl, overriding the bundled version
2551 PNG_PE_CFLAGS
2552 C compiler flags for the PE png, overriding the bundled version
2553 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2554 TIFF_PE_CFLAGS
2555 C compiler flags for the PE tiff, overriding the bundled version
2556 TIFF_PE_LIBS
2557 Linker flags for the PE tiff, overriding the bundled version
2558 VKD3D_PE_CFLAGS
2559 C compiler flags for the PE vkd3d, overriding the bundled
2560 version
2561 VKD3D_PE_LIBS
2562 Linker flags for the PE vkd3d, overriding the bundled version
2563 XML2_PE_CFLAGS
2564 C compiler flags for the PE xml2, overriding the bundled version
2565 XML2_PE_LIBS
2566 Linker flags for the PE xml2, overriding the bundled version
2567 XSLT_PE_CFLAGS
2568 C compiler flags for the PE xslt, overriding the bundled version
2569 XSLT_PE_LIBS
2570 Linker flags for the PE xslt, overriding the bundled version
2571 ZLIB_PE_CFLAGS
2572 C compiler flags for the PE zlib, overriding the bundled version
2573 ZLIB_PE_LIBS
2574 Linker flags for the PE zlib, overriding the bundled version
2575 ZYDIS_PE_CFLAGS
2576 C compiler flags for the PE zydis, overriding the bundled
2577 version
2578 ZYDIS_PE_LIBS
2579 Linker flags for the PE zydis, overriding the bundled version
2580 XMKMF Path to xmkmf, Makefile generator for X Window System
2581 CPP C preprocessor
2582 WAYLAND_CLIENT_CFLAGS
2583 C compiler flags for wayland-client, overriding pkg-config
2584 WAYLAND_CLIENT_LIBS
2585 Linker flags for wayland-client, overriding pkg-config
2586 INOTIFY_CFLAGS
2587 C compiler flags for libinotify, overriding pkg-config
2588 INOTIFY_LIBS
2589 Linker flags for libinotify, overriding pkg-config
2590 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2591 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2592 GNUTLS_CFLAGS
2593 C compiler flags for gnutls, overriding pkg-config
2594 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2595 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2596 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2597 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2598 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2599 GPHOTO2_CFLAGS
2600 C compiler flags for libgphoto2, overriding pkg-config
2601 GPHOTO2_LIBS
2602 Linker flags for libgphoto2, overriding pkg-config
2603 GPHOTO2_PORT_CFLAGS
2604 C compiler flags for libgphoto2_port, overriding pkg-config
2605 GPHOTO2_PORT_LIBS
2606 Linker flags for libgphoto2_port, overriding pkg-config
2607 FREETYPE_CFLAGS
2608 C compiler flags for freetype2, overriding pkg-config
2609 FREETYPE_LIBS
2610 Linker flags for freetype2, overriding pkg-config
2611 PULSE_CFLAGS
2612 C compiler flags for libpulse, overriding pkg-config
2613 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2614 GSTREAMER_CFLAGS
2615 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2616 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2617 GSTREAMER_LIBS
2618 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2619 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2620 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2621 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2622 UNWIND_CFLAGS
2623 C compiler flags for libunwind, overriding pkg-config
2624 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2625 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2626 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2627 CAPI20_CFLAGS
2628 C compiler flags for capi20, overriding pkg-config
2629 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2630 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2631 CUPS_LIBS Linker flags for cups, overriding pkg-config
2632 FONTCONFIG_CFLAGS
2633 C compiler flags for fontconfig, overriding pkg-config
2634 FONTCONFIG_LIBS
2635 Linker flags for fontconfig, overriding pkg-config
2636 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2637 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2638 GSSAPI_CFLAGS
2639 C compiler flags for krb5-gssapi, overriding pkg-config
2640 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2641 NETAPI_CFLAGS
2642 C compiler flags for netapi, overriding pkg-config
2643 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2645 Use these variables to override the choices made by `configure' or to help
2646 it to find libraries and programs with nonstandard names/locations.
2648 Report bugs to <wine-devel@winehq.org>.
2649 Wine home page: <https://www.winehq.org>.
2650 _ACEOF
2651 ac_status=$?
2654 if test "$ac_init_help" = "recursive"; then
2655 # If there are subdirs, report their specific --help.
2656 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2657 test -d "$ac_dir" ||
2658 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2659 continue
2660 ac_builddir=.
2662 case "$ac_dir" in
2663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2665 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2666 # A ".." for each directory in $ac_dir_suffix.
2667 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2668 case $ac_top_builddir_sub in
2669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2671 esac ;;
2672 esac
2673 ac_abs_top_builddir=$ac_pwd
2674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2675 # for backward compatibility:
2676 ac_top_builddir=$ac_top_build_prefix
2678 case $srcdir in
2679 .) # We are building in place.
2680 ac_srcdir=.
2681 ac_top_srcdir=$ac_top_builddir_sub
2682 ac_abs_top_srcdir=$ac_pwd ;;
2683 [\\/]* | ?:[\\/]* ) # Absolute name.
2684 ac_srcdir=$srcdir$ac_dir_suffix;
2685 ac_top_srcdir=$srcdir
2686 ac_abs_top_srcdir=$srcdir ;;
2687 *) # Relative name.
2688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2689 ac_top_srcdir=$ac_top_build_prefix$srcdir
2690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2691 esac
2692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2694 cd "$ac_dir" || { ac_status=$?; continue; }
2695 # Check for configure.gnu first; this name is used for a wrapper for
2696 # Metaconfig's "Configure" on case-insensitive file systems.
2697 if test -f "$ac_srcdir/configure.gnu"; then
2698 echo &&
2699 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2700 elif test -f "$ac_srcdir/configure"; then
2701 echo &&
2702 $SHELL "$ac_srcdir/configure" --help=recursive
2703 else
2704 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2705 fi || ac_status=$?
2706 cd "$ac_pwd" || { ac_status=$?; break; }
2707 done
2710 test -n "$ac_init_help" && exit $ac_status
2711 if $ac_init_version; then
2712 cat <<\_ACEOF
2713 Wine configure 8.13
2714 generated by GNU Autoconf 2.71
2716 Copyright (C) 2021 Free Software Foundation, Inc.
2717 This configure script is free software; the Free Software Foundation
2718 gives unlimited permission to copy, distribute and modify it.
2719 _ACEOF
2720 exit
2723 ## ------------------------ ##
2724 ## Autoconf initialization. ##
2725 ## ------------------------ ##
2727 # ac_fn_c_try_compile LINENO
2728 # --------------------------
2729 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2730 ac_fn_c_try_compile ()
2732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733 rm -f conftest.$ac_objext conftest.beam
2734 if { { ac_try="$ac_compile"
2735 case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2738 esac
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 printf "%s\n" "$ac_try_echo"; } >&5
2741 (eval "$ac_compile") 2>conftest.err
2742 ac_status=$?
2743 if test -s conftest.err; then
2744 grep -v '^ *+' conftest.err >conftest.er1
2745 cat conftest.er1 >&5
2746 mv -f conftest.er1 conftest.err
2748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; } && {
2750 test -z "$ac_c_werror_flag" ||
2751 test ! -s conftest.err
2752 } && test -s conftest.$ac_objext
2753 then :
2754 ac_retval=0
2755 else $as_nop
2756 printf "%s\n" "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2759 ac_retval=1
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 as_fn_set_status $ac_retval
2764 } # ac_fn_c_try_compile
2766 # ac_fn_cxx_try_compile LINENO
2767 # ----------------------------
2768 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2769 ac_fn_cxx_try_compile ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 rm -f conftest.$ac_objext conftest.beam
2773 if { { ac_try="$ac_compile"
2774 case "(($ac_try" in
2775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2777 esac
2778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 printf "%s\n" "$ac_try_echo"; } >&5
2780 (eval "$ac_compile") 2>conftest.err
2781 ac_status=$?
2782 if test -s conftest.err; then
2783 grep -v '^ *+' conftest.err >conftest.er1
2784 cat conftest.er1 >&5
2785 mv -f conftest.er1 conftest.err
2787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788 test $ac_status = 0; } && {
2789 test -z "$ac_cxx_werror_flag" ||
2790 test ! -s conftest.err
2791 } && test -s conftest.$ac_objext
2792 then :
2793 ac_retval=0
2794 else $as_nop
2795 printf "%s\n" "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.$ac_ext >&5
2798 ac_retval=1
2800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2801 as_fn_set_status $ac_retval
2803 } # ac_fn_cxx_try_compile
2805 # ac_fn_c_try_link LINENO
2806 # -----------------------
2807 # Try to link conftest.$ac_ext, and return whether this succeeded.
2808 ac_fn_c_try_link ()
2810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2811 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2812 if { { ac_try="$ac_link"
2813 case "(($ac_try" in
2814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2815 *) ac_try_echo=$ac_try;;
2816 esac
2817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2818 printf "%s\n" "$ac_try_echo"; } >&5
2819 (eval "$ac_link") 2>conftest.err
2820 ac_status=$?
2821 if test -s conftest.err; then
2822 grep -v '^ *+' conftest.err >conftest.er1
2823 cat conftest.er1 >&5
2824 mv -f conftest.er1 conftest.err
2826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2827 test $ac_status = 0; } && {
2828 test -z "$ac_c_werror_flag" ||
2829 test ! -s conftest.err
2830 } && test -s conftest$ac_exeext && {
2831 test "$cross_compiling" = yes ||
2832 test -x conftest$ac_exeext
2834 then :
2835 ac_retval=0
2836 else $as_nop
2837 printf "%s\n" "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2840 ac_retval=1
2842 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2843 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2844 # interfere with the next link command; also delete a directory that is
2845 # left behind by Apple's compiler. We do this before executing the actions.
2846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 as_fn_set_status $ac_retval
2850 } # ac_fn_c_try_link
2852 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2853 # -------------------------------------------------------
2854 # Tests whether HEADER exists and can be compiled using the include files in
2855 # INCLUDES, setting the cache variable VAR accordingly.
2856 ac_fn_c_check_header_compile ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 printf %s "checking for $2... " >&6; }
2861 if eval test \${$3+y}
2862 then :
2863 printf %s "(cached) " >&6
2864 else $as_nop
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2868 #include <$2>
2869 _ACEOF
2870 if ac_fn_c_try_compile "$LINENO"
2871 then :
2872 eval "$3=yes"
2873 else $as_nop
2874 eval "$3=no"
2876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2878 eval ac_res=\$$3
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2880 printf "%s\n" "$ac_res" >&6; }
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2883 } # ac_fn_c_check_header_compile
2885 # ac_fn_objc_try_compile LINENO
2886 # -----------------------------
2887 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2888 ac_fn_objc_try_compile ()
2890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2891 rm -f conftest.$ac_objext conftest.beam
2892 if { { ac_try="$ac_compile"
2893 case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2898 printf "%s\n" "$ac_try_echo"; } >&5
2899 (eval "$ac_compile") 2>conftest.err
2900 ac_status=$?
2901 if test -s conftest.err; then
2902 grep -v '^ *+' conftest.err >conftest.er1
2903 cat conftest.er1 >&5
2904 mv -f conftest.er1 conftest.err
2906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; } && {
2908 test -z "$ac_objc_werror_flag" ||
2909 test ! -s conftest.err
2910 } && test -s conftest.$ac_objext
2911 then :
2912 ac_retval=0
2913 else $as_nop
2914 printf "%s\n" "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2917 ac_retval=1
2919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2920 as_fn_set_status $ac_retval
2922 } # ac_fn_objc_try_compile
2924 # ac_fn_c_check_func LINENO FUNC VAR
2925 # ----------------------------------
2926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2927 ac_fn_c_check_func ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2931 printf %s "checking for $2... " >&6; }
2932 if eval test \${$3+y}
2933 then :
2934 printf %s "(cached) " >&6
2935 else $as_nop
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2938 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2940 #define $2 innocuous_$2
2942 /* System header to define __stub macros and hopefully few prototypes,
2943 which can conflict with char $2 (); below. */
2945 #include <limits.h>
2946 #undef $2
2948 /* Override any GCC internal prototype to avoid an error.
2949 Use char because int might match the return type of a GCC
2950 builtin and then its argument prototype would still apply. */
2951 #ifdef __cplusplus
2952 extern "C"
2953 #endif
2954 char $2 ();
2955 /* The GNU C library defines this for functions which it implements
2956 to always fail with ENOSYS. Some functions are actually named
2957 something starting with __ and the normal name is an alias. */
2958 #if defined __stub_$2 || defined __stub___$2
2959 choke me
2960 #endif
2963 main (void)
2965 return $2 ();
2967 return 0;
2969 _ACEOF
2970 if ac_fn_c_try_link "$LINENO"
2971 then :
2972 eval "$3=yes"
2973 else $as_nop
2974 eval "$3=no"
2976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2977 conftest$ac_exeext conftest.$ac_ext
2979 eval ac_res=\$$3
2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 printf "%s\n" "$ac_res" >&6; }
2982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2984 } # ac_fn_c_check_func
2986 # ac_fn_c_try_cpp LINENO
2987 # ----------------------
2988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2989 ac_fn_c_try_cpp ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 if { { ac_try="$ac_cpp conftest.$ac_ext"
2993 case "(($ac_try" in
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2996 esac
2997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2998 printf "%s\n" "$ac_try_echo"; } >&5
2999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3000 ac_status=$?
3001 if test -s conftest.err; then
3002 grep -v '^ *+' conftest.err >conftest.er1
3003 cat conftest.er1 >&5
3004 mv -f conftest.er1 conftest.err
3006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; } > conftest.i && {
3008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3011 then :
3012 ac_retval=0
3013 else $as_nop
3014 printf "%s\n" "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3017 ac_retval=1
3019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3020 as_fn_set_status $ac_retval
3022 } # ac_fn_c_try_cpp
3024 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3025 # ----------------------------------------------------
3026 # Tries to find if the field MEMBER exists in type AGGR, after including
3027 # INCLUDES, setting cache variable VAR accordingly.
3028 ac_fn_c_check_member ()
3030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3032 printf %s "checking for $2.$3... " >&6; }
3033 if eval test \${$4+y}
3034 then :
3035 printf %s "(cached) " >&6
3036 else $as_nop
3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3041 main (void)
3043 static $2 ac_aggr;
3044 if (ac_aggr.$3)
3045 return 0;
3047 return 0;
3049 _ACEOF
3050 if ac_fn_c_try_compile "$LINENO"
3051 then :
3052 eval "$4=yes"
3053 else $as_nop
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main (void)
3060 static $2 ac_aggr;
3061 if (sizeof ac_aggr.$3)
3062 return 0;
3064 return 0;
3066 _ACEOF
3067 if ac_fn_c_try_compile "$LINENO"
3068 then :
3069 eval "$4=yes"
3070 else $as_nop
3071 eval "$4=no"
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3077 eval ac_res=\$$4
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3079 printf "%s\n" "$ac_res" >&6; }
3080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3082 } # ac_fn_c_check_member
3084 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3085 # -------------------------------------------
3086 # Tests whether TYPE exists after having included INCLUDES, setting cache
3087 # variable VAR accordingly.
3088 ac_fn_c_check_type ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3092 printf %s "checking for $2... " >&6; }
3093 if eval test \${$3+y}
3094 then :
3095 printf %s "(cached) " >&6
3096 else $as_nop
3097 eval "$3=no"
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3102 main (void)
3104 if (sizeof ($2))
3105 return 0;
3107 return 0;
3109 _ACEOF
3110 if ac_fn_c_try_compile "$LINENO"
3111 then :
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3116 main (void)
3118 if (sizeof (($2)))
3119 return 0;
3121 return 0;
3123 _ACEOF
3124 if ac_fn_c_try_compile "$LINENO"
3125 then :
3127 else $as_nop
3128 eval "$3=yes"
3130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3134 eval ac_res=\$$3
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3136 printf "%s\n" "$ac_res" >&6; }
3137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3139 } # ac_fn_c_check_type
3140 ac_configure_args_raw=
3141 for ac_arg
3143 case $ac_arg in
3144 *\'*)
3145 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3146 esac
3147 as_fn_append ac_configure_args_raw " '$ac_arg'"
3148 done
3150 case $ac_configure_args_raw in
3151 *$as_nl*)
3152 ac_safe_unquote= ;;
3154 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3155 ac_unsafe_a="$ac_unsafe_z#~"
3156 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3157 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3158 esac
3160 cat >config.log <<_ACEOF
3161 This file contains any messages produced by compilers while
3162 running configure, to aid debugging if configure makes a mistake.
3164 It was created by Wine $as_me 8.13, which was
3165 generated by GNU Autoconf 2.71. Invocation command line was
3167 $ $0$ac_configure_args_raw
3169 _ACEOF
3170 exec 5>>config.log
3172 cat <<_ASUNAME
3173 ## --------- ##
3174 ## Platform. ##
3175 ## --------- ##
3177 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3178 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3179 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3180 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3181 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3183 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3184 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3186 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3187 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3188 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3189 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3190 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3191 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3192 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3194 _ASUNAME
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH
3199 IFS=$as_save_IFS
3200 case $as_dir in #(((
3201 '') as_dir=./ ;;
3202 */) ;;
3203 *) as_dir=$as_dir/ ;;
3204 esac
3205 printf "%s\n" "PATH: $as_dir"
3206 done
3207 IFS=$as_save_IFS
3209 } >&5
3211 cat >&5 <<_ACEOF
3214 ## ----------- ##
3215 ## Core tests. ##
3216 ## ----------- ##
3218 _ACEOF
3221 # Keep a trace of the command line.
3222 # Strip out --no-create and --no-recursion so they do not pile up.
3223 # Strip out --silent because we don't want to record it for future runs.
3224 # Also quote any args containing shell meta-characters.
3225 # Make two passes to allow for proper duplicate-argument suppression.
3226 ac_configure_args=
3227 ac_configure_args0=
3228 ac_configure_args1=
3229 ac_must_keep_next=false
3230 for ac_pass in 1 2
3232 for ac_arg
3234 case $ac_arg in
3235 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3237 | -silent | --silent | --silen | --sile | --sil)
3238 continue ;;
3239 *\'*)
3240 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3241 esac
3242 case $ac_pass in
3243 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3245 as_fn_append ac_configure_args1 " '$ac_arg'"
3246 if test $ac_must_keep_next = true; then
3247 ac_must_keep_next=false # Got value, back to normal.
3248 else
3249 case $ac_arg in
3250 *=* | --config-cache | -C | -disable-* | --disable-* \
3251 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3252 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3253 | -with-* | --with-* | -without-* | --without-* | --x)
3254 case "$ac_configure_args0 " in
3255 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3256 esac
3258 -* ) ac_must_keep_next=true ;;
3259 esac
3261 as_fn_append ac_configure_args " '$ac_arg'"
3263 esac
3264 done
3265 done
3266 { ac_configure_args0=; unset ac_configure_args0;}
3267 { ac_configure_args1=; unset ac_configure_args1;}
3269 # When interrupted or exit'd, cleanup temporary files, and complete
3270 # config.log. We remove comments because anyway the quotes in there
3271 # would cause problems or look ugly.
3272 # WARNING: Use '\'' to represent an apostrophe within the trap.
3273 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3274 trap 'exit_status=$?
3275 # Sanitize IFS.
3276 IFS=" "" $as_nl"
3277 # Save into config.log some information that might help in debugging.
3279 echo
3281 printf "%s\n" "## ---------------- ##
3282 ## Cache variables. ##
3283 ## ---------------- ##"
3284 echo
3285 # The following way of writing the cache mishandles newlines in values,
3287 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3288 eval ac_val=\$$ac_var
3289 case $ac_val in #(
3290 *${as_nl}*)
3291 case $ac_var in #(
3292 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3293 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3294 esac
3295 case $ac_var in #(
3296 _ | IFS | as_nl) ;; #(
3297 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3298 *) { eval $ac_var=; unset $ac_var;} ;;
3299 esac ;;
3300 esac
3301 done
3302 (set) 2>&1 |
3303 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3304 *${as_nl}ac_space=\ *)
3305 sed -n \
3306 "s/'\''/'\''\\\\'\'''\''/g;
3307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3308 ;; #(
3310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3312 esac |
3313 sort
3315 echo
3317 printf "%s\n" "## ----------------- ##
3318 ## Output variables. ##
3319 ## ----------------- ##"
3320 echo
3321 for ac_var in $ac_subst_vars
3323 eval ac_val=\$$ac_var
3324 case $ac_val in
3325 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3326 esac
3327 printf "%s\n" "$ac_var='\''$ac_val'\''"
3328 done | sort
3329 echo
3331 if test -n "$ac_subst_files"; then
3332 printf "%s\n" "## ------------------- ##
3333 ## File substitutions. ##
3334 ## ------------------- ##"
3335 echo
3336 for ac_var in $ac_subst_files
3338 eval ac_val=\$$ac_var
3339 case $ac_val in
3340 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3341 esac
3342 printf "%s\n" "$ac_var='\''$ac_val'\''"
3343 done | sort
3344 echo
3347 if test -s confdefs.h; then
3348 printf "%s\n" "## ----------- ##
3349 ## confdefs.h. ##
3350 ## ----------- ##"
3351 echo
3352 cat confdefs.h
3353 echo
3355 test "$ac_signal" != 0 &&
3356 printf "%s\n" "$as_me: caught signal $ac_signal"
3357 printf "%s\n" "$as_me: exit $exit_status"
3358 } >&5
3359 rm -f core *.core core.conftest.* &&
3360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3361 exit $exit_status
3363 for ac_signal in 1 2 13 15; do
3364 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3365 done
3366 ac_signal=0
3368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3369 rm -f -r conftest* confdefs.h
3371 printf "%s\n" "/* confdefs.h */" > confdefs.h
3373 # Predefined preprocessor variables.
3375 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3377 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3379 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3385 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3388 # Let the site file select an alternate cache file if it wants to.
3389 # Prefer an explicitly selected file to automatically selected ones.
3390 if test -n "$CONFIG_SITE"; then
3391 ac_site_files="$CONFIG_SITE"
3392 elif test "x$prefix" != xNONE; then
3393 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3394 else
3395 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3398 for ac_site_file in $ac_site_files
3400 case $ac_site_file in #(
3401 */*) :
3402 ;; #(
3403 *) :
3404 ac_site_file=./$ac_site_file ;;
3405 esac
3406 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3408 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3409 sed 's/^/| /' "$ac_site_file" >&5
3410 . "$ac_site_file" \
3411 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $? "failed to load site script $ac_site_file
3414 See \`config.log' for more details" "$LINENO" 5; }
3416 done
3418 if test -r "$cache_file"; then
3419 # Some versions of bash will fail to source /dev/null (special files
3420 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3421 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3423 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3424 case $cache_file in
3425 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3426 *) . "./$cache_file";;
3427 esac
3429 else
3430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3431 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3432 >$cache_file
3435 # Test code for whether the C compiler supports C89 (global declarations)
3436 ac_c_conftest_c89_globals='
3437 /* Does the compiler advertise C89 conformance?
3438 Do not test the value of __STDC__, because some compilers set it to 0
3439 while being otherwise adequately conformant. */
3440 #if !defined __STDC__
3441 # error "Compiler does not advertise C89 conformance"
3442 #endif
3444 #include <stddef.h>
3445 #include <stdarg.h>
3446 struct stat;
3447 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3448 struct buf { int x; };
3449 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3450 static char *e (p, i)
3451 char **p;
3452 int i;
3454 return p[i];
3456 static char *f (char * (*g) (char **, int), char **p, ...)
3458 char *s;
3459 va_list v;
3460 va_start (v,p);
3461 s = g (p, va_arg (v,int));
3462 va_end (v);
3463 return s;
3466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3467 function prototypes and stuff, but not \xHH hex character constants.
3468 These do not provoke an error unfortunately, instead are silently treated
3469 as an "x". The following induces an error, until -std is added to get
3470 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3471 array size at least. It is necessary to write \x00 == 0 to get something
3472 that is true only with -std. */
3473 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3475 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3476 inside strings and character constants. */
3477 #define FOO(x) '\''x'\''
3478 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3480 int test (int i, double x);
3481 struct s1 {int (*f) (int a);};
3482 struct s2 {int (*f) (double a);};
3483 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3484 int, int);'
3486 # Test code for whether the C compiler supports C89 (body of main).
3487 ac_c_conftest_c89_main='
3488 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3491 # Test code for whether the C compiler supports C99 (global declarations)
3492 ac_c_conftest_c99_globals='
3493 // Does the compiler advertise C99 conformance?
3494 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3495 # error "Compiler does not advertise C99 conformance"
3496 #endif
3498 #include <stdbool.h>
3499 extern int puts (const char *);
3500 extern int printf (const char *, ...);
3501 extern int dprintf (int, const char *, ...);
3502 extern void *malloc (size_t);
3504 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3505 // dprintf is used instead of fprintf to avoid needing to declare
3506 // FILE and stderr.
3507 #define debug(...) dprintf (2, __VA_ARGS__)
3508 #define showlist(...) puts (#__VA_ARGS__)
3509 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3510 static void
3511 test_varargs_macros (void)
3513 int x = 1234;
3514 int y = 5678;
3515 debug ("Flag");
3516 debug ("X = %d\n", x);
3517 showlist (The first, second, and third items.);
3518 report (x>y, "x is %d but y is %d", x, y);
3521 // Check long long types.
3522 #define BIG64 18446744073709551615ull
3523 #define BIG32 4294967295ul
3524 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3525 #if !BIG_OK
3526 #error "your preprocessor is broken"
3527 #endif
3528 #if BIG_OK
3529 #else
3530 #error "your preprocessor is broken"
3531 #endif
3532 static long long int bignum = -9223372036854775807LL;
3533 static unsigned long long int ubignum = BIG64;
3535 struct incomplete_array
3537 int datasize;
3538 double data[];
3541 struct named_init {
3542 int number;
3543 const wchar_t *name;
3544 double average;
3547 typedef const char *ccp;
3549 static inline int
3550 test_restrict (ccp restrict text)
3552 // See if C++-style comments work.
3553 // Iterate through items via the restricted pointer.
3554 // Also check for declarations in for loops.
3555 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3556 continue;
3557 return 0;
3560 // Check varargs and va_copy.
3561 static bool
3562 test_varargs (const char *format, ...)
3564 va_list args;
3565 va_start (args, format);
3566 va_list args_copy;
3567 va_copy (args_copy, args);
3569 const char *str = "";
3570 int number = 0;
3571 float fnumber = 0;
3573 while (*format)
3575 switch (*format++)
3577 case '\''s'\'': // string
3578 str = va_arg (args_copy, const char *);
3579 break;
3580 case '\''d'\'': // int
3581 number = va_arg (args_copy, int);
3582 break;
3583 case '\''f'\'': // float
3584 fnumber = va_arg (args_copy, double);
3585 break;
3586 default:
3587 break;
3590 va_end (args_copy);
3591 va_end (args);
3593 return *str && number && fnumber;
3597 # Test code for whether the C compiler supports C99 (body of main).
3598 ac_c_conftest_c99_main='
3599 // Check bool.
3600 _Bool success = false;
3601 success |= (argc != 0);
3603 // Check restrict.
3604 if (test_restrict ("String literal") == 0)
3605 success = true;
3606 char *restrict newvar = "Another string";
3608 // Check varargs.
3609 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3610 test_varargs_macros ();
3612 // Check flexible array members.
3613 struct incomplete_array *ia =
3614 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3615 ia->datasize = 10;
3616 for (int i = 0; i < ia->datasize; ++i)
3617 ia->data[i] = i * 1.234;
3619 // Check named initializers.
3620 struct named_init ni = {
3621 .number = 34,
3622 .name = L"Test wide string",
3623 .average = 543.34343,
3626 ni.number = 58;
3628 int dynamic_array[ni.number];
3629 dynamic_array[0] = argv[0][0];
3630 dynamic_array[ni.number - 1] = 543;
3632 // work around unused variable warnings
3633 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3634 || dynamic_array[ni.number - 1] != 543);
3637 # Test code for whether the C compiler supports C11 (global declarations)
3638 ac_c_conftest_c11_globals='
3639 // Does the compiler advertise C11 conformance?
3640 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3641 # error "Compiler does not advertise C11 conformance"
3642 #endif
3644 // Check _Alignas.
3645 char _Alignas (double) aligned_as_double;
3646 char _Alignas (0) no_special_alignment;
3647 extern char aligned_as_int;
3648 char _Alignas (0) _Alignas (int) aligned_as_int;
3650 // Check _Alignof.
3651 enum
3653 int_alignment = _Alignof (int),
3654 int_array_alignment = _Alignof (int[100]),
3655 char_alignment = _Alignof (char)
3657 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3659 // Check _Noreturn.
3660 int _Noreturn does_not_return (void) { for (;;) continue; }
3662 // Check _Static_assert.
3663 struct test_static_assert
3665 int x;
3666 _Static_assert (sizeof (int) <= sizeof (long int),
3667 "_Static_assert does not work in struct");
3668 long int y;
3671 // Check UTF-8 literals.
3672 #define u8 syntax error!
3673 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3675 // Check duplicate typedefs.
3676 typedef long *long_ptr;
3677 typedef long int *long_ptr;
3678 typedef long_ptr long_ptr;
3680 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3681 struct anonymous
3683 union {
3684 struct { int i; int j; };
3685 struct { int k; long int l; } w;
3687 int m;
3688 } v1;
3691 # Test code for whether the C compiler supports C11 (body of main).
3692 ac_c_conftest_c11_main='
3693 _Static_assert ((offsetof (struct anonymous, i)
3694 == offsetof (struct anonymous, w.k)),
3695 "Anonymous union alignment botch");
3696 v1.i = 2;
3697 v1.w.k = 5;
3698 ok |= v1.i != 5;
3701 # Test code for whether the C compiler supports C11 (complete).
3702 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3703 ${ac_c_conftest_c99_globals}
3704 ${ac_c_conftest_c11_globals}
3707 main (int argc, char **argv)
3709 int ok = 0;
3710 ${ac_c_conftest_c89_main}
3711 ${ac_c_conftest_c99_main}
3712 ${ac_c_conftest_c11_main}
3713 return ok;
3717 # Test code for whether the C compiler supports C99 (complete).
3718 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3719 ${ac_c_conftest_c99_globals}
3722 main (int argc, char **argv)
3724 int ok = 0;
3725 ${ac_c_conftest_c89_main}
3726 ${ac_c_conftest_c99_main}
3727 return ok;
3731 # Test code for whether the C compiler supports C89 (complete).
3732 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3735 main (int argc, char **argv)
3737 int ok = 0;
3738 ${ac_c_conftest_c89_main}
3739 return ok;
3743 # Test code for whether the C++ compiler supports C++98 (global declarations)
3744 ac_cxx_conftest_cxx98_globals='
3745 // Does the compiler advertise C++98 conformance?
3746 #if !defined __cplusplus || __cplusplus < 199711L
3747 # error "Compiler does not advertise C++98 conformance"
3748 #endif
3750 // These inclusions are to reject old compilers that
3751 // lack the unsuffixed header files.
3752 #include <cstdlib>
3753 #include <exception>
3755 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3756 extern void assert (int);
3757 namespace std {
3758 extern int strcmp (const char *, const char *);
3761 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3762 using std::exception;
3763 using std::strcmp;
3765 namespace {
3767 void test_exception_syntax()
3769 try {
3770 throw "test";
3771 } catch (const char *s) {
3772 // Extra parentheses suppress a warning when building autoconf itself,
3773 // due to lint rules shared with more typical C programs.
3774 assert (!(strcmp) (s, "test"));
3778 template <typename T> struct test_template
3780 T const val;
3781 explicit test_template(T t) : val(t) {}
3782 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3785 } // anonymous namespace
3788 # Test code for whether the C++ compiler supports C++98 (body of main)
3789 ac_cxx_conftest_cxx98_main='
3790 assert (argc);
3791 assert (! argv[0]);
3793 test_exception_syntax ();
3794 test_template<double> tt (2.0);
3795 assert (tt.add (4) == 6.0);
3796 assert (true && !false);
3800 # Test code for whether the C++ compiler supports C++11 (global declarations)
3801 ac_cxx_conftest_cxx11_globals='
3802 // Does the compiler advertise C++ 2011 conformance?
3803 #if !defined __cplusplus || __cplusplus < 201103L
3804 # error "Compiler does not advertise C++11 conformance"
3805 #endif
3807 namespace cxx11test
3809 constexpr int get_val() { return 20; }
3811 struct testinit
3813 int i;
3814 double d;
3817 class delegate
3819 public:
3820 delegate(int n) : n(n) {}
3821 delegate(): delegate(2354) {}
3823 virtual int getval() { return this->n; };
3824 protected:
3825 int n;
3828 class overridden : public delegate
3830 public:
3831 overridden(int n): delegate(n) {}
3832 virtual int getval() override final { return this->n * 2; }
3835 class nocopy
3837 public:
3838 nocopy(int i): i(i) {}
3839 nocopy() = default;
3840 nocopy(const nocopy&) = delete;
3841 nocopy & operator=(const nocopy&) = delete;
3842 private:
3843 int i;
3846 // for testing lambda expressions
3847 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3849 return f(v);
3852 // for testing variadic templates and trailing return types
3853 template <typename V> auto sum(V first) -> V
3855 return first;
3857 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3859 return first + sum(rest...);
3864 # Test code for whether the C++ compiler supports C++11 (body of main)
3865 ac_cxx_conftest_cxx11_main='
3867 // Test auto and decltype
3868 auto a1 = 6538;
3869 auto a2 = 48573953.4;
3870 auto a3 = "String literal";
3872 int total = 0;
3873 for (auto i = a3; *i; ++i) { total += *i; }
3875 decltype(a2) a4 = 34895.034;
3878 // Test constexpr
3879 short sa[cxx11test::get_val()] = { 0 };
3882 // Test initializer lists
3883 cxx11test::testinit il = { 4323, 435234.23544 };
3886 // Test range-based for
3887 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3888 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3889 for (auto &x : array) { x += 23; }
3892 // Test lambda expressions
3893 using cxx11test::eval;
3894 assert (eval ([](int x) { return x*2; }, 21) == 42);
3895 double d = 2.0;
3896 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3897 assert (d == 5.0);
3898 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3899 assert (d == 5.0);
3902 // Test use of variadic templates
3903 using cxx11test::sum;
3904 auto a = sum(1);
3905 auto b = sum(1, 2);
3906 auto c = sum(1.0, 2.0, 3.0);
3909 // Test constructor delegation
3910 cxx11test::delegate d1;
3911 cxx11test::delegate d2();
3912 cxx11test::delegate d3(45);
3915 // Test override and final
3916 cxx11test::overridden o1(55464);
3919 // Test nullptr
3920 char *c = nullptr;
3923 // Test template brackets
3924 test_template<::test_template<int>> v(test_template<int>(12));
3927 // Unicode literals
3928 char const *utf8 = u8"UTF-8 string \u2500";
3929 char16_t const *utf16 = u"UTF-8 string \u2500";
3930 char32_t const *utf32 = U"UTF-32 string \u2500";
3934 # Test code for whether the C compiler supports C++11 (complete).
3935 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3936 ${ac_cxx_conftest_cxx11_globals}
3939 main (int argc, char **argv)
3941 int ok = 0;
3942 ${ac_cxx_conftest_cxx98_main}
3943 ${ac_cxx_conftest_cxx11_main}
3944 return ok;
3948 # Test code for whether the C compiler supports C++98 (complete).
3949 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3951 main (int argc, char **argv)
3953 int ok = 0;
3954 ${ac_cxx_conftest_cxx98_main}
3955 return ok;
3959 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3960 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3961 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3962 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3963 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3964 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3965 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3966 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3967 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3969 # Auxiliary files required by this configure script.
3970 ac_aux_files="config.guess config.sub"
3972 # Locations in which to look for auxiliary files.
3973 ac_aux_dir_candidates="${srcdir}/tools"
3975 # Search for a directory containing all of the required auxiliary files,
3976 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3977 # If we don't find one directory that contains all the files we need,
3978 # we report the set of missing files from the *first* directory in
3979 # $ac_aux_dir_candidates and give up.
3980 ac_missing_aux_files=""
3981 ac_first_candidate=:
3982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 as_found=false
3985 for as_dir in $ac_aux_dir_candidates
3987 IFS=$as_save_IFS
3988 case $as_dir in #(((
3989 '') as_dir=./ ;;
3990 */) ;;
3991 *) as_dir=$as_dir/ ;;
3992 esac
3993 as_found=:
3995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3996 ac_aux_dir_found=yes
3997 ac_install_sh=
3998 for ac_aux in $ac_aux_files
4000 # As a special case, if "install-sh" is required, that requirement
4001 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4002 # and $ac_install_sh is set appropriately for whichever one is found.
4003 if test x"$ac_aux" = x"install-sh"
4004 then
4005 if test -f "${as_dir}install-sh"; then
4006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4007 ac_install_sh="${as_dir}install-sh -c"
4008 elif test -f "${as_dir}install.sh"; then
4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4010 ac_install_sh="${as_dir}install.sh -c"
4011 elif test -f "${as_dir}shtool"; then
4012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4013 ac_install_sh="${as_dir}shtool install -c"
4014 else
4015 ac_aux_dir_found=no
4016 if $ac_first_candidate; then
4017 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4018 else
4019 break
4022 else
4023 if test -f "${as_dir}${ac_aux}"; then
4024 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4025 else
4026 ac_aux_dir_found=no
4027 if $ac_first_candidate; then
4028 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4029 else
4030 break
4034 done
4035 if test "$ac_aux_dir_found" = yes; then
4036 ac_aux_dir="$as_dir"
4037 break
4039 ac_first_candidate=false
4041 as_found=false
4042 done
4043 IFS=$as_save_IFS
4044 if $as_found
4045 then :
4047 else $as_nop
4048 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4052 # These three variables are undocumented and unsupported,
4053 # and are intended to be withdrawn in a future Autoconf release.
4054 # They can cause serious problems if a builder's source tree is in a directory
4055 # whose full name contains unusual characters.
4056 if test -f "${ac_aux_dir}config.guess"; then
4057 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4059 if test -f "${ac_aux_dir}config.sub"; then
4060 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4062 if test -f "$ac_aux_dir/configure"; then
4063 ac_configure="$SHELL ${ac_aux_dir}configure"
4066 # Check that the precious variables saved in the cache have kept the same
4067 # value.
4068 ac_cache_corrupted=false
4069 for ac_var in $ac_precious_vars; do
4070 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4071 eval ac_new_set=\$ac_env_${ac_var}_set
4072 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4073 eval ac_new_val=\$ac_env_${ac_var}_value
4074 case $ac_old_set,$ac_new_set in
4075 set,)
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4077 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4078 ac_cache_corrupted=: ;;
4079 ,set)
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4081 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4082 ac_cache_corrupted=: ;;
4083 ,);;
4085 if test "x$ac_old_val" != "x$ac_new_val"; then
4086 # differences in whitespace do not lead to failure.
4087 ac_old_val_w=`echo x $ac_old_val`
4088 ac_new_val_w=`echo x $ac_new_val`
4089 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4091 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4092 ac_cache_corrupted=:
4093 else
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4095 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4096 eval $ac_var=\$ac_old_val
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4099 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4101 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4102 fi;;
4103 esac
4104 # Pass precious variables to config.status.
4105 if test "$ac_new_set" = set; then
4106 case $ac_new_val in
4107 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4108 *) ac_arg=$ac_var=$ac_new_val ;;
4109 esac
4110 case " $ac_configure_args " in
4111 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4112 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4113 esac
4115 done
4116 if $ac_cache_corrupted; then
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4120 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4121 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4122 and start over" "$LINENO" 5
4124 ## -------------------- ##
4125 ## Main body of script. ##
4126 ## -------------------- ##
4128 ac_ext=c
4129 ac_cpp='$CPP $CPPFLAGS'
4130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136 ac_config_headers="$ac_config_headers include/config.h"
4140 libwine_version="1.0"
4143 # Check whether --enable-archs was given.
4144 if test ${enable_archs+y}
4145 then :
4146 enableval=$enable_archs;
4149 # Check whether --enable-win16 was given.
4150 if test ${enable_win16+y}
4151 then :
4152 enableval=$enable_win16;
4155 # Check whether --enable-win64 was given.
4156 if test ${enable_win64+y}
4157 then :
4158 enableval=$enable_win64;
4161 # Check whether --enable-tests was given.
4162 if test ${enable_tests+y}
4163 then :
4164 enableval=$enable_tests;
4167 # Check whether --enable-build-id was given.
4168 if test ${enable_build_id+y}
4169 then :
4170 enableval=$enable_build_id;
4173 # Check whether --enable-maintainer-mode was given.
4174 if test ${enable_maintainer_mode+y}
4175 then :
4176 enableval=$enable_maintainer_mode;
4179 # Check whether --enable-silent-rules was given.
4180 if test ${enable_silent_rules+y}
4181 then :
4182 enableval=$enable_silent_rules;
4185 # Check whether --enable-werror was given.
4186 if test ${enable_werror+y}
4187 then :
4188 enableval=$enable_werror;
4193 # Check whether --with-alsa was given.
4194 if test ${with_alsa+y}
4195 then :
4196 withval=$with_alsa;
4200 # Check whether --with-capi was given.
4201 if test ${with_capi+y}
4202 then :
4203 withval=$with_capi;
4207 # Check whether --with-coreaudio was given.
4208 if test ${with_coreaudio+y}
4209 then :
4210 withval=$with_coreaudio;
4214 # Check whether --with-cups was given.
4215 if test ${with_cups+y}
4216 then :
4217 withval=$with_cups;
4221 # Check whether --with-dbus was given.
4222 if test ${with_dbus+y}
4223 then :
4224 withval=$with_dbus;
4228 # Check whether --with-float-abi was given.
4229 if test ${with_float_abi+y}
4230 then :
4231 withval=$with_float_abi;
4235 # Check whether --with-fontconfig was given.
4236 if test ${with_fontconfig+y}
4237 then :
4238 withval=$with_fontconfig;
4242 # Check whether --with-freetype was given.
4243 if test ${with_freetype+y}
4244 then :
4245 withval=$with_freetype;
4249 # Check whether --with-gettext was given.
4250 if test ${with_gettext+y}
4251 then :
4252 withval=$with_gettext;
4256 # Check whether --with-gettextpo was given.
4257 if test ${with_gettextpo+y}
4258 then :
4259 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4263 # Check whether --with-gphoto was given.
4264 if test ${with_gphoto+y}
4265 then :
4266 withval=$with_gphoto;
4270 # Check whether --with-gnutls was given.
4271 if test ${with_gnutls+y}
4272 then :
4273 withval=$with_gnutls;
4277 # Check whether --with-gssapi was given.
4278 if test ${with_gssapi+y}
4279 then :
4280 withval=$with_gssapi;
4284 # Check whether --with-gstreamer was given.
4285 if test ${with_gstreamer+y}
4286 then :
4287 withval=$with_gstreamer;
4291 # Check whether --with-inotify was given.
4292 if test ${with_inotify+y}
4293 then :
4294 withval=$with_inotify;
4298 # Check whether --with-krb5 was given.
4299 if test ${with_krb5+y}
4300 then :
4301 withval=$with_krb5;
4305 # Check whether --with-mingw was given.
4306 if test ${with_mingw+y}
4307 then :
4308 withval=$with_mingw;
4312 # Check whether --with-netapi was given.
4313 if test ${with_netapi+y}
4314 then :
4315 withval=$with_netapi;
4319 # Check whether --with-opencl was given.
4320 if test ${with_opencl+y}
4321 then :
4322 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4326 # Check whether --with-opengl was given.
4327 if test ${with_opengl+y}
4328 then :
4329 withval=$with_opengl;
4333 # Check whether --with-osmesa was given.
4334 if test ${with_osmesa+y}
4335 then :
4336 withval=$with_osmesa;
4340 # Check whether --with-oss was given.
4341 if test ${with_oss+y}
4342 then :
4343 withval=$with_oss;
4347 # Check whether --with-pcap was given.
4348 if test ${with_pcap+y}
4349 then :
4350 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4354 # Check whether --with-pcsclite was given.
4355 if test ${with_pcsclite+y}
4356 then :
4357 withval=$with_pcsclite;
4361 # Check whether --with-pthread was given.
4362 if test ${with_pthread+y}
4363 then :
4364 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4368 # Check whether --with-pulse was given.
4369 if test ${with_pulse+y}
4370 then :
4371 withval=$with_pulse;
4375 # Check whether --with-sane was given.
4376 if test ${with_sane+y}
4377 then :
4378 withval=$with_sane;
4382 # Check whether --with-sdl was given.
4383 if test ${with_sdl+y}
4384 then :
4385 withval=$with_sdl;
4389 # Check whether --with-udev was given.
4390 if test ${with_udev+y}
4391 then :
4392 withval=$with_udev;
4396 # Check whether --with-unwind was given.
4397 if test ${with_unwind+y}
4398 then :
4399 withval=$with_unwind;
4403 # Check whether --with-usb was given.
4404 if test ${with_usb+y}
4405 then :
4406 withval=$with_usb;
4410 # Check whether --with-v4l2 was given.
4411 if test ${with_v4l2+y}
4412 then :
4413 withval=$with_v4l2;
4417 # Check whether --with-vulkan was given.
4418 if test ${with_vulkan+y}
4419 then :
4420 withval=$with_vulkan;
4424 # Check whether --with-wayland was given.
4425 if test ${with_wayland+y}
4426 then :
4427 withval=$with_wayland;
4431 # Check whether --with-xcomposite was given.
4432 if test ${with_xcomposite+y}
4433 then :
4434 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4438 # Check whether --with-xcursor was given.
4439 if test ${with_xcursor+y}
4440 then :
4441 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4445 # Check whether --with-xfixes was given.
4446 if test ${with_xfixes+y}
4447 then :
4448 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4452 # Check whether --with-xinerama was given.
4453 if test ${with_xinerama+y}
4454 then :
4455 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4459 # Check whether --with-xinput was given.
4460 if test ${with_xinput+y}
4461 then :
4462 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4466 # Check whether --with-xinput2 was given.
4467 if test ${with_xinput2+y}
4468 then :
4469 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4473 # Check whether --with-xrandr was given.
4474 if test ${with_xrandr+y}
4475 then :
4476 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4480 # Check whether --with-xrender was given.
4481 if test ${with_xrender+y}
4482 then :
4483 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4487 # Check whether --with-xshape was given.
4488 if test ${with_xshape+y}
4489 then :
4490 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4494 # Check whether --with-xshm was given.
4495 if test ${with_xshm+y}
4496 then :
4497 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4501 # Check whether --with-xxf86vm was given.
4502 if test ${with_xxf86vm+y}
4503 then :
4504 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
4509 # Check whether --with-system-dllpath was given.
4510 if test ${with_system_dllpath+y}
4511 then :
4512 withval=$with_system_dllpath; system_dllpath=$withval
4517 # Check whether --with-wine-tools was given.
4518 if test ${with_wine_tools+y}
4519 then :
4520 withval=$with_wine_tools;
4524 # Check whether --with-wine64 was given.
4525 if test ${with_wine64+y}
4526 then :
4527 withval=$with_wine64;
4534 # Make sure we can run config.sub.
4535 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4536 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4539 printf %s "checking build system type... " >&6; }
4540 if test ${ac_cv_build+y}
4541 then :
4542 printf %s "(cached) " >&6
4543 else $as_nop
4544 ac_build_alias=$build_alias
4545 test "x$ac_build_alias" = x &&
4546 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4547 test "x$ac_build_alias" = x &&
4548 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4549 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4550 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4554 printf "%s\n" "$ac_cv_build" >&6; }
4555 case $ac_cv_build in
4556 *-*-*) ;;
4557 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4558 esac
4559 build=$ac_cv_build
4560 ac_save_IFS=$IFS; IFS='-'
4561 set x $ac_cv_build
4562 shift
4563 build_cpu=$1
4564 build_vendor=$2
4565 shift; shift
4566 # Remember, the first character of IFS is used to create $*,
4567 # except with old shells:
4568 build_os=$*
4569 IFS=$ac_save_IFS
4570 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4574 printf %s "checking host system type... " >&6; }
4575 if test ${ac_cv_host+y}
4576 then :
4577 printf %s "(cached) " >&6
4578 else $as_nop
4579 if test "x$host_alias" = x; then
4580 ac_cv_host=$ac_cv_build
4581 else
4582 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4583 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4588 printf "%s\n" "$ac_cv_host" >&6; }
4589 case $ac_cv_host in
4590 *-*-*) ;;
4591 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4592 esac
4593 host=$ac_cv_host
4594 ac_save_IFS=$IFS; IFS='-'
4595 set x $ac_cv_host
4596 shift
4597 host_cpu=$1
4598 host_vendor=$2
4599 shift; shift
4600 # Remember, the first character of IFS is used to create $*,
4601 # except with old shells:
4602 host_os=$*
4603 IFS=$ac_save_IFS
4604 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4608 dlldir=\${libdir}/wine
4610 fontdir=\${datadir}/wine/fonts
4612 nlsdir=\${datadir}/wine/nls
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4618 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4619 set x ${MAKE-make}
4620 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4621 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4622 then :
4623 printf %s "(cached) " >&6
4624 else $as_nop
4625 cat >conftest.make <<\_ACEOF
4626 SHELL = /bin/sh
4627 all:
4628 @echo '@@@%%%=$(MAKE)=@@@%%%'
4629 _ACEOF
4630 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4631 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4632 *@@@%%%=?*=@@@%%%*)
4633 eval ac_cv_prog_make_${ac_make}_set=yes;;
4635 eval ac_cv_prog_make_${ac_make}_set=no;;
4636 esac
4637 rm -f conftest.make
4639 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4641 printf "%s\n" "yes" >&6; }
4642 SET_MAKE=
4643 else
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 printf "%s\n" "no" >&6; }
4646 SET_MAKE="MAKE=${MAKE-make}"
4658 ac_ext=c
4659 ac_cpp='$CPP $CPPFLAGS'
4660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4663 if test -n "$ac_tool_prefix"; then
4664 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4665 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 printf %s "checking for $ac_word... " >&6; }
4668 if test ${ac_cv_prog_CC+y}
4669 then :
4670 printf %s "(cached) " >&6
4671 else $as_nop
4672 if test -n "$CC"; then
4673 ac_cv_prog_CC="$CC" # Let the user override the test.
4674 else
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH
4678 IFS=$as_save_IFS
4679 case $as_dir in #(((
4680 '') as_dir=./ ;;
4681 */) ;;
4682 *) as_dir=$as_dir/ ;;
4683 esac
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4686 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4688 break 2
4690 done
4691 done
4692 IFS=$as_save_IFS
4696 CC=$ac_cv_prog_CC
4697 if test -n "$CC"; then
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4699 printf "%s\n" "$CC" >&6; }
4700 else
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 printf "%s\n" "no" >&6; }
4707 if test -z "$ac_cv_prog_CC"; then
4708 ac_ct_CC=$CC
4709 # Extract the first word of "gcc", so it can be a program name with args.
4710 set dummy gcc; ac_word=$2
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 printf %s "checking for $ac_word... " >&6; }
4713 if test ${ac_cv_prog_ac_ct_CC+y}
4714 then :
4715 printf %s "(cached) " >&6
4716 else $as_nop
4717 if test -n "$ac_ct_CC"; then
4718 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4719 else
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 for as_dir in $PATH
4723 IFS=$as_save_IFS
4724 case $as_dir in #(((
4725 '') as_dir=./ ;;
4726 */) ;;
4727 *) as_dir=$as_dir/ ;;
4728 esac
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_ac_ct_CC="gcc"
4732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4733 break 2
4735 done
4736 done
4737 IFS=$as_save_IFS
4741 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4742 if test -n "$ac_ct_CC"; then
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4744 printf "%s\n" "$ac_ct_CC" >&6; }
4745 else
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 printf "%s\n" "no" >&6; }
4750 if test "x$ac_ct_CC" = x; then
4751 CC=""
4752 else
4753 case $cross_compiling:$ac_tool_warned in
4754 yes:)
4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757 ac_tool_warned=yes ;;
4758 esac
4759 CC=$ac_ct_CC
4761 else
4762 CC="$ac_cv_prog_CC"
4765 if test -z "$CC"; then
4766 if test -n "$ac_tool_prefix"; then
4767 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4768 set dummy ${ac_tool_prefix}cc; ac_word=$2
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 printf %s "checking for $ac_word... " >&6; }
4771 if test ${ac_cv_prog_CC+y}
4772 then :
4773 printf %s "(cached) " >&6
4774 else $as_nop
4775 if test -n "$CC"; then
4776 ac_cv_prog_CC="$CC" # Let the user override the test.
4777 else
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779 for as_dir in $PATH
4781 IFS=$as_save_IFS
4782 case $as_dir in #(((
4783 '') as_dir=./ ;;
4784 */) ;;
4785 *) as_dir=$as_dir/ ;;
4786 esac
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4789 ac_cv_prog_CC="${ac_tool_prefix}cc"
4790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4791 break 2
4793 done
4794 done
4795 IFS=$as_save_IFS
4799 CC=$ac_cv_prog_CC
4800 if test -n "$CC"; then
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4802 printf "%s\n" "$CC" >&6; }
4803 else
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 printf "%s\n" "no" >&6; }
4811 if test -z "$CC"; then
4812 # Extract the first word of "cc", so it can be a program name with args.
4813 set dummy cc; ac_word=$2
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 printf %s "checking for $ac_word... " >&6; }
4816 if test ${ac_cv_prog_CC+y}
4817 then :
4818 printf %s "(cached) " >&6
4819 else $as_nop
4820 if test -n "$CC"; then
4821 ac_cv_prog_CC="$CC" # Let the user override the test.
4822 else
4823 ac_prog_rejected=no
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 case $as_dir in #(((
4829 '') as_dir=./ ;;
4830 */) ;;
4831 *) as_dir=$as_dir/ ;;
4832 esac
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4835 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4836 ac_prog_rejected=yes
4837 continue
4839 ac_cv_prog_CC="cc"
4840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4841 break 2
4843 done
4844 done
4845 IFS=$as_save_IFS
4847 if test $ac_prog_rejected = yes; then
4848 # We found a bogon in the path, so make sure we never use it.
4849 set dummy $ac_cv_prog_CC
4850 shift
4851 if test $# != 0; then
4852 # We chose a different compiler from the bogus one.
4853 # However, it has the same basename, so the bogon will be chosen
4854 # first if we set CC to just the basename; use the full file name.
4855 shift
4856 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4861 CC=$ac_cv_prog_CC
4862 if test -n "$CC"; then
4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4864 printf "%s\n" "$CC" >&6; }
4865 else
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 printf "%s\n" "no" >&6; }
4872 if test -z "$CC"; then
4873 if test -n "$ac_tool_prefix"; then
4874 for ac_prog in cl.exe
4876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 printf %s "checking for $ac_word... " >&6; }
4880 if test ${ac_cv_prog_CC+y}
4881 then :
4882 printf %s "(cached) " >&6
4883 else $as_nop
4884 if test -n "$CC"; then
4885 ac_cv_prog_CC="$CC" # Let the user override the test.
4886 else
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in $PATH
4890 IFS=$as_save_IFS
4891 case $as_dir in #(((
4892 '') as_dir=./ ;;
4893 */) ;;
4894 *) as_dir=$as_dir/ ;;
4895 esac
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 CC=$ac_cv_prog_CC
4909 if test -n "$CC"; then
4910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4911 printf "%s\n" "$CC" >&6; }
4912 else
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 printf "%s\n" "no" >&6; }
4918 test -n "$CC" && break
4919 done
4921 if test -z "$CC"; then
4922 ac_ct_CC=$CC
4923 for ac_prog in cl.exe
4925 # Extract the first word of "$ac_prog", so it can be a program name with args.
4926 set dummy $ac_prog; ac_word=$2
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 printf %s "checking for $ac_word... " >&6; }
4929 if test ${ac_cv_prog_ac_ct_CC+y}
4930 then :
4931 printf %s "(cached) " >&6
4932 else $as_nop
4933 if test -n "$ac_ct_CC"; then
4934 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939 IFS=$as_save_IFS
4940 case $as_dir in #(((
4941 '') as_dir=./ ;;
4942 */) ;;
4943 *) as_dir=$as_dir/ ;;
4944 esac
4945 for ac_exec_ext in '' $ac_executable_extensions; do
4946 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_ac_ct_CC="$ac_prog"
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4949 break 2
4951 done
4952 done
4953 IFS=$as_save_IFS
4957 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4958 if test -n "$ac_ct_CC"; then
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4960 printf "%s\n" "$ac_ct_CC" >&6; }
4961 else
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 printf "%s\n" "no" >&6; }
4967 test -n "$ac_ct_CC" && break
4968 done
4970 if test "x$ac_ct_CC" = x; then
4971 CC=""
4972 else
4973 case $cross_compiling:$ac_tool_warned in
4974 yes:)
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4976 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4977 ac_tool_warned=yes ;;
4978 esac
4979 CC=$ac_ct_CC
4984 if test -z "$CC"; then
4985 if test -n "$ac_tool_prefix"; then
4986 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4987 set dummy ${ac_tool_prefix}clang; ac_word=$2
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 printf %s "checking for $ac_word... " >&6; }
4990 if test ${ac_cv_prog_CC+y}
4991 then :
4992 printf %s "(cached) " >&6
4993 else $as_nop
4994 if test -n "$CC"; then
4995 ac_cv_prog_CC="$CC" # Let the user override the test.
4996 else
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 for as_dir in $PATH
5000 IFS=$as_save_IFS
5001 case $as_dir in #(((
5002 '') as_dir=./ ;;
5003 */) ;;
5004 *) as_dir=$as_dir/ ;;
5005 esac
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_CC="${ac_tool_prefix}clang"
5009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5010 break 2
5012 done
5013 done
5014 IFS=$as_save_IFS
5018 CC=$ac_cv_prog_CC
5019 if test -n "$CC"; then
5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5021 printf "%s\n" "$CC" >&6; }
5022 else
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 printf "%s\n" "no" >&6; }
5029 if test -z "$ac_cv_prog_CC"; then
5030 ac_ct_CC=$CC
5031 # Extract the first word of "clang", so it can be a program name with args.
5032 set dummy clang; ac_word=$2
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 printf %s "checking for $ac_word... " >&6; }
5035 if test ${ac_cv_prog_ac_ct_CC+y}
5036 then :
5037 printf %s "(cached) " >&6
5038 else $as_nop
5039 if test -n "$ac_ct_CC"; then
5040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5041 else
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5045 IFS=$as_save_IFS
5046 case $as_dir in #(((
5047 '') as_dir=./ ;;
5048 */) ;;
5049 *) as_dir=$as_dir/ ;;
5050 esac
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_ac_ct_CC="clang"
5054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5064 if test -n "$ac_ct_CC"; then
5065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5066 printf "%s\n" "$ac_ct_CC" >&6; }
5067 else
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 printf "%s\n" "no" >&6; }
5072 if test "x$ac_ct_CC" = x; then
5073 CC=""
5074 else
5075 case $cross_compiling:$ac_tool_warned in
5076 yes:)
5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5078 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5079 ac_tool_warned=yes ;;
5080 esac
5081 CC=$ac_ct_CC
5083 else
5084 CC="$ac_cv_prog_CC"
5090 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5091 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5092 as_fn_error $? "no acceptable C compiler found in \$PATH
5093 See \`config.log' for more details" "$LINENO" 5; }
5095 # Provide some information about the compiler.
5096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5097 set X $ac_compile
5098 ac_compiler=$2
5099 for ac_option in --version -v -V -qversion -version; do
5100 { { ac_try="$ac_compiler $ac_option >&5"
5101 case "(($ac_try" in
5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5104 esac
5105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5106 printf "%s\n" "$ac_try_echo"; } >&5
5107 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5108 ac_status=$?
5109 if test -s conftest.err; then
5110 sed '10a\
5111 ... rest of stderr output deleted ...
5112 10q' conftest.err >conftest.er1
5113 cat conftest.er1 >&5
5115 rm -f conftest.er1 conftest.err
5116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5117 test $ac_status = 0; }
5118 done
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5124 main (void)
5128 return 0;
5130 _ACEOF
5131 ac_clean_files_save=$ac_clean_files
5132 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5133 # Try to create an executable without -o first, disregard a.out.
5134 # It will help us diagnose broken compilers, and finding out an intuition
5135 # of exeext.
5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5137 printf %s "checking whether the C compiler works... " >&6; }
5138 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5140 # The possible output files:
5141 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5143 ac_rmfiles=
5144 for ac_file in $ac_files
5146 case $ac_file in
5147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5148 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5149 esac
5150 done
5151 rm -f $ac_rmfiles
5153 if { { ac_try="$ac_link_default"
5154 case "(($ac_try" in
5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5157 esac
5158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5159 printf "%s\n" "$ac_try_echo"; } >&5
5160 (eval "$ac_link_default") 2>&5
5161 ac_status=$?
5162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5163 test $ac_status = 0; }
5164 then :
5165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5167 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5168 # so that the user can short-circuit this test for compilers unknown to
5169 # Autoconf.
5170 for ac_file in $ac_files ''
5172 test -f "$ac_file" || continue
5173 case $ac_file in
5174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5176 [ab].out )
5177 # We found the default executable, but exeext='' is most
5178 # certainly right.
5179 break;;
5180 *.* )
5181 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5182 then :; else
5183 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5185 # We set ac_cv_exeext here because the later test for it is not
5186 # safe: cross compilers may not add the suffix if given an `-o'
5187 # argument, so we may need to know it at that point already.
5188 # Even if this section looks crufty: it has the advantage of
5189 # actually working.
5190 break;;
5192 break;;
5193 esac
5194 done
5195 test "$ac_cv_exeext" = no && ac_cv_exeext=
5197 else $as_nop
5198 ac_file=''
5200 if test -z "$ac_file"
5201 then :
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 printf "%s\n" "no" >&6; }
5204 printf "%s\n" "$as_me: failed program was:" >&5
5205 sed 's/^/| /' conftest.$ac_ext >&5
5207 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5208 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5209 as_fn_error 77 "C compiler cannot create executables
5210 See \`config.log' for more details" "$LINENO" 5; }
5211 else $as_nop
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5213 printf "%s\n" "yes" >&6; }
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5216 printf %s "checking for C compiler default output file name... " >&6; }
5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5218 printf "%s\n" "$ac_file" >&6; }
5219 ac_exeext=$ac_cv_exeext
5221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5222 ac_clean_files=$ac_clean_files_save
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5224 printf %s "checking for suffix of executables... " >&6; }
5225 if { { ac_try="$ac_link"
5226 case "(($ac_try" in
5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5229 esac
5230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5231 printf "%s\n" "$ac_try_echo"; } >&5
5232 (eval "$ac_link") 2>&5
5233 ac_status=$?
5234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235 test $ac_status = 0; }
5236 then :
5237 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5238 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5239 # work properly (i.e., refer to `conftest.exe'), while it won't with
5240 # `rm'.
5241 for ac_file in conftest.exe conftest conftest.*; do
5242 test -f "$ac_file" || continue
5243 case $ac_file in
5244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5245 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5246 break;;
5247 * ) break;;
5248 esac
5249 done
5250 else $as_nop
5251 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5252 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5253 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5254 See \`config.log' for more details" "$LINENO" 5; }
5256 rm -f conftest conftest$ac_cv_exeext
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5258 printf "%s\n" "$ac_cv_exeext" >&6; }
5260 rm -f conftest.$ac_ext
5261 EXEEXT=$ac_cv_exeext
5262 ac_exeext=$EXEEXT
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5265 #include <stdio.h>
5267 main (void)
5269 FILE *f = fopen ("conftest.out", "w");
5270 return ferror (f) || fclose (f) != 0;
5273 return 0;
5275 _ACEOF
5276 ac_clean_files="$ac_clean_files conftest.out"
5277 # Check that the compiler produces executables we can run. If not, either
5278 # the compiler is broken, or we cross compile.
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5280 printf %s "checking whether we are cross compiling... " >&6; }
5281 if test "$cross_compiling" != yes; then
5282 { { ac_try="$ac_link"
5283 case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 printf "%s\n" "$ac_try_echo"; } >&5
5289 (eval "$ac_link") 2>&5
5290 ac_status=$?
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5293 if { ac_try='./conftest$ac_cv_exeext'
5294 { { case "(($ac_try" in
5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5297 esac
5298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5299 printf "%s\n" "$ac_try_echo"; } >&5
5300 (eval "$ac_try") 2>&5
5301 ac_status=$?
5302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5303 test $ac_status = 0; }; }; then
5304 cross_compiling=no
5305 else
5306 if test "$cross_compiling" = maybe; then
5307 cross_compiling=yes
5308 else
5309 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5310 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5311 as_fn_error 77 "cannot run C compiled programs.
5312 If you meant to cross compile, use \`--host'.
5313 See \`config.log' for more details" "$LINENO" 5; }
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5318 printf "%s\n" "$cross_compiling" >&6; }
5320 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5321 ac_clean_files=$ac_clean_files_save
5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5323 printf %s "checking for suffix of object files... " >&6; }
5324 if test ${ac_cv_objext+y}
5325 then :
5326 printf %s "(cached) " >&6
5327 else $as_nop
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5332 main (void)
5336 return 0;
5338 _ACEOF
5339 rm -f conftest.o conftest.obj
5340 if { { ac_try="$ac_compile"
5341 case "(($ac_try" in
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5344 esac
5345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5346 printf "%s\n" "$ac_try_echo"; } >&5
5347 (eval "$ac_compile") 2>&5
5348 ac_status=$?
5349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5350 test $ac_status = 0; }
5351 then :
5352 for ac_file in conftest.o conftest.obj conftest.*; do
5353 test -f "$ac_file" || continue;
5354 case $ac_file in
5355 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5356 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5357 break;;
5358 esac
5359 done
5360 else $as_nop
5361 printf "%s\n" "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.$ac_ext >&5
5364 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5365 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5366 as_fn_error $? "cannot compute suffix of object files: cannot compile
5367 See \`config.log' for more details" "$LINENO" 5; }
5369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5372 printf "%s\n" "$ac_cv_objext" >&6; }
5373 OBJEXT=$ac_cv_objext
5374 ac_objext=$OBJEXT
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5376 printf %s "checking whether the compiler supports GNU C... " >&6; }
5377 if test ${ac_cv_c_compiler_gnu+y}
5378 then :
5379 printf %s "(cached) " >&6
5380 else $as_nop
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main (void)
5387 #ifndef __GNUC__
5388 choke me
5389 #endif
5392 return 0;
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"
5396 then :
5397 ac_compiler_gnu=yes
5398 else $as_nop
5399 ac_compiler_gnu=no
5401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5402 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5406 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5409 if test $ac_compiler_gnu = yes; then
5410 GCC=yes
5411 else
5412 GCC=
5414 ac_test_CFLAGS=${CFLAGS+y}
5415 ac_save_CFLAGS=$CFLAGS
5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5417 printf %s "checking whether $CC accepts -g... " >&6; }
5418 if test ${ac_cv_prog_cc_g+y}
5419 then :
5420 printf %s "(cached) " >&6
5421 else $as_nop
5422 ac_save_c_werror_flag=$ac_c_werror_flag
5423 ac_c_werror_flag=yes
5424 ac_cv_prog_cc_g=no
5425 CFLAGS="-g"
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5430 main (void)
5434 return 0;
5436 _ACEOF
5437 if ac_fn_c_try_compile "$LINENO"
5438 then :
5439 ac_cv_prog_cc_g=yes
5440 else $as_nop
5441 CFLAGS=""
5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5446 main (void)
5450 return 0;
5452 _ACEOF
5453 if ac_fn_c_try_compile "$LINENO"
5454 then :
5456 else $as_nop
5457 ac_c_werror_flag=$ac_save_c_werror_flag
5458 CFLAGS="-g"
5459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h. */
5463 main (void)
5467 return 0;
5469 _ACEOF
5470 if ac_fn_c_try_compile "$LINENO"
5471 then :
5472 ac_cv_prog_cc_g=yes
5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5479 ac_c_werror_flag=$ac_save_c_werror_flag
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5482 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5483 if test $ac_test_CFLAGS; then
5484 CFLAGS=$ac_save_CFLAGS
5485 elif test $ac_cv_prog_cc_g = yes; then
5486 if test "$GCC" = yes; then
5487 CFLAGS="-g -O2"
5488 else
5489 CFLAGS="-g"
5491 else
5492 if test "$GCC" = yes; then
5493 CFLAGS="-O2"
5494 else
5495 CFLAGS=
5498 ac_prog_cc_stdc=no
5499 if test x$ac_prog_cc_stdc = xno
5500 then :
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5502 printf %s "checking for $CC option to enable C11 features... " >&6; }
5503 if test ${ac_cv_prog_cc_c11+y}
5504 then :
5505 printf %s "(cached) " >&6
5506 else $as_nop
5507 ac_cv_prog_cc_c11=no
5508 ac_save_CC=$CC
5509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5511 $ac_c_conftest_c11_program
5512 _ACEOF
5513 for ac_arg in '' -std=gnu11
5515 CC="$ac_save_CC $ac_arg"
5516 if ac_fn_c_try_compile "$LINENO"
5517 then :
5518 ac_cv_prog_cc_c11=$ac_arg
5520 rm -f core conftest.err conftest.$ac_objext conftest.beam
5521 test "x$ac_cv_prog_cc_c11" != "xno" && break
5522 done
5523 rm -f conftest.$ac_ext
5524 CC=$ac_save_CC
5527 if test "x$ac_cv_prog_cc_c11" = xno
5528 then :
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5530 printf "%s\n" "unsupported" >&6; }
5531 else $as_nop
5532 if test "x$ac_cv_prog_cc_c11" = x
5533 then :
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5535 printf "%s\n" "none needed" >&6; }
5536 else $as_nop
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5538 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5539 CC="$CC $ac_cv_prog_cc_c11"
5541 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5542 ac_prog_cc_stdc=c11
5545 if test x$ac_prog_cc_stdc = xno
5546 then :
5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5548 printf %s "checking for $CC option to enable C99 features... " >&6; }
5549 if test ${ac_cv_prog_cc_c99+y}
5550 then :
5551 printf %s "(cached) " >&6
5552 else $as_nop
5553 ac_cv_prog_cc_c99=no
5554 ac_save_CC=$CC
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 $ac_c_conftest_c99_program
5558 _ACEOF
5559 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5561 CC="$ac_save_CC $ac_arg"
5562 if ac_fn_c_try_compile "$LINENO"
5563 then :
5564 ac_cv_prog_cc_c99=$ac_arg
5566 rm -f core conftest.err conftest.$ac_objext conftest.beam
5567 test "x$ac_cv_prog_cc_c99" != "xno" && break
5568 done
5569 rm -f conftest.$ac_ext
5570 CC=$ac_save_CC
5573 if test "x$ac_cv_prog_cc_c99" = xno
5574 then :
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5576 printf "%s\n" "unsupported" >&6; }
5577 else $as_nop
5578 if test "x$ac_cv_prog_cc_c99" = x
5579 then :
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5581 printf "%s\n" "none needed" >&6; }
5582 else $as_nop
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5584 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5585 CC="$CC $ac_cv_prog_cc_c99"
5587 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5588 ac_prog_cc_stdc=c99
5591 if test x$ac_prog_cc_stdc = xno
5592 then :
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5594 printf %s "checking for $CC option to enable C89 features... " >&6; }
5595 if test ${ac_cv_prog_cc_c89+y}
5596 then :
5597 printf %s "(cached) " >&6
5598 else $as_nop
5599 ac_cv_prog_cc_c89=no
5600 ac_save_CC=$CC
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603 $ac_c_conftest_c89_program
5604 _ACEOF
5605 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5607 CC="$ac_save_CC $ac_arg"
5608 if ac_fn_c_try_compile "$LINENO"
5609 then :
5610 ac_cv_prog_cc_c89=$ac_arg
5612 rm -f core conftest.err conftest.$ac_objext conftest.beam
5613 test "x$ac_cv_prog_cc_c89" != "xno" && break
5614 done
5615 rm -f conftest.$ac_ext
5616 CC=$ac_save_CC
5619 if test "x$ac_cv_prog_cc_c89" = xno
5620 then :
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5622 printf "%s\n" "unsupported" >&6; }
5623 else $as_nop
5624 if test "x$ac_cv_prog_cc_c89" = x
5625 then :
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5627 printf "%s\n" "none needed" >&6; }
5628 else $as_nop
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5630 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5631 CC="$CC $ac_cv_prog_cc_c89"
5633 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5634 ac_prog_cc_stdc=c89
5638 ac_ext=c
5639 ac_cpp='$CPP $CPPFLAGS'
5640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5650 ac_ext=cpp
5651 ac_cpp='$CXXCPP $CPPFLAGS'
5652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5655 if test -z "$CXX"; then
5656 if test -n "$CCC"; then
5657 CXX=$CCC
5658 else
5659 if test -n "$ac_tool_prefix"; then
5660 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 printf %s "checking for $ac_word... " >&6; }
5666 if test ${ac_cv_prog_CXX+y}
5667 then :
5668 printf %s "(cached) " >&6
5669 else $as_nop
5670 if test -n "$CXX"; then
5671 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5676 IFS=$as_save_IFS
5677 case $as_dir in #(((
5678 '') as_dir=./ ;;
5679 */) ;;
5680 *) as_dir=$as_dir/ ;;
5681 esac
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5686 break 2
5688 done
5689 done
5690 IFS=$as_save_IFS
5694 CXX=$ac_cv_prog_CXX
5695 if test -n "$CXX"; then
5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5697 printf "%s\n" "$CXX" >&6; }
5698 else
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 printf "%s\n" "no" >&6; }
5704 test -n "$CXX" && break
5705 done
5707 if test -z "$CXX"; then
5708 ac_ct_CXX=$CXX
5709 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5711 # Extract the first word of "$ac_prog", so it can be a program name with args.
5712 set dummy $ac_prog; ac_word=$2
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 printf %s "checking for $ac_word... " >&6; }
5715 if test ${ac_cv_prog_ac_ct_CXX+y}
5716 then :
5717 printf %s "(cached) " >&6
5718 else $as_nop
5719 if test -n "$ac_ct_CXX"; then
5720 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5725 IFS=$as_save_IFS
5726 case $as_dir in #(((
5727 '') as_dir=./ ;;
5728 */) ;;
5729 *) as_dir=$as_dir/ ;;
5730 esac
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_ac_ct_CXX="$ac_prog"
5734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5735 break 2
5737 done
5738 done
5739 IFS=$as_save_IFS
5743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5744 if test -n "$ac_ct_CXX"; then
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5746 printf "%s\n" "$ac_ct_CXX" >&6; }
5747 else
5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 printf "%s\n" "no" >&6; }
5753 test -n "$ac_ct_CXX" && break
5754 done
5756 if test "x$ac_ct_CXX" = x; then
5757 CXX="g++"
5758 else
5759 case $cross_compiling:$ac_tool_warned in
5760 yes:)
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5762 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5763 ac_tool_warned=yes ;;
5764 esac
5765 CXX=$ac_ct_CXX
5771 # Provide some information about the compiler.
5772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5773 set X $ac_compile
5774 ac_compiler=$2
5775 for ac_option in --version -v -V -qversion; do
5776 { { ac_try="$ac_compiler $ac_option >&5"
5777 case "(($ac_try" in
5778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5779 *) ac_try_echo=$ac_try;;
5780 esac
5781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5782 printf "%s\n" "$ac_try_echo"; } >&5
5783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5784 ac_status=$?
5785 if test -s conftest.err; then
5786 sed '10a\
5787 ... rest of stderr output deleted ...
5788 10q' conftest.err >conftest.er1
5789 cat conftest.er1 >&5
5791 rm -f conftest.er1 conftest.err
5792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5793 test $ac_status = 0; }
5794 done
5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5797 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5798 if test ${ac_cv_cxx_compiler_gnu+y}
5799 then :
5800 printf %s "(cached) " >&6
5801 else $as_nop
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5806 main (void)
5808 #ifndef __GNUC__
5809 choke me
5810 #endif
5813 return 0;
5815 _ACEOF
5816 if ac_fn_cxx_try_compile "$LINENO"
5817 then :
5818 ac_compiler_gnu=yes
5819 else $as_nop
5820 ac_compiler_gnu=no
5822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5823 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5827 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5830 if test $ac_compiler_gnu = yes; then
5831 GXX=yes
5832 else
5833 GXX=
5835 ac_test_CXXFLAGS=${CXXFLAGS+y}
5836 ac_save_CXXFLAGS=$CXXFLAGS
5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5838 printf %s "checking whether $CXX accepts -g... " >&6; }
5839 if test ${ac_cv_prog_cxx_g+y}
5840 then :
5841 printf %s "(cached) " >&6
5842 else $as_nop
5843 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5844 ac_cxx_werror_flag=yes
5845 ac_cv_prog_cxx_g=no
5846 CXXFLAGS="-g"
5847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5848 /* end confdefs.h. */
5851 main (void)
5855 return 0;
5857 _ACEOF
5858 if ac_fn_cxx_try_compile "$LINENO"
5859 then :
5860 ac_cv_prog_cxx_g=yes
5861 else $as_nop
5862 CXXFLAGS=""
5863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5864 /* end confdefs.h. */
5867 main (void)
5871 return 0;
5873 _ACEOF
5874 if ac_fn_cxx_try_compile "$LINENO"
5875 then :
5877 else $as_nop
5878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5879 CXXFLAGS="-g"
5880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5881 /* end confdefs.h. */
5884 main (void)
5888 return 0;
5890 _ACEOF
5891 if ac_fn_cxx_try_compile "$LINENO"
5892 then :
5893 ac_cv_prog_cxx_g=yes
5895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5900 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5903 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5904 if test $ac_test_CXXFLAGS; then
5905 CXXFLAGS=$ac_save_CXXFLAGS
5906 elif test $ac_cv_prog_cxx_g = yes; then
5907 if test "$GXX" = yes; then
5908 CXXFLAGS="-g -O2"
5909 else
5910 CXXFLAGS="-g"
5912 else
5913 if test "$GXX" = yes; then
5914 CXXFLAGS="-O2"
5915 else
5916 CXXFLAGS=
5919 ac_prog_cxx_stdcxx=no
5920 if test x$ac_prog_cxx_stdcxx = xno
5921 then :
5922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5923 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5924 if test ${ac_cv_prog_cxx_cxx11+y}
5925 then :
5926 printf %s "(cached) " >&6
5927 else $as_nop
5928 ac_cv_prog_cxx_cxx11=no
5929 ac_save_CXX=$CXX
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5932 $ac_cxx_conftest_cxx11_program
5933 _ACEOF
5934 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5936 CXX="$ac_save_CXX $ac_arg"
5937 if ac_fn_cxx_try_compile "$LINENO"
5938 then :
5939 ac_cv_prog_cxx_cxx11=$ac_arg
5941 rm -f core conftest.err conftest.$ac_objext conftest.beam
5942 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5943 done
5944 rm -f conftest.$ac_ext
5945 CXX=$ac_save_CXX
5948 if test "x$ac_cv_prog_cxx_cxx11" = xno
5949 then :
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5951 printf "%s\n" "unsupported" >&6; }
5952 else $as_nop
5953 if test "x$ac_cv_prog_cxx_cxx11" = x
5954 then :
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5956 printf "%s\n" "none needed" >&6; }
5957 else $as_nop
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5959 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5960 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5962 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5963 ac_prog_cxx_stdcxx=cxx11
5966 if test x$ac_prog_cxx_stdcxx = xno
5967 then :
5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5969 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5970 if test ${ac_cv_prog_cxx_cxx98+y}
5971 then :
5972 printf %s "(cached) " >&6
5973 else $as_nop
5974 ac_cv_prog_cxx_cxx98=no
5975 ac_save_CXX=$CXX
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 $ac_cxx_conftest_cxx98_program
5979 _ACEOF
5980 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5982 CXX="$ac_save_CXX $ac_arg"
5983 if ac_fn_cxx_try_compile "$LINENO"
5984 then :
5985 ac_cv_prog_cxx_cxx98=$ac_arg
5987 rm -f core conftest.err conftest.$ac_objext conftest.beam
5988 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5989 done
5990 rm -f conftest.$ac_ext
5991 CXX=$ac_save_CXX
5994 if test "x$ac_cv_prog_cxx_cxx98" = xno
5995 then :
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5997 printf "%s\n" "unsupported" >&6; }
5998 else $as_nop
5999 if test "x$ac_cv_prog_cxx_cxx98" = x
6000 then :
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6002 printf "%s\n" "none needed" >&6; }
6003 else $as_nop
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6005 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6006 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6008 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6009 ac_prog_cxx_stdcxx=cxx98
6013 ac_ext=c
6014 ac_cpp='$CPP $CPPFLAGS'
6015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6019 if test -n "$ac_tool_prefix"; then
6020 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6021 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 printf %s "checking for $ac_word... " >&6; }
6024 if test ${ac_cv_prog_CPPBIN+y}
6025 then :
6026 printf %s "(cached) " >&6
6027 else $as_nop
6028 if test -n "$CPPBIN"; then
6029 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6030 else
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 for as_dir in $PATH
6034 IFS=$as_save_IFS
6035 case $as_dir in #(((
6036 '') as_dir=./ ;;
6037 */) ;;
6038 *) as_dir=$as_dir/ ;;
6039 esac
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 CPPBIN=$ac_cv_prog_CPPBIN
6053 if test -n "$CPPBIN"; then
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6055 printf "%s\n" "$CPPBIN" >&6; }
6056 else
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 printf "%s\n" "no" >&6; }
6063 if test -z "$ac_cv_prog_CPPBIN"; then
6064 ac_ct_CPPBIN=$CPPBIN
6065 # Extract the first word of "cpp", so it can be a program name with args.
6066 set dummy cpp; ac_word=$2
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 printf %s "checking for $ac_word... " >&6; }
6069 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6070 then :
6071 printf %s "(cached) " >&6
6072 else $as_nop
6073 if test -n "$ac_ct_CPPBIN"; then
6074 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 case $as_dir in #(((
6081 '') as_dir=./ ;;
6082 */) ;;
6083 *) as_dir=$as_dir/ ;;
6084 esac
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_ac_ct_CPPBIN="cpp"
6088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6098 if test -n "$ac_ct_CPPBIN"; then
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6100 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6101 else
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 printf "%s\n" "no" >&6; }
6106 if test "x$ac_ct_CPPBIN" = x; then
6107 CPPBIN="cpp"
6108 else
6109 case $cross_compiling:$ac_tool_warned in
6110 yes:)
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6112 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6113 ac_tool_warned=yes ;;
6114 esac
6115 CPPBIN=$ac_ct_CPPBIN
6117 else
6118 CPPBIN="$ac_cv_prog_CPPBIN"
6122 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}ld; ac_word=$2
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 printf %s "checking for $ac_word... " >&6; }
6129 if test ${ac_cv_prog_LD+y}
6130 then :
6131 printf %s "(cached) " >&6
6132 else $as_nop
6133 if test -n "$LD"; then
6134 ac_cv_prog_LD="$LD" # Let the user override the test.
6135 else
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 for as_dir in $PATH
6139 IFS=$as_save_IFS
6140 case $as_dir in #(((
6141 '') as_dir=./ ;;
6142 */) ;;
6143 *) as_dir=$as_dir/ ;;
6144 esac
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_LD="${ac_tool_prefix}ld"
6148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6149 break 2
6151 done
6152 done
6153 IFS=$as_save_IFS
6157 LD=$ac_cv_prog_LD
6158 if test -n "$LD"; then
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6160 printf "%s\n" "$LD" >&6; }
6161 else
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 printf "%s\n" "no" >&6; }
6168 if test -z "$ac_cv_prog_LD"; then
6169 ac_ct_LD=$LD
6170 # Extract the first word of "ld", so it can be a program name with args.
6171 set dummy ld; ac_word=$2
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 printf %s "checking for $ac_word... " >&6; }
6174 if test ${ac_cv_prog_ac_ct_LD+y}
6175 then :
6176 printf %s "(cached) " >&6
6177 else $as_nop
6178 if test -n "$ac_ct_LD"; then
6179 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6184 IFS=$as_save_IFS
6185 case $as_dir in #(((
6186 '') as_dir=./ ;;
6187 */) ;;
6188 *) as_dir=$as_dir/ ;;
6189 esac
6190 for ac_exec_ext in '' $ac_executable_extensions; do
6191 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_ac_ct_LD="ld"
6193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6194 break 2
6196 done
6197 done
6198 IFS=$as_save_IFS
6202 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6203 if test -n "$ac_ct_LD"; then
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6205 printf "%s\n" "$ac_ct_LD" >&6; }
6206 else
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 printf "%s\n" "no" >&6; }
6211 if test "x$ac_ct_LD" = x; then
6212 LD=""
6213 else
6214 case $cross_compiling:$ac_tool_warned in
6215 yes:)
6216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6217 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6218 ac_tool_warned=yes ;;
6219 esac
6220 LD=$ac_ct_LD
6222 else
6223 LD="$ac_cv_prog_LD"
6227 case $host in
6228 *-darwin*)
6229 with_fontconfig=${with_fontconfig:-no}
6231 *-mingw32*|*-cygwin*)
6232 enable_win16=${enable_win16:-no}
6233 with_mingw=${with_mingw:-no}
6235 esac
6238 case $host in
6239 x86_64*|amd64*)
6240 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6241 then
6242 CC="$CC -m32"
6243 CXX="$CXX -m32"
6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6246 printf %s "checking whether $CC works... " >&6; }
6247 if test ${wine_cv_cc_m32+y}
6248 then :
6249 printf %s "(cached) " >&6
6250 else $as_nop
6251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6255 main (void)
6259 return 0;
6261 _ACEOF
6262 if ac_fn_c_try_link "$LINENO"
6263 then :
6264 wine_cv_cc_m32=yes
6265 else $as_nop
6266 wine_cv_cc_m32=no
6268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6269 conftest$ac_exeext conftest.$ac_ext
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6272 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6273 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
6274 host_cpu="i386"
6275 notice_platform="32-bit "
6276 TARGETFLAGS="$TARGETFLAGS -m32"
6277 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6278 export PKG_CONFIG_LIBDIR
6279 with_unwind=${with_unwind:-no}
6280 else
6281 CC="$CC -m64"
6282 CXX="$CXX -m64"
6283 host_cpu="x86_64"
6284 notice_platform="64-bit "
6285 TARGETFLAGS="$TARGETFLAGS -m64"
6288 arm*)
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6290 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6291 if test ${wine_cv_thumb2+y}
6292 then :
6293 printf %s "(cached) " >&6
6294 else $as_nop
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6299 main (void)
6301 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6303 return 0;
6305 _ACEOF
6306 if ac_fn_c_try_link "$LINENO"
6307 then :
6308 wine_cv_thumb2=yes
6309 else $as_nop
6310 wine_cv_thumb2=no
6312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6313 conftest$ac_exeext conftest.$ac_ext
6315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6316 printf "%s\n" "$wine_cv_thumb2" >&6; }
6317 if test x"$wine_cv_thumb2" = xyes
6318 then
6319 CFLAGS="$CFLAGS -mthumb"
6320 TARGETFLAGS="$TARGETFLAGS -mthumb"
6321 else
6322 CFLAGS="$CFLAGS -marm"
6323 TARGETFLAGS="$TARGETFLAGS -marm"
6325 case $with_float_abi in
6326 soft|softfp|hard)
6327 float_abi=$with_float_abi ;;
6329 case $host_os in
6330 *eabihf)
6331 float_abi=hard ;;
6333 float_abi=softfp
6334 saved_CFLAGS=$CFLAGS
6335 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6337 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6338 if test ${wine_cv_float_abi+y}
6339 then :
6340 printf %s "(cached) " >&6
6341 else $as_nop
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6346 main (void)
6348 asm("vmrs r2,fpscr");
6350 return 0;
6352 _ACEOF
6353 if ac_fn_c_try_link "$LINENO"
6354 then :
6355 wine_cv_float_abi=yes
6356 else $as_nop
6357 wine_cv_float_abi=no
6359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6360 conftest$ac_exeext conftest.$ac_ext
6362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6363 printf "%s\n" "$wine_cv_float_abi" >&6; }
6364 if test $wine_cv_float_abi = no
6365 then
6366 float_abi=soft
6367 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6369 CFLAGS=$saved_CFLAGS
6370 esac
6372 esac
6373 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6374 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6376 i[3456789]86*)
6377 with_unwind=${with_unwind:-no}
6379 esac
6381 enable_win16=${enable_win16:-i386}
6382 enable_win64=${enable_win64:-no}
6383 enable_wow64=${enable_wow64:-aarch64,x86_64}
6384 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6385 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6387 enable_winetest=${enable_winetest:-$enable_tests}
6389 if test "x$enable_win64" = "xyes"
6390 then
6391 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6392 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6395 case $build_os in
6396 cygwin*|mingw32*) toolsext=".exe"
6398 *) toolsext=""
6400 esac
6402 HOST_ARCH=unknown
6403 case "$host_cpu" in
6404 aarch64*) HOST_ARCH=aarch64 ;;
6405 arm*) HOST_ARCH=arm ;;
6406 i[3456789]86*) HOST_ARCH=i386 ;;
6407 x86_64) HOST_ARCH=x86_64 ;;
6408 esac
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6412 printf %s "checking for the directory containing the Wine tools... " >&6; }
6413 if test ${wine_cv_toolsdir+y}
6414 then :
6415 printf %s "(cached) " >&6
6416 else $as_nop
6417 wine_cv_toolsdir="$with_wine_tools"
6418 if test -z "$with_wine_tools"; then
6419 if test "$cross_compiling" = "yes"; then
6420 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6421 elif test -n "$with_wine64"; then
6422 wine_cv_toolsdir="$with_wine64"
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6427 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6428 if test -z "$wine_cv_toolsdir"; then
6429 wine_makedep=tools/makedep$toolsext
6430 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6431 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6432 enable_tools=${enable_tools:-no}
6433 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6434 else
6435 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6437 toolsdir=$wine_cv_toolsdir
6439 MAKEDEP=$wine_makedep
6441 RUNTESTFLAGS="-q -P wine"
6443 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'"
6446 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6447 then
6448 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6451 for ac_prog in flex
6453 # Extract the first word of "$ac_prog", so it can be a program name with args.
6454 set dummy $ac_prog; ac_word=$2
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 printf %s "checking for $ac_word... " >&6; }
6457 if test ${ac_cv_prog_FLEX+y}
6458 then :
6459 printf %s "(cached) " >&6
6460 else $as_nop
6461 if test -n "$FLEX"; then
6462 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6463 else
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in $PATH
6467 IFS=$as_save_IFS
6468 case $as_dir in #(((
6469 '') as_dir=./ ;;
6470 */) ;;
6471 *) as_dir=$as_dir/ ;;
6472 esac
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_FLEX="$ac_prog"
6476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6477 break 2
6479 done
6480 done
6481 IFS=$as_save_IFS
6485 FLEX=$ac_cv_prog_FLEX
6486 if test -n "$FLEX"; then
6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6488 printf "%s\n" "$FLEX" >&6; }
6489 else
6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 printf "%s\n" "no" >&6; }
6495 test -n "$FLEX" && break
6496 done
6497 test -n "$FLEX" || FLEX="none"
6499 if test "$FLEX" = "none"
6500 then
6501 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6504 printf %s "checking whether flex is recent enough... " >&6; }
6505 if test ${wine_cv_recent_flex+y}
6506 then :
6507 printf %s "(cached) " >&6
6508 else $as_nop
6509 cat >conftest.l <<EOF
6510 %top{
6511 #include "prediluvian.h"
6515 if $FLEX -t conftest.l >/dev/null 2>&5
6516 then
6517 wine_cv_recent_flex=yes
6518 else
6519 wine_cv_recent_flex=no
6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6523 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6524 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
6526 for ac_prog in bison
6528 # Extract the first word of "$ac_prog", so it can be a program name with args.
6529 set dummy $ac_prog; ac_word=$2
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6531 printf %s "checking for $ac_word... " >&6; }
6532 if test ${ac_cv_prog_BISON+y}
6533 then :
6534 printf %s "(cached) " >&6
6535 else $as_nop
6536 if test -n "$BISON"; then
6537 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6542 IFS=$as_save_IFS
6543 case $as_dir in #(((
6544 '') as_dir=./ ;;
6545 */) ;;
6546 *) as_dir=$as_dir/ ;;
6547 esac
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_BISON="$ac_prog"
6551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6552 break 2
6554 done
6555 done
6556 IFS=$as_save_IFS
6560 BISON=$ac_cv_prog_BISON
6561 if test -n "$BISON"; then
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6563 printf "%s\n" "$BISON" >&6; }
6564 else
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 printf "%s\n" "no" >&6; }
6570 test -n "$BISON" && break
6571 done
6572 test -n "$BISON" || BISON="none"
6574 if test "$BISON" = "none"
6575 then
6576 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6579 printf %s "checking whether bison is recent enough... " >&6; }
6580 if test ${wine_cv_recent_bison+y}
6581 then :
6582 printf %s "(cached) " >&6
6583 else $as_nop
6584 cat >conftest.y <<EOF
6585 %define parse.error verbose
6587 empty: ;
6589 if $BISON conftest.y >/dev/null 2>&5
6590 then
6591 wine_cv_recent_bison=yes
6592 else
6593 wine_cv_recent_bison=no
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6597 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6598 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
6600 if test -n "$ac_tool_prefix"; then
6601 for ac_prog in ar gar
6603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 printf %s "checking for $ac_word... " >&6; }
6607 if test ${ac_cv_prog_AR+y}
6608 then :
6609 printf %s "(cached) " >&6
6610 else $as_nop
6611 if test -n "$AR"; then
6612 ac_cv_prog_AR="$AR" # Let the user override the test.
6613 else
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6617 IFS=$as_save_IFS
6618 case $as_dir in #(((
6619 '') as_dir=./ ;;
6620 */) ;;
6621 *) as_dir=$as_dir/ ;;
6622 esac
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6625 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6627 break 2
6629 done
6630 done
6631 IFS=$as_save_IFS
6635 AR=$ac_cv_prog_AR
6636 if test -n "$AR"; then
6637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6638 printf "%s\n" "$AR" >&6; }
6639 else
6640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 printf "%s\n" "no" >&6; }
6645 test -n "$AR" && break
6646 done
6648 if test -z "$AR"; then
6649 ac_ct_AR=$AR
6650 for ac_prog in ar gar
6652 # Extract the first word of "$ac_prog", so it can be a program name with args.
6653 set dummy $ac_prog; ac_word=$2
6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 printf %s "checking for $ac_word... " >&6; }
6656 if test ${ac_cv_prog_ac_ct_AR+y}
6657 then :
6658 printf %s "(cached) " >&6
6659 else $as_nop
6660 if test -n "$ac_ct_AR"; then
6661 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6662 else
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 for as_dir in $PATH
6666 IFS=$as_save_IFS
6667 case $as_dir in #(((
6668 '') as_dir=./ ;;
6669 */) ;;
6670 *) as_dir=$as_dir/ ;;
6671 esac
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_ac_ct_AR="$ac_prog"
6675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6676 break 2
6678 done
6679 done
6680 IFS=$as_save_IFS
6684 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6685 if test -n "$ac_ct_AR"; then
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6687 printf "%s\n" "$ac_ct_AR" >&6; }
6688 else
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 printf "%s\n" "no" >&6; }
6694 test -n "$ac_ct_AR" && break
6695 done
6697 if test "x$ac_ct_AR" = x; then
6698 AR="ar"
6699 else
6700 case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706 AR=$ac_ct_AR
6710 if test -n "$ac_tool_prefix"; then
6711 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6712 set dummy ${ac_tool_prefix}strip; ac_word=$2
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 printf %s "checking for $ac_word... " >&6; }
6715 if test ${ac_cv_prog_STRIP+y}
6716 then :
6717 printf %s "(cached) " >&6
6718 else $as_nop
6719 if test -n "$STRIP"; then
6720 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6721 else
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 for as_dir in $PATH
6725 IFS=$as_save_IFS
6726 case $as_dir in #(((
6727 '') as_dir=./ ;;
6728 */) ;;
6729 *) as_dir=$as_dir/ ;;
6730 esac
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6735 break 2
6737 done
6738 done
6739 IFS=$as_save_IFS
6743 STRIP=$ac_cv_prog_STRIP
6744 if test -n "$STRIP"; then
6745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6746 printf "%s\n" "$STRIP" >&6; }
6747 else
6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 printf "%s\n" "no" >&6; }
6754 if test -z "$ac_cv_prog_STRIP"; then
6755 ac_ct_STRIP=$STRIP
6756 # Extract the first word of "strip", so it can be a program name with args.
6757 set dummy strip; ac_word=$2
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 printf %s "checking for $ac_word... " >&6; }
6760 if test ${ac_cv_prog_ac_ct_STRIP+y}
6761 then :
6762 printf %s "(cached) " >&6
6763 else $as_nop
6764 if test -n "$ac_ct_STRIP"; then
6765 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6770 IFS=$as_save_IFS
6771 case $as_dir in #(((
6772 '') as_dir=./ ;;
6773 */) ;;
6774 *) as_dir=$as_dir/ ;;
6775 esac
6776 for ac_exec_ext in '' $ac_executable_extensions; do
6777 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6778 ac_cv_prog_ac_ct_STRIP="strip"
6779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6780 break 2
6782 done
6783 done
6784 IFS=$as_save_IFS
6788 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6789 if test -n "$ac_ct_STRIP"; then
6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6791 printf "%s\n" "$ac_ct_STRIP" >&6; }
6792 else
6793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6794 printf "%s\n" "no" >&6; }
6797 if test "x$ac_ct_STRIP" = x; then
6798 STRIP="strip"
6799 else
6800 case $cross_compiling:$ac_tool_warned in
6801 yes:)
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6803 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6804 ac_tool_warned=yes ;;
6805 esac
6806 STRIP=$ac_ct_STRIP
6808 else
6809 STRIP="$ac_cv_prog_STRIP"
6812 if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6814 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6816 printf %s "checking for $ac_word... " >&6; }
6817 if test ${ac_cv_prog_RANLIB+y}
6818 then :
6819 printf %s "(cached) " >&6
6820 else $as_nop
6821 if test -n "$RANLIB"; then
6822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6823 else
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 for as_dir in $PATH
6827 IFS=$as_save_IFS
6828 case $as_dir in #(((
6829 '') as_dir=./ ;;
6830 */) ;;
6831 *) as_dir=$as_dir/ ;;
6832 esac
6833 for ac_exec_ext in '' $ac_executable_extensions; do
6834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6837 break 2
6839 done
6840 done
6841 IFS=$as_save_IFS
6845 RANLIB=$ac_cv_prog_RANLIB
6846 if test -n "$RANLIB"; then
6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6848 printf "%s\n" "$RANLIB" >&6; }
6849 else
6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 printf "%s\n" "no" >&6; }
6856 if test -z "$ac_cv_prog_RANLIB"; then
6857 ac_ct_RANLIB=$RANLIB
6858 # Extract the first word of "ranlib", so it can be a program name with args.
6859 set dummy ranlib; ac_word=$2
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861 printf %s "checking for $ac_word... " >&6; }
6862 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6863 then :
6864 printf %s "(cached) " >&6
6865 else $as_nop
6866 if test -n "$ac_ct_RANLIB"; then
6867 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6868 else
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 for as_dir in $PATH
6872 IFS=$as_save_IFS
6873 case $as_dir in #(((
6874 '') as_dir=./ ;;
6875 */) ;;
6876 *) as_dir=$as_dir/ ;;
6877 esac
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6880 ac_cv_prog_ac_ct_RANLIB="ranlib"
6881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6882 break 2
6884 done
6885 done
6886 IFS=$as_save_IFS
6890 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6891 if test -n "$ac_ct_RANLIB"; then
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6893 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6894 else
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 printf "%s\n" "no" >&6; }
6899 if test "x$ac_ct_RANLIB" = x; then
6900 RANLIB=":"
6901 else
6902 case $cross_compiling:$ac_tool_warned in
6903 yes:)
6904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned=yes ;;
6907 esac
6908 RANLIB=$ac_ct_RANLIB
6910 else
6911 RANLIB="$ac_cv_prog_RANLIB"
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6915 printf %s "checking whether ln -s works... " >&6; }
6916 LN_S=$as_ln_s
6917 if test "$LN_S" = "ln -s"; then
6918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6919 printf "%s\n" "yes" >&6; }
6920 else
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6922 printf "%s\n" "no, using $LN_S" >&6; }
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6926 printf %s "checking for grep that handles long lines and -e... " >&6; }
6927 if test ${ac_cv_path_GREP+y}
6928 then :
6929 printf %s "(cached) " >&6
6930 else $as_nop
6931 if test -z "$GREP"; then
6932 ac_path_GREP_found=false
6933 # Loop through the user's path and test for each of PROGNAME-LIST
6934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6937 IFS=$as_save_IFS
6938 case $as_dir in #(((
6939 '') as_dir=./ ;;
6940 */) ;;
6941 *) as_dir=$as_dir/ ;;
6942 esac
6943 for ac_prog in grep ggrep
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6947 as_fn_executable_p "$ac_path_GREP" || continue
6948 # Check for GNU ac_path_GREP and select it if it is found.
6949 # Check for GNU $ac_path_GREP
6950 case `"$ac_path_GREP" --version 2>&1` in
6951 *GNU*)
6952 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6954 ac_count=0
6955 printf %s 0123456789 >"conftest.in"
6956 while :
6958 cat "conftest.in" "conftest.in" >"conftest.tmp"
6959 mv "conftest.tmp" "conftest.in"
6960 cp "conftest.in" "conftest.nl"
6961 printf "%s\n" 'GREP' >> "conftest.nl"
6962 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6964 as_fn_arith $ac_count + 1 && ac_count=$as_val
6965 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6966 # Best one so far, save it but keep looking for a better one
6967 ac_cv_path_GREP="$ac_path_GREP"
6968 ac_path_GREP_max=$ac_count
6970 # 10*(2^10) chars as input seems more than enough
6971 test $ac_count -gt 10 && break
6972 done
6973 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6974 esac
6976 $ac_path_GREP_found && break 3
6977 done
6978 done
6979 done
6980 IFS=$as_save_IFS
6981 if test -z "$ac_cv_path_GREP"; then
6982 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6984 else
6985 ac_cv_path_GREP=$GREP
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6990 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6991 GREP="$ac_cv_path_GREP"
6994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6995 printf %s "checking for egrep... " >&6; }
6996 if test ${ac_cv_path_EGREP+y}
6997 then :
6998 printf %s "(cached) " >&6
6999 else $as_nop
7000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7001 then ac_cv_path_EGREP="$GREP -E"
7002 else
7003 if test -z "$EGREP"; then
7004 ac_path_EGREP_found=false
7005 # Loop through the user's path and test for each of PROGNAME-LIST
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7009 IFS=$as_save_IFS
7010 case $as_dir in #(((
7011 '') as_dir=./ ;;
7012 */) ;;
7013 *) as_dir=$as_dir/ ;;
7014 esac
7015 for ac_prog in egrep
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7019 as_fn_executable_p "$ac_path_EGREP" || continue
7020 # Check for GNU ac_path_EGREP and select it if it is found.
7021 # Check for GNU $ac_path_EGREP
7022 case `"$ac_path_EGREP" --version 2>&1` in
7023 *GNU*)
7024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7026 ac_count=0
7027 printf %s 0123456789 >"conftest.in"
7028 while :
7030 cat "conftest.in" "conftest.in" >"conftest.tmp"
7031 mv "conftest.tmp" "conftest.in"
7032 cp "conftest.in" "conftest.nl"
7033 printf "%s\n" 'EGREP' >> "conftest.nl"
7034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7036 as_fn_arith $ac_count + 1 && ac_count=$as_val
7037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7038 # Best one so far, save it but keep looking for a better one
7039 ac_cv_path_EGREP="$ac_path_EGREP"
7040 ac_path_EGREP_max=$ac_count
7042 # 10*(2^10) chars as input seems more than enough
7043 test $ac_count -gt 10 && break
7044 done
7045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7046 esac
7048 $ac_path_EGREP_found && break 3
7049 done
7050 done
7051 done
7052 IFS=$as_save_IFS
7053 if test -z "$ac_cv_path_EGREP"; then
7054 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7056 else
7057 ac_cv_path_EGREP=$EGREP
7062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7063 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7064 EGREP="$ac_cv_path_EGREP"
7067 # Extract the first word of "ldconfig", so it can be a program name with args.
7068 set dummy ldconfig; ac_word=$2
7069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 printf %s "checking for $ac_word... " >&6; }
7071 if test ${ac_cv_path_LDCONFIG+y}
7072 then :
7073 printf %s "(cached) " >&6
7074 else $as_nop
7075 case $LDCONFIG in
7076 [\\/]* | ?:[\\/]*)
7077 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081 for as_dir in /sbin /usr/sbin $PATH
7083 IFS=$as_save_IFS
7084 case $as_dir in #(((
7085 '') as_dir=./ ;;
7086 */) ;;
7087 *) as_dir=$as_dir/ ;;
7088 esac
7089 for ac_exec_ext in '' $ac_executable_extensions; do
7090 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7091 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7093 break 2
7095 done
7096 done
7097 IFS=$as_save_IFS
7099 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7101 esac
7103 LDCONFIG=$ac_cv_path_LDCONFIG
7104 if test -n "$LDCONFIG"; then
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7106 printf "%s\n" "$LDCONFIG" >&6; }
7107 else
7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 printf "%s\n" "no" >&6; }
7113 for ac_prog in msgfmt
7115 # Extract the first word of "$ac_prog", so it can be a program name with args.
7116 set dummy $ac_prog; ac_word=$2
7117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 printf %s "checking for $ac_word... " >&6; }
7119 if test ${ac_cv_prog_MSGFMT+y}
7120 then :
7121 printf %s "(cached) " >&6
7122 else $as_nop
7123 if test -n "$MSGFMT"; then
7124 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7125 else
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 for as_dir in $PATH
7129 IFS=$as_save_IFS
7130 case $as_dir in #(((
7131 '') as_dir=./ ;;
7132 */) ;;
7133 *) as_dir=$as_dir/ ;;
7134 esac
7135 for ac_exec_ext in '' $ac_executable_extensions; do
7136 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7137 ac_cv_prog_MSGFMT="$ac_prog"
7138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7139 break 2
7141 done
7142 done
7143 IFS=$as_save_IFS
7147 MSGFMT=$ac_cv_prog_MSGFMT
7148 if test -n "$MSGFMT"; then
7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7150 printf "%s\n" "$MSGFMT" >&6; }
7151 else
7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 printf "%s\n" "no" >&6; }
7157 test -n "$MSGFMT" && break
7158 done
7159 test -n "$MSGFMT" || MSGFMT="false"
7161 if test ${ac_tool_prefix+y}
7162 then :
7163 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7164 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 printf %s "checking for $ac_word... " >&6; }
7167 if test ${ac_cv_prog_PKG_CONFIG+y}
7168 then :
7169 printf %s "(cached) " >&6
7170 else $as_nop
7171 if test -n "$PKG_CONFIG"; then
7172 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7173 else
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 for as_dir in $PATH
7177 IFS=$as_save_IFS
7178 case $as_dir in #(((
7179 '') as_dir=./ ;;
7180 */) ;;
7181 *) as_dir=$as_dir/ ;;
7182 esac
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7187 break 2
7189 done
7190 done
7191 IFS=$as_save_IFS
7195 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7196 if test -n "$PKG_CONFIG"; then
7197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7198 printf "%s\n" "$PKG_CONFIG" >&6; }
7199 else
7200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 printf "%s\n" "no" >&6; }
7206 if ${ac_cv_prog_PKG_CONFIG:+false} :
7207 then :
7208 if test "x$cross_compiling" = xyes
7209 then :
7211 else $as_nop
7212 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7213 # Extract the first word of "pkg-config", so it can be a program name with args.
7214 set dummy pkg-config; ac_word=$2
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 printf %s "checking for $ac_word... " >&6; }
7217 if test ${ac_cv_prog_PKG_CONFIG+y}
7218 then :
7219 printf %s "(cached) " >&6
7220 else $as_nop
7221 if test -n "$PKG_CONFIG"; then
7222 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7223 else
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 for as_dir in $PATH
7227 IFS=$as_save_IFS
7228 case $as_dir in #(((
7229 '') as_dir=./ ;;
7230 */) ;;
7231 *) as_dir=$as_dir/ ;;
7232 esac
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_PKG_CONFIG="pkg-config"
7236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7237 break 2
7239 done
7240 done
7241 IFS=$as_save_IFS
7245 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7246 if test -n "$PKG_CONFIG"; then
7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7248 printf "%s\n" "$PKG_CONFIG" >&6; }
7249 else
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251 printf "%s\n" "no" >&6; }
7256 else $as_nop
7257 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7260 if test "x$enable_maintainer_mode" != "xyes"
7261 then
7262 FONTFORGE=""
7263 RSVG=""
7264 CONVERT=""
7265 ICOTOOL=""
7266 else
7267 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7268 for ac_prog in fontforge
7270 # Extract the first word of "$ac_prog", so it can be a program name with args.
7271 set dummy $ac_prog; ac_word=$2
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 printf %s "checking for $ac_word... " >&6; }
7274 if test ${ac_cv_prog_FONTFORGE+y}
7275 then :
7276 printf %s "(cached) " >&6
7277 else $as_nop
7278 if test -n "$FONTFORGE"; then
7279 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7284 IFS=$as_save_IFS
7285 case $as_dir in #(((
7286 '') as_dir=./ ;;
7287 */) ;;
7288 *) as_dir=$as_dir/ ;;
7289 esac
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7292 ac_cv_prog_FONTFORGE="$ac_prog"
7293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7294 break 2
7296 done
7297 done
7298 IFS=$as_save_IFS
7302 FONTFORGE=$ac_cv_prog_FONTFORGE
7303 if test -n "$FONTFORGE"; then
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7305 printf "%s\n" "$FONTFORGE" >&6; }
7306 else
7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 printf "%s\n" "no" >&6; }
7312 test -n "$FONTFORGE" && break
7313 done
7314 test -n "$FONTFORGE" || FONTFORGE="false"
7316 for ac_prog in rsvg-convert rsvg
7318 # Extract the first word of "$ac_prog", so it can be a program name with args.
7319 set dummy $ac_prog; ac_word=$2
7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 printf %s "checking for $ac_word... " >&6; }
7322 if test ${ac_cv_prog_RSVG+y}
7323 then :
7324 printf %s "(cached) " >&6
7325 else $as_nop
7326 if test -n "$RSVG"; then
7327 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7328 else
7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 for as_dir in $PATH
7332 IFS=$as_save_IFS
7333 case $as_dir in #(((
7334 '') as_dir=./ ;;
7335 */) ;;
7336 *) as_dir=$as_dir/ ;;
7337 esac
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_RSVG="$ac_prog"
7341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7350 RSVG=$ac_cv_prog_RSVG
7351 if test -n "$RSVG"; then
7352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7353 printf "%s\n" "$RSVG" >&6; }
7354 else
7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 printf "%s\n" "no" >&6; }
7360 test -n "$RSVG" && break
7361 done
7362 test -n "$RSVG" || RSVG="false"
7364 for ac_prog in convert
7366 # Extract the first word of "$ac_prog", so it can be a program name with args.
7367 set dummy $ac_prog; ac_word=$2
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7369 printf %s "checking for $ac_word... " >&6; }
7370 if test ${ac_cv_prog_CONVERT+y}
7371 then :
7372 printf %s "(cached) " >&6
7373 else $as_nop
7374 if test -n "$CONVERT"; then
7375 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7376 else
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in $PATH
7380 IFS=$as_save_IFS
7381 case $as_dir in #(((
7382 '') as_dir=./ ;;
7383 */) ;;
7384 *) as_dir=$as_dir/ ;;
7385 esac
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7388 ac_cv_prog_CONVERT="$ac_prog"
7389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7390 break 2
7392 done
7393 done
7394 IFS=$as_save_IFS
7398 CONVERT=$ac_cv_prog_CONVERT
7399 if test -n "$CONVERT"; then
7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7401 printf "%s\n" "$CONVERT" >&6; }
7402 else
7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 printf "%s\n" "no" >&6; }
7408 test -n "$CONVERT" && break
7409 done
7410 test -n "$CONVERT" || CONVERT="false"
7412 for ac_prog in icotool
7414 # Extract the first word of "$ac_prog", so it can be a program name with args.
7415 set dummy $ac_prog; ac_word=$2
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 printf %s "checking for $ac_word... " >&6; }
7418 if test ${ac_cv_prog_ICOTOOL+y}
7419 then :
7420 printf %s "(cached) " >&6
7421 else $as_nop
7422 if test -n "$ICOTOOL"; then
7423 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 case $as_dir in #(((
7430 '') as_dir=./ ;;
7431 */) ;;
7432 *) as_dir=$as_dir/ ;;
7433 esac
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_ICOTOOL="$ac_prog"
7437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7438 break 2
7440 done
7441 done
7442 IFS=$as_save_IFS
7446 ICOTOOL=$ac_cv_prog_ICOTOOL
7447 if test -n "$ICOTOOL"; then
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7449 printf "%s\n" "$ICOTOOL" >&6; }
7450 else
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 printf "%s\n" "no" >&6; }
7456 test -n "$ICOTOOL" && break
7457 done
7458 test -n "$ICOTOOL" || ICOTOOL="false"
7460 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7461 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7463 if test "$CONVERT" = false
7464 then
7465 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7466 else
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7468 printf %s "checking for recent enough imagemagick... " >&6; }
7469 convert_version=`convert --version | head -n1`
7470 if test "x$convert_version" != "x"
7471 then
7472 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7473 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7474 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7475 then
7476 CONVERT=false
7479 if test "$CONVERT" = false
7480 then
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7482 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7483 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7484 else
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7486 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7490 if test "$ICOTOOL" = false
7491 then
7492 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7493 else
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7495 printf %s "checking for recent enough icotool... " >&6; }
7496 icotool_version=`icotool --version | head -n1`
7497 if test "x$icotool_version" != "x"
7498 then
7499 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7500 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7501 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7502 then
7503 ICOTOOL=false
7504 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7507 if test "$ICOTOOL" = false
7508 then
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7510 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7511 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7512 else
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7514 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7518 with_gettext=yes
7519 with_gettextpo=yes
7521 enable_werror=yes
7524 test "x$with_gettext" != xno || MSGFMT=false
7525 if test "$MSGFMT" != "false"
7526 then
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7528 printf %s "checking whether msgfmt supports contexts... " >&6; }
7529 if test ${wine_cv_msgfmt_contexts+y}
7530 then :
7531 printf %s "(cached) " >&6
7532 else $as_nop
7533 cat >conftest.po <<EOF
7534 # comment
7535 msgctxt "ctxt"
7536 msgid "id"
7537 msgstr "str"
7539 if $MSGFMT -o /dev/null conftest.po 2>&5
7540 then
7541 wine_cv_msgfmt_contexts=yes
7542 else
7543 wine_cv_msgfmt_contexts=no
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7547 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7548 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7550 if test "$MSGFMT" = false
7551 then :
7552 case "x$with_gettext" in
7553 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7554 xno) ;;
7555 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7556 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7557 esac
7558 enable_po=${enable_po:-no}
7562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7563 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7564 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7565 then :
7566 printf %s "(cached) " >&6
7567 else $as_nop
7568 ac_check_lib_save_LIBS=$LIBS
7569 LIBS="-li386 $LIBS"
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7573 /* Override any GCC internal prototype to avoid an error.
7574 Use char because int might match the return type of a GCC
7575 builtin and then its argument prototype would still apply. */
7576 char i386_set_ldt ();
7578 main (void)
7580 return i386_set_ldt ();
7582 return 0;
7584 _ACEOF
7585 if ac_fn_c_try_link "$LINENO"
7586 then :
7587 ac_cv_lib_i386_i386_set_ldt=yes
7588 else $as_nop
7589 ac_cv_lib_i386_i386_set_ldt=no
7591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7592 conftest$ac_exeext conftest.$ac_ext
7593 LIBS=$ac_check_lib_save_LIBS
7595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7596 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7597 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7598 then :
7599 I386_LIBS="-li386"
7604 OPENGL_LIBS=""
7608 # Check whether --enable-largefile was given.
7609 if test ${enable_largefile+y}
7610 then :
7611 enableval=$enable_largefile;
7614 if test "$enable_largefile" != no; then
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7617 printf %s "checking for special C compiler options needed for large files... " >&6; }
7618 if test ${ac_cv_sys_largefile_CC+y}
7619 then :
7620 printf %s "(cached) " >&6
7621 else $as_nop
7622 ac_cv_sys_largefile_CC=no
7623 if test "$GCC" != yes; then
7624 ac_save_CC=$CC
7625 while :; do
7626 # IRIX 6.2 and later do not support large files by default,
7627 # so use the C compiler's -n32 option if that helps.
7628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7629 /* end confdefs.h. */
7630 #include <sys/types.h>
7631 /* Check that off_t can represent 2**63 - 1 correctly.
7632 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7633 since some C++ compilers masquerading as C compilers
7634 incorrectly reject 9223372036854775807. */
7635 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7636 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7637 && LARGE_OFF_T % 2147483647 == 1)
7638 ? 1 : -1];
7640 main (void)
7644 return 0;
7646 _ACEOF
7647 if ac_fn_c_try_compile "$LINENO"
7648 then :
7649 break
7651 rm -f core conftest.err conftest.$ac_objext conftest.beam
7652 CC="$CC -n32"
7653 if ac_fn_c_try_compile "$LINENO"
7654 then :
7655 ac_cv_sys_largefile_CC=' -n32'; break
7657 rm -f core conftest.err conftest.$ac_objext conftest.beam
7658 break
7659 done
7660 CC=$ac_save_CC
7661 rm -f conftest.$ac_ext
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7665 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7666 if test "$ac_cv_sys_largefile_CC" != no; then
7667 CC=$CC$ac_cv_sys_largefile_CC
7670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7671 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7672 if test ${ac_cv_sys_file_offset_bits+y}
7673 then :
7674 printf %s "(cached) " >&6
7675 else $as_nop
7676 while :; do
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7679 #include <sys/types.h>
7680 /* Check that off_t can represent 2**63 - 1 correctly.
7681 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7682 since some C++ compilers masquerading as C compilers
7683 incorrectly reject 9223372036854775807. */
7684 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7685 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7686 && LARGE_OFF_T % 2147483647 == 1)
7687 ? 1 : -1];
7689 main (void)
7693 return 0;
7695 _ACEOF
7696 if ac_fn_c_try_compile "$LINENO"
7697 then :
7698 ac_cv_sys_file_offset_bits=no; break
7700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7703 #define _FILE_OFFSET_BITS 64
7704 #include <sys/types.h>
7705 /* Check that off_t can represent 2**63 - 1 correctly.
7706 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7707 since some C++ compilers masquerading as C compilers
7708 incorrectly reject 9223372036854775807. */
7709 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7710 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7711 && LARGE_OFF_T % 2147483647 == 1)
7712 ? 1 : -1];
7714 main (void)
7718 return 0;
7720 _ACEOF
7721 if ac_fn_c_try_compile "$LINENO"
7722 then :
7723 ac_cv_sys_file_offset_bits=64; break
7725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7726 ac_cv_sys_file_offset_bits=unknown
7727 break
7728 done
7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7731 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7732 case $ac_cv_sys_file_offset_bits in #(
7733 no | unknown) ;;
7735 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7737 esac
7738 rm -rf conftest*
7739 if test $ac_cv_sys_file_offset_bits = unknown; then
7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7741 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7742 if test ${ac_cv_sys_large_files+y}
7743 then :
7744 printf %s "(cached) " >&6
7745 else $as_nop
7746 while :; do
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7748 /* end confdefs.h. */
7749 #include <sys/types.h>
7750 /* Check that off_t can represent 2**63 - 1 correctly.
7751 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7752 since some C++ compilers masquerading as C compilers
7753 incorrectly reject 9223372036854775807. */
7754 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7755 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7756 && LARGE_OFF_T % 2147483647 == 1)
7757 ? 1 : -1];
7759 main (void)
7763 return 0;
7765 _ACEOF
7766 if ac_fn_c_try_compile "$LINENO"
7767 then :
7768 ac_cv_sys_large_files=no; break
7770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h. */
7773 #define _LARGE_FILES 1
7774 #include <sys/types.h>
7775 /* Check that off_t can represent 2**63 - 1 correctly.
7776 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7777 since some C++ compilers masquerading as C compilers
7778 incorrectly reject 9223372036854775807. */
7779 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7780 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7781 && LARGE_OFF_T % 2147483647 == 1)
7782 ? 1 : -1];
7784 main (void)
7788 return 0;
7790 _ACEOF
7791 if ac_fn_c_try_compile "$LINENO"
7792 then :
7793 ac_cv_sys_large_files=1; break
7795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7796 ac_cv_sys_large_files=unknown
7797 break
7798 done
7800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7801 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7802 case $ac_cv_sys_large_files in #(
7803 no | unknown) ;;
7805 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7807 esac
7808 rm -rf conftest*
7813 ac_header= ac_cache=
7814 for ac_item in $ac_header_c_list
7816 if test $ac_cache; then
7817 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7818 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7819 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7821 ac_header= ac_cache=
7822 elif test $ac_header; then
7823 ac_cache=$ac_item
7824 else
7825 ac_header=$ac_item
7827 done
7836 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7837 then :
7839 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7842 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7843 if test "x$ac_cv_header_CL_cl_h" = xyes
7844 then :
7845 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7848 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7849 if test "x$ac_cv_header_EGL_egl_h" = xyes
7850 then :
7851 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7854 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7855 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7856 then :
7857 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7860 ac_fn_c_check_header_compile "$LINENO" "PCSC/pcsclite.h" "ac_cv_header_PCSC_pcsclite_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_PCSC_pcsclite_h" = xyes
7862 then :
7863 printf "%s\n" "#define HAVE_PCSC_PCSCLITE_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_arpa_inet_h" = xyes
7868 then :
7869 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_asm_types_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_asm_user_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_elf_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_float_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_gettext_po_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_libproc_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_link_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_linux_filter_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_input_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_major_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_param_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_serial_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_types_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_wireless_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_lwp_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_mach_mach_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_machine_cpu_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_mntent_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_netdb_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_netinet_in_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_port_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_pthread_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_pwd_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_sched_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_scsi_sg_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_stdint_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sys_attr_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_sys_auxv_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_sys_cdio_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_epoll_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_event_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_extattr_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_filio_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_ipc_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_link_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_modem_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_mtio_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_param_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_prctl_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_queue_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_random_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_resource_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_shm_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_signal_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_sockio_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_strtio_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_syscall_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_times_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_uio_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_user_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_utsname_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_vnode_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_xattr_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_syscall_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_utime_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8331 then :
8333 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8337 if test $ac_cv_header_sys_mkdev_h = no; then
8338 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8340 then :
8342 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8348 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8349 if test ${ac_cv_header_stat_broken+y}
8350 then :
8351 printf %s "(cached) " >&6
8352 else $as_nop
8353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 #include <sys/types.h>
8356 #include <sys/stat.h>
8358 #if defined S_ISBLK && defined S_IFDIR
8359 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8360 #endif
8362 #if defined S_ISBLK && defined S_IFCHR
8363 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8364 #endif
8366 #if defined S_ISLNK && defined S_IFREG
8367 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8368 #endif
8370 #if defined S_ISSOCK && defined S_IFREG
8371 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8372 #endif
8374 _ACEOF
8375 if ac_fn_c_try_compile "$LINENO"
8376 then :
8377 ac_cv_header_stat_broken=no
8378 else $as_nop
8379 ac_cv_header_stat_broken=yes
8381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8384 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8385 if test $ac_cv_header_stat_broken = yes; then
8387 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8393 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8394 #ifdef HAVE_SYS_PARAM_H
8395 # include <sys/param.h>
8396 #endif
8398 if test "x$ac_cv_header_sys_conf_h" = xyes
8399 then :
8400 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8403 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8404 #ifdef HAVE_SYS_PARAM_H
8405 # include <sys/param.h>
8406 #endif
8408 if test "x$ac_cv_header_sys_mount_h" = xyes
8409 then :
8410 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8414 #ifdef HAVE_SYS_PARAM_H
8415 # include <sys/param.h>
8416 #endif
8418 if test "x$ac_cv_header_sys_statfs_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8426 #endif
8428 if test "x$ac_cv_header_sys_user_h" = xyes
8429 then :
8430 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8436 #endif
8438 if test "x$ac_cv_header_sys_vfs_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8445 saved_sysctl_h_CFLAGS=$CFLAGS
8446 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8447 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8450 #endif
8452 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8453 then :
8454 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8458 CFLAGS=$saved_sysctl_h_CFLAGS
8460 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8461 #include <sys/socket.h>
8462 #ifdef HAVE_SYS_SOCKETVAR_H
8463 # include <sys/socketvar.h>
8464 #endif
8465 #ifdef HAVE_NET_ROUTE_H
8466 # include <net/route.h>
8467 #endif
8468 #ifdef HAVE_NETINET_IN_H
8469 # include <netinet/in.h>
8470 #endif
8471 #ifdef HAVE_NETINET_IN_SYSTM_H
8472 # include <netinet/in_systm.h>
8473 #endif
8474 #ifdef HAVE_NET_IF_H
8475 # include <net/if.h>
8476 #endif
8477 #ifdef HAVE_NETINET_IP_H
8478 # include <netinet/ip.h>
8479 #endif
8481 if test "x$ac_cv_header_netinet_ip_h" = xyes
8482 then :
8483 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8486 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8487 #include <sys/socket.h>
8488 #ifdef HAVE_SYS_SOCKETVAR_H
8489 # include <sys/socketvar.h>
8490 #endif
8491 #ifdef HAVE_NET_ROUTE_H
8492 # include <net/route.h>
8493 #endif
8494 #ifdef HAVE_NETINET_IN_H
8495 # include <netinet/in.h>
8496 #endif
8497 #ifdef HAVE_NETINET_IN_SYSTM_H
8498 # include <netinet/in_systm.h>
8499 #endif
8500 #ifdef HAVE_NET_IF_H
8501 # include <net/if.h>
8502 #endif
8503 #ifdef HAVE_NETINET_IP_H
8504 # include <netinet/ip.h>
8505 #endif
8507 if test "x$ac_cv_header_net_if_h" = xyes
8508 then :
8509 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8512 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8513 #include <sys/socket.h>
8514 #ifdef HAVE_SYS_SOCKETVAR_H
8515 # include <sys/socketvar.h>
8516 #endif
8517 #ifdef HAVE_NET_ROUTE_H
8518 # include <net/route.h>
8519 #endif
8520 #ifdef HAVE_NETINET_IN_H
8521 # include <netinet/in.h>
8522 #endif
8523 #ifdef HAVE_NETINET_IN_SYSTM_H
8524 # include <netinet/in_systm.h>
8525 #endif
8526 #ifdef HAVE_NET_IF_H
8527 # include <net/if.h>
8528 #endif
8529 #ifdef HAVE_NETINET_IP_H
8530 # include <netinet/ip.h>
8531 #endif
8533 if test "x$ac_cv_header_net_if_arp_h" = xyes
8534 then :
8535 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8538 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8539 #include <sys/socket.h>
8540 #ifdef HAVE_SYS_SOCKETVAR_H
8541 # include <sys/socketvar.h>
8542 #endif
8543 #ifdef HAVE_NET_ROUTE_H
8544 # include <net/route.h>
8545 #endif
8546 #ifdef HAVE_NETINET_IN_H
8547 # include <netinet/in.h>
8548 #endif
8549 #ifdef HAVE_NETINET_IN_SYSTM_H
8550 # include <netinet/in_systm.h>
8551 #endif
8552 #ifdef HAVE_NET_IF_H
8553 # include <net/if.h>
8554 #endif
8555 #ifdef HAVE_NETINET_IP_H
8556 # include <netinet/ip.h>
8557 #endif
8559 if test "x$ac_cv_header_net_if_dl_h" = xyes
8560 then :
8561 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8564 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8565 #include <sys/socket.h>
8566 #ifdef HAVE_SYS_SOCKETVAR_H
8567 # include <sys/socketvar.h>
8568 #endif
8569 #ifdef HAVE_NET_ROUTE_H
8570 # include <net/route.h>
8571 #endif
8572 #ifdef HAVE_NETINET_IN_H
8573 # include <netinet/in.h>
8574 #endif
8575 #ifdef HAVE_NETINET_IN_SYSTM_H
8576 # include <netinet/in_systm.h>
8577 #endif
8578 #ifdef HAVE_NET_IF_H
8579 # include <net/if.h>
8580 #endif
8581 #ifdef HAVE_NETINET_IP_H
8582 # include <netinet/ip.h>
8583 #endif
8585 if test "x$ac_cv_header_net_if_types_h" = xyes
8586 then :
8587 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8590 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8591 #include <sys/socket.h>
8592 #ifdef HAVE_SYS_SOCKETVAR_H
8593 # include <sys/socketvar.h>
8594 #endif
8595 #ifdef HAVE_NET_ROUTE_H
8596 # include <net/route.h>
8597 #endif
8598 #ifdef HAVE_NETINET_IN_H
8599 # include <netinet/in.h>
8600 #endif
8601 #ifdef HAVE_NETINET_IN_SYSTM_H
8602 # include <netinet/in_systm.h>
8603 #endif
8604 #ifdef HAVE_NET_IF_H
8605 # include <net/if.h>
8606 #endif
8607 #ifdef HAVE_NETINET_IP_H
8608 # include <netinet/ip.h>
8609 #endif
8611 if test "x$ac_cv_header_net_route_h" = xyes
8612 then :
8613 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8616 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8617 #include <sys/socket.h>
8618 #ifdef HAVE_SYS_SOCKETVAR_H
8619 # include <sys/socketvar.h>
8620 #endif
8621 #ifdef HAVE_NET_ROUTE_H
8622 # include <net/route.h>
8623 #endif
8624 #ifdef HAVE_NETINET_IN_H
8625 # include <netinet/in.h>
8626 #endif
8627 #ifdef HAVE_NETINET_IN_SYSTM_H
8628 # include <netinet/in_systm.h>
8629 #endif
8630 #ifdef HAVE_NET_IF_H
8631 # include <net/if.h>
8632 #endif
8633 #ifdef HAVE_NETINET_IP_H
8634 # include <netinet/ip.h>
8635 #endif
8637 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8638 then :
8639 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8642 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8643 #include <sys/socket.h>
8644 #ifdef HAVE_SYS_SOCKETVAR_H
8645 # include <sys/socketvar.h>
8646 #endif
8647 #ifdef HAVE_NET_ROUTE_H
8648 # include <net/route.h>
8649 #endif
8650 #ifdef HAVE_NETINET_IN_H
8651 # include <netinet/in.h>
8652 #endif
8653 #ifdef HAVE_NETINET_IN_SYSTM_H
8654 # include <netinet/in_systm.h>
8655 #endif
8656 #ifdef HAVE_NET_IF_H
8657 # include <net/if.h>
8658 #endif
8659 #ifdef HAVE_NETINET_IP_H
8660 # include <netinet/ip.h>
8661 #endif
8663 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8664 then :
8665 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8668 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8669 #include <sys/socket.h>
8670 #ifdef HAVE_SYS_SOCKETVAR_H
8671 # include <sys/socketvar.h>
8672 #endif
8673 #ifdef HAVE_NET_ROUTE_H
8674 # include <net/route.h>
8675 #endif
8676 #ifdef HAVE_NETINET_IN_H
8677 # include <netinet/in.h>
8678 #endif
8679 #ifdef HAVE_NETINET_IN_SYSTM_H
8680 # include <netinet/in_systm.h>
8681 #endif
8682 #ifdef HAVE_NET_IF_H
8683 # include <net/if.h>
8684 #endif
8685 #ifdef HAVE_NETINET_IP_H
8686 # include <netinet/ip.h>
8687 #endif
8689 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8690 then :
8691 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8694 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8695 #include <sys/socket.h>
8696 #ifdef HAVE_SYS_SOCKETVAR_H
8697 # include <sys/socketvar.h>
8698 #endif
8699 #ifdef HAVE_NET_ROUTE_H
8700 # include <net/route.h>
8701 #endif
8702 #ifdef HAVE_NETINET_IN_H
8703 # include <netinet/in.h>
8704 #endif
8705 #ifdef HAVE_NETINET_IN_SYSTM_H
8706 # include <netinet/in_systm.h>
8707 #endif
8708 #ifdef HAVE_NET_IF_H
8709 # include <net/if.h>
8710 #endif
8711 #ifdef HAVE_NETINET_IP_H
8712 # include <netinet/ip.h>
8713 #endif
8715 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8716 then :
8717 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8720 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8721 #include <sys/socket.h>
8722 #ifdef HAVE_SYS_SOCKETVAR_H
8723 # include <sys/socketvar.h>
8724 #endif
8725 #ifdef HAVE_NET_ROUTE_H
8726 # include <net/route.h>
8727 #endif
8728 #ifdef HAVE_NETINET_IN_H
8729 # include <netinet/in.h>
8730 #endif
8731 #ifdef HAVE_NETINET_IN_SYSTM_H
8732 # include <netinet/in_systm.h>
8733 #endif
8734 #ifdef HAVE_NET_IF_H
8735 # include <net/if.h>
8736 #endif
8737 #ifdef HAVE_NETINET_IP_H
8738 # include <netinet/ip.h>
8739 #endif
8741 if test "x$ac_cv_header_netinet_udp_h" = xyes
8742 then :
8743 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8746 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8747 #include <sys/socket.h>
8748 #ifdef HAVE_SYS_SOCKETVAR_H
8749 # include <sys/socketvar.h>
8750 #endif
8751 #ifdef HAVE_NET_ROUTE_H
8752 # include <net/route.h>
8753 #endif
8754 #ifdef HAVE_NETINET_IN_H
8755 # include <netinet/in.h>
8756 #endif
8757 #ifdef HAVE_NETINET_IN_SYSTM_H
8758 # include <netinet/in_systm.h>
8759 #endif
8760 #ifdef HAVE_NET_IF_H
8761 # include <net/if.h>
8762 #endif
8763 #ifdef HAVE_NETINET_IP_H
8764 # include <netinet/ip.h>
8765 #endif
8767 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8768 then :
8769 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8772 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8773 #include <sys/socket.h>
8774 #ifdef HAVE_SYS_SOCKETVAR_H
8775 # include <sys/socketvar.h>
8776 #endif
8777 #ifdef HAVE_NET_ROUTE_H
8778 # include <net/route.h>
8779 #endif
8780 #ifdef HAVE_NETINET_IN_H
8781 # include <netinet/in.h>
8782 #endif
8783 #ifdef HAVE_NETINET_IN_SYSTM_H
8784 # include <netinet/in_systm.h>
8785 #endif
8786 #ifdef HAVE_NET_IF_H
8787 # include <net/if.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IP_H
8790 # include <netinet/ip.h>
8791 #endif
8793 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8794 then :
8795 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8798 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8799 #include <sys/socket.h>
8800 #ifdef HAVE_SYS_SOCKETVAR_H
8801 # include <sys/socketvar.h>
8802 #endif
8803 #ifdef HAVE_NET_ROUTE_H
8804 # include <net/route.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IN_H
8807 # include <netinet/in.h>
8808 #endif
8809 #ifdef HAVE_NETINET_IN_SYSTM_H
8810 # include <netinet/in_systm.h>
8811 #endif
8812 #ifdef HAVE_NET_IF_H
8813 # include <net/if.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IP_H
8816 # include <netinet/ip.h>
8817 #endif
8819 if test "x$ac_cv_header_sys_un_h" = xyes
8820 then :
8821 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8826 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8827 #include <sys/socket.h>
8828 #ifdef HAVE_SYS_SOCKETVAR_H
8829 # include <sys/socketvar.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IN_H
8832 # include <netinet/in.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IN_SYSTM_H
8835 # include <netinet/in_systm.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IP_H
8838 # include <netinet/ip.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IP_VAR_H
8841 # include <netinet/ip_var.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IP_ICMP_H
8844 # include <netinet/ip_icmp.h>
8845 #endif
8846 #ifdef HAVE_NETINET_UDP_H
8847 # include <netinet/udp.h>
8848 #endif
8849 #ifdef HAVE_NETINET_TCP_H
8850 # include <netinet/tcp.h>
8851 #endif
8853 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8854 then :
8855 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8858 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8859 #include <sys/socket.h>
8860 #ifdef HAVE_SYS_SOCKETVAR_H
8861 # include <sys/socketvar.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IN_H
8864 # include <netinet/in.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IN_SYSTM_H
8867 # include <netinet/in_systm.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IP_H
8870 # include <netinet/ip.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IP_VAR_H
8873 # include <netinet/ip_var.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IP_ICMP_H
8876 # include <netinet/ip_icmp.h>
8877 #endif
8878 #ifdef HAVE_NETINET_UDP_H
8879 # include <netinet/udp.h>
8880 #endif
8881 #ifdef HAVE_NETINET_TCP_H
8882 # include <netinet/tcp.h>
8883 #endif
8885 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8886 then :
8887 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8891 #include <sys/socket.h>
8892 #ifdef HAVE_SYS_SOCKETVAR_H
8893 # include <sys/socketvar.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IN_H
8896 # include <netinet/in.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IN_SYSTM_H
8899 # include <netinet/in_systm.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_H
8902 # include <netinet/ip.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_VAR_H
8905 # include <netinet/ip_var.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_ICMP_H
8908 # include <netinet/ip_icmp.h>
8909 #endif
8910 #ifdef HAVE_NETINET_UDP_H
8911 # include <netinet/udp.h>
8912 #endif
8913 #ifdef HAVE_NETINET_TCP_H
8914 # include <netinet/tcp.h>
8915 #endif
8917 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8918 then :
8919 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8922 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8923 #include <sys/socket.h>
8924 #ifdef HAVE_SYS_SOCKETVAR_H
8925 # include <sys/socketvar.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_H
8928 # include <netinet/in.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IN_SYSTM_H
8931 # include <netinet/in_systm.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IP_H
8934 # include <netinet/ip.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_VAR_H
8937 # include <netinet/ip_var.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IP_ICMP_H
8940 # include <netinet/ip_icmp.h>
8941 #endif
8942 #ifdef HAVE_NETINET_UDP_H
8943 # include <netinet/udp.h>
8944 #endif
8945 #ifdef HAVE_NETINET_TCP_H
8946 # include <netinet/tcp.h>
8947 #endif
8949 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8950 then :
8951 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8956 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8957 #include <sys/socket.h>
8958 #ifdef HAVE_ASM_TYPES_H
8959 # include <asm/types.h>
8960 #endif
8961 #ifdef HAVE_LINUX_TYPES_H
8962 # include <linux/types.h>
8963 #endif
8965 if test "x$ac_cv_header_linux_ipx_h" = xyes
8966 then :
8967 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8970 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8971 #include <sys/socket.h>
8972 #ifdef HAVE_ASM_TYPES_H
8973 # include <asm/types.h>
8974 #endif
8975 #ifdef HAVE_LINUX_TYPES_H
8976 # include <linux/types.h>
8977 #endif
8979 if test "x$ac_cv_header_linux_irda_h" = xyes
8980 then :
8981 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8985 #include <sys/socket.h>
8986 #ifdef HAVE_ASM_TYPES_H
8987 # include <asm/types.h>
8988 #endif
8989 #ifdef HAVE_LINUX_TYPES_H
8990 # include <linux/types.h>
8991 #endif
8993 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8994 then :
8995 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_NETINET_IN_H
9003 # include <netinet/in.h>
9004 #endif
9005 #ifdef HAVE_ARPA_NAMESER_H
9006 # include <arpa/nameser.h>
9007 #endif
9009 if test "x$ac_cv_header_resolv_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9018 if test "x$ac_cv_header_ifaddrs_h" = xyes
9019 then :
9020 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9027 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9028 then :
9029 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9035 #ifdef HAVE_SYS_UCONTEXT_H
9036 #include <sys/ucontext.h>
9037 #endif
9039 if test "x$ac_cv_header_sys_thr_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9047 #include <pthread.h>
9048 #endif
9050 if test "x$ac_cv_header_pthread_np_h" = xyes
9051 then :
9052 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9057 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9058 #include <sys/types.h>
9059 #ifdef HAVE_ASM_TYPES_H
9060 #include <asm/types.h>
9061 #endif
9063 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9064 then :
9065 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9071 #include <sys/param.h>
9072 #endif
9073 #include <sys/socket.h>
9074 #ifdef HAVE_SYS_QUEUE_H
9075 #include <sys/queue.h>
9076 #endif
9078 if test "x$ac_cv_header_libprocstat_h" = xyes
9079 then :
9080 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9085 if test "x$ac_cv_header_sys_xattr_h" = xyes
9086 then
9087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9088 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9089 if test ${wine_cv_xattr_extra_args+y}
9090 then :
9091 printf %s "(cached) " >&6
9092 else $as_nop
9093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 #include <sys/xattr.h>
9097 main (void)
9099 getxattr("", "", "", 0, 0, 0);
9101 return 0;
9103 _ACEOF
9104 if ac_fn_c_try_compile "$LINENO"
9105 then :
9106 wine_cv_xattr_extra_args=yes
9107 else $as_nop
9108 wine_cv_xattr_extra_args=no
9110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9113 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9114 test $wine_cv_xattr_extra_args != yes ||
9115 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9120 DLLFLAGS=""
9122 LDDLLFLAGS=""
9124 LDEXECFLAGS=""
9126 EXTRACFLAGS=""
9128 UNIXDLLFLAGS="-fPIC"
9130 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9132 TOP_INSTALL_LIB=""
9134 TOP_INSTALL_DEV=""
9136 WINELOADER_LDFLAGS=""
9138 WINEPRELOADER_LDFLAGS=""
9140 DLLEXT=".so"
9142 LIBEXT="so"
9143 # Extract the first word of "ldd", so it can be a program name with args.
9144 set dummy ldd; ac_word=$2
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9146 printf %s "checking for $ac_word... " >&6; }
9147 if test ${ac_cv_path_LDD+y}
9148 then :
9149 printf %s "(cached) " >&6
9150 else $as_nop
9151 case $LDD in
9152 [\\/]* | ?:[\\/]*)
9153 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9157 as_dummy="/sbin:/usr/sbin:$PATH"
9158 for as_dir in $as_dummy
9160 IFS=$as_save_IFS
9161 case $as_dir in #(((
9162 '') as_dir=./ ;;
9163 */) ;;
9164 *) as_dir=$as_dir/ ;;
9165 esac
9166 for ac_exec_ext in '' $ac_executable_extensions; do
9167 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9168 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9170 break 2
9172 done
9173 done
9174 IFS=$as_save_IFS
9176 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9178 esac
9180 LDD=$ac_cv_path_LDD
9181 if test -n "$LDD"; then
9182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9183 printf "%s\n" "$LDD" >&6; }
9184 else
9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 printf "%s\n" "no" >&6; }
9190 if test -n "$ac_tool_prefix"; then
9191 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9192 set dummy ${ac_tool_prefix}otool; ac_word=$2
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9194 printf %s "checking for $ac_word... " >&6; }
9195 if test ${ac_cv_prog_OTOOL+y}
9196 then :
9197 printf %s "(cached) " >&6
9198 else $as_nop
9199 if test -n "$OTOOL"; then
9200 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9201 else
9202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9203 for as_dir in $PATH
9205 IFS=$as_save_IFS
9206 case $as_dir in #(((
9207 '') as_dir=./ ;;
9208 */) ;;
9209 *) as_dir=$as_dir/ ;;
9210 esac
9211 for ac_exec_ext in '' $ac_executable_extensions; do
9212 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9213 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9215 break 2
9217 done
9218 done
9219 IFS=$as_save_IFS
9223 OTOOL=$ac_cv_prog_OTOOL
9224 if test -n "$OTOOL"; then
9225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9226 printf "%s\n" "$OTOOL" >&6; }
9227 else
9228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9229 printf "%s\n" "no" >&6; }
9234 if test -z "$ac_cv_prog_OTOOL"; then
9235 ac_ct_OTOOL=$OTOOL
9236 # Extract the first word of "otool", so it can be a program name with args.
9237 set dummy otool; ac_word=$2
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9239 printf %s "checking for $ac_word... " >&6; }
9240 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9241 then :
9242 printf %s "(cached) " >&6
9243 else $as_nop
9244 if test -n "$ac_ct_OTOOL"; then
9245 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9246 else
9247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9248 for as_dir in $PATH
9250 IFS=$as_save_IFS
9251 case $as_dir in #(((
9252 '') as_dir=./ ;;
9253 */) ;;
9254 *) as_dir=$as_dir/ ;;
9255 esac
9256 for ac_exec_ext in '' $ac_executable_extensions; do
9257 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9258 ac_cv_prog_ac_ct_OTOOL="otool"
9259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9260 break 2
9262 done
9263 done
9264 IFS=$as_save_IFS
9268 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9269 if test -n "$ac_ct_OTOOL"; then
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9271 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9272 else
9273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9274 printf "%s\n" "no" >&6; }
9277 if test "x$ac_ct_OTOOL" = x; then
9278 OTOOL="otool"
9279 else
9280 case $cross_compiling:$ac_tool_warned in
9281 yes:)
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9283 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9284 ac_tool_warned=yes ;;
9285 esac
9286 OTOOL=$ac_ct_OTOOL
9288 else
9289 OTOOL="$ac_cv_prog_OTOOL"
9292 if test -n "$ac_tool_prefix"; then
9293 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9294 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9296 printf %s "checking for $ac_word... " >&6; }
9297 if test ${ac_cv_prog_READELF+y}
9298 then :
9299 printf %s "(cached) " >&6
9300 else $as_nop
9301 if test -n "$READELF"; then
9302 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9303 else
9304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9305 for as_dir in $PATH
9307 IFS=$as_save_IFS
9308 case $as_dir in #(((
9309 '') as_dir=./ ;;
9310 */) ;;
9311 *) as_dir=$as_dir/ ;;
9312 esac
9313 for ac_exec_ext in '' $ac_executable_extensions; do
9314 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9315 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9317 break 2
9319 done
9320 done
9321 IFS=$as_save_IFS
9325 READELF=$ac_cv_prog_READELF
9326 if test -n "$READELF"; then
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9328 printf "%s\n" "$READELF" >&6; }
9329 else
9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9331 printf "%s\n" "no" >&6; }
9336 if test -z "$ac_cv_prog_READELF"; then
9337 ac_ct_READELF=$READELF
9338 # Extract the first word of "readelf", so it can be a program name with args.
9339 set dummy readelf; ac_word=$2
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9341 printf %s "checking for $ac_word... " >&6; }
9342 if test ${ac_cv_prog_ac_ct_READELF+y}
9343 then :
9344 printf %s "(cached) " >&6
9345 else $as_nop
9346 if test -n "$ac_ct_READELF"; then
9347 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9348 else
9349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9350 for as_dir in $PATH
9352 IFS=$as_save_IFS
9353 case $as_dir in #(((
9354 '') as_dir=./ ;;
9355 */) ;;
9356 *) as_dir=$as_dir/ ;;
9357 esac
9358 for ac_exec_ext in '' $ac_executable_extensions; do
9359 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9360 ac_cv_prog_ac_ct_READELF="readelf"
9361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9362 break 2
9364 done
9365 done
9366 IFS=$as_save_IFS
9370 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9371 if test -n "$ac_ct_READELF"; then
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9373 printf "%s\n" "$ac_ct_READELF" >&6; }
9374 else
9375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9376 printf "%s\n" "no" >&6; }
9379 if test "x$ac_ct_READELF" = x; then
9380 READELF="true"
9381 else
9382 case $cross_compiling:$ac_tool_warned in
9383 yes:)
9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9385 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9386 ac_tool_warned=yes ;;
9387 esac
9388 READELF=$ac_ct_READELF
9390 else
9391 READELF="$ac_cv_prog_READELF"
9394 wine_rules="all:"
9395 SUBDIRS=""
9397 DISABLED_SUBDIRS=""
9399 CONFIGURE_TARGETS=""
9402 wine_fn_config_makefile ()
9404 as_fn_append SUBDIRS " \\$as_nl $1"
9405 eval enable=\$$2
9406 case "$enable" in
9407 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9408 *aarch64*|*arm*|*i386*|*x86_64*)
9409 if test -n "$PE_ARCHS"
9410 then
9411 for i in $PE_ARCHS
9413 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9414 done
9415 else
9416 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9417 fi;;
9418 esac
9421 wine_fn_config_symlink ()
9423 ac_links=$@
9424 as_fn_append wine_rules "
9425 $ac_links:
9426 @./config.status \$@"
9427 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9430 case $host_os in
9431 cygwin*|mingw32*)
9432 LIBEXT="dll"
9433 DLLEXT=""
9434 EXTRACFLAGS="-D__WINE_PE_BUILD"
9435 case $host_cpu in
9436 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9437 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9438 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9439 then :
9440 printf %s "(cached) " >&6
9441 else $as_nop
9442 ac_wine_try_cflags_saved=$CFLAGS
9443 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9446 int main(int argc, char **argv) { return 0; }
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"
9449 then :
9450 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9451 else $as_nop
9452 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9455 conftest$ac_exeext conftest.$ac_ext
9456 CFLAGS=$ac_wine_try_cflags_saved
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9459 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9460 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9461 then :
9462 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9463 fi ;;
9464 esac
9465 enable_loader=${enable_loader:-no}
9466 enable_server=${enable_server:-no}
9467 with_x=${with_x:-no}
9468 with_pthread=${with_pthread:-no}
9471 darwin*|macosx*)
9472 LIBEXT="dylib"
9473 DLLFLAGS="$DLLFLAGS -fPIC"
9474 LDDLLFLAGS="-fPIC"
9475 enable_winemac_drv=${enable_winemac_drv:-yes}
9476 CARBON_LIBS="-framework Carbon"
9478 COREFOUNDATION_LIBS="-framework CoreFoundation"
9480 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9482 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9484 METAL_LIBS="-framework Metal"
9486 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9488 CORESERVICES_LIBS="-framework CoreServices"
9490 APPKIT_LIBS="-framework AppKit"
9492 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9494 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9497 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9499 case $host_cpu in
9500 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9501 *) wine_can_build_preloader=no ;;
9502 esac
9504 if test "$wine_can_build_preloader" = "yes"
9505 then
9506 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"
9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9508 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9509 if test ${ac_cv_cflags__Wl__no_pie+y}
9510 then :
9511 printf %s "(cached) " >&6
9512 else $as_nop
9513 ac_wine_try_cflags_saved=$CFLAGS
9514 CFLAGS="$CFLAGS -Wl,-no_pie"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 int main(int argc, char **argv) { return 0; }
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"
9520 then :
9521 ac_cv_cflags__Wl__no_pie=yes
9522 else $as_nop
9523 ac_cv_cflags__Wl__no_pie=no
9525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9526 conftest$ac_exeext conftest.$ac_ext
9527 CFLAGS=$ac_wine_try_cflags_saved
9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9530 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9531 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9532 then :
9533 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9535 case $host_cpu in
9536 *i[3456]86*)
9537 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9539 *x86_64*)
9540 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9542 esac
9543 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9544 else
9545 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9548 if test "x$with_coreaudio" != "xno";
9549 then
9550 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9552 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9554 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9555 then
9556 OPENCL_LIBS="-framework OpenCL"
9558 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9562 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9563 ac_ext=m
9564 ac_cpp='$OBJCPP $CPPFLAGS'
9565 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9566 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9567 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9569 ac_ext=m
9570 ac_cpp='$OBJCPP $CPPFLAGS'
9571 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9572 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9573 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9574 if test -n "$ac_tool_prefix"; then
9575 for ac_prog in gcc objcc objc cc CC clang
9577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9580 printf %s "checking for $ac_word... " >&6; }
9581 if test ${ac_cv_prog_OBJC+y}
9582 then :
9583 printf %s "(cached) " >&6
9584 else $as_nop
9585 if test -n "$OBJC"; then
9586 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9587 else
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9589 for as_dir in $PATH
9591 IFS=$as_save_IFS
9592 case $as_dir in #(((
9593 '') as_dir=./ ;;
9594 */) ;;
9595 *) as_dir=$as_dir/ ;;
9596 esac
9597 for ac_exec_ext in '' $ac_executable_extensions; do
9598 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9599 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9601 break 2
9603 done
9604 done
9605 IFS=$as_save_IFS
9609 OBJC=$ac_cv_prog_OBJC
9610 if test -n "$OBJC"; then
9611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9612 printf "%s\n" "$OBJC" >&6; }
9613 else
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9615 printf "%s\n" "no" >&6; }
9619 test -n "$OBJC" && break
9620 done
9622 if test -z "$OBJC"; then
9623 ac_ct_OBJC=$OBJC
9624 for ac_prog in gcc objcc objc cc CC clang
9626 # Extract the first word of "$ac_prog", so it can be a program name with args.
9627 set dummy $ac_prog; ac_word=$2
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9629 printf %s "checking for $ac_word... " >&6; }
9630 if test ${ac_cv_prog_ac_ct_OBJC+y}
9631 then :
9632 printf %s "(cached) " >&6
9633 else $as_nop
9634 if test -n "$ac_ct_OBJC"; then
9635 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9636 else
9637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9638 for as_dir in $PATH
9640 IFS=$as_save_IFS
9641 case $as_dir in #(((
9642 '') as_dir=./ ;;
9643 */) ;;
9644 *) as_dir=$as_dir/ ;;
9645 esac
9646 for ac_exec_ext in '' $ac_executable_extensions; do
9647 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9648 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9650 break 2
9652 done
9653 done
9654 IFS=$as_save_IFS
9658 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9659 if test -n "$ac_ct_OBJC"; then
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9661 printf "%s\n" "$ac_ct_OBJC" >&6; }
9662 else
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 printf "%s\n" "no" >&6; }
9668 test -n "$ac_ct_OBJC" && break
9669 done
9671 if test "x$ac_ct_OBJC" = x; then
9672 OBJC="gcc"
9673 else
9674 case $cross_compiling:$ac_tool_warned in
9675 yes:)
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9678 ac_tool_warned=yes ;;
9679 esac
9680 OBJC=$ac_ct_OBJC
9684 # Provide some information about the compiler.
9685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9686 set X $ac_compile
9687 ac_compiler=$2
9688 for ac_option in --version -v -V -qversion; do
9689 { { ac_try="$ac_compiler $ac_option >&5"
9690 case "(($ac_try" in
9691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9692 *) ac_try_echo=$ac_try;;
9693 esac
9694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9695 printf "%s\n" "$ac_try_echo"; } >&5
9696 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9697 ac_status=$?
9698 if test -s conftest.err; then
9699 sed '10a\
9700 ... rest of stderr output deleted ...
9701 10q' conftest.err >conftest.er1
9702 cat conftest.er1 >&5
9704 rm -f conftest.er1 conftest.err
9705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9706 test $ac_status = 0; }
9707 done
9709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9710 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9711 if test ${ac_cv_objc_compiler_gnu+y}
9712 then :
9713 printf %s "(cached) " >&6
9714 else $as_nop
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9719 main (void)
9721 #ifndef __GNUC__
9722 choke me
9723 #endif
9726 return 0;
9728 _ACEOF
9729 if ac_fn_objc_try_compile "$LINENO"
9730 then :
9731 ac_compiler_gnu=yes
9732 else $as_nop
9733 ac_compiler_gnu=no
9735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9736 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9740 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9741 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9743 if test $ac_compiler_gnu = yes; then
9744 GOBJC=yes
9745 else
9746 GOBJC=
9748 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9749 ac_save_OBJCFLAGS=$OBJCFLAGS
9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9751 printf %s "checking whether $OBJC accepts -g... " >&6; }
9752 if test ${ac_cv_prog_objc_g+y}
9753 then :
9754 printf %s "(cached) " >&6
9755 else $as_nop
9756 ac_save_objc_werror_flag=$ac_objc_werror_flag
9757 ac_objc_werror_flag=yes
9758 ac_cv_prog_objc_g=no
9759 OBJCFLAGS="-g"
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9764 main (void)
9768 return 0;
9770 _ACEOF
9771 if ac_fn_objc_try_compile "$LINENO"
9772 then :
9773 ac_cv_prog_objc_g=yes
9774 else $as_nop
9775 OBJCFLAGS=""
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9780 main (void)
9784 return 0;
9786 _ACEOF
9787 if ac_fn_objc_try_compile "$LINENO"
9788 then :
9790 else $as_nop
9791 ac_objc_werror_flag=$ac_save_objc_werror_flag
9792 OBJCFLAGS="-g"
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9797 main (void)
9801 return 0;
9803 _ACEOF
9804 if ac_fn_objc_try_compile "$LINENO"
9805 then :
9806 ac_cv_prog_objc_g=yes
9808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9813 ac_objc_werror_flag=$ac_save_objc_werror_flag
9815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9816 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9817 if test $ac_test_OBJCFLAGS; then
9818 OBJCFLAGS=$ac_save_OBJCFLAGS
9819 elif test $ac_cv_prog_objc_g = yes; then
9820 if test "$GOBJC" = yes; then
9821 OBJCFLAGS="-g -O2"
9822 else
9823 OBJCFLAGS="-g"
9825 else
9826 if test "$GOBJC" = yes; then
9827 OBJCFLAGS="-O2"
9828 else
9829 OBJCFLAGS=
9832 ac_ext=m
9833 ac_cpp='$OBJCPP $CPPFLAGS'
9834 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9835 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9836 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9841 #include <Metal/Metal.h>
9843 main (void)
9845 id<MTLDevice> device; device.registryID;
9847 return 0;
9849 _ACEOF
9850 if ac_fn_objc_try_compile "$LINENO"
9851 then :
9852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9853 printf "%s\n" "yes" >&6; }
9855 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9857 else $as_nop
9858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9859 printf "%s\n" "no" >&6; }
9861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9862 ac_ext=c
9863 ac_cpp='$CPP $CPPFLAGS'
9864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9869 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9870 WINELOADER_DEPENDS="wine_info.plist"
9874 linux-android*)
9876 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9878 DLLFLAGS="$DLLFLAGS -fPIC"
9879 LDDLLFLAGS="-fPIC"
9880 LDEXECFLAGS="-Wl,-pie"
9881 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9883 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9884 if test ${ac_cv_cflags__Wl__z_defs+y}
9885 then :
9886 printf %s "(cached) " >&6
9887 else $as_nop
9888 ac_wine_try_cflags_saved=$CFLAGS
9889 CFLAGS="$CFLAGS -Wl,-z,defs"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9892 int main(int argc, char **argv) { return 0; }
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"
9895 then :
9896 ac_cv_cflags__Wl__z_defs=yes
9897 else $as_nop
9898 ac_cv_cflags__Wl__z_defs=no
9900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9901 conftest$ac_exeext conftest.$ac_ext
9902 CFLAGS=$ac_wine_try_cflags_saved
9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9905 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9906 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9907 then :
9908 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9911 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9912 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9913 then :
9914 printf %s "(cached) " >&6
9915 else $as_nop
9916 ac_wine_try_cflags_saved=$CFLAGS
9917 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9920 int main(int argc, char **argv) { return 0; }
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"
9923 then :
9924 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9925 else $as_nop
9926 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9929 conftest$ac_exeext conftest.$ac_ext
9930 CFLAGS=$ac_wine_try_cflags_saved
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9933 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9934 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9935 then :
9936 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9938 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9941 printf %s "checking for -lEGL... " >&6; }
9942 if test ${ac_cv_lib_soname_EGL+y}
9943 then :
9944 printf %s "(cached) " >&6
9945 else $as_nop
9946 ac_check_soname_save_LIBS=$LIBS
9947 LIBS="-lEGL $LIBS"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9954 char eglGetProcAddress ();
9956 main (void)
9958 return eglGetProcAddress ();
9960 return 0;
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"
9964 then :
9965 case "$LIBEXT" in
9966 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9967 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'` ;;
9968 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9969 if ${ac_cv_lib_soname_EGL:+false} :
9970 then :
9971 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9972 fi ;;
9973 esac
9974 else $as_nop
9975 ac_cv_lib_soname_EGL=
9977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9978 conftest$ac_exeext conftest.$ac_ext
9979 LIBS=$ac_check_soname_save_LIBS
9981 if ${ac_cv_lib_soname_EGL:+false} :
9982 then :
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9984 printf "%s\n" "not found" >&6; }
9986 else $as_nop
9987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9988 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9990 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9995 printf %s "checking for -lGLESv2... " >&6; }
9996 if test ${ac_cv_lib_soname_GLESv2+y}
9997 then :
9998 printf %s "(cached) " >&6
9999 else $as_nop
10000 ac_check_soname_save_LIBS=$LIBS
10001 LIBS="-lGLESv2 $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 char glFlush ();
10010 main (void)
10012 return glFlush ();
10014 return 0;
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"
10018 then :
10019 case "$LIBEXT" in
10020 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10021 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'` ;;
10022 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10023 if ${ac_cv_lib_soname_GLESv2:+false} :
10024 then :
10025 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10026 fi ;;
10027 esac
10028 else $as_nop
10029 ac_cv_lib_soname_GLESv2=
10031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10032 conftest$ac_exeext conftest.$ac_ext
10033 LIBS=$ac_check_soname_save_LIBS
10035 if ${ac_cv_lib_soname_GLESv2:+false} :
10036 then :
10037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10038 printf "%s\n" "not found" >&6; }
10040 else $as_nop
10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10042 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10044 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10049 if test "x$exec_prefix" = xNONE
10050 then
10051 case $host_cpu in
10052 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10053 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10054 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10055 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10056 esac
10062 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10064 test "$ac_cv_sys_file_offset_bits" = 64 &&
10065 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10067 case $host_cpu in
10068 *i[3456789]86*)
10069 DLLFLAGS="$DLLFLAGS -fno-PIC"
10070 LDDLLFLAGS="-fno-PIC"
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10072 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10073 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10074 then :
10075 printf %s "(cached) " >&6
10076 else $as_nop
10077 ac_wine_try_cflags_saved=$CFLAGS
10078 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 int main(int argc, char **argv) { return 0; }
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"
10084 then :
10085 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10086 else $as_nop
10087 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10090 conftest$ac_exeext conftest.$ac_ext
10091 CFLAGS=$ac_wine_try_cflags_saved
10093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10094 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10095 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10096 then :
10097 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10101 DLLFLAGS="$DLLFLAGS -fPIC"
10102 LDDLLFLAGS="-fPIC" ;;
10103 esac
10105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10106 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10107 if test ${ac_cv_cflags__Wl__z_defs+y}
10108 then :
10109 printf %s "(cached) " >&6
10110 else $as_nop
10111 ac_wine_try_cflags_saved=$CFLAGS
10112 CFLAGS="$CFLAGS -Wl,-z,defs"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10115 int main(int argc, char **argv) { return 0; }
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"
10118 then :
10119 ac_cv_cflags__Wl__z_defs=yes
10120 else $as_nop
10121 ac_cv_cflags__Wl__z_defs=no
10123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10128 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10129 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10130 then :
10131 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10134 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10135 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10136 then :
10137 printf %s "(cached) " >&6
10138 else $as_nop
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 int main(int argc, char **argv) { return 0; }
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"
10146 then :
10147 ac_cv_cflags__Wl___export_dynamic=yes
10148 else $as_nop
10149 ac_cv_cflags__Wl___export_dynamic=no
10151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10152 conftest$ac_exeext conftest.$ac_ext
10153 CFLAGS=$ac_wine_try_cflags_saved
10155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10156 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10157 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10158 then :
10159 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10161 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10163 case $host_os in
10164 linux*)
10165 as_fn_append WINELOADER_LDFLAGS " -pie"
10166 case $HOST_ARCH in
10167 i386|arm)
10168 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10171 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10172 if test ${ac_cv_cflags__static_pie+y}
10173 then :
10174 printf %s "(cached) " >&6
10175 else $as_nop
10176 ac_wine_try_cflags_saved=$CFLAGS
10177 CFLAGS="$CFLAGS -static-pie"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10180 int main(int argc, char **argv) { return 0; }
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"
10183 then :
10184 ac_cv_cflags__static_pie=yes
10185 else $as_nop
10186 ac_cv_cflags__static_pie=no
10188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10189 conftest$ac_exeext conftest.$ac_ext
10190 CFLAGS=$ac_wine_try_cflags_saved
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10193 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10194 if test "x$ac_cv_cflags__static_pie" = xyes
10195 then :
10196 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10197 else $as_nop
10198 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10201 esac
10204 case $HOST_ARCH in
10205 i386|arm)
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10207 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10208 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10209 then :
10210 printf %s "(cached) " >&6
10211 else $as_nop
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int main(int argc, char **argv) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"
10219 then :
10220 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10221 else $as_nop
10222 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10229 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10230 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10231 then :
10232 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10233 else $as_nop
10234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10235 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10236 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10237 then :
10238 printf %s "(cached) " >&6
10239 else $as_nop
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10244 int main(int argc, char **argv) { return 0; }
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"
10247 then :
10248 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10249 else $as_nop
10250 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10257 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10258 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10259 then :
10260 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10265 as_fn_append WINELOADER_LDFLAGS " -pie"
10267 esac
10269 esac
10271 esac
10273 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10274 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10275 enable_winemac_drv=${enable_winemac_drv:-no}
10277 PE_ARCHS=""
10279 cross_archs=
10280 if test ${enable_archs+y}
10281 then :
10282 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10283 ac_save_IFS=$IFS
10284 IFS=' ,'
10285 set x $enable_archs
10286 IFS=$ac_save_IFS
10287 shift
10288 for arch
10290 case $arch in
10291 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10292 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10293 esac
10294 done
10295 else $as_nop
10296 if test "x$with_mingw" != xno
10297 then
10298 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10302 for wine_arch in $cross_archs
10304 case "x$with_mingw" in
10305 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10306 esac
10307 if eval \${${wine_arch}_CC:+false} :
10308 then :
10309 case $wine_arch in
10310 aarch64)
10311 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10313 # Extract the first word of "$ac_prog", so it can be a program name with args.
10314 set dummy $ac_prog; ac_word=$2
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10316 printf %s "checking for $ac_word... " >&6; }
10317 if test ${ac_cv_prog_aarch64_CC+y}
10318 then :
10319 printf %s "(cached) " >&6
10320 else $as_nop
10321 if test -n "$aarch64_CC"; then
10322 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10323 else
10324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10325 for as_dir in $PATH
10327 IFS=$as_save_IFS
10328 case $as_dir in #(((
10329 '') as_dir=./ ;;
10330 */) ;;
10331 *) as_dir=$as_dir/ ;;
10332 esac
10333 for ac_exec_ext in '' $ac_executable_extensions; do
10334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10335 ac_cv_prog_aarch64_CC="$ac_prog"
10336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10337 break 2
10339 done
10340 done
10341 IFS=$as_save_IFS
10345 aarch64_CC=$ac_cv_prog_aarch64_CC
10346 if test -n "$aarch64_CC"; then
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10348 printf "%s\n" "$aarch64_CC" >&6; }
10349 else
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10351 printf "%s\n" "no" >&6; }
10355 test -n "$aarch64_CC" && break
10356 done
10357 test -n "$aarch64_CC" || aarch64_CC="false"
10360 arm)
10361 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10363 # Extract the first word of "$ac_prog", so it can be a program name with args.
10364 set dummy $ac_prog; ac_word=$2
10365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10366 printf %s "checking for $ac_word... " >&6; }
10367 if test ${ac_cv_prog_arm_CC+y}
10368 then :
10369 printf %s "(cached) " >&6
10370 else $as_nop
10371 if test -n "$arm_CC"; then
10372 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10373 else
10374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10375 for as_dir in $PATH
10377 IFS=$as_save_IFS
10378 case $as_dir in #(((
10379 '') as_dir=./ ;;
10380 */) ;;
10381 *) as_dir=$as_dir/ ;;
10382 esac
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10385 ac_cv_prog_arm_CC="$ac_prog"
10386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10387 break 2
10389 done
10390 done
10391 IFS=$as_save_IFS
10395 arm_CC=$ac_cv_prog_arm_CC
10396 if test -n "$arm_CC"; then
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10398 printf "%s\n" "$arm_CC" >&6; }
10399 else
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10401 printf "%s\n" "no" >&6; }
10405 test -n "$arm_CC" && break
10406 done
10407 test -n "$arm_CC" || arm_CC="false"
10410 i386)
10411 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 "
10412 for ac_prog in $ac_prefix_list clang
10414 # Extract the first word of "$ac_prog", so it can be a program name with args.
10415 set dummy $ac_prog; ac_word=$2
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10417 printf %s "checking for $ac_word... " >&6; }
10418 if test ${ac_cv_prog_i386_CC+y}
10419 then :
10420 printf %s "(cached) " >&6
10421 else $as_nop
10422 if test -n "$i386_CC"; then
10423 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10424 else
10425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10426 for as_dir in $PATH
10428 IFS=$as_save_IFS
10429 case $as_dir in #(((
10430 '') as_dir=./ ;;
10431 */) ;;
10432 *) as_dir=$as_dir/ ;;
10433 esac
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_i386_CC="$ac_prog"
10437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10438 break 2
10440 done
10441 done
10442 IFS=$as_save_IFS
10446 i386_CC=$ac_cv_prog_i386_CC
10447 if test -n "$i386_CC"; then
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10449 printf "%s\n" "$i386_CC" >&6; }
10450 else
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10452 printf "%s\n" "no" >&6; }
10456 test -n "$i386_CC" && break
10457 done
10458 test -n "$i386_CC" || i386_CC="false"
10461 x86_64)
10462 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10463 for ac_prog in $ac_prefix_list clang
10465 # Extract the first word of "$ac_prog", so it can be a program name with args.
10466 set dummy $ac_prog; ac_word=$2
10467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10468 printf %s "checking for $ac_word... " >&6; }
10469 if test ${ac_cv_prog_x86_64_CC+y}
10470 then :
10471 printf %s "(cached) " >&6
10472 else $as_nop
10473 if test -n "$x86_64_CC"; then
10474 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10475 else
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in $PATH
10479 IFS=$as_save_IFS
10480 case $as_dir in #(((
10481 '') as_dir=./ ;;
10482 */) ;;
10483 *) as_dir=$as_dir/ ;;
10484 esac
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10487 ac_cv_prog_x86_64_CC="$ac_prog"
10488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10489 break 2
10491 done
10492 done
10493 IFS=$as_save_IFS
10497 x86_64_CC=$ac_cv_prog_x86_64_CC
10498 if test -n "$x86_64_CC"; then
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10500 printf "%s\n" "$x86_64_CC" >&6; }
10501 else
10502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10503 printf "%s\n" "no" >&6; }
10507 test -n "$x86_64_CC" && break
10508 done
10509 test -n "$x86_64_CC" || x86_64_CC="false"
10512 esac
10515 saved_CC=$CC
10516 saved_CFLAGS=$CFLAGS
10517 saved_LDFLAGS=$LDFLAGS
10519 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10520 LDFLAGS=$CROSSLDFLAGS
10521 eval CC=\$${wine_arch}_CC
10522 eval ${wine_arch}_CFLAGS=\$CFLAGS
10523 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10524 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10526 target=""
10527 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10529 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10530 then :
10532 else $as_nop
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; }
10562 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10563 then :
10564 set x $CC
10565 shift
10566 while test $# -ge 1
10568 case "$1" in
10569 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10570 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10571 esac
10572 shift
10573 done
10575 llvm_target=$target
10576 if test -z "$llvm_target"
10577 then
10578 case $wine_arch in
10579 i386) llvm_target=i686-windows ;;
10580 arm) llvm_target=armv7-windows ;;
10581 *) llvm_target=$wine_arch-windows ;;
10582 esac
10584 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10585 case $llvm_target in
10586 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10587 esac
10588 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10590 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10591 if eval test \${$as_ac_var+y}
10592 then :
10593 printf %s "(cached) " >&6
10594 else $as_nop
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 ac_wine_try_cflags_saved_exeext=$ac_exeext
10597 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10598 ac_exeext=".exe"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10601 int __cdecl mainCRTStartup(void) { return 0; }
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"
10604 then :
10605 eval "$as_ac_var=yes"
10606 else $as_nop
10607 eval "$as_ac_var=no"
10609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10610 conftest$ac_exeext conftest.$ac_ext
10611 CFLAGS=$ac_wine_try_cflags_saved
10612 ac_exeext=$ac_wine_try_cflags_saved_exeext
10614 eval ac_res=\$$as_ac_var
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10616 printf "%s\n" "$ac_res" >&6; }
10617 if eval test \"x\$"$as_ac_var"\" = x"yes"
10618 then :
10619 target=$llvm_target
10620 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10621 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10622 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10623 fi }
10624 eval "${wine_arch}_TARGET=\$target"
10628 if test -z "$target"
10629 then
10630 if test ${enable_archs+y}
10631 then :
10632 as_fn_error $? "MinGW $wine_arch compiler not found.
10633 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10635 CC=$saved_CC
10636 CFLAGS=$saved_CFLAGS
10637 LDFLAGS=$saved_LDFLAGS
10638 continue
10641 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10644 printf %s "checking for $CC option to enable C99 features... " >&6; }
10645 if eval test \${$as_wine_cv_crosscc_c99+y}
10646 then :
10647 printf %s "(cached) " >&6
10648 else $as_nop
10649 eval "$as_wine_cv_crosscc_c99=no"
10650 for arg in '' '-std=gnu99' '-D__STDC__'
10652 test -z "$arg" || CC="$CC $arg"
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10655 $ac_c_conftest_c99_program
10656 _ACEOF
10657 if ac_fn_c_try_compile "$LINENO"
10658 then :
10659 eval "$as_wine_cv_crosscc_c99=\$arg"
10660 else $as_nop
10661 eval "$as_wine_cv_crosscc_c99=no"
10663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10664 eval CC=\$${wine_arch}_CC
10665 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10666 then :
10668 else $as_nop
10669 break
10671 done
10674 eval res=\$$as_wine_cv_crosscc_c99
10676 case "x$res" in
10677 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10678 printf "%s\n" "none needed" >&6; } ;;
10679 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10680 printf "%s\n" "unsupported" >&6; }
10681 CC=$saved_CC
10682 CFLAGS=$saved_CFLAGS
10683 LDFLAGS=$saved_LDFLAGS
10684 if test ${enable_archs+y}
10685 then :
10686 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10687 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10689 continue
10691 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10692 printf "%s\n" "$res" >&6; }
10693 as_fn_append ${wine_arch}_CC " $res" ;;
10694 esac
10696 as_fn_append PE_ARCHS " $wine_arch"
10697 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10699 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10700 if eval test \${$as_ac_var+y}
10701 then :
10702 printf %s "(cached) " >&6
10703 else $as_nop
10704 ac_wine_try_cflags_saved=$CFLAGS
10705 ac_wine_try_cflags_saved_exeext=$ac_exeext
10706 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10707 ac_exeext=".exe"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 int __cdecl mainCRTStartup(void) { return 0; }
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"
10713 then :
10714 eval "$as_ac_var=yes"
10715 else $as_nop
10716 eval "$as_ac_var=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10719 conftest$ac_exeext conftest.$ac_ext
10720 CFLAGS=$ac_wine_try_cflags_saved
10721 ac_exeext=$ac_wine_try_cflags_saved_exeext
10723 eval ac_res=\$$as_ac_var
10724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10725 printf "%s\n" "$ac_res" >&6; }
10726 if eval test \"x\$"$as_ac_var"\" = x"yes"
10727 then :
10728 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10729 fi }
10730 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10732 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10733 if eval test \${$as_ac_var+y}
10734 then :
10735 printf %s "(cached) " >&6
10736 else $as_nop
10737 ac_wine_try_cflags_saved=$CFLAGS
10738 ac_wine_try_cflags_saved_exeext=$ac_exeext
10739 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10740 ac_exeext=".exe"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 int __cdecl mainCRTStartup(void) { return 0; }
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"
10746 then :
10747 eval "$as_ac_var=yes"
10748 else $as_nop
10749 eval "$as_ac_var=no"
10751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10752 conftest$ac_exeext conftest.$ac_ext
10753 CFLAGS=$ac_wine_try_cflags_saved
10754 ac_exeext=$ac_wine_try_cflags_saved_exeext
10756 eval ac_res=\$$as_ac_var
10757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10758 printf "%s\n" "$ac_res" >&6; }
10759 if eval test \"x\$"$as_ac_var"\" = x"yes"
10760 then :
10761 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10762 fi }
10763 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10765 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10766 if eval test \${$as_ac_var+y}
10767 then :
10768 printf %s "(cached) " >&6
10769 else $as_nop
10770 ac_wine_try_cflags_saved=$CFLAGS
10771 ac_wine_try_cflags_saved_exeext=$ac_exeext
10772 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10773 ac_exeext=".exe"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10776 int __cdecl mainCRTStartup(void) { return 0; }
10777 _ACEOF
10778 if ac_fn_c_try_link "$LINENO"
10779 then :
10780 eval "$as_ac_var=yes"
10781 else $as_nop
10782 eval "$as_ac_var=no"
10784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10785 conftest$ac_exeext conftest.$ac_ext
10786 CFLAGS=$ac_wine_try_cflags_saved
10787 ac_exeext=$ac_wine_try_cflags_saved_exeext
10789 eval ac_res=\$$as_ac_var
10790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10791 printf "%s\n" "$ac_res" >&6; }
10792 if eval test \"x\$"$as_ac_var"\" = x"yes"
10793 then :
10794 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10795 fi }
10796 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10798 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10799 if eval test \${$as_ac_var+y}
10800 then :
10801 printf %s "(cached) " >&6
10802 else $as_nop
10803 ac_wine_try_cflags_saved=$CFLAGS
10804 ac_wine_try_cflags_saved_exeext=$ac_exeext
10805 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10806 ac_exeext=".exe"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10809 int __cdecl mainCRTStartup(void) { return 0; }
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"
10812 then :
10813 eval "$as_ac_var=yes"
10814 else $as_nop
10815 eval "$as_ac_var=no"
10817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10818 conftest$ac_exeext conftest.$ac_ext
10819 CFLAGS=$ac_wine_try_cflags_saved
10820 ac_exeext=$ac_wine_try_cflags_saved_exeext
10822 eval ac_res=\$$as_ac_var
10823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10824 printf "%s\n" "$ac_res" >&6; }
10825 if eval test \"x\$"$as_ac_var"\" = x"yes"
10826 then :
10827 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10828 fi }
10829 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10831 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10832 if eval test \${$as_ac_var+y}
10833 then :
10834 printf %s "(cached) " >&6
10835 else $as_nop
10836 ac_wine_try_cflags_saved=$CFLAGS
10837 ac_wine_try_cflags_saved_exeext=$ac_exeext
10838 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10839 ac_exeext=".exe"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10842 int __cdecl mainCRTStartup(void) { return 0; }
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"
10845 then :
10846 eval "$as_ac_var=yes"
10847 else $as_nop
10848 eval "$as_ac_var=no"
10850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10851 conftest$ac_exeext conftest.$ac_ext
10852 CFLAGS=$ac_wine_try_cflags_saved
10853 ac_exeext=$ac_wine_try_cflags_saved_exeext
10855 eval ac_res=\$$as_ac_var
10856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10857 printf "%s\n" "$ac_res" >&6; }
10858 if eval test \"x\$"$as_ac_var"\" = x"yes"
10859 then :
10860 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10861 fi }
10862 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10864 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10865 if eval test \${$as_ac_var+y}
10866 then :
10867 printf %s "(cached) " >&6
10868 else $as_nop
10869 ac_wine_try_cflags_saved=$CFLAGS
10870 ac_wine_try_cflags_saved_exeext=$ac_exeext
10871 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10872 ac_exeext=".exe"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10875 int __cdecl mainCRTStartup(void) { return 0; }
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"
10878 then :
10879 eval "$as_ac_var=yes"
10880 else $as_nop
10881 eval "$as_ac_var=no"
10883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10884 conftest$ac_exeext conftest.$ac_ext
10885 CFLAGS=$ac_wine_try_cflags_saved
10886 ac_exeext=$ac_wine_try_cflags_saved_exeext
10888 eval ac_res=\$$as_ac_var
10889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10890 printf "%s\n" "$ac_res" >&6; }
10891 if eval test \"x\$"$as_ac_var"\" = x"yes"
10892 then :
10893 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10894 fi }
10895 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10897 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10898 if eval test \${$as_ac_var+y}
10899 then :
10900 printf %s "(cached) " >&6
10901 else $as_nop
10902 ac_wine_try_cflags_saved=$CFLAGS
10903 ac_wine_try_cflags_saved_exeext=$ac_exeext
10904 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10905 ac_exeext=".exe"
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10908 int __cdecl mainCRTStartup(void) { return 0; }
10909 _ACEOF
10910 if ac_fn_c_try_link "$LINENO"
10911 then :
10912 eval "$as_ac_var=yes"
10913 else $as_nop
10914 eval "$as_ac_var=no"
10916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10917 conftest$ac_exeext conftest.$ac_ext
10918 CFLAGS=$ac_wine_try_cflags_saved
10919 ac_exeext=$ac_wine_try_cflags_saved_exeext
10921 eval ac_res=\$$as_ac_var
10922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10923 printf "%s\n" "$ac_res" >&6; }
10924 if eval test \"x\$"$as_ac_var"\" = x"yes"
10925 then :
10926 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10927 fi }
10928 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10930 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10931 if eval test \${$as_ac_var+y}
10932 then :
10933 printf %s "(cached) " >&6
10934 else $as_nop
10935 ac_wine_try_cflags_saved=$CFLAGS
10936 ac_wine_try_cflags_saved_exeext=$ac_exeext
10937 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10938 ac_exeext=".exe"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 int __cdecl mainCRTStartup(void) { return 0; }
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"
10944 then :
10945 eval "$as_ac_var=yes"
10946 else $as_nop
10947 eval "$as_ac_var=no"
10949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10950 conftest$ac_exeext conftest.$ac_ext
10951 CFLAGS=$ac_wine_try_cflags_saved
10952 ac_exeext=$ac_wine_try_cflags_saved_exeext
10954 eval ac_res=\$$as_ac_var
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10956 printf "%s\n" "$ac_res" >&6; }
10957 if eval test \"x\$"$as_ac_var"\" = x"yes"
10958 then :
10959 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10960 fi }
10961 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10963 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10964 if eval test \${$as_ac_var+y}
10965 then :
10966 printf %s "(cached) " >&6
10967 else $as_nop
10968 ac_wine_try_cflags_saved=$CFLAGS
10969 ac_wine_try_cflags_saved_exeext=$ac_exeext
10970 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10971 ac_exeext=".exe"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10974 int __cdecl mainCRTStartup(void) { return 0; }
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"
10977 then :
10978 eval "$as_ac_var=yes"
10979 else $as_nop
10980 eval "$as_ac_var=no"
10982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10983 conftest$ac_exeext conftest.$ac_ext
10984 CFLAGS=$ac_wine_try_cflags_saved
10985 ac_exeext=$ac_wine_try_cflags_saved_exeext
10987 eval ac_res=\$$as_ac_var
10988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10989 printf "%s\n" "$ac_res" >&6; }
10990 if eval test \"x\$"$as_ac_var"\" = x"yes"
10991 then :
10992 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10993 fi }
10994 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10996 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10997 if eval test \${$as_ac_var+y}
10998 then :
10999 printf %s "(cached) " >&6
11000 else $as_nop
11001 ac_wine_try_cflags_saved=$CFLAGS
11002 ac_wine_try_cflags_saved_exeext=$ac_exeext
11003 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11004 ac_exeext=".exe"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11007 int __cdecl mainCRTStartup(void) { return 0; }
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"
11010 then :
11011 eval "$as_ac_var=yes"
11012 else $as_nop
11013 eval "$as_ac_var=no"
11015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11016 conftest$ac_exeext conftest.$ac_ext
11017 CFLAGS=$ac_wine_try_cflags_saved
11018 ac_exeext=$ac_wine_try_cflags_saved_exeext
11020 eval ac_res=\$$as_ac_var
11021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11022 printf "%s\n" "$ac_res" >&6; }
11023 if eval test \"x\$"$as_ac_var"\" = x"yes"
11024 then :
11025 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11026 fi }
11027 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11029 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11030 if eval test \${$as_ac_var+y}
11031 then :
11032 printf %s "(cached) " >&6
11033 else $as_nop
11034 ac_wine_try_cflags_saved=$CFLAGS
11035 ac_wine_try_cflags_saved_exeext=$ac_exeext
11036 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11037 ac_exeext=".exe"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11040 int __cdecl mainCRTStartup(void) { return 0; }
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"
11043 then :
11044 eval "$as_ac_var=yes"
11045 else $as_nop
11046 eval "$as_ac_var=no"
11048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11049 conftest$ac_exeext conftest.$ac_ext
11050 CFLAGS=$ac_wine_try_cflags_saved
11051 ac_exeext=$ac_wine_try_cflags_saved_exeext
11053 eval ac_res=\$$as_ac_var
11054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11055 printf "%s\n" "$ac_res" >&6; }
11056 if eval test \"x\$"$as_ac_var"\" = x"yes"
11057 then :
11058 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11059 fi }
11060 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11062 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11063 if eval test \${$as_ac_var+y}
11064 then :
11065 printf %s "(cached) " >&6
11066 else $as_nop
11067 ac_wine_try_cflags_saved=$CFLAGS
11068 ac_wine_try_cflags_saved_exeext=$ac_exeext
11069 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11070 ac_exeext=".exe"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11073 int __cdecl mainCRTStartup(void) { return 0; }
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"
11076 then :
11077 eval "$as_ac_var=yes"
11078 else $as_nop
11079 eval "$as_ac_var=no"
11081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11082 conftest$ac_exeext conftest.$ac_ext
11083 CFLAGS=$ac_wine_try_cflags_saved
11084 ac_exeext=$ac_wine_try_cflags_saved_exeext
11086 eval ac_res=\$$as_ac_var
11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11088 printf "%s\n" "$ac_res" >&6; }
11089 if eval test \"x\$"$as_ac_var"\" = x"yes"
11090 then :
11091 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11092 fi }
11093 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11095 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11096 if eval test \${$as_ac_var+y}
11097 then :
11098 printf %s "(cached) " >&6
11099 else $as_nop
11100 ac_wine_try_cflags_saved=$CFLAGS
11101 ac_wine_try_cflags_saved_exeext=$ac_exeext
11102 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11103 ac_exeext=".exe"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11106 int __cdecl mainCRTStartup(void) { return 0; }
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"
11109 then :
11110 eval "$as_ac_var=yes"
11111 else $as_nop
11112 eval "$as_ac_var=no"
11114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11115 conftest$ac_exeext conftest.$ac_ext
11116 CFLAGS=$ac_wine_try_cflags_saved
11117 ac_exeext=$ac_wine_try_cflags_saved_exeext
11119 eval ac_res=\$$as_ac_var
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11121 printf "%s\n" "$ac_res" >&6; }
11122 if eval test \"x\$"$as_ac_var"\" = x"yes"
11123 then :
11124 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11125 fi }
11126 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11128 printf %s "checking whether $CC supports -Wvla... " >&6; }
11129 if eval test \${$as_ac_var+y}
11130 then :
11131 printf %s "(cached) " >&6
11132 else $as_nop
11133 ac_wine_try_cflags_saved=$CFLAGS
11134 ac_wine_try_cflags_saved_exeext=$ac_exeext
11135 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11136 ac_exeext=".exe"
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11139 int __cdecl mainCRTStartup(void) { return 0; }
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"
11142 then :
11143 eval "$as_ac_var=yes"
11144 else $as_nop
11145 eval "$as_ac_var=no"
11147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11148 conftest$ac_exeext conftest.$ac_ext
11149 CFLAGS=$ac_wine_try_cflags_saved
11150 ac_exeext=$ac_wine_try_cflags_saved_exeext
11152 eval ac_res=\$$as_ac_var
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11154 printf "%s\n" "$ac_res" >&6; }
11155 if eval test \"x\$"$as_ac_var"\" = x"yes"
11156 then :
11157 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11158 fi }
11159 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11161 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11162 if eval test \${$as_ac_var+y}
11163 then :
11164 printf %s "(cached) " >&6
11165 else $as_nop
11166 ac_wine_try_cflags_saved=$CFLAGS
11167 ac_wine_try_cflags_saved_exeext=$ac_exeext
11168 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11169 ac_exeext=".exe"
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11172 int __cdecl mainCRTStartup(void) { return 0; }
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"
11175 then :
11176 eval "$as_ac_var=yes"
11177 else $as_nop
11178 eval "$as_ac_var=no"
11180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11181 conftest$ac_exeext conftest.$ac_ext
11182 CFLAGS=$ac_wine_try_cflags_saved
11183 ac_exeext=$ac_wine_try_cflags_saved_exeext
11185 eval ac_res=\$$as_ac_var
11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11187 printf "%s\n" "$ac_res" >&6; }
11188 if eval test \"x\$"$as_ac_var"\" = x"yes"
11189 then :
11190 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11191 fi }
11192 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11194 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11195 if eval test \${$as_ac_var+y}
11196 then :
11197 printf %s "(cached) " >&6
11198 else $as_nop
11199 ac_wine_try_cflags_saved=$CFLAGS
11200 ac_wine_try_cflags_saved_exeext=$ac_exeext
11201 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11202 ac_exeext=".exe"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11205 int __cdecl mainCRTStartup(void) { return 0; }
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"
11208 then :
11209 eval "$as_ac_var=yes"
11210 else $as_nop
11211 eval "$as_ac_var=no"
11213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11214 conftest$ac_exeext conftest.$ac_ext
11215 CFLAGS=$ac_wine_try_cflags_saved
11216 ac_exeext=$ac_wine_try_cflags_saved_exeext
11218 eval ac_res=\$$as_ac_var
11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11220 printf "%s\n" "$ac_res" >&6; }
11221 if eval test \"x\$"$as_ac_var"\" = x"yes"
11222 then :
11223 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11224 fi }
11225 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11227 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11228 if eval test \${$as_ac_var+y}
11229 then :
11230 printf %s "(cached) " >&6
11231 else $as_nop
11232 ac_wine_try_cflags_saved=$CFLAGS
11233 ac_wine_try_cflags_saved_exeext=$ac_exeext
11234 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11235 ac_exeext=".exe"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11238 int __cdecl mainCRTStartup(void) { return 0; }
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"
11241 then :
11242 eval "$as_ac_var=yes"
11243 else $as_nop
11244 eval "$as_ac_var=no"
11246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11247 conftest$ac_exeext conftest.$ac_ext
11248 CFLAGS=$ac_wine_try_cflags_saved
11249 ac_exeext=$ac_wine_try_cflags_saved_exeext
11251 eval ac_res=\$$as_ac_var
11252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11253 printf "%s\n" "$ac_res" >&6; }
11254 if eval test \"x\$"$as_ac_var"\" = x"yes"
11255 then :
11256 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11257 fi }
11258 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11260 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11261 if eval test \${$as_ac_var+y}
11262 then :
11263 printf %s "(cached) " >&6
11264 else $as_nop
11265 ac_wine_try_cflags_saved=$CFLAGS
11266 ac_wine_try_cflags_saved_exeext=$ac_exeext
11267 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11268 ac_exeext=".exe"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11271 int __cdecl mainCRTStartup(void) { return 0; }
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"
11274 then :
11275 eval "$as_ac_var=yes"
11276 else $as_nop
11277 eval "$as_ac_var=no"
11279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11280 conftest$ac_exeext conftest.$ac_ext
11281 CFLAGS=$ac_wine_try_cflags_saved
11282 ac_exeext=$ac_wine_try_cflags_saved_exeext
11284 eval ac_res=\$$as_ac_var
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11286 printf "%s\n" "$ac_res" >&6; }
11287 if eval test \"x\$"$as_ac_var"\" = x"yes"
11288 then :
11289 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11290 fi }
11292 case $wine_arch in
11293 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11295 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11296 if eval test \${$as_ac_var+y}
11297 then :
11298 printf %s "(cached) " >&6
11299 else $as_nop
11300 ac_wine_try_cflags_saved=$CFLAGS
11301 ac_wine_try_cflags_saved_exeext=$ac_exeext
11302 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11303 ac_exeext=".exe"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11306 int __cdecl mainCRTStartup(void) { return 0; }
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"
11309 then :
11310 eval "$as_ac_var=yes"
11311 else $as_nop
11312 eval "$as_ac_var=no"
11314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11315 conftest$ac_exeext conftest.$ac_ext
11316 CFLAGS=$ac_wine_try_cflags_saved
11317 ac_exeext=$ac_wine_try_cflags_saved_exeext
11319 eval ac_res=\$$as_ac_var
11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11321 printf "%s\n" "$ac_res" >&6; }
11322 if eval test \"x\$"$as_ac_var"\" = x"yes"
11323 then :
11324 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11325 fi }
11326 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11328 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11329 if eval test \${$as_ac_var+y}
11330 then :
11331 printf %s "(cached) " >&6
11332 else $as_nop
11333 ac_wine_try_cflags_saved=$CFLAGS
11334 ac_wine_try_cflags_saved_exeext=$ac_exeext
11335 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11336 ac_exeext=".exe"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339 int __cdecl mainCRTStartup(void) { return 0; }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"
11342 then :
11343 eval "$as_ac_var=yes"
11344 else $as_nop
11345 eval "$as_ac_var=no"
11347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11348 conftest$ac_exeext conftest.$ac_ext
11349 CFLAGS=$ac_wine_try_cflags_saved
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 eval ac_res=\$$as_ac_var
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11354 printf "%s\n" "$ac_res" >&6; }
11355 if eval test \"x\$"$as_ac_var"\" = x"yes"
11356 then :
11357 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11358 fi } ;;
11359 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11361 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11362 if eval test \${$as_ac_var+y}
11363 then :
11364 printf %s "(cached) " >&6
11365 else $as_nop
11366 ac_wine_try_cflags_saved=$CFLAGS
11367 ac_wine_try_cflags_saved_exeext=$ac_exeext
11368 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11369 ac_exeext=".exe"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 eval "$as_ac_var=yes"
11377 else $as_nop
11378 eval "$as_ac_var=no"
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 ac_exeext=$ac_wine_try_cflags_saved_exeext
11385 eval ac_res=\$$as_ac_var
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11387 printf "%s\n" "$ac_res" >&6; }
11388 if eval test \"x\$"$as_ac_var"\" = x"yes"
11389 then :
11390 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11391 fi }
11392 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11394 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11395 if eval test \${$as_ac_var+y}
11396 then :
11397 printf %s "(cached) " >&6
11398 else $as_nop
11399 ac_wine_try_cflags_saved=$CFLAGS
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11402 ac_exeext=".exe"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11405 int __cdecl mainCRTStartup(void) { return 0; }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"
11408 then :
11409 eval "$as_ac_var=yes"
11410 else $as_nop
11411 eval "$as_ac_var=no"
11413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11414 conftest$ac_exeext conftest.$ac_ext
11415 CFLAGS=$ac_wine_try_cflags_saved
11416 ac_exeext=$ac_wine_try_cflags_saved_exeext
11418 eval ac_res=\$$as_ac_var
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11420 printf "%s\n" "$ac_res" >&6; }
11421 if eval test \"x\$"$as_ac_var"\" = x"yes"
11422 then :
11423 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11424 fi }
11425 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11427 printf %s "checking whether $CC supports -mcx16... " >&6; }
11428 if eval test \${$as_ac_var+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_exeext=$ac_exeext
11434 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11435 ac_exeext=".exe"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438 int __cdecl mainCRTStartup(void) { return 0; }
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"
11441 then :
11442 eval "$as_ac_var=yes"
11443 else $as_nop
11444 eval "$as_ac_var=no"
11446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11447 conftest$ac_exeext conftest.$ac_ext
11448 CFLAGS=$ac_wine_try_cflags_saved
11449 ac_exeext=$ac_wine_try_cflags_saved_exeext
11451 eval ac_res=\$$as_ac_var
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11453 printf "%s\n" "$ac_res" >&6; }
11454 if eval test \"x\$"$as_ac_var"\" = x"yes"
11455 then :
11456 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11457 fi }
11458 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11460 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11461 if eval test \${$as_ac_var+y}
11462 then :
11463 printf %s "(cached) " >&6
11464 else $as_nop
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_exeext=$ac_exeext
11467 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11468 ac_exeext=".exe"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471 int __cdecl mainCRTStartup(void) { return 0; }
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"
11474 then :
11475 eval "$as_ac_var=yes"
11476 else $as_nop
11477 eval "$as_ac_var=no"
11479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11480 conftest$ac_exeext conftest.$ac_ext
11481 CFLAGS=$ac_wine_try_cflags_saved
11482 ac_exeext=$ac_wine_try_cflags_saved_exeext
11484 eval ac_res=\$$as_ac_var
11485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11486 printf "%s\n" "$ac_res" >&6; }
11487 if eval test \"x\$"$as_ac_var"\" = x"yes"
11488 then :
11489 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11490 fi } ;;
11491 esac
11493 wine_crossdebug=$CROSSDEBUG
11494 if test -z "$wine_crossdebug"
11495 then
11496 for ac_flag in $CFLAGS; do
11497 case $ac_flag in
11498 -gdwarf*) wine_crossdebug=dwarf ;;
11499 -gcodeview) wine_crossdebug=pdb ;;
11500 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11501 esac
11502 done
11505 ac_debug_format_seen=""
11506 for ac_flag in $CFLAGS; do
11507 case $ac_flag in
11508 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11509 esac
11510 done
11511 if test "x$ac_debug_format_seen" = x
11512 then
11513 case $wine_crossdebug in
11514 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11516 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11517 if eval test \${$as_ac_var+y}
11518 then :
11519 printf %s "(cached) " >&6
11520 else $as_nop
11521 ac_wine_try_cflags_saved=$CFLAGS
11522 ac_wine_try_cflags_saved_exeext=$ac_exeext
11523 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11524 ac_exeext=".exe"
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11527 int __cdecl mainCRTStartup(void) { return 0; }
11528 _ACEOF
11529 if ac_fn_c_try_link "$LINENO"
11530 then :
11531 eval "$as_ac_var=yes"
11532 else $as_nop
11533 eval "$as_ac_var=no"
11535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11536 conftest$ac_exeext conftest.$ac_ext
11537 CFLAGS=$ac_wine_try_cflags_saved
11538 ac_exeext=$ac_wine_try_cflags_saved_exeext
11540 eval ac_res=\$$as_ac_var
11541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11542 printf "%s\n" "$ac_res" >&6; }
11543 if eval test \"x\$"$as_ac_var"\" = x"yes"
11544 then :
11545 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11546 fi } ;;
11547 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11549 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11550 if eval test \${$as_ac_var+y}
11551 then :
11552 printf %s "(cached) " >&6
11553 else $as_nop
11554 ac_wine_try_cflags_saved=$CFLAGS
11555 ac_wine_try_cflags_saved_exeext=$ac_exeext
11556 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11557 ac_exeext=".exe"
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11560 int __cdecl mainCRTStartup(void) { return 0; }
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"
11563 then :
11564 eval "$as_ac_var=yes"
11565 else $as_nop
11566 eval "$as_ac_var=no"
11568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11569 conftest$ac_exeext conftest.$ac_ext
11570 CFLAGS=$ac_wine_try_cflags_saved
11571 ac_exeext=$ac_wine_try_cflags_saved_exeext
11573 eval ac_res=\$$as_ac_var
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11575 printf "%s\n" "$ac_res" >&6; }
11576 if eval test \"x\$"$as_ac_var"\" = x"yes"
11577 then :
11578 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11579 fi } ;;
11580 esac
11582 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11584 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11586 printf %s "checking whether $CC supports -Werror... " >&6; }
11587 if eval test \${$as_ac_var+y}
11588 then :
11589 printf %s "(cached) " >&6
11590 else $as_nop
11591 ac_wine_try_cflags_saved=$CFLAGS
11592 ac_wine_try_cflags_saved_exeext=$ac_exeext
11593 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11594 ac_exeext=".exe"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11597 int __cdecl mainCRTStartup(void) { return 0; }
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"
11600 then :
11601 eval "$as_ac_var=yes"
11602 else $as_nop
11603 eval "$as_ac_var=no"
11605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11606 conftest$ac_exeext conftest.$ac_ext
11607 CFLAGS=$ac_wine_try_cflags_saved
11608 ac_exeext=$ac_wine_try_cflags_saved_exeext
11610 eval ac_res=\$$as_ac_var
11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11612 printf "%s\n" "$ac_res" >&6; }
11613 if eval test \"x\$"$as_ac_var"\" = x"yes"
11614 then :
11615 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11616 fi }
11617 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11619 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11620 if eval test \${$as_ac_var+y}
11621 then :
11622 printf %s "(cached) " >&6
11623 else $as_nop
11624 ac_wine_try_cflags_saved=$CFLAGS
11625 ac_wine_try_cflags_saved_exeext=$ac_exeext
11626 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11627 ac_exeext=".exe"
11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11630 int __cdecl mainCRTStartup(void) { return 0; }
11631 _ACEOF
11632 if ac_fn_c_try_link "$LINENO"
11633 then :
11634 eval "$as_ac_var=yes"
11635 else $as_nop
11636 eval "$as_ac_var=no"
11638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11639 conftest$ac_exeext conftest.$ac_ext
11640 CFLAGS=$ac_wine_try_cflags_saved
11641 ac_exeext=$ac_wine_try_cflags_saved_exeext
11643 eval ac_res=\$$as_ac_var
11644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11645 printf "%s\n" "$ac_res" >&6; }
11646 if eval test \"x\$"$as_ac_var"\" = x"yes"
11647 then :
11648 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11649 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11650 fi }
11652 CC=$saved_CC
11653 CFLAGS=$saved_CFLAGS
11654 LDFLAGS=$saved_LDFLAGS
11655 done
11657 if test $HOST_ARCH = aarch64
11658 then
11659 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
11660 DLLEXT=""
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 case $host_os in
15856 darwin*|macosx*)
15857 PCSCLITE_LIBS="-framework PCSC"
15859 esac
15862 if test "x$PCSCLITE_LIBS" = x || test "$ac_cv_header_PCSC_pcsclite_h" != "yes"
15863 then :
15864 case "x$with_pcsclite" in
15865 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15866 xno) ;;
15867 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15868 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15869 esac
15870 enable_winscard=${enable_winscard:-no}
15873 if test "x$with_inotify" != "xno"
15874 then
15875 rm -f conftest.err
15876 if ${INOTIFY_CFLAGS:+false} :
15877 then :
15878 if test ${PKG_CONFIG+y}
15879 then :
15880 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15884 if ${INOTIFY_LIBS:+false} :
15885 then :
15886 if test ${PKG_CONFIG+y}
15887 then :
15888 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15895 if test -s conftest.err; then
15896 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15897 cat conftest.err >&5
15899 rm -f conftest.err
15900 ac_save_CPPFLAGS=$CPPFLAGS
15901 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15902 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15903 if test "x$ac_cv_header_sys_inotify_h" = xyes
15904 then :
15905 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15910 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15911 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15912 then :
15913 printf %s "(cached) " >&6
15914 else $as_nop
15915 ac_check_lib_save_LIBS=$LIBS
15916 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15918 /* end confdefs.h. */
15920 /* Override any GCC internal prototype to avoid an error.
15921 Use char because int might match the return type of a GCC
15922 builtin and then its argument prototype would still apply. */
15923 char inotify_add_watch ();
15925 main (void)
15927 return inotify_add_watch ();
15929 return 0;
15931 _ACEOF
15932 if ac_fn_c_try_link "$LINENO"
15933 then :
15934 ac_cv_lib_inotify_inotify_add_watch=yes
15935 else $as_nop
15936 ac_cv_lib_inotify_inotify_add_watch=no
15938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15939 conftest$ac_exeext conftest.$ac_ext
15940 LIBS=$ac_check_lib_save_LIBS
15942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15943 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15944 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15945 then :
15947 else $as_nop
15948 INOTIFY_LIBS=""
15951 CPPFLAGS=$ac_save_CPPFLAGS
15954 if test "$ac_cv_header_sys_inotify_h" != "yes"
15955 then :
15956 case "x$with_inotify" in
15957 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15958 xno) ;;
15959 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15960 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15961 esac
15965 if test "x$with_dbus" != "xno"
15966 then
15967 rm -f conftest.err
15968 if ${DBUS_CFLAGS:+false} :
15969 then :
15970 if test ${PKG_CONFIG+y}
15971 then :
15972 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15976 if ${DBUS_LIBS:+false} :
15977 then :
15978 if test ${PKG_CONFIG+y}
15979 then :
15980 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15987 if test -s conftest.err; then
15988 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15989 cat conftest.err >&5
15991 rm -f conftest.err
15992 ac_save_CPPFLAGS=$CPPFLAGS
15993 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15994 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15995 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15996 then :
15997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15998 printf %s "checking for -ldbus-1... " >&6; }
15999 if test ${ac_cv_lib_soname_dbus_1+y}
16000 then :
16001 printf %s "(cached) " >&6
16002 else $as_nop
16003 ac_check_soname_save_LIBS=$LIBS
16004 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 char dbus_connection_close ();
16013 main (void)
16015 return dbus_connection_close ();
16017 return 0;
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"
16021 then :
16022 case "$LIBEXT" in
16023 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16024 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'` ;;
16025 *) 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'`
16026 if ${ac_cv_lib_soname_dbus_1:+false} :
16027 then :
16028 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16029 fi ;;
16030 esac
16031 else $as_nop
16032 ac_cv_lib_soname_dbus_1=
16034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_soname_save_LIBS
16038 if ${ac_cv_lib_soname_dbus_1:+false} :
16039 then :
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16041 printf "%s\n" "not found" >&6; }
16042 DBUS_CFLAGS=""
16043 else $as_nop
16044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16045 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16047 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16051 else $as_nop
16052 DBUS_CFLAGS=""
16055 CPPFLAGS=$ac_save_CPPFLAGS
16058 case $host_os in
16059 darwin*|macosx*) ;;
16060 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16061 then :
16062 case "x$with_dbus" in
16063 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16064 xno) ;;
16065 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16066 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16067 esac
16069 fi ;;
16070 esac
16072 if test "x$with_gnutls" != "xno"
16073 then
16074 rm -f conftest.err
16075 if ${GNUTLS_CFLAGS:+false} :
16076 then :
16077 if test ${PKG_CONFIG+y}
16078 then :
16079 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16083 if ${GNUTLS_LIBS:+false} :
16084 then :
16085 if test ${PKG_CONFIG+y}
16086 then :
16087 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16091 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16094 if test -s conftest.err; then
16095 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16096 cat conftest.err >&5
16098 rm -f conftest.err
16099 ac_save_CPPFLAGS=$CPPFLAGS
16100 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16101 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16102 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16103 then :
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16106 #include <gnutls/gnutls.h>
16107 #include <gnutls/crypto.h>
16109 main (void)
16111 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16113 return 0;
16115 _ACEOF
16116 if ac_fn_c_try_compile "$LINENO"
16117 then :
16118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16119 printf %s "checking for -lgnutls... " >&6; }
16120 if test ${ac_cv_lib_soname_gnutls+y}
16121 then :
16122 printf %s "(cached) " >&6
16123 else $as_nop
16124 ac_check_soname_save_LIBS=$LIBS
16125 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16129 /* Override any GCC internal prototype to avoid an error.
16130 Use char because int might match the return type of a GCC
16131 builtin and then its argument prototype would still apply. */
16132 char gnutls_global_init ();
16134 main (void)
16136 return gnutls_global_init ();
16138 return 0;
16140 _ACEOF
16141 if ac_fn_c_try_link "$LINENO"
16142 then :
16143 case "$LIBEXT" in
16144 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16145 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'` ;;
16146 *) 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'`
16147 if ${ac_cv_lib_soname_gnutls:+false} :
16148 then :
16149 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'`
16150 fi ;;
16151 esac
16152 else $as_nop
16153 ac_cv_lib_soname_gnutls=
16155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16156 conftest$ac_exeext conftest.$ac_ext
16157 LIBS=$ac_check_soname_save_LIBS
16159 if ${ac_cv_lib_soname_gnutls:+false} :
16160 then :
16161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16162 printf "%s\n" "not found" >&6; }
16163 GNUTLS_CFLAGS=""
16164 else $as_nop
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16166 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16168 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16172 ac_wine_check_funcs_save_LIBS="$LIBS"
16173 LIBS="$LIBS $GNUTLS_LIBS"
16175 for ac_func in gnutls_cipher_init
16176 do :
16177 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16178 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16179 then :
16180 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16182 else $as_nop
16183 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16186 done
16187 LIBS="$ac_wine_check_funcs_save_LIBS"
16189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16190 else $as_nop
16191 GNUTLS_CFLAGS=""
16194 CPPFLAGS=$ac_save_CPPFLAGS
16197 if test "x$ac_cv_lib_soname_gnutls" = "x"
16198 then :
16199 case "x$with_gnutls" in
16200 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16201 xno) ;;
16202 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16203 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16204 esac
16208 if test "x$with_sane" != "xno"
16209 then
16210 rm -f conftest.err
16211 if ${SANE_CFLAGS:+false} :
16212 then :
16213 if test ${PKG_CONFIG+y}
16214 then :
16215 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16218 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16219 if ${SANE_LIBS:+false} :
16220 then :
16221 if test ${PKG_CONFIG+y}
16222 then :
16223 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16226 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16230 if test -s conftest.err; then
16231 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16232 cat conftest.err >&5
16234 rm -f conftest.err
16235 ac_save_CPPFLAGS=$CPPFLAGS
16236 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16237 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16238 if test "x$ac_cv_header_sane_sane_h" = xyes
16239 then :
16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16241 printf %s "checking for sane_init in -lsane... " >&6; }
16242 if test ${ac_cv_lib_sane_sane_init+y}
16243 then :
16244 printf %s "(cached) " >&6
16245 else $as_nop
16246 ac_check_lib_save_LIBS=$LIBS
16247 LIBS="-lsane $SANE_LIBS $LIBS"
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16251 /* Override any GCC internal prototype to avoid an error.
16252 Use char because int might match the return type of a GCC
16253 builtin and then its argument prototype would still apply. */
16254 char sane_init ();
16256 main (void)
16258 return sane_init ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"
16264 then :
16265 ac_cv_lib_sane_sane_init=yes
16266 else $as_nop
16267 ac_cv_lib_sane_sane_init=no
16269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16270 conftest$ac_exeext conftest.$ac_ext
16271 LIBS=$ac_check_lib_save_LIBS
16273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16274 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16275 if test "x$ac_cv_lib_sane_sane_init" = xyes
16276 then :
16282 CPPFLAGS=$ac_save_CPPFLAGS
16285 if test "$ac_cv_lib_sane_sane_init" != "yes"
16286 then :
16287 case "x$with_sane" in
16288 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16289 xno) ;;
16290 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16291 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16292 esac
16293 enable_sane_ds=${enable_sane_ds:-no}
16296 if test "x$with_usb" != "xno"
16297 then
16298 rm -f conftest.err
16299 if ${USB_CFLAGS:+false} :
16300 then :
16301 if test ${PKG_CONFIG+y}
16302 then :
16303 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16307 if ${USB_LIBS:+false} :
16308 then :
16309 if test ${PKG_CONFIG+y}
16310 then :
16311 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16315 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16318 if test -s conftest.err; then
16319 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16320 cat conftest.err >&5
16322 rm -f conftest.err
16323 ac_save_CPPFLAGS=$CPPFLAGS
16324 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16325 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16326 if test "x$ac_cv_header_libusb_h" = xyes
16327 then :
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16329 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16330 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16331 then :
16332 printf %s "(cached) " >&6
16333 else $as_nop
16334 ac_check_lib_save_LIBS=$LIBS
16335 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16339 /* Override any GCC internal prototype to avoid an error.
16340 Use char because int might match the return type of a GCC
16341 builtin and then its argument prototype would still apply. */
16342 char libusb_interrupt_event_handler ();
16344 main (void)
16346 return libusb_interrupt_event_handler ();
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"
16352 then :
16353 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16354 else $as_nop
16355 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16358 conftest$ac_exeext conftest.$ac_ext
16359 LIBS=$ac_check_lib_save_LIBS
16361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16362 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16363 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16364 then :
16366 else $as_nop
16367 USB_LIBS=""
16370 else $as_nop
16371 USB_LIBS=""
16374 CPPFLAGS=$ac_save_CPPFLAGS
16377 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16378 then :
16379 case "x$with_usb" in
16380 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16381 xno) ;;
16382 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16383 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16384 esac
16385 enable_wineusb_sys=${enable_wineusb_sys:-no}
16388 if test "x$with_v4l2" != "xno"
16389 then
16390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16391 printf %s "checking for -lv4l2... " >&6; }
16392 if test ${ac_cv_lib_soname_v4l2+y}
16393 then :
16394 printf %s "(cached) " >&6
16395 else $as_nop
16396 ac_check_soname_save_LIBS=$LIBS
16397 LIBS="-lv4l2 $LIBS"
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16401 /* Override any GCC internal prototype to avoid an error.
16402 Use char because int might match the return type of a GCC
16403 builtin and then its argument prototype would still apply. */
16404 char v4l2_open ();
16406 main (void)
16408 return v4l2_open ();
16410 return 0;
16412 _ACEOF
16413 if ac_fn_c_try_link "$LINENO"
16414 then :
16415 case "$LIBEXT" in
16416 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16417 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'` ;;
16418 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16419 if ${ac_cv_lib_soname_v4l2:+false} :
16420 then :
16421 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16422 fi ;;
16423 esac
16424 else $as_nop
16425 ac_cv_lib_soname_v4l2=
16427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16428 conftest$ac_exeext conftest.$ac_ext
16429 LIBS=$ac_check_soname_save_LIBS
16431 if ${ac_cv_lib_soname_v4l2:+false} :
16432 then :
16433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16434 printf "%s\n" "not found" >&6; }
16436 else $as_nop
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16438 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16440 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16445 if test "x$ac_cv_lib_soname_v4l2" = "x"
16446 then :
16447 case "x$with_v4l2" in
16448 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16449 xno) ;;
16450 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16451 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16452 esac
16456 if test "x$with_gphoto" != "xno"
16457 then
16458 rm -f conftest.err
16459 if ${GPHOTO2_CFLAGS:+false} :
16460 then :
16461 if test ${PKG_CONFIG+y}
16462 then :
16463 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16466 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16467 if ${GPHOTO2_LIBS:+false} :
16468 then :
16469 if test ${PKG_CONFIG+y}
16470 then :
16471 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16474 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16475 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16478 if test -s conftest.err; then
16479 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16480 cat conftest.err >&5
16482 rm -f conftest.err
16483 ac_save_CPPFLAGS=$CPPFLAGS
16484 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16485 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16486 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16487 then :
16488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16489 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16490 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16491 then :
16492 printf %s "(cached) " >&6
16493 else $as_nop
16494 ac_check_lib_save_LIBS=$LIBS
16495 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16499 /* Override any GCC internal prototype to avoid an error.
16500 Use char because int might match the return type of a GCC
16501 builtin and then its argument prototype would still apply. */
16502 char gp_camera_new ();
16504 main (void)
16506 return gp_camera_new ();
16508 return 0;
16510 _ACEOF
16511 if ac_fn_c_try_link "$LINENO"
16512 then :
16513 ac_cv_lib_gphoto2_gp_camera_new=yes
16514 else $as_nop
16515 ac_cv_lib_gphoto2_gp_camera_new=no
16517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16518 conftest$ac_exeext conftest.$ac_ext
16519 LIBS=$ac_check_lib_save_LIBS
16521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16522 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16523 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16524 then :
16530 CPPFLAGS=$ac_save_CPPFLAGS
16532 rm -f conftest.err
16533 if ${GPHOTO2_PORT_CFLAGS:+false} :
16534 then :
16535 if test ${PKG_CONFIG+y}
16536 then :
16537 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16540 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16541 if ${GPHOTO2_PORT_LIBS:+false} :
16542 then :
16543 if test ${PKG_CONFIG+y}
16544 then :
16545 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16548 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16549 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16552 if test -s conftest.err; then
16553 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16554 cat conftest.err >&5
16556 rm -f conftest.err
16557 ac_save_CPPFLAGS=$CPPFLAGS
16558 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16559 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16560 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16561 then :
16562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16563 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16564 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16565 then :
16566 printf %s "(cached) " >&6
16567 else $as_nop
16568 ac_check_lib_save_LIBS=$LIBS
16569 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 /* Override any GCC internal prototype to avoid an error.
16574 Use char because int might match the return type of a GCC
16575 builtin and then its argument prototype would still apply. */
16576 char gp_port_info_list_new ();
16578 main (void)
16580 return gp_port_info_list_new ();
16582 return 0;
16584 _ACEOF
16585 if ac_fn_c_try_link "$LINENO"
16586 then :
16587 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16588 else $as_nop
16589 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16592 conftest$ac_exeext conftest.$ac_ext
16593 LIBS=$ac_check_lib_save_LIBS
16595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16596 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16597 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16598 then :
16600 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16602 else $as_nop
16603 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16606 else $as_nop
16607 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16610 CPPFLAGS=$ac_save_CPPFLAGS
16613 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16614 then :
16615 case "x$with_gphoto" in
16616 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16617 xno) ;;
16618 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16619 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16620 esac
16621 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16623 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16624 then :
16625 case "x$with_gphoto" in
16626 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16627 xno) ;;
16628 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16629 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16630 esac
16635 if test "$ac_cv_header_resolv_h" = "yes"
16636 then
16637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16638 printf %s "checking for resolver library... " >&6; }
16639 if test ${ac_cv_have_resolv+y}
16640 then :
16641 printf %s "(cached) " >&6
16642 else $as_nop
16643 ac_save_LIBS="$LIBS"
16644 for lib in '' -lresolv
16646 LIBS="$lib $ac_save_LIBS"
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16649 #ifdef HAVE_NETINET_IN_H
16650 #include <netinet/in.h>
16651 #endif
16652 #include <resolv.h>
16654 main (void)
16656 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16658 return 0;
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"
16662 then :
16663 ac_cv_have_resolv=${lib:-"none required"}
16664 else $as_nop
16665 ac_cv_have_resolv="not found"
16667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16668 conftest$ac_exeext conftest.$ac_ext
16669 test "x$ac_cv_have_resolv" = "xnot found" || break
16670 done
16671 LIBS="$ac_save_LIBS"
16673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16674 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16676 case "$ac_cv_have_resolv" in
16677 "not found") ;;
16678 "none required")
16680 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16683 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16685 RESOLV_LIBS=$ac_cv_have_resolv
16687 esac
16689 if test "x$ac_cv_have_resolv" != "xnot found"
16690 then
16691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16692 printf %s "checking for res_getservers... " >&6; }
16693 if test ${ac_cv_have_res_getservers+y}
16694 then :
16695 printf %s "(cached) " >&6
16696 else $as_nop
16697 ac_save_LIBS="$LIBS"
16698 LIBS="$RESOLV_LIBS $LIBS"
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <resolv.h>
16703 main (void)
16705 res_getservers(NULL, NULL, 0);
16707 return 0;
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"
16711 then :
16712 ac_cv_have_res_getservers=yes
16713 else $as_nop
16714 ac_cv_have_res_getservers=no
16716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16717 conftest$ac_exeext conftest.$ac_ext
16718 LIBS="$ac_save_LIBS"
16720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16721 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16722 if test "$ac_cv_have_res_getservers" = "yes"
16723 then
16725 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16731 if test "x$with_freetype" != "xno"
16732 then
16733 rm -f conftest.err
16734 if ${FREETYPE_CFLAGS:+false} :
16735 then :
16736 if test ${PKG_CONFIG+y}
16737 then :
16738 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16741 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16742 if ${FREETYPE_LIBS:+false} :
16743 then :
16744 if test ${PKG_CONFIG+y}
16745 then :
16746 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16749 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16750 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16753 if test -s conftest.err; then
16754 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16755 cat conftest.err >&5
16757 rm -f conftest.err
16758 ac_save_CPPFLAGS=$CPPFLAGS
16759 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16760 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16761 if test "x$ac_cv_header_ft2build_h" = xyes
16762 then :
16763 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16767 if test "$ac_cv_header_ft2build_h" = "yes"
16768 then
16769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16770 printf %s "checking for -lfreetype... " >&6; }
16771 if test ${ac_cv_lib_soname_freetype+y}
16772 then :
16773 printf %s "(cached) " >&6
16774 else $as_nop
16775 ac_check_soname_save_LIBS=$LIBS
16776 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16780 /* Override any GCC internal prototype to avoid an error.
16781 Use char because int might match the return type of a GCC
16782 builtin and then its argument prototype would still apply. */
16783 char FT_Init_FreeType ();
16785 main (void)
16787 return FT_Init_FreeType ();
16789 return 0;
16791 _ACEOF
16792 if ac_fn_c_try_link "$LINENO"
16793 then :
16794 case "$LIBEXT" in
16795 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16796 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'` ;;
16797 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16798 if ${ac_cv_lib_soname_freetype:+false} :
16799 then :
16800 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16801 fi ;;
16802 esac
16803 else $as_nop
16804 ac_cv_lib_soname_freetype=
16806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16807 conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_check_soname_save_LIBS
16810 if ${ac_cv_lib_soname_freetype:+false} :
16811 then :
16812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16813 printf "%s\n" "not found" >&6; }
16814 FREETYPE_LIBS=""
16815 else $as_nop
16816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16817 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16819 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16822 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16824 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16825 #include FT_MODULE_H
16827 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16828 then :
16830 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16836 else
16837 FREETYPE_CFLAGS=""
16838 FREETYPE_LIBS=""
16840 CPPFLAGS=$ac_save_CPPFLAGS
16843 if test "x$ac_cv_lib_soname_freetype" = x
16844 then :
16845 case "x$with_freetype" in
16846 xno) ;;
16847 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16848 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16849 esac
16850 enable_fonts=${enable_fonts:-no}
16853 ac_wine_check_funcs_save_LIBS="$LIBS"
16854 LIBS="$LIBS $PTHREAD_LIBS"
16855 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16856 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16857 then :
16858 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16862 LIBS="$ac_wine_check_funcs_save_LIBS"
16864 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16865 then
16866 if test "$ac_cv_header_gettext_po_h" = "yes"
16867 then
16868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16869 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16870 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16871 then :
16872 printf %s "(cached) " >&6
16873 else $as_nop
16874 ac_check_lib_save_LIBS=$LIBS
16875 LIBS="-lgettextpo $LIBS"
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16879 /* Override any GCC internal prototype to avoid an error.
16880 Use char because int might match the return type of a GCC
16881 builtin and then its argument prototype would still apply. */
16882 char po_message_msgctxt ();
16884 main (void)
16886 return po_message_msgctxt ();
16888 return 0;
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"
16892 then :
16893 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16894 else $as_nop
16895 ac_cv_lib_gettextpo_po_message_msgctxt=no
16897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16898 conftest$ac_exeext conftest.$ac_ext
16899 LIBS=$ac_check_lib_save_LIBS
16901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16902 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16903 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16904 then :
16906 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16908 GETTEXTPO_LIBS="-lgettextpo"
16913 if test "x$GETTEXTPO_LIBS" = "x"
16914 then :
16915 case "x$with_gettextpo" in
16916 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16917 xno) ;;
16918 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16919 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16920 esac
16923 if test "$srcdir" != .
16924 then :
16925 case "x$with_gettextpo" in
16926 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16927 xno) ;;
16928 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16929 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16930 esac
16935 if test "x$with_pulse" != "xno";
16936 then
16937 rm -f conftest.err
16938 if ${PULSE_CFLAGS:+false} :
16939 then :
16940 if test ${PKG_CONFIG+y}
16941 then :
16942 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16946 if ${PULSE_LIBS:+false} :
16947 then :
16948 if test ${PKG_CONFIG+y}
16949 then :
16950 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16957 if test -s conftest.err; then
16958 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16959 cat conftest.err >&5
16961 rm -f conftest.err
16962 ac_save_CPPFLAGS=$CPPFLAGS
16963 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16964 for ac_header in pulse/pulseaudio.h
16965 do :
16966 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16967 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16968 then :
16969 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16971 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16972 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16973 then :
16974 printf %s "(cached) " >&6
16975 else $as_nop
16976 ac_check_lib_save_LIBS=$LIBS
16977 LIBS="-lpulse $PULSE_LIBS $LIBS"
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16981 /* Override any GCC internal prototype to avoid an error.
16982 Use char because int might match the return type of a GCC
16983 builtin and then its argument prototype would still apply. */
16984 char pa_stream_is_corked ();
16986 main (void)
16988 return pa_stream_is_corked ();
16990 return 0;
16992 _ACEOF
16993 if ac_fn_c_try_link "$LINENO"
16994 then :
16995 ac_cv_lib_pulse_pa_stream_is_corked=yes
16996 else $as_nop
16997 ac_cv_lib_pulse_pa_stream_is_corked=no
16999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17000 conftest$ac_exeext conftest.$ac_ext
17001 LIBS=$ac_check_lib_save_LIBS
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17004 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17005 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17006 then :
17008 else $as_nop
17009 PULSE_LIBS=""
17012 else $as_nop
17013 PULSE_LIBS=""
17016 done
17017 CPPFLAGS=$ac_save_CPPFLAGS
17020 if test -z "$PULSE_LIBS"
17021 then :
17022 case "x$with_pulse" in
17023 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17024 xno) ;;
17025 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17026 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17027 esac
17028 enable_winepulse_drv=${enable_winepulse_drv:-no}
17031 if test "x$with_gstreamer" != "xno"
17032 then
17033 rm -f conftest.err
17034 if ${GSTREAMER_CFLAGS:+false} :
17035 then :
17036 if test ${PKG_CONFIG+y}
17037 then :
17038 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17042 if ${GSTREAMER_LIBS:+false} :
17043 then :
17044 if test ${PKG_CONFIG+y}
17045 then :
17046 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17051 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
17052 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
17053 if test -s conftest.err; then
17054 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17055 cat conftest.err >&5
17057 rm -f conftest.err
17058 ac_save_CPPFLAGS=$CPPFLAGS
17059 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17060 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17061 if test "x$ac_cv_header_gst_gst_h" = xyes
17062 then :
17063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17064 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 #include <gst/gst.h>
17069 main (void)
17071 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17073 return 0;
17075 _ACEOF
17076 if ac_fn_c_try_compile "$LINENO"
17077 then :
17078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17079 printf "%s\n" "yes" >&6; }
17080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17081 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17082 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17083 then :
17084 printf %s "(cached) " >&6
17085 else $as_nop
17086 ac_check_lib_save_LIBS=$LIBS
17087 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17091 /* Override any GCC internal prototype to avoid an error.
17092 Use char because int might match the return type of a GCC
17093 builtin and then its argument prototype would still apply. */
17094 char gst_pad_new ();
17096 main (void)
17098 return gst_pad_new ();
17100 return 0;
17102 _ACEOF
17103 if ac_fn_c_try_link "$LINENO"
17104 then :
17105 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17106 else $as_nop
17107 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17110 conftest$ac_exeext conftest.$ac_ext
17111 LIBS=$ac_check_lib_save_LIBS
17113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17114 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17115 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17116 then :
17120 else $as_nop
17121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17122 printf "%s\n" "no" >&6; }
17123 ac_glib2_broken=yes
17124 enable_winegstreamer=${enable_winegstreamer:-no}
17125 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17130 CPPFLAGS=$ac_save_CPPFLAGS
17133 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17134 then :
17135 case "x$with_gstreamer" in
17136 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17137 xno) ;;
17138 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17139 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17140 esac
17141 enable_winegstreamer=${enable_winegstreamer:-no}
17144 ALSA_LIBS=""
17146 if test "x$with_alsa" != "xno"
17147 then
17148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17149 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17150 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17151 then :
17152 printf %s "(cached) " >&6
17153 else $as_nop
17154 ac_check_lib_save_LIBS=$LIBS
17155 LIBS="-lasound $LIBS"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17159 /* Override any GCC internal prototype to avoid an error.
17160 Use char because int might match the return type of a GCC
17161 builtin and then its argument prototype would still apply. */
17162 char snd_pcm_hw_params_get_access_mask ();
17164 main (void)
17166 return snd_pcm_hw_params_get_access_mask ();
17168 return 0;
17170 _ACEOF
17171 if ac_fn_c_try_link "$LINENO"
17172 then :
17173 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17174 else $as_nop
17175 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17182 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17183 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17184 then :
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 #include <alsa/asoundlib.h>
17189 main (void)
17191 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_compile "$LINENO"
17197 then :
17198 ALSA_LIBS="-lasound"
17200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17204 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17206 if test "x$with_oss" != xno
17207 then
17208 ac_save_CPPFLAGS="$CPPFLAGS"
17209 if test -f /etc/oss.conf
17210 then
17211 . /etc/oss.conf
17213 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17214 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17215 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17216 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17217 then :
17218 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17220 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17221 then :
17223 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17225 OSS4_CFLAGS="$ac_oss_incl"
17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17228 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17229 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17230 then :
17231 printf %s "(cached) " >&6
17232 else $as_nop
17233 ac_check_lib_save_LIBS=$LIBS
17234 LIBS="-lossaudio $LIBS"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17238 /* Override any GCC internal prototype to avoid an error.
17239 Use char because int might match the return type of a GCC
17240 builtin and then its argument prototype would still apply. */
17241 char _oss_ioctl ();
17243 main (void)
17245 return _oss_ioctl ();
17247 return 0;
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"
17251 then :
17252 ac_cv_lib_ossaudio__oss_ioctl=yes
17253 else $as_nop
17254 ac_cv_lib_ossaudio__oss_ioctl=no
17256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17257 conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_lib_save_LIBS
17260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17261 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17262 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17263 then :
17264 OSS4_LIBS="-lossaudio"
17272 CPPFLAGS="$ac_save_CPPFLAGS"
17274 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17275 then :
17276 case "x$with_oss" in
17277 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17278 xno) ;;
17279 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17280 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17281 esac
17282 enable_wineoss_drv=${enable_wineoss_drv:-no}
17285 if test "x$with_udev" != "xno"
17286 then
17287 rm -f conftest.err
17288 if ${UDEV_CFLAGS:+false} :
17289 then :
17290 if test ${PKG_CONFIG+y}
17291 then :
17292 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17296 if ${UDEV_LIBS:+false} :
17297 then :
17298 if test ${PKG_CONFIG+y}
17299 then :
17300 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17304 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17307 if test -s conftest.err; then
17308 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17309 cat conftest.err >&5
17311 rm -f conftest.err
17312 ac_save_CPPFLAGS=$CPPFLAGS
17313 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17314 for ac_header in libudev.h
17315 do :
17316 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17317 if test "x$ac_cv_header_libudev_h" = xyes
17318 then :
17319 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17321 printf %s "checking for udev_new in -ludev... " >&6; }
17322 if test ${ac_cv_lib_udev_udev_new+y}
17323 then :
17324 printf %s "(cached) " >&6
17325 else $as_nop
17326 ac_check_lib_save_LIBS=$LIBS
17327 LIBS="-ludev $UDEV_LIBS $LIBS"
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17331 /* Override any GCC internal prototype to avoid an error.
17332 Use char because int might match the return type of a GCC
17333 builtin and then its argument prototype would still apply. */
17334 char udev_new ();
17336 main (void)
17338 return udev_new ();
17340 return 0;
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"
17344 then :
17345 ac_cv_lib_udev_udev_new=yes
17346 else $as_nop
17347 ac_cv_lib_udev_udev_new=no
17349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17350 conftest$ac_exeext conftest.$ac_ext
17351 LIBS=$ac_check_lib_save_LIBS
17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17354 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17355 if test "x$ac_cv_lib_udev_udev_new" = xyes
17356 then :
17358 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17360 else $as_nop
17361 UDEV_LIBS=""
17364 else $as_nop
17365 UDEV_LIBS=""
17368 done
17369 CPPFLAGS=$ac_save_CPPFLAGS
17372 if test "x$UDEV_LIBS" = "x"
17373 then :
17374 case "x$with_udev" in
17375 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17376 xno) ;;
17377 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17378 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17379 esac
17383 if test "x$with_unwind" != xno
17384 then
17385 rm -f conftest.err
17386 if ${UNWIND_CFLAGS:+false} :
17387 then :
17388 if test ${PKG_CONFIG+y}
17389 then :
17390 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17394 if ${UNWIND_LIBS:+false} :
17395 then :
17396 if test ${PKG_CONFIG+y}
17397 then :
17398 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17402 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17405 if test -s conftest.err; then
17406 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17407 cat conftest.err >&5
17409 rm -f conftest.err
17410 ac_save_CPPFLAGS=$CPPFLAGS
17411 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17413 printf %s "checking for unw_step... " >&6; }
17414 if test ${wine_cv_have_unw_step+y}
17415 then :
17416 printf %s "(cached) " >&6
17417 else $as_nop
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 #define UNW_LOCAL_ONLY
17421 #include <libunwind.h>
17423 main (void)
17425 unw_cursor_t cursor; unw_step( &cursor );
17427 return 0;
17429 _ACEOF
17430 if ac_fn_c_try_link "$LINENO"
17431 then :
17432 wine_cv_have_unw_step="yes"
17433 else $as_nop
17434 wine_cv_have_unw_step="no"
17436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17437 conftest$ac_exeext conftest.$ac_ext
17439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17440 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17441 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17442 then
17443 save_libs=$LIBS
17444 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17445 LIBS="$UNWIND_LIBS $LIBS"
17446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17447 printf %s "checking for unw_step in libunwind... " >&6; }
17448 if test ${wine_cv_have_libunwind_unw_step+y}
17449 then :
17450 printf %s "(cached) " >&6
17451 else $as_nop
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 #define UNW_LOCAL_ONLY
17455 #include <libunwind.h>
17457 main (void)
17459 unw_cursor_t cursor; unw_step( &cursor );
17461 return 0;
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"
17465 then :
17466 wine_cv_have_libunwind_unw_step="yes"
17467 else $as_nop
17468 wine_cv_have_libunwind_unw_step="no"
17470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17471 conftest$ac_exeext conftest.$ac_ext
17473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17474 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17475 LIBS=$save_libs
17477 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17478 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17479 then
17481 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17484 CPPFLAGS=$ac_save_CPPFLAGS
17487 case $host in
17488 aarch64*|*-darwin*)
17489 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17490 then :
17491 case "x$with_unwind" in
17492 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17493 xno) ;;
17494 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17495 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17496 esac
17498 fi ;;
17499 esac
17501 if test "x$with_sdl" != "xno"
17502 then
17503 rm -f conftest.err
17504 if ${SDL2_CFLAGS:+false} :
17505 then :
17506 if test ${PKG_CONFIG+y}
17507 then :
17508 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17512 if ${SDL2_LIBS:+false} :
17513 then :
17514 if test ${PKG_CONFIG+y}
17515 then :
17516 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17520 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17523 if test -s conftest.err; then
17524 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17525 cat conftest.err >&5
17527 rm -f conftest.err
17528 ac_save_CPPFLAGS=$CPPFLAGS
17529 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17530 for ac_header in SDL.h
17531 do :
17532 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17533 if test "x$ac_cv_header_SDL_h" = xyes
17534 then :
17535 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17537 printf %s "checking for -lSDL2... " >&6; }
17538 if test ${ac_cv_lib_soname_SDL2+y}
17539 then :
17540 printf %s "(cached) " >&6
17541 else $as_nop
17542 ac_check_soname_save_LIBS=$LIBS
17543 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17550 char SDL_Init ();
17552 main (void)
17554 return SDL_Init ();
17556 return 0;
17558 _ACEOF
17559 if ac_fn_c_try_link "$LINENO"
17560 then :
17561 case "$LIBEXT" in
17562 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17563 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'` ;;
17564 *) 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'`
17565 if ${ac_cv_lib_soname_SDL2:+false} :
17566 then :
17567 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17568 fi ;;
17569 esac
17570 else $as_nop
17571 ac_cv_lib_soname_SDL2=
17573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17574 conftest$ac_exeext conftest.$ac_ext
17575 LIBS=$ac_check_soname_save_LIBS
17577 if ${ac_cv_lib_soname_SDL2:+false} :
17578 then :
17579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17580 printf "%s\n" "not found" >&6; }
17582 else $as_nop
17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17584 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17586 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17592 done
17593 CPPFLAGS=$ac_save_CPPFLAGS
17596 if test "x$ac_cv_lib_soname_SDL2" = "x"
17597 then :
17598 case "x$with_sdl" in
17599 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17600 xno) ;;
17601 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17602 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17603 esac
17607 if test "x$with_capi" != "xno"
17608 then
17609 rm -f conftest.err
17610 if ${CAPI20_CFLAGS:+false} :
17611 then :
17612 if test ${PKG_CONFIG+y}
17613 then :
17614 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17618 if ${CAPI20_LIBS:+false} :
17619 then :
17620 if test ${PKG_CONFIG+y}
17621 then :
17622 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17629 if test -s conftest.err; then
17630 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17631 cat conftest.err >&5
17633 rm -f conftest.err
17634 ac_save_CPPFLAGS=$CPPFLAGS
17635 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17636 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17638 if test "x$ac_cv_header_capi20_h" = xyes
17639 then :
17640 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17643 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17645 if test "x$ac_cv_header_linux_capi_h" = xyes
17646 then :
17647 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17651 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17652 then
17653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17654 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17655 if test ${ac_cv_lib_capi20_capi20_register+y}
17656 then :
17657 printf %s "(cached) " >&6
17658 else $as_nop
17659 ac_check_lib_save_LIBS=$LIBS
17660 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17664 /* Override any GCC internal prototype to avoid an error.
17665 Use char because int might match the return type of a GCC
17666 builtin and then its argument prototype would still apply. */
17667 char capi20_register ();
17669 main (void)
17671 return capi20_register ();
17673 return 0;
17675 _ACEOF
17676 if ac_fn_c_try_link "$LINENO"
17677 then :
17678 ac_cv_lib_capi20_capi20_register=yes
17679 else $as_nop
17680 ac_cv_lib_capi20_capi20_register=no
17682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17683 conftest$ac_exeext conftest.$ac_ext
17684 LIBS=$ac_check_lib_save_LIBS
17686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17687 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17688 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17689 then :
17691 else $as_nop
17692 CAPI20_LIBS=""
17696 CPPFLAGS=$ac_save_CPPFLAGS
17699 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17700 then :
17701 case "x$with_capi" in
17702 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17703 xno) ;;
17704 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17705 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17706 esac
17707 enable_capi2032=${enable_capi2032:-no}
17710 if test "x$with_cups" != "xno"
17711 then
17712 rm -f conftest.err
17713 if ${CUPS_CFLAGS:+false} :
17714 then :
17715 if test ${PKG_CONFIG+y}
17716 then :
17717 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17720 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17721 if ${CUPS_LIBS:+false} :
17722 then :
17723 if test ${PKG_CONFIG+y}
17724 then :
17725 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17728 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17729 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17732 if test -s conftest.err; then
17733 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17734 cat conftest.err >&5
17736 rm -f conftest.err
17737 ac_save_CPPFLAGS=$CPPFLAGS
17738 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17739 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17740 if test "x$ac_cv_header_cups_cups_h" = xyes
17741 then :
17742 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17745 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17746 if test "x$ac_cv_header_cups_ppd_h" = xyes
17747 then :
17748 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17752 if test "$ac_cv_header_cups_cups_h" = "yes"
17753 then
17754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17755 printf %s "checking for -lcups... " >&6; }
17756 if test ${ac_cv_lib_soname_cups+y}
17757 then :
17758 printf %s "(cached) " >&6
17759 else $as_nop
17760 ac_check_soname_save_LIBS=$LIBS
17761 LIBS="-lcups $CUPS_LIBS $LIBS"
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17765 /* Override any GCC internal prototype to avoid an error.
17766 Use char because int might match the return type of a GCC
17767 builtin and then its argument prototype would still apply. */
17768 char cupsGetDefault ();
17770 main (void)
17772 return cupsGetDefault ();
17774 return 0;
17776 _ACEOF
17777 if ac_fn_c_try_link "$LINENO"
17778 then :
17779 case "$LIBEXT" in
17780 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17781 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'` ;;
17782 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17783 if ${ac_cv_lib_soname_cups:+false} :
17784 then :
17785 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17786 fi ;;
17787 esac
17788 else $as_nop
17789 ac_cv_lib_soname_cups=
17791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17792 conftest$ac_exeext conftest.$ac_ext
17793 LIBS=$ac_check_soname_save_LIBS
17795 if ${ac_cv_lib_soname_cups:+false} :
17796 then :
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17798 printf "%s\n" "not found" >&6; }
17799 CUPS_LIBS=""
17800 else $as_nop
17801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17802 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17804 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17808 else
17809 CUPS_CFLAGS=""
17810 CUPS_LIBS=""
17812 CPPFLAGS=$ac_save_CPPFLAGS
17815 if test "x$ac_cv_lib_soname_cups" = "x"
17816 then :
17817 case "x$with_cups" in
17818 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17819 xno) ;;
17820 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17821 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17822 esac
17826 if test "x$with_fontconfig" != "xno"
17827 then
17828 rm -f conftest.err
17829 if ${FONTCONFIG_CFLAGS:+false} :
17830 then :
17831 if test ${PKG_CONFIG+y}
17832 then :
17833 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17836 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17837 if ${FONTCONFIG_LIBS:+false} :
17838 then :
17839 if test ${PKG_CONFIG+y}
17840 then :
17841 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17844 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17848 if test -s conftest.err; then
17849 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17850 cat conftest.err >&5
17852 rm -f conftest.err
17853 ac_save_CPPFLAGS=$CPPFLAGS
17854 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17855 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17856 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17857 then :
17858 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17862 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17863 then
17864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17865 printf %s "checking for -lfontconfig... " >&6; }
17866 if test ${ac_cv_lib_soname_fontconfig+y}
17867 then :
17868 printf %s "(cached) " >&6
17869 else $as_nop
17870 ac_check_soname_save_LIBS=$LIBS
17871 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17875 /* Override any GCC internal prototype to avoid an error.
17876 Use char because int might match the return type of a GCC
17877 builtin and then its argument prototype would still apply. */
17878 char FcInit ();
17880 main (void)
17882 return FcInit ();
17884 return 0;
17886 _ACEOF
17887 if ac_fn_c_try_link "$LINENO"
17888 then :
17889 case "$LIBEXT" in
17890 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17891 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'` ;;
17892 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17893 if ${ac_cv_lib_soname_fontconfig:+false} :
17894 then :
17895 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17896 fi ;;
17897 esac
17898 else $as_nop
17899 ac_cv_lib_soname_fontconfig=
17901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17902 conftest$ac_exeext conftest.$ac_ext
17903 LIBS=$ac_check_soname_save_LIBS
17905 if ${ac_cv_lib_soname_fontconfig:+false} :
17906 then :
17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17908 printf "%s\n" "not found" >&6; }
17909 FONTCONFIG_CFLAGS=""
17910 else $as_nop
17911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17912 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17914 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17918 else
17919 FONTCONFIG_CFLAGS=""
17921 CPPFLAGS=$ac_save_CPPFLAGS
17924 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17925 then :
17926 case "x$with_fontconfig" in
17927 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17928 xno) ;;
17929 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17930 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17931 esac
17935 if test "x$with_krb5" != "xno"
17936 then
17937 rm -f conftest.err
17938 if ${KRB5_CFLAGS:+false} :
17939 then :
17940 if test ${PKG_CONFIG+y}
17941 then :
17942 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17945 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17946 if ${KRB5_LIBS:+false} :
17947 then :
17948 if test ${PKG_CONFIG+y}
17949 then :
17950 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17953 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17957 if test -s conftest.err; then
17958 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17959 cat conftest.err >&5
17961 rm -f conftest.err
17962 ac_save_CPPFLAGS=$CPPFLAGS
17963 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17964 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17965 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17966 then :
17967 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17971 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17972 then
17973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17974 printf %s "checking for -lkrb5... " >&6; }
17975 if test ${ac_cv_lib_soname_krb5+y}
17976 then :
17977 printf %s "(cached) " >&6
17978 else $as_nop
17979 ac_check_soname_save_LIBS=$LIBS
17980 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 /* Override any GCC internal prototype to avoid an error.
17985 Use char because int might match the return type of a GCC
17986 builtin and then its argument prototype would still apply. */
17987 char krb5_is_config_principal ();
17989 main (void)
17991 return krb5_is_config_principal ();
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_link "$LINENO"
17997 then :
17998 case "$LIBEXT" in
17999 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18000 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'` ;;
18001 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18002 if ${ac_cv_lib_soname_krb5:+false} :
18003 then :
18004 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18005 fi ;;
18006 esac
18007 else $as_nop
18008 ac_cv_lib_soname_krb5=
18010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18011 conftest$ac_exeext conftest.$ac_ext
18012 LIBS=$ac_check_soname_save_LIBS
18014 if ${ac_cv_lib_soname_krb5:+false} :
18015 then :
18016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18017 printf "%s\n" "not found" >&6; }
18018 KRB5_CFLAGS=""
18019 else $as_nop
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18021 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18023 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18027 else
18028 KRB5_CFLAGS=""
18030 CPPFLAGS=$ac_save_CPPFLAGS
18033 if test "x$ac_cv_lib_soname_krb5" = "x"
18034 then :
18035 case "x$with_krb5" in
18036 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18037 xno) ;;
18038 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18039 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18040 esac
18043 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18045 if test "x$with_gssapi" != "xno"
18046 then
18047 rm -f conftest.err
18048 if ${GSSAPI_CFLAGS:+false} :
18049 then :
18050 if test ${PKG_CONFIG+y}
18051 then :
18052 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18055 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18056 if ${GSSAPI_LIBS:+false} :
18057 then :
18058 if test ${PKG_CONFIG+y}
18059 then :
18060 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18063 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18067 if test -s conftest.err; then
18068 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18069 cat conftest.err >&5
18071 rm -f conftest.err
18072 ac_save_CPPFLAGS=$CPPFLAGS
18073 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18074 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18075 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18076 then :
18077 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18080 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18081 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18082 then :
18083 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18087 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18088 then
18089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18090 printf %s "checking for -lgssapi_krb5... " >&6; }
18091 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18092 then :
18093 printf %s "(cached) " >&6
18094 else $as_nop
18095 ac_check_soname_save_LIBS=$LIBS
18096 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18100 /* Override any GCC internal prototype to avoid an error.
18101 Use char because int might match the return type of a GCC
18102 builtin and then its argument prototype would still apply. */
18103 char gss_init_sec_context ();
18105 main (void)
18107 return gss_init_sec_context ();
18109 return 0;
18111 _ACEOF
18112 if ac_fn_c_try_link "$LINENO"
18113 then :
18114 case "$LIBEXT" in
18115 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18116 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'` ;;
18117 *) 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'`
18118 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18119 then :
18120 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18121 fi ;;
18122 esac
18123 else $as_nop
18124 ac_cv_lib_soname_gssapi_krb5=
18126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18127 conftest$ac_exeext conftest.$ac_ext
18128 LIBS=$ac_check_soname_save_LIBS
18130 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18131 then :
18132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18133 printf "%s\n" "not found" >&6; }
18134 GSSAPI_CFLAGS=""
18135 else $as_nop
18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18137 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18139 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18143 else
18144 GSSAPI_CFLAGS=""
18146 CPPFLAGS=$ac_save_CPPFLAGS
18149 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18150 then :
18151 case "x$with_gssapi" in
18152 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18153 xno) ;;
18154 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18155 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18156 esac
18160 if test "$ac_cv_header_libprocstat_h" = "yes"
18161 then
18162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18163 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18164 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18165 then :
18166 printf %s "(cached) " >&6
18167 else $as_nop
18168 ac_check_lib_save_LIBS=$LIBS
18169 LIBS="-lprocstat $LIBS"
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18173 /* Override any GCC internal prototype to avoid an error.
18174 Use char because int might match the return type of a GCC
18175 builtin and then its argument prototype would still apply. */
18176 char procstat_open_sysctl ();
18178 main (void)
18180 return procstat_open_sysctl ();
18182 return 0;
18184 _ACEOF
18185 if ac_fn_c_try_link "$LINENO"
18186 then :
18187 ac_cv_lib_procstat_procstat_open_sysctl=yes
18188 else $as_nop
18189 ac_cv_lib_procstat_procstat_open_sysctl=no
18191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18192 conftest$ac_exeext conftest.$ac_ext
18193 LIBS=$ac_check_lib_save_LIBS
18195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18196 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18197 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18198 then :
18200 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18202 PROCSTAT_LIBS="-lprocstat"
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18209 printf %s "checking for -lodbc... " >&6; }
18210 if test ${ac_cv_lib_soname_odbc+y}
18211 then :
18212 printf %s "(cached) " >&6
18213 else $as_nop
18214 ac_check_soname_save_LIBS=$LIBS
18215 LIBS="-lodbc $LIBS"
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 /* Override any GCC internal prototype to avoid an error.
18220 Use char because int might match the return type of a GCC
18221 builtin and then its argument prototype would still apply. */
18222 char SQLConnect ();
18224 main (void)
18226 return SQLConnect ();
18228 return 0;
18230 _ACEOF
18231 if ac_fn_c_try_link "$LINENO"
18232 then :
18233 case "$LIBEXT" in
18234 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18235 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'` ;;
18236 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18237 if ${ac_cv_lib_soname_odbc:+false} :
18238 then :
18239 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18240 fi ;;
18241 esac
18242 else $as_nop
18243 ac_cv_lib_soname_odbc=
18245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18246 conftest$ac_exeext conftest.$ac_ext
18247 LIBS=$ac_check_soname_save_LIBS
18249 if ${ac_cv_lib_soname_odbc:+false} :
18250 then :
18251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18252 printf "%s\n" "not found" >&6; }
18253 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18255 else $as_nop
18256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18257 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18259 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18264 if test "x$with_netapi" != "xno"
18265 then
18266 rm -f conftest.err
18267 if ${NETAPI_CFLAGS:+false} :
18268 then :
18269 if test ${PKG_CONFIG+y}
18270 then :
18271 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18275 if ${NETAPI_LIBS:+false} :
18276 then :
18277 if test ${PKG_CONFIG+y}
18278 then :
18279 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18286 if test -s conftest.err; then
18287 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18288 cat conftest.err >&5
18290 rm -f conftest.err
18291 ac_save_CPPFLAGS=$CPPFLAGS
18292 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18294 printf %s "checking for -lnetapi... " >&6; }
18295 if test ${ac_cv_lib_soname_netapi+y}
18296 then :
18297 printf %s "(cached) " >&6
18298 else $as_nop
18299 ac_check_soname_save_LIBS=$LIBS
18300 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h. */
18304 /* Override any GCC internal prototype to avoid an error.
18305 Use char because int might match the return type of a GCC
18306 builtin and then its argument prototype would still apply. */
18307 char libnetapi_init ();
18309 main (void)
18311 return libnetapi_init ();
18313 return 0;
18315 _ACEOF
18316 if ac_fn_c_try_link "$LINENO"
18317 then :
18318 case "$LIBEXT" in
18319 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18320 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'` ;;
18321 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18322 if ${ac_cv_lib_soname_netapi:+false} :
18323 then :
18324 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18325 fi ;;
18326 esac
18327 else $as_nop
18328 ac_cv_lib_soname_netapi=
18330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18331 conftest$ac_exeext conftest.$ac_ext
18332 LIBS=$ac_check_soname_save_LIBS
18334 if ${ac_cv_lib_soname_netapi:+false} :
18335 then :
18336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18337 printf "%s\n" "not found" >&6; }
18338 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18340 else $as_nop
18341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18342 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18344 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18348 CPPFLAGS=$ac_save_CPPFLAGS
18351 if test "x$ac_cv_lib_soname_netapi" = "x"
18352 then :
18353 case "x$with_netapi" in
18354 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18355 xno) ;;
18356 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18357 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18358 esac
18359 enable_netapi=${enable_netapi:-no}
18363 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18364 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18365 then
18366 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18369 if test "x$with_vulkan" != "xno"
18370 then
18371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18372 printf %s "checking for -lvulkan... " >&6; }
18373 if test ${ac_cv_lib_soname_vulkan+y}
18374 then :
18375 printf %s "(cached) " >&6
18376 else $as_nop
18377 ac_check_soname_save_LIBS=$LIBS
18378 LIBS="-lvulkan $LIBS"
18379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18382 /* Override any GCC internal prototype to avoid an error.
18383 Use char because int might match the return type of a GCC
18384 builtin and then its argument prototype would still apply. */
18385 char vkGetInstanceProcAddr ();
18387 main (void)
18389 return vkGetInstanceProcAddr ();
18391 return 0;
18393 _ACEOF
18394 if ac_fn_c_try_link "$LINENO"
18395 then :
18396 case "$LIBEXT" in
18397 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18398 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'` ;;
18399 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18400 if ${ac_cv_lib_soname_vulkan:+false} :
18401 then :
18402 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18403 fi ;;
18404 esac
18405 else $as_nop
18406 ac_cv_lib_soname_vulkan=
18408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18409 conftest$ac_exeext conftest.$ac_ext
18410 LIBS=$ac_check_soname_save_LIBS
18412 if ${ac_cv_lib_soname_vulkan:+false} :
18413 then :
18414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18415 printf "%s\n" "not found" >&6; }
18417 else $as_nop
18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18419 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18421 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18425 if test "x$ac_cv_lib_soname_vulkan" = "x"
18426 then
18427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18428 printf %s "checking for -lMoltenVK... " >&6; }
18429 if test ${ac_cv_lib_soname_MoltenVK+y}
18430 then :
18431 printf %s "(cached) " >&6
18432 else $as_nop
18433 ac_check_soname_save_LIBS=$LIBS
18434 LIBS="-lMoltenVK $LIBS"
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18438 /* Override any GCC internal prototype to avoid an error.
18439 Use char because int might match the return type of a GCC
18440 builtin and then its argument prototype would still apply. */
18441 char vkGetInstanceProcAddr ();
18443 main (void)
18445 return vkGetInstanceProcAddr ();
18447 return 0;
18449 _ACEOF
18450 if ac_fn_c_try_link "$LINENO"
18451 then :
18452 case "$LIBEXT" in
18453 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18454 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'` ;;
18455 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18456 if ${ac_cv_lib_soname_MoltenVK:+false} :
18457 then :
18458 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18459 fi ;;
18460 esac
18461 else $as_nop
18462 ac_cv_lib_soname_MoltenVK=
18464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18465 conftest$ac_exeext conftest.$ac_ext
18466 LIBS=$ac_check_soname_save_LIBS
18468 if ${ac_cv_lib_soname_MoltenVK:+false} :
18469 then :
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18471 printf "%s\n" "not found" >&6; }
18473 else $as_nop
18474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18475 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18477 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18483 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18484 then :
18485 case "x$with_vulkan" in
18486 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18487 xno) ;;
18488 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18489 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18490 esac
18495 if test "x${GCC}" = "xyes"
18496 then
18497 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18499 saved_CFLAGS=$CFLAGS
18500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18501 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18502 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18503 then :
18504 printf %s "(cached) " >&6
18505 else $as_nop
18506 ac_wine_try_cflags_saved=$CFLAGS
18507 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18509 /* end confdefs.h. */
18510 int main(int argc, char **argv) { return 0; }
18511 _ACEOF
18512 if ac_fn_c_try_link "$LINENO"
18513 then :
18514 ac_cv_cflags__Werror_unknown_warning_option=yes
18515 else $as_nop
18516 ac_cv_cflags__Werror_unknown_warning_option=no
18518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18519 conftest$ac_exeext conftest.$ac_ext
18520 CFLAGS=$ac_wine_try_cflags_saved
18522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18523 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18524 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18525 then :
18526 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18529 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18530 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18531 then :
18532 printf %s "(cached) " >&6
18533 else $as_nop
18534 ac_wine_try_cflags_saved=$CFLAGS
18535 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18538 int main(int argc, char **argv) { return 0; }
18539 _ACEOF
18540 if ac_fn_c_try_link "$LINENO"
18541 then :
18542 ac_cv_cflags__Werror_unused_command_line_argument=yes
18543 else $as_nop
18544 ac_cv_cflags__Werror_unused_command_line_argument=no
18546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18547 conftest$ac_exeext conftest.$ac_ext
18548 CFLAGS=$ac_wine_try_cflags_saved
18550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18551 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18552 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18553 then :
18554 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18557 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18558 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18559 then :
18560 printf %s "(cached) " >&6
18561 else $as_nop
18562 ac_wine_try_cflags_saved=$CFLAGS
18563 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18565 /* end confdefs.h. */
18566 int main(int argc, char **argv) { return 0; }
18567 _ACEOF
18568 if ac_fn_c_try_link "$LINENO"
18569 then :
18570 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18571 else $as_nop
18572 ac_cv_cflags__Werror_ignored_optimization_argument=no
18574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18575 conftest$ac_exeext conftest.$ac_ext
18576 CFLAGS=$ac_wine_try_cflags_saved
18578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18579 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18580 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18581 then :
18582 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18585 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18586 if test ${ac_cv_cflags__fcf_protection_none+y}
18587 then :
18588 printf %s "(cached) " >&6
18589 else $as_nop
18590 ac_wine_try_cflags_saved=$CFLAGS
18591 CFLAGS="$CFLAGS -fcf-protection=none"
18592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18593 /* end confdefs.h. */
18594 int main(int argc, char **argv) { return 0; }
18595 _ACEOF
18596 if ac_fn_c_try_link "$LINENO"
18597 then :
18598 ac_cv_cflags__fcf_protection_none=yes
18599 else $as_nop
18600 ac_cv_cflags__fcf_protection_none=no
18602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18603 conftest$ac_exeext conftest.$ac_ext
18604 CFLAGS=$ac_wine_try_cflags_saved
18606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18607 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18608 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18609 then :
18610 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18613 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18614 if test ${ac_cv_cflags__fno_stack_protector+y}
18615 then :
18616 printf %s "(cached) " >&6
18617 else $as_nop
18618 ac_wine_try_cflags_saved=$CFLAGS
18619 CFLAGS="$CFLAGS -fno-stack-protector"
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18622 int main(int argc, char **argv) { return 0; }
18623 _ACEOF
18624 if ac_fn_c_try_link "$LINENO"
18625 then :
18626 ac_cv_cflags__fno_stack_protector=yes
18627 else $as_nop
18628 ac_cv_cflags__fno_stack_protector=no
18630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18631 conftest$ac_exeext conftest.$ac_ext
18632 CFLAGS=$ac_wine_try_cflags_saved
18634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18635 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18636 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18637 then :
18638 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18641 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18642 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18643 then :
18644 printf %s "(cached) " >&6
18645 else $as_nop
18646 ac_wine_try_cflags_saved=$CFLAGS
18647 CFLAGS="$CFLAGS -fno-strict-aliasing"
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 int main(int argc, char **argv) { return 0; }
18651 _ACEOF
18652 if ac_fn_c_try_link "$LINENO"
18653 then :
18654 ac_cv_cflags__fno_strict_aliasing=yes
18655 else $as_nop
18656 ac_cv_cflags__fno_strict_aliasing=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18659 conftest$ac_exeext conftest.$ac_ext
18660 CFLAGS=$ac_wine_try_cflags_saved
18662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18663 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18664 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18665 then :
18666 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18669 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18670 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18671 then :
18672 printf %s "(cached) " >&6
18673 else $as_nop
18674 ac_wine_try_cflags_saved=$CFLAGS
18675 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18677 /* end confdefs.h. */
18678 int main(int argc, char **argv) { return 0; }
18679 _ACEOF
18680 if ac_fn_c_try_link "$LINENO"
18681 then :
18682 ac_cv_cflags__Wdeclaration_after_statement=yes
18683 else $as_nop
18684 ac_cv_cflags__Wdeclaration_after_statement=no
18686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18687 conftest$ac_exeext conftest.$ac_ext
18688 CFLAGS=$ac_wine_try_cflags_saved
18690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18691 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18692 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18693 then :
18694 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18697 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18698 if test ${ac_cv_cflags__Wempty_body+y}
18699 then :
18700 printf %s "(cached) " >&6
18701 else $as_nop
18702 ac_wine_try_cflags_saved=$CFLAGS
18703 CFLAGS="$CFLAGS -Wempty-body"
18704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h. */
18706 int main(int argc, char **argv) { return 0; }
18707 _ACEOF
18708 if ac_fn_c_try_link "$LINENO"
18709 then :
18710 ac_cv_cflags__Wempty_body=yes
18711 else $as_nop
18712 ac_cv_cflags__Wempty_body=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18715 conftest$ac_exeext conftest.$ac_ext
18716 CFLAGS=$ac_wine_try_cflags_saved
18718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18719 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18720 if test "x$ac_cv_cflags__Wempty_body" = xyes
18721 then :
18722 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18725 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18726 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18727 then :
18728 printf %s "(cached) " >&6
18729 else $as_nop
18730 ac_wine_try_cflags_saved=$CFLAGS
18731 CFLAGS="$CFLAGS -Wignored-qualifiers"
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 int main(int argc, char **argv) { return 0; }
18735 _ACEOF
18736 if ac_fn_c_try_link "$LINENO"
18737 then :
18738 ac_cv_cflags__Wignored_qualifiers=yes
18739 else $as_nop
18740 ac_cv_cflags__Wignored_qualifiers=no
18742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18743 conftest$ac_exeext conftest.$ac_ext
18744 CFLAGS=$ac_wine_try_cflags_saved
18746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18747 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18748 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18749 then :
18750 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18753 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18754 if test ${ac_cv_cflags__Winit_self+y}
18755 then :
18756 printf %s "(cached) " >&6
18757 else $as_nop
18758 ac_wine_try_cflags_saved=$CFLAGS
18759 CFLAGS="$CFLAGS -Winit-self"
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18762 int main(int argc, char **argv) { return 0; }
18763 _ACEOF
18764 if ac_fn_c_try_link "$LINENO"
18765 then :
18766 ac_cv_cflags__Winit_self=yes
18767 else $as_nop
18768 ac_cv_cflags__Winit_self=no
18770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18771 conftest$ac_exeext conftest.$ac_ext
18772 CFLAGS=$ac_wine_try_cflags_saved
18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18775 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18776 if test "x$ac_cv_cflags__Winit_self" = xyes
18777 then :
18778 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18781 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18782 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18783 then :
18784 printf %s "(cached) " >&6
18785 else $as_nop
18786 ac_wine_try_cflags_saved=$CFLAGS
18787 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18790 int main(int argc, char **argv) { return 0; }
18791 _ACEOF
18792 if ac_fn_c_try_link "$LINENO"
18793 then :
18794 ac_cv_cflags__Wpacked_not_aligned=yes
18795 else $as_nop
18796 ac_cv_cflags__Wpacked_not_aligned=no
18798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18799 conftest$ac_exeext conftest.$ac_ext
18800 CFLAGS=$ac_wine_try_cflags_saved
18802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18803 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18804 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18805 then :
18806 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18809 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18810 if test ${ac_cv_cflags__Wpragma_pack+y}
18811 then :
18812 printf %s "(cached) " >&6
18813 else $as_nop
18814 ac_wine_try_cflags_saved=$CFLAGS
18815 CFLAGS="$CFLAGS -Wpragma-pack"
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18818 int main(int argc, char **argv) { return 0; }
18819 _ACEOF
18820 if ac_fn_c_try_link "$LINENO"
18821 then :
18822 ac_cv_cflags__Wpragma_pack=yes
18823 else $as_nop
18824 ac_cv_cflags__Wpragma_pack=no
18826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18827 conftest$ac_exeext conftest.$ac_ext
18828 CFLAGS=$ac_wine_try_cflags_saved
18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18831 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18832 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18833 then :
18834 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18837 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18838 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18839 then :
18840 printf %s "(cached) " >&6
18841 else $as_nop
18842 ac_wine_try_cflags_saved=$CFLAGS
18843 CFLAGS="$CFLAGS -Wshift-overflow=2"
18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h. */
18846 int main(int argc, char **argv) { return 0; }
18847 _ACEOF
18848 if ac_fn_c_try_link "$LINENO"
18849 then :
18850 ac_cv_cflags__Wshift_overflow_2=yes
18851 else $as_nop
18852 ac_cv_cflags__Wshift_overflow_2=no
18854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18855 conftest$ac_exeext conftest.$ac_ext
18856 CFLAGS=$ac_wine_try_cflags_saved
18858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18859 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18860 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18861 then :
18862 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18865 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18866 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18867 then :
18868 printf %s "(cached) " >&6
18869 else $as_nop
18870 ac_wine_try_cflags_saved=$CFLAGS
18871 CFLAGS="$CFLAGS -Wstrict-prototypes"
18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18874 int main(int argc, char **argv) { return 0; }
18875 _ACEOF
18876 if ac_fn_c_try_link "$LINENO"
18877 then :
18878 ac_cv_cflags__Wstrict_prototypes=yes
18879 else $as_nop
18880 ac_cv_cflags__Wstrict_prototypes=no
18882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18883 conftest$ac_exeext conftest.$ac_ext
18884 CFLAGS=$ac_wine_try_cflags_saved
18886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18887 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18888 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18889 then :
18890 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18893 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18894 if test ${ac_cv_cflags__Wtype_limits+y}
18895 then :
18896 printf %s "(cached) " >&6
18897 else $as_nop
18898 ac_wine_try_cflags_saved=$CFLAGS
18899 CFLAGS="$CFLAGS -Wtype-limits"
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 int main(int argc, char **argv) { return 0; }
18903 _ACEOF
18904 if ac_fn_c_try_link "$LINENO"
18905 then :
18906 ac_cv_cflags__Wtype_limits=yes
18907 else $as_nop
18908 ac_cv_cflags__Wtype_limits=no
18910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18911 conftest$ac_exeext conftest.$ac_ext
18912 CFLAGS=$ac_wine_try_cflags_saved
18914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18915 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18916 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18917 then :
18918 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18921 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18922 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18923 then :
18924 printf %s "(cached) " >&6
18925 else $as_nop
18926 ac_wine_try_cflags_saved=$CFLAGS
18927 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18930 int main(int argc, char **argv) { return 0; }
18931 _ACEOF
18932 if ac_fn_c_try_link "$LINENO"
18933 then :
18934 ac_cv_cflags__Wunused_but_set_parameter=yes
18935 else $as_nop
18936 ac_cv_cflags__Wunused_but_set_parameter=no
18938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18939 conftest$ac_exeext conftest.$ac_ext
18940 CFLAGS=$ac_wine_try_cflags_saved
18942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18943 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18944 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18945 then :
18946 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18949 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18950 if test ${ac_cv_cflags__Wvla+y}
18951 then :
18952 printf %s "(cached) " >&6
18953 else $as_nop
18954 ac_wine_try_cflags_saved=$CFLAGS
18955 CFLAGS="$CFLAGS -Wvla"
18956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18957 /* end confdefs.h. */
18958 int main(int argc, char **argv) { return 0; }
18959 _ACEOF
18960 if ac_fn_c_try_link "$LINENO"
18961 then :
18962 ac_cv_cflags__Wvla=yes
18963 else $as_nop
18964 ac_cv_cflags__Wvla=no
18966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18967 conftest$ac_exeext conftest.$ac_ext
18968 CFLAGS=$ac_wine_try_cflags_saved
18970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18971 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18972 if test "x$ac_cv_cflags__Wvla" = xyes
18973 then :
18974 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18977 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18978 if test ${ac_cv_cflags__Wwrite_strings+y}
18979 then :
18980 printf %s "(cached) " >&6
18981 else $as_nop
18982 ac_wine_try_cflags_saved=$CFLAGS
18983 CFLAGS="$CFLAGS -Wwrite-strings"
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 int main(int argc, char **argv) { return 0; }
18987 _ACEOF
18988 if ac_fn_c_try_link "$LINENO"
18989 then :
18990 ac_cv_cflags__Wwrite_strings=yes
18991 else $as_nop
18992 ac_cv_cflags__Wwrite_strings=no
18994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18995 conftest$ac_exeext conftest.$ac_ext
18996 CFLAGS=$ac_wine_try_cflags_saved
18998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18999 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19000 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19001 then :
19002 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19006 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19007 if test ${ac_cv_cflags__Wpointer_arith+y}
19008 then :
19009 printf %s "(cached) " >&6
19010 else $as_nop
19011 ac_wine_try_cflags_saved=$CFLAGS
19012 CFLAGS="$CFLAGS -Wpointer-arith"
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 int main(int argc, char **argv) { return 0; }
19016 _ACEOF
19017 if ac_fn_c_try_link "$LINENO"
19018 then :
19019 ac_cv_cflags__Wpointer_arith=yes
19020 else $as_nop
19021 ac_cv_cflags__Wpointer_arith=no
19023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19024 conftest$ac_exeext conftest.$ac_ext
19025 CFLAGS=$ac_wine_try_cflags_saved
19027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19028 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19029 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19030 then :
19031 saved_string_h_CFLAGS=$CFLAGS
19032 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19034 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19035 if test ${ac_cv_c_string_h_warnings+y}
19036 then :
19037 printf %s "(cached) " >&6
19038 else $as_nop
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <string.h>
19043 main (void)
19047 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_compile "$LINENO"
19051 then :
19052 ac_cv_c_string_h_warnings=no
19053 else $as_nop
19054 ac_cv_c_string_h_warnings=yes
19056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19059 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19060 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19061 CFLAGS=$saved_string_h_CFLAGS
19064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19065 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19066 if test ${ac_cv_cflags__Wlogical_op+y}
19067 then :
19068 printf %s "(cached) " >&6
19069 else $as_nop
19070 ac_wine_try_cflags_saved=$CFLAGS
19071 CFLAGS="$CFLAGS -Wlogical-op"
19072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19073 /* end confdefs.h. */
19074 int main(int argc, char **argv) { return 0; }
19075 _ACEOF
19076 if ac_fn_c_try_link "$LINENO"
19077 then :
19078 ac_cv_cflags__Wlogical_op=yes
19079 else $as_nop
19080 ac_cv_cflags__Wlogical_op=no
19082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19083 conftest$ac_exeext conftest.$ac_ext
19084 CFLAGS=$ac_wine_try_cflags_saved
19086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19087 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19088 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19089 then :
19090 saved_string_h_CFLAGS=$CFLAGS
19091 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19093 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19094 if test ${ac_cv_c_logicalop_noisy+y}
19095 then :
19096 printf %s "(cached) " >&6
19097 else $as_nop
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 #include <string.h>
19101 char*f(const char *h,char n) {return strchr(h,n);}
19103 main (void)
19107 return 0;
19109 _ACEOF
19110 if ac_fn_c_try_compile "$LINENO"
19111 then :
19112 ac_cv_c_logicalop_noisy=no
19113 else $as_nop
19114 ac_cv_c_logicalop_noisy=yes
19116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19119 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19120 CFLAGS=$saved_string_h_CFLAGS
19121 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19125 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19126 if test ${wine_cv_64bit_compare_swap+y}
19127 then :
19128 printf %s "(cached) " >&6
19129 else $as_nop
19130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h. */
19132 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19133 #error no
19134 #endif
19136 main (void)
19140 return 0;
19142 _ACEOF
19143 if ac_fn_c_try_compile "$LINENO"
19144 then :
19145 wine_cv_64bit_compare_swap="none needed"
19146 else $as_nop
19147 case $host_cpu in
19148 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19149 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19150 *) wine_cv_64bit_compare_swap="unknown" ;;
19151 esac
19152 if test "x$wine_cv_64bit_compare_swap" != xunknown
19153 then
19154 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19156 /* end confdefs.h. */
19157 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19158 #error no
19159 #endif
19161 main (void)
19165 return 0;
19167 _ACEOF
19168 if ac_fn_c_try_compile "$LINENO"
19169 then :
19171 else $as_nop
19172 wine_cv_64bit_compare_swap="unknown"
19174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19175 CFLAGS=$saved_CFLAGS
19178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19181 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19182 case "$wine_cv_64bit_compare_swap" in
19183 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19184 "none needed") ;;
19185 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19186 esac
19188 ac_debug_format_seen=""
19189 for ac_flag in $CFLAGS; do
19190 case $ac_flag in
19191 -gdwarf*) ac_debug_format_seen=yes ;;
19192 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19193 esac
19194 done
19195 if test "x$ac_debug_format_seen" = xdefault
19196 then
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19198 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19199 if test ${ac_cv_cflags__gdwarf_4+y}
19200 then :
19201 printf %s "(cached) " >&6
19202 else $as_nop
19203 ac_wine_try_cflags_saved=$CFLAGS
19204 CFLAGS="$CFLAGS -gdwarf-4"
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 int main(int argc, char **argv) { return 0; }
19208 _ACEOF
19209 if ac_fn_c_try_link "$LINENO"
19210 then :
19211 ac_cv_cflags__gdwarf_4=yes
19212 else $as_nop
19213 ac_cv_cflags__gdwarf_4=no
19215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19216 conftest$ac_exeext conftest.$ac_ext
19217 CFLAGS=$ac_wine_try_cflags_saved
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19220 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19221 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19222 then :
19223 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19227 MSVCRTFLAGS=""
19229 case $host_os in
19230 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19231 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19232 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19233 then :
19234 printf %s "(cached) " >&6
19235 else $as_nop
19236 ac_wine_try_cflags_saved=$CFLAGS
19237 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 int main(int argc, char **argv) { return 0; }
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"
19243 then :
19244 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19245 else $as_nop
19246 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19249 conftest$ac_exeext conftest.$ac_ext
19250 CFLAGS=$ac_wine_try_cflags_saved
19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19253 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19254 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19255 then :
19256 DELAYLOADFLAG="-Wl,-delayload,"
19258 fi ;;
19259 *) MSVCRTFLAGS="-D_WIN32"
19260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19261 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19262 if test ${ac_cv_cflags__fno_builtin+y}
19263 then :
19264 printf %s "(cached) " >&6
19265 else $as_nop
19266 ac_wine_try_cflags_saved=$CFLAGS
19267 CFLAGS="$CFLAGS -fno-builtin"
19268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19269 /* end confdefs.h. */
19270 int main(int argc, char **argv) { return 0; }
19271 _ACEOF
19272 if ac_fn_c_try_link "$LINENO"
19273 then :
19274 ac_cv_cflags__fno_builtin=yes
19275 else $as_nop
19276 ac_cv_cflags__fno_builtin=no
19278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19279 conftest$ac_exeext conftest.$ac_ext
19280 CFLAGS=$ac_wine_try_cflags_saved
19282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19283 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19284 if test "x$ac_cv_cflags__fno_builtin" = xyes
19285 then :
19286 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19289 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19290 if test ${ac_cv_cflags__fshort_wchar+y}
19291 then :
19292 printf %s "(cached) " >&6
19293 else $as_nop
19294 ac_wine_try_cflags_saved=$CFLAGS
19295 CFLAGS="$CFLAGS -fshort-wchar"
19296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19298 int main(int argc, char **argv) { return 0; }
19299 _ACEOF
19300 if ac_fn_c_try_link "$LINENO"
19301 then :
19302 ac_cv_cflags__fshort_wchar=yes
19303 else $as_nop
19304 ac_cv_cflags__fshort_wchar=no
19306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19307 conftest$ac_exeext conftest.$ac_ext
19308 CFLAGS=$ac_wine_try_cflags_saved
19310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19311 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19312 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19313 then :
19314 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19317 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19318 if test ${ac_cv_cflags__fvisibility_hidden+y}
19319 then :
19320 printf %s "(cached) " >&6
19321 else $as_nop
19322 ac_wine_try_cflags_saved=$CFLAGS
19323 CFLAGS="$CFLAGS -fvisibility=hidden"
19324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h. */
19326 int main(int argc, char **argv) { return 0; }
19327 _ACEOF
19328 if ac_fn_c_try_link "$LINENO"
19329 then :
19330 ac_cv_cflags__fvisibility_hidden=yes
19331 else $as_nop
19332 ac_cv_cflags__fvisibility_hidden=no
19334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19335 conftest$ac_exeext conftest.$ac_ext
19336 CFLAGS=$ac_wine_try_cflags_saved
19338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19339 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19340 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19341 then :
19342 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19345 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19346 if test ${ac_cv_cflags__Wno_format+y}
19347 then :
19348 printf %s "(cached) " >&6
19349 else $as_nop
19350 ac_wine_try_cflags_saved=$CFLAGS
19351 CFLAGS="$CFLAGS -Wno-format"
19352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19354 int main(int argc, char **argv) { return 0; }
19355 _ACEOF
19356 if ac_fn_c_try_link "$LINENO"
19357 then :
19358 ac_cv_cflags__Wno_format=yes
19359 else $as_nop
19360 ac_cv_cflags__Wno_format=no
19362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19363 conftest$ac_exeext conftest.$ac_ext
19364 CFLAGS=$ac_wine_try_cflags_saved
19366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19367 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19368 if test "x$ac_cv_cflags__Wno_format" = xyes
19369 then :
19370 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19371 fi ;;
19372 esac
19374 case $host_cpu in
19375 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19376 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19377 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19378 then :
19379 printf %s "(cached) " >&6
19380 else $as_nop
19381 ac_wine_try_cflags_saved=$CFLAGS
19382 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19385 int main(int argc, char **argv) { return 0; }
19386 _ACEOF
19387 if ac_fn_c_try_link "$LINENO"
19388 then :
19389 ac_cv_cflags__fno_omit_frame_pointer=yes
19390 else $as_nop
19391 ac_cv_cflags__fno_omit_frame_pointer=no
19393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19394 conftest$ac_exeext conftest.$ac_ext
19395 CFLAGS=$ac_wine_try_cflags_saved
19397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19398 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19399 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19400 then :
19401 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19402 fi ;;
19403 *x86_64*)
19404 case $host_os in
19405 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19406 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19407 if test ${ac_cv_cflags__Wno_format+y}
19408 then :
19409 printf %s "(cached) " >&6
19410 else $as_nop
19411 ac_wine_try_cflags_saved=$CFLAGS
19412 CFLAGS="$CFLAGS -Wno-format"
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 int main(int argc, char **argv) { return 0; }
19416 _ACEOF
19417 if ac_fn_c_try_link "$LINENO"
19418 then :
19419 ac_cv_cflags__Wno_format=yes
19420 else $as_nop
19421 ac_cv_cflags__Wno_format=no
19423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19424 conftest$ac_exeext conftest.$ac_ext
19425 CFLAGS=$ac_wine_try_cflags_saved
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19428 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19429 if test "x$ac_cv_cflags__Wno_format" = xyes
19430 then :
19431 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19432 fi ;;
19433 *) if test -z "$PE_ARCHS"
19434 then
19435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19436 printf %s "checking for working -mabi=ms... " >&6; }
19437 if test ${ac_cv_mabi_ms+y}
19438 then :
19439 printf %s "(cached) " >&6
19440 else $as_nop
19441 CFLAGS="$CFLAGS -mabi=ms"
19442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19444 #include <stdarg.h>
19445 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19447 main (void)
19451 return 0;
19453 _ACEOF
19454 if ac_fn_c_try_compile "$LINENO"
19455 then :
19456 ac_cv_mabi_ms=yes
19457 else $as_nop
19458 ac_cv_mabi_ms=no
19460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19461 CFLAGS=$saved_CFLAGS
19463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19464 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19465 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
19467 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19468 esac ;;
19469 arm*)
19470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19471 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19472 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19473 then :
19474 printf %s "(cached) " >&6
19475 else $as_nop
19476 ac_wine_try_cflags_saved=$CFLAGS
19477 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19480 int main(int argc, char **argv) { return 0; }
19481 _ACEOF
19482 if ac_fn_c_try_link "$LINENO"
19483 then :
19484 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19485 else $as_nop
19486 ac_cv_cflags__Wincompatible_function_pointer_types=no
19488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19489 conftest$ac_exeext conftest.$ac_ext
19490 CFLAGS=$ac_wine_try_cflags_saved
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19493 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19494 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19495 then :
19496 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19497 fi ;;
19498 esac
19500 CFLAGS=$saved_CFLAGS
19502 if test "x$enable_werror" = "xyes"
19503 then
19504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19505 printf %s "checking whether the compiler supports -Werror... " >&6; }
19506 if test ${ac_cv_cflags__Werror+y}
19507 then :
19508 printf %s "(cached) " >&6
19509 else $as_nop
19510 ac_wine_try_cflags_saved=$CFLAGS
19511 CFLAGS="$CFLAGS -Werror"
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19514 int main(int argc, char **argv) { return 0; }
19515 _ACEOF
19516 if ac_fn_c_try_link "$LINENO"
19517 then :
19518 ac_cv_cflags__Werror=yes
19519 else $as_nop
19520 ac_cv_cflags__Werror=no
19522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19523 conftest$ac_exeext conftest.$ac_ext
19524 CFLAGS=$ac_wine_try_cflags_saved
19526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19527 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19528 if test "x$ac_cv_cflags__Werror" = xyes
19529 then :
19530 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19533 if test "x$enable_build_id" = "xyes"
19534 then
19535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19536 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19537 if test ${ac_cv_cflags__Wl___build_id+y}
19538 then :
19539 printf %s "(cached) " >&6
19540 else $as_nop
19541 ac_wine_try_cflags_saved=$CFLAGS
19542 CFLAGS="$CFLAGS -Wl,--build-id"
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 int main(int argc, char **argv) { return 0; }
19546 _ACEOF
19547 if ac_fn_c_try_link "$LINENO"
19548 then :
19549 ac_cv_cflags__Wl___build_id=yes
19550 else $as_nop
19551 ac_cv_cflags__Wl___build_id=no
19553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19554 conftest$ac_exeext conftest.$ac_ext
19555 CFLAGS=$ac_wine_try_cflags_saved
19557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19558 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19559 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19560 then :
19561 CFLAGS="$CFLAGS -Wl,--build-id"
19562 LDFLAGS="$LDFLAGS -Wl,--build-id"
19568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19569 printf %s "checking for the need to disable Fortify... " >&6; }
19570 if test ${ac_cv_c_fortify_enabled+y}
19571 then :
19572 printf %s "(cached) " >&6
19573 else $as_nop
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 #include <string.h>
19578 main (void)
19580 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19581 #error Fortify enabled
19582 #endif
19584 return 0;
19586 _ACEOF
19587 if ac_fn_c_try_compile "$LINENO"
19588 then :
19589 ac_cv_c_fortify_enabled=no
19590 else $as_nop
19591 ac_cv_c_fortify_enabled=yes
19593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19596 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19597 if test "$ac_cv_c_fortify_enabled" = yes
19598 then
19599 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19604 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19605 if test ${ac_cv_c_cfi_support+y}
19606 then :
19607 printf %s "(cached) " >&6
19608 else $as_nop
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19611 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19613 main (void)
19617 return 0;
19619 _ACEOF
19620 if ac_fn_c_try_compile "$LINENO"
19621 then :
19622 ac_cv_c_cfi_support="yes"
19623 else $as_nop
19624 ac_cv_c_cfi_support="no"
19626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19629 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19630 if test "$ac_cv_c_cfi_support" = "yes"
19631 then
19632 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19633 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19634 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19635 elif test $HOST_ARCH = x86_64
19636 then
19637 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19641 case "$HOST_ARCH,$PE_ARCHS" in
19642 x86_64,*i386*) wine_binary="wine" ;;
19643 x86_64,*) wine_binary="wine64" ;;
19644 *) wine_binary="wine" ;;
19645 esac
19646 WINELOADER_PROGRAMS="$wine_binary"
19649 case $host_os in
19650 linux*)
19651 case $host_cpu in
19652 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19653 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19654 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19656 esac
19658 darwin*|macosx*)
19659 if test "$wine_can_build_preloader" = "yes"
19660 then
19661 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19662 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19665 esac
19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19669 printf %s "checking for library containing dlopen... " >&6; }
19670 if test ${ac_cv_search_dlopen+y}
19671 then :
19672 printf %s "(cached) " >&6
19673 else $as_nop
19674 ac_func_search_save_LIBS=$LIBS
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19678 /* Override any GCC internal prototype to avoid an error.
19679 Use char because int might match the return type of a GCC
19680 builtin and then its argument prototype would still apply. */
19681 char dlopen ();
19683 main (void)
19685 return dlopen ();
19687 return 0;
19689 _ACEOF
19690 for ac_lib in '' dl
19692 if test -z "$ac_lib"; then
19693 ac_res="none required"
19694 else
19695 ac_res=-l$ac_lib
19696 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19698 if ac_fn_c_try_link "$LINENO"
19699 then :
19700 ac_cv_search_dlopen=$ac_res
19702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19703 conftest$ac_exeext
19704 if test ${ac_cv_search_dlopen+y}
19705 then :
19706 break
19708 done
19709 if test ${ac_cv_search_dlopen+y}
19710 then :
19712 else $as_nop
19713 ac_cv_search_dlopen=no
19715 rm conftest.$ac_ext
19716 LIBS=$ac_func_search_save_LIBS
19718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19719 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19720 ac_res=$ac_cv_search_dlopen
19721 if test "$ac_res" != no
19722 then :
19723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19729 printf %s "checking for library containing gethostbyname... " >&6; }
19730 if test ${ac_cv_search_gethostbyname+y}
19731 then :
19732 printf %s "(cached) " >&6
19733 else $as_nop
19734 ac_func_search_save_LIBS=$LIBS
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19738 /* Override any GCC internal prototype to avoid an error.
19739 Use char because int might match the return type of a GCC
19740 builtin and then its argument prototype would still apply. */
19741 char gethostbyname ();
19743 main (void)
19745 return gethostbyname ();
19747 return 0;
19749 _ACEOF
19750 for ac_lib in '' nsl
19752 if test -z "$ac_lib"; then
19753 ac_res="none required"
19754 else
19755 ac_res=-l$ac_lib
19756 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19758 if ac_fn_c_try_link "$LINENO"
19759 then :
19760 ac_cv_search_gethostbyname=$ac_res
19762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19763 conftest$ac_exeext
19764 if test ${ac_cv_search_gethostbyname+y}
19765 then :
19766 break
19768 done
19769 if test ${ac_cv_search_gethostbyname+y}
19770 then :
19772 else $as_nop
19773 ac_cv_search_gethostbyname=no
19775 rm conftest.$ac_ext
19776 LIBS=$ac_func_search_save_LIBS
19778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19779 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19780 ac_res=$ac_cv_search_gethostbyname
19781 if test "$ac_res" != no
19782 then :
19783 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19789 printf %s "checking for library containing connect... " >&6; }
19790 if test ${ac_cv_search_connect+y}
19791 then :
19792 printf %s "(cached) " >&6
19793 else $as_nop
19794 ac_func_search_save_LIBS=$LIBS
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19798 /* Override any GCC internal prototype to avoid an error.
19799 Use char because int might match the return type of a GCC
19800 builtin and then its argument prototype would still apply. */
19801 char connect ();
19803 main (void)
19805 return connect ();
19807 return 0;
19809 _ACEOF
19810 for ac_lib in '' socket
19812 if test -z "$ac_lib"; then
19813 ac_res="none required"
19814 else
19815 ac_res=-l$ac_lib
19816 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19818 if ac_fn_c_try_link "$LINENO"
19819 then :
19820 ac_cv_search_connect=$ac_res
19822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19823 conftest$ac_exeext
19824 if test ${ac_cv_search_connect+y}
19825 then :
19826 break
19828 done
19829 if test ${ac_cv_search_connect+y}
19830 then :
19832 else $as_nop
19833 ac_cv_search_connect=no
19835 rm conftest.$ac_ext
19836 LIBS=$ac_func_search_save_LIBS
19838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19839 printf "%s\n" "$ac_cv_search_connect" >&6; }
19840 ac_res=$ac_cv_search_connect
19841 if test "$ac_res" != no
19842 then :
19843 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19849 printf %s "checking for library containing inet_aton... " >&6; }
19850 if test ${ac_cv_search_inet_aton+y}
19851 then :
19852 printf %s "(cached) " >&6
19853 else $as_nop
19854 ac_func_search_save_LIBS=$LIBS
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 /* Override any GCC internal prototype to avoid an error.
19859 Use char because int might match the return type of a GCC
19860 builtin and then its argument prototype would still apply. */
19861 char inet_aton ();
19863 main (void)
19865 return inet_aton ();
19867 return 0;
19869 _ACEOF
19870 for ac_lib in '' resolv
19872 if test -z "$ac_lib"; then
19873 ac_res="none required"
19874 else
19875 ac_res=-l$ac_lib
19876 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19878 if ac_fn_c_try_link "$LINENO"
19879 then :
19880 ac_cv_search_inet_aton=$ac_res
19882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19883 conftest$ac_exeext
19884 if test ${ac_cv_search_inet_aton+y}
19885 then :
19886 break
19888 done
19889 if test ${ac_cv_search_inet_aton+y}
19890 then :
19892 else $as_nop
19893 ac_cv_search_inet_aton=no
19895 rm conftest.$ac_ext
19896 LIBS=$ac_func_search_save_LIBS
19898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19899 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19900 ac_res=$ac_cv_search_inet_aton
19901 if test "$ac_res" != no
19902 then :
19903 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19908 ac_save_CFLAGS="$CFLAGS"
19909 CFLAGS="$CFLAGS $BUILTINFLAG"
19910 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19911 if test "x$ac_cv_func_dladdr1" = xyes
19912 then :
19913 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19916 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19917 if test "x$ac_cv_func_dlinfo" = xyes
19918 then :
19919 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19922 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19923 if test "x$ac_cv_func_epoll_create" = xyes
19924 then :
19925 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19928 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19929 if test "x$ac_cv_func_fstatfs" = xyes
19930 then :
19931 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19934 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19935 if test "x$ac_cv_func_futimens" = xyes
19936 then :
19937 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19940 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19941 if test "x$ac_cv_func_futimes" = xyes
19942 then :
19943 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19946 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19947 if test "x$ac_cv_func_futimesat" = xyes
19948 then :
19949 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19952 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19953 if test "x$ac_cv_func_getaddrinfo" = xyes
19954 then :
19955 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19958 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19959 if test "x$ac_cv_func_getattrlist" = xyes
19960 then :
19961 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19964 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19965 if test "x$ac_cv_func_getauxval" = xyes
19966 then :
19967 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19970 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19971 if test "x$ac_cv_func_getifaddrs" = xyes
19972 then :
19973 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19976 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19977 if test "x$ac_cv_func_getrandom" = xyes
19978 then :
19979 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19982 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19983 if test "x$ac_cv_func_kqueue" = xyes
19984 then :
19985 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19988 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19989 if test "x$ac_cv_func_mach_continuous_time" = xyes
19990 then :
19991 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19994 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19995 if test "x$ac_cv_func_pipe2" = xyes
19996 then :
19997 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20000 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20001 if test "x$ac_cv_func_port_create" = xyes
20002 then :
20003 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20006 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20007 if test "x$ac_cv_func_posix_fadvise" = xyes
20008 then :
20009 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20012 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20013 if test "x$ac_cv_func_posix_fallocate" = xyes
20014 then :
20015 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20018 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20019 if test "x$ac_cv_func_prctl" = xyes
20020 then :
20021 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20024 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20025 if test "x$ac_cv_func_proc_pidinfo" = xyes
20026 then :
20027 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20030 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20031 if test "x$ac_cv_func_sched_yield" = xyes
20032 then :
20033 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20036 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20037 if test "x$ac_cv_func_setproctitle" = xyes
20038 then :
20039 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20042 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20043 if test "x$ac_cv_func_setprogname" = xyes
20044 then :
20045 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20048 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20049 if test "x$ac_cv_func_sigprocmask" = xyes
20050 then :
20051 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20054 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20055 if test "x$ac_cv_func_sysinfo" = xyes
20056 then :
20057 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20060 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20061 if test "x$ac_cv_func_tcdrain" = xyes
20062 then :
20063 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20066 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20067 if test "x$ac_cv_func_thr_kill2" = xyes
20068 then :
20069 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20073 CFLAGS="$ac_save_CFLAGS"
20075 case $host_os in
20076 darwin*|macosx*) ;;
20077 *) ac_save_LIBS=$LIBS
20078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20079 printf %s "checking for library containing clock_gettime... " >&6; }
20080 if test ${ac_cv_search_clock_gettime+y}
20081 then :
20082 printf %s "(cached) " >&6
20083 else $as_nop
20084 ac_func_search_save_LIBS=$LIBS
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20088 /* Override any GCC internal prototype to avoid an error.
20089 Use char because int might match the return type of a GCC
20090 builtin and then its argument prototype would still apply. */
20091 char clock_gettime ();
20093 main (void)
20095 return clock_gettime ();
20097 return 0;
20099 _ACEOF
20100 for ac_lib in '' rt
20102 if test -z "$ac_lib"; then
20103 ac_res="none required"
20104 else
20105 ac_res=-l$ac_lib
20106 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20108 if ac_fn_c_try_link "$LINENO"
20109 then :
20110 ac_cv_search_clock_gettime=$ac_res
20112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20113 conftest$ac_exeext
20114 if test ${ac_cv_search_clock_gettime+y}
20115 then :
20116 break
20118 done
20119 if test ${ac_cv_search_clock_gettime+y}
20120 then :
20122 else $as_nop
20123 ac_cv_search_clock_gettime=no
20125 rm conftest.$ac_ext
20126 LIBS=$ac_func_search_save_LIBS
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20129 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20130 ac_res=$ac_cv_search_clock_gettime
20131 if test "$ac_res" != no
20132 then :
20133 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20135 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20137 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20141 LIBS=$ac_save_LIBS
20143 esac
20145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20146 printf %s "checking for sched_setaffinity... " >&6; }
20147 if test ${wine_cv_have_sched_setaffinity+y}
20148 then :
20149 printf %s "(cached) " >&6
20150 else $as_nop
20151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20152 /* end confdefs.h. */
20153 #include <sched.h>
20155 main (void)
20157 sched_setaffinity(0, 0, 0);
20159 return 0;
20161 _ACEOF
20162 if ac_fn_c_try_link "$LINENO"
20163 then :
20164 wine_cv_have_sched_setaffinity=yes
20165 else $as_nop
20166 wine_cv_have_sched_setaffinity=no
20168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20169 conftest$ac_exeext conftest.$ac_ext
20171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20172 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20173 if test "$wine_cv_have_sched_setaffinity" = "yes"
20174 then
20176 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20182 printf %s "checking for inline... " >&6; }
20183 if test ${ac_cv_c_inline+y}
20184 then :
20185 printf %s "(cached) " >&6
20186 else $as_nop
20187 ac_cv_c_inline=no
20188 for ac_kw in inline __inline__ __inline; do
20189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h. */
20191 #ifndef __cplusplus
20192 typedef int foo_t;
20193 static $ac_kw foo_t static_foo (void) {return 0; }
20194 $ac_kw foo_t foo (void) {return 0; }
20195 #endif
20197 _ACEOF
20198 if ac_fn_c_try_compile "$LINENO"
20199 then :
20200 ac_cv_c_inline=$ac_kw
20202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20203 test "$ac_cv_c_inline" != no && break
20204 done
20207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20208 printf "%s\n" "$ac_cv_c_inline" >&6; }
20210 case $ac_cv_c_inline in
20211 inline | yes) ;;
20213 case $ac_cv_c_inline in
20214 no) ac_val=;;
20215 *) ac_val=$ac_cv_c_inline;;
20216 esac
20217 cat >>confdefs.h <<_ACEOF
20218 #ifndef __cplusplus
20219 #define inline $ac_val
20220 #endif
20221 _ACEOF
20223 esac
20225 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20227 if test "x$ac_cv_type_request_sense" = xyes
20228 then :
20230 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20236 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20237 #include <sys/socket.h>
20238 #ifdef HAVE_SYS_SOCKETVAR_H
20239 #include <sys/socketvar.h>
20240 #endif
20241 #ifdef HAVE_NET_ROUTE_H
20242 #include <net/route.h>
20243 #endif
20244 #ifdef HAVE_NETINET_IN_H
20245 #include <netinet/in.h>
20246 #endif
20247 #ifdef HAVE_NETINET_IN_SYSTM_H
20248 #include <netinet/in_systm.h>
20249 #endif
20250 #ifdef HAVE_NETINET_IP_H
20251 #include <netinet/ip.h>
20252 #endif
20253 #ifdef HAVE_NETINET_IN_PCB_H
20254 #include <netinet/in_pcb.h>
20255 #endif
20257 if test "x$ac_cv_type_struct_xinpgen" = xyes
20258 then :
20260 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20267 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20268 if test ${wine_cv_linux_gethostbyname_r_6+y}
20269 then :
20270 printf %s "(cached) " >&6
20271 else $as_nop
20272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20273 /* end confdefs.h. */
20274 #include <netdb.h>
20276 main (void)
20279 char *name=0;
20280 struct hostent he;
20281 struct hostent *result;
20282 char *buf=0;
20283 int bufsize=0;
20284 int errnr;
20285 char *addr=0;
20286 int addrlen=0;
20287 int addrtype=0;
20288 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20289 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20292 return 0;
20294 _ACEOF
20295 if ac_fn_c_try_link "$LINENO"
20296 then :
20297 wine_cv_linux_gethostbyname_r_6=yes
20298 else $as_nop
20299 wine_cv_linux_gethostbyname_r_6=no
20302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20303 conftest$ac_exeext conftest.$ac_ext
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20307 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20308 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20309 then
20311 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20315 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20316 #include <sys/socket.h>
20317 #ifdef HAVE_SYS_UN_H
20318 # include <sys/un.h>
20319 #endif
20321 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20328 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20329 #include <sys/socket.h>
20330 #ifdef HAVE_SYS_UN_H
20331 # include <sys/un.h>
20332 #endif
20334 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20335 then :
20337 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20343 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20344 #ifdef HAVE_SCSI_SG_H
20345 #include <scsi/sg.h>
20346 #endif
20348 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20349 then :
20351 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20355 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>
20356 #ifdef HAVE_SCSI_SG_H
20357 #include <scsi/sg.h>
20358 #endif
20360 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20361 then :
20363 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20371 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20372 then :
20374 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20380 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20381 #ifdef HAVE_SYS_MTIO_H
20382 #include <sys/mtio.h>
20383 #endif
20385 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20392 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20393 #ifdef HAVE_SYS_MTIO_H
20394 #include <sys/mtio.h>
20395 #endif
20397 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20398 then :
20400 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20404 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20405 #ifdef HAVE_SYS_MTIO_H
20406 #include <sys/mtio.h>
20407 #endif
20409 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20410 then :
20412 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20418 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20419 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20420 then :
20422 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20426 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20427 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20428 then :
20430 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20434 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20435 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20436 then :
20438 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20442 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20443 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20444 then :
20446 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20450 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20451 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20452 then :
20454 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20458 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20460 then :
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20466 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20468 then :
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20474 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20476 then :
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20482 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20484 then :
20486 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20490 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20498 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20499 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20500 then :
20502 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20508 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>
20509 #ifdef HAVE_NETINET_IN_H
20510 #include <netinet/in.h>
20511 #endif
20513 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20514 then :
20516 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20522 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
20523 #include <resolv.h>
20524 #endif
20526 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20527 then :
20529 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20535 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20536 #include <netinet/in.h>
20537 #endif
20539 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20540 then :
20542 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20548 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20549 #ifdef HAVE_SYS_SOCKETVAR_H
20550 #include <sys/socketvar.h>
20551 #endif
20552 #ifdef HAVE_NETINET_IN_H
20553 #include <netinet/in.h>
20554 #endif
20555 #ifdef HAVE_NETINET_IP_VAR_H
20556 #include <netinet/ip_var.h>
20557 #endif
20559 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20560 then :
20562 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20568 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
20569 #include <netinet/ip_var.h>
20570 #endif
20572 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20573 then :
20575 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20581 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20582 #ifdef HAVE_SYS_SOCKETVAR_H
20583 #include <sys/socketvar.h>
20584 #endif
20585 #ifdef HAVE_NETINET_IN_H
20586 #include <netinet/in.h>
20587 #endif
20588 #ifdef HAVE_NETINET6_IP6_VAR_H
20589 #include <netinet6/ip6_var.h>
20590 #endif
20592 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20593 then :
20595 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20601 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20602 #ifdef HAVE_SYS_SOCKETVAR_H
20603 #include <sys/socketvar.h>
20604 #endif
20605 #ifdef HAVE_NETINET_IN_H
20606 #include <netinet/in.h>
20607 #endif
20608 #ifdef HAVE_NETINET_IP_H
20609 #include <netinet/ip.h>
20610 #endif
20611 #ifdef HAVE_NETINET_IP_ICMP_H
20612 #include <netinet/ip_icmp.h>
20613 #endif
20614 #ifdef HAVE_NETINET_ICMP_VAR_H
20615 #include <netinet/icmp_var.h>
20616 #endif
20618 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20619 then :
20621 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20627 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20628 #ifdef HAVE_SYS_SOCKETVAR_H
20629 #include <sys/socketvar.h>
20630 #endif
20631 #ifdef HAVE_NETINET_IN_H
20632 #include <netinet/in.h>
20633 #endif
20634 #ifdef HAVE_NETINET_ICMP6_H
20635 #include <netinet/icmp6.h>
20636 #endif
20638 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20639 then :
20641 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20647 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20648 #ifdef HAVE_SYS_SOCKETVAR_H
20649 #include <sys/socketvar.h>
20650 #endif
20651 #ifdef HAVE_NETINET_IN_H
20652 #include <netinet/in.h>
20653 #endif
20654 #ifdef HAVE_NETINET_TCP_H
20655 #include <netinet/tcp.h>
20656 #endif
20657 #ifdef HAVE_NETINET_TCP_VAR_H
20658 #include <netinet/tcp_var.h>
20659 #endif
20661 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20662 then :
20664 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20670 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
20671 #include <netinet/tcp_var.h>
20672 #endif
20674 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20675 then :
20677 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20683 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20684 #ifdef HAVE_NETINET_IN_H
20685 #include <netinet/in.h>
20686 #endif
20687 #ifdef HAVE_NETINET_IP_VAR_H
20688 #include <netinet/ip_var.h>
20689 #endif
20690 #ifdef HAVE_NETINET_UDP_H
20691 #include <netinet/udp.h>
20692 #endif
20693 #ifdef HAVE_NETINET_UDP_VAR_H
20694 #include <netinet/udp_var.h>
20695 #endif
20697 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20698 then :
20700 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20706 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20707 #ifdef HAVE_NET_IF_H
20708 # include <net/if.h>
20709 #endif
20711 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20712 then :
20714 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20720 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20721 # include <sys/sysinfo.h>
20722 #endif
20724 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20725 then :
20727 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20731 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20732 # include <sys/sysinfo.h>
20733 #endif
20735 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20736 then :
20738 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20744 LIBS="$ac_save_LIBS"
20746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20747 printf %s "checking for __builtin_popcount... " >&6; }
20748 if test ${ac_cv_have___builtin_popcount+y}
20749 then :
20750 printf %s "(cached) " >&6
20751 else $as_nop
20752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h. */
20756 main (void)
20758 return __builtin_popcount(1)
20760 return 0;
20762 _ACEOF
20763 if ac_fn_c_try_link "$LINENO"
20764 then :
20765 ac_cv_have___builtin_popcount="yes"
20766 else $as_nop
20767 ac_cv_have___builtin_popcount="no"
20769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20770 conftest$ac_exeext conftest.$ac_ext
20772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20773 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20774 if test "$ac_cv_have___builtin_popcount" = "yes"
20775 then
20777 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20782 printf %s "checking for __clear_cache... " >&6; }
20783 if test ${ac_cv_have___clear_cache+y}
20784 then :
20785 printf %s "(cached) " >&6
20786 else $as_nop
20787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20788 /* end confdefs.h. */
20791 main (void)
20793 __clear_cache((void*)0, (void*)0); return 0;
20795 return 0;
20797 _ACEOF
20798 if ac_fn_c_try_link "$LINENO"
20799 then :
20800 ac_cv_have___clear_cache="yes"
20801 else $as_nop
20802 ac_cv_have___clear_cache="no"
20804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20805 conftest$ac_exeext conftest.$ac_ext
20807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20808 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20809 if test "$ac_cv_have___clear_cache" = "yes"
20810 then
20812 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20817 case $host_cpu in
20818 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20819 printf %s "checking whether we need to define __i386__... " >&6; }
20820 if test ${ac_cv_cpp_def___i386__+y}
20821 then :
20822 printf %s "(cached) " >&6
20823 else $as_nop
20824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20825 /* end confdefs.h. */
20826 #ifndef __i386__
20828 #endif
20829 _ACEOF
20830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20831 $EGREP "yes" >/dev/null 2>&1
20832 then :
20833 ac_cv_cpp_def___i386__=yes
20834 else $as_nop
20835 ac_cv_cpp_def___i386__=no
20837 rm -rf conftest*
20840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20841 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20842 if test "x$ac_cv_cpp_def___i386__" = xyes
20843 then :
20844 CFLAGS="$CFLAGS -D__i386__"
20845 LINTFLAGS="$LINTFLAGS -D__i386__"
20846 fi ;;
20847 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20848 printf %s "checking whether we need to define __x86_64__... " >&6; }
20849 if test ${ac_cv_cpp_def___x86_64__+y}
20850 then :
20851 printf %s "(cached) " >&6
20852 else $as_nop
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #ifndef __x86_64__
20857 #endif
20858 _ACEOF
20859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20860 $EGREP "yes" >/dev/null 2>&1
20861 then :
20862 ac_cv_cpp_def___x86_64__=yes
20863 else $as_nop
20864 ac_cv_cpp_def___x86_64__=no
20866 rm -rf conftest*
20869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20870 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20871 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20872 then :
20873 CFLAGS="$CFLAGS -D__x86_64__"
20874 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20875 fi ;;
20876 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20877 printf %s "checking whether we need to define __sparc64__... " >&6; }
20878 if test ${ac_cv_cpp_def___sparc64__+y}
20879 then :
20880 printf %s "(cached) " >&6
20881 else $as_nop
20882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20884 #ifndef __sparc64__
20886 #endif
20887 _ACEOF
20888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20889 $EGREP "yes" >/dev/null 2>&1
20890 then :
20891 ac_cv_cpp_def___sparc64__=yes
20892 else $as_nop
20893 ac_cv_cpp_def___sparc64__=no
20895 rm -rf conftest*
20898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20899 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20900 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20901 then :
20902 CFLAGS="$CFLAGS -D__sparc64__"
20903 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20904 fi ;;
20905 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20906 printf %s "checking whether we need to define __sparc__... " >&6; }
20907 if test ${ac_cv_cpp_def___sparc__+y}
20908 then :
20909 printf %s "(cached) " >&6
20910 else $as_nop
20911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h. */
20913 #ifndef __sparc__
20915 #endif
20916 _ACEOF
20917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20918 $EGREP "yes" >/dev/null 2>&1
20919 then :
20920 ac_cv_cpp_def___sparc__=yes
20921 else $as_nop
20922 ac_cv_cpp_def___sparc__=no
20924 rm -rf conftest*
20927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20928 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20929 if test "x$ac_cv_cpp_def___sparc__" = xyes
20930 then :
20931 CFLAGS="$CFLAGS -D__sparc__"
20932 LINTFLAGS="$LINTFLAGS -D__sparc__"
20933 fi ;;
20934 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20935 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20936 if test ${ac_cv_cpp_def___powerpc64__+y}
20937 then :
20938 printf %s "(cached) " >&6
20939 else $as_nop
20940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20941 /* end confdefs.h. */
20942 #ifndef __powerpc64__
20944 #endif
20945 _ACEOF
20946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20947 $EGREP "yes" >/dev/null 2>&1
20948 then :
20949 ac_cv_cpp_def___powerpc64__=yes
20950 else $as_nop
20951 ac_cv_cpp_def___powerpc64__=no
20953 rm -rf conftest*
20956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20957 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20958 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20959 then :
20960 CFLAGS="$CFLAGS -D__powerpc64__"
20961 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20962 fi ;;
20963 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20964 printf %s "checking whether we need to define __powerpc__... " >&6; }
20965 if test ${ac_cv_cpp_def___powerpc__+y}
20966 then :
20967 printf %s "(cached) " >&6
20968 else $as_nop
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20971 #ifndef __powerpc__
20973 #endif
20974 _ACEOF
20975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20976 $EGREP "yes" >/dev/null 2>&1
20977 then :
20978 ac_cv_cpp_def___powerpc__=yes
20979 else $as_nop
20980 ac_cv_cpp_def___powerpc__=no
20982 rm -rf conftest*
20985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20986 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20987 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20988 then :
20989 CFLAGS="$CFLAGS -D__powerpc__"
20990 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20991 fi ;;
20992 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20993 printf %s "checking whether we need to define __aarch64__... " >&6; }
20994 if test ${ac_cv_cpp_def___aarch64__+y}
20995 then :
20996 printf %s "(cached) " >&6
20997 else $as_nop
20998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20999 /* end confdefs.h. */
21000 #ifndef __aarch64__
21002 #endif
21003 _ACEOF
21004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21005 $EGREP "yes" >/dev/null 2>&1
21006 then :
21007 ac_cv_cpp_def___aarch64__=yes
21008 else $as_nop
21009 ac_cv_cpp_def___aarch64__=no
21011 rm -rf conftest*
21014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21015 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21016 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21017 then :
21018 CFLAGS="$CFLAGS -D__aarch64__"
21019 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21020 fi ;;
21021 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21022 printf %s "checking whether we need to define __arm__... " >&6; }
21023 if test ${ac_cv_cpp_def___arm__+y}
21024 then :
21025 printf %s "(cached) " >&6
21026 else $as_nop
21027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21028 /* end confdefs.h. */
21029 #ifndef __arm__
21031 #endif
21032 _ACEOF
21033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21034 $EGREP "yes" >/dev/null 2>&1
21035 then :
21036 ac_cv_cpp_def___arm__=yes
21037 else $as_nop
21038 ac_cv_cpp_def___arm__=no
21040 rm -rf conftest*
21043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21044 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21045 if test "x$ac_cv_cpp_def___arm__" = xyes
21046 then :
21047 CFLAGS="$CFLAGS -D__arm__"
21048 LINTFLAGS="$LINTFLAGS -D__arm__"
21049 fi ;;
21050 esac
21052 case $host_vendor in
21053 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21054 printf %s "checking whether we need to define __sun__... " >&6; }
21055 if test ${ac_cv_cpp_def___sun__+y}
21056 then :
21057 printf %s "(cached) " >&6
21058 else $as_nop
21059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h. */
21061 #ifndef __sun__
21063 #endif
21064 _ACEOF
21065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21066 $EGREP "yes" >/dev/null 2>&1
21067 then :
21068 ac_cv_cpp_def___sun__=yes
21069 else $as_nop
21070 ac_cv_cpp_def___sun__=no
21072 rm -rf conftest*
21075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21076 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21077 if test "x$ac_cv_cpp_def___sun__" = xyes
21078 then :
21079 CFLAGS="$CFLAGS -D__sun__"
21080 LINTFLAGS="$LINTFLAGS -D__sun__"
21081 fi ;;
21082 esac
21088 ac_config_commands="$ac_config_commands include/stamp-h"
21090 printf %s "creating Makefile rules..." >&6
21092 makedep_flags=""
21093 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21095 wine_srcdir=
21096 test "$srcdir" = . || wine_srcdir="$srcdir/"
21098 ac_config_links="$ac_config_links wine:tools/winewrapper"
21099 wine_fn_config_symlink wine
21100 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21101 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21102 wine_fn_config_symlink wine64
21105 wine_fn_config_makefile dlls/acledit enable_acledit
21106 wine_fn_config_makefile dlls/aclui enable_aclui
21107 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21108 wine_fn_config_makefile dlls/activeds enable_activeds
21109 wine_fn_config_makefile dlls/activeds/tests enable_tests
21110 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21111 wine_fn_config_makefile dlls/adsldp enable_adsldp
21112 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21113 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21114 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21115 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21116 wine_fn_config_makefile dlls/advpack enable_advpack
21117 wine_fn_config_makefile dlls/advpack/tests enable_tests
21118 wine_fn_config_makefile dlls/amsi enable_amsi
21119 wine_fn_config_makefile dlls/amstream enable_amstream
21120 wine_fn_config_makefile dlls/amstream/tests enable_tests
21121 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21122 wine_fn_config_makefile dlls/apphelp enable_apphelp
21123 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21124 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21125 wine_fn_config_makefile dlls/atl enable_atl
21126 wine_fn_config_makefile dlls/atl/tests enable_tests
21127 wine_fn_config_makefile dlls/atl100 enable_atl100
21128 wine_fn_config_makefile dlls/atl100/tests enable_tests
21129 wine_fn_config_makefile dlls/atl110 enable_atl110
21130 wine_fn_config_makefile dlls/atl110/tests enable_tests
21131 wine_fn_config_makefile dlls/atl80 enable_atl80
21132 wine_fn_config_makefile dlls/atl80/tests enable_tests
21133 wine_fn_config_makefile dlls/atl90 enable_atl90
21134 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21135 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21136 wine_fn_config_makefile dlls/atmlib enable_atmlib
21137 wine_fn_config_makefile dlls/authz enable_authz
21138 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21139 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21140 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21141 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21142 wine_fn_config_makefile dlls/avrt enable_avrt
21143 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21144 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21145 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21146 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21147 wine_fn_config_makefile dlls/browseui enable_browseui
21148 wine_fn_config_makefile dlls/browseui/tests enable_tests
21149 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21150 wine_fn_config_makefile dlls/cabinet enable_cabinet
21151 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21152 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21153 wine_fn_config_makefile dlls/cards enable_cards
21154 wine_fn_config_makefile dlls/cdosys enable_cdosys
21155 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21156 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21157 wine_fn_config_makefile dlls/clusapi enable_clusapi
21158 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21159 wine_fn_config_makefile dlls/combase enable_combase
21160 wine_fn_config_makefile dlls/combase/tests enable_tests
21161 wine_fn_config_makefile dlls/comcat enable_comcat
21162 wine_fn_config_makefile dlls/comcat/tests enable_tests
21163 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21164 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21165 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21166 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21167 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21168 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21169 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21170 wine_fn_config_makefile dlls/compstui enable_compstui
21171 wine_fn_config_makefile dlls/compstui/tests enable_tests
21172 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21173 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21174 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21175 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21176 wine_fn_config_makefile dlls/connect enable_connect
21177 wine_fn_config_makefile dlls/credui enable_credui
21178 wine_fn_config_makefile dlls/credui/tests enable_tests
21179 wine_fn_config_makefile dlls/crtdll enable_crtdll
21180 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21181 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21182 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21183 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21184 wine_fn_config_makefile dlls/cryptext enable_cryptext
21185 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21186 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21187 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21188 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21189 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21190 wine_fn_config_makefile dlls/cryptui enable_cryptui
21191 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21192 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21193 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21194 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21195 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21196 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21197 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21198 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21199 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21200 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21201 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21202 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21203 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21204 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21205 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21206 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21207 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21208 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21209 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21210 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21211 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21212 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21213 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21214 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21215 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21216 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21217 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21218 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21219 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21220 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21221 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21222 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21223 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21224 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21225 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21227 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21229 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dim enable_d3dim
21231 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21232 wine_fn_config_makefile dlls/d3drm enable_d3drm
21233 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21235 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21236 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21238 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21240 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21242 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21244 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21246 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21248 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21250 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21251 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21252 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21253 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21254 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21255 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21256 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21257 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21258 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21259 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21260 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21261 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21262 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21263 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21264 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21265 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21266 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21267 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21268 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21269 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21270 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21271 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21272 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21273 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21274 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21275 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21276 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21277 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21278 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21279 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21280 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21281 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21282 wine_fn_config_makefile dlls/davclnt enable_davclnt
21283 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21284 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21285 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21286 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21287 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21288 wine_fn_config_makefile dlls/dcomp enable_dcomp
21289 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21290 wine_fn_config_makefile dlls/ddraw enable_ddraw
21291 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21292 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21293 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21294 wine_fn_config_makefile dlls/devenum enable_devenum
21295 wine_fn_config_makefile dlls/devenum/tests enable_tests
21296 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21297 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21298 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21299 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21300 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21301 wine_fn_config_makefile dlls/difxapi enable_difxapi
21302 wine_fn_config_makefile dlls/dinput enable_dinput
21303 wine_fn_config_makefile dlls/dinput/tests enable_tests
21304 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21305 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21306 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21307 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21308 wine_fn_config_makefile dlls/dispex enable_dispex
21309 wine_fn_config_makefile dlls/dispex/tests enable_tests
21310 wine_fn_config_makefile dlls/display.drv16 enable_win16
21311 wine_fn_config_makefile dlls/dmband enable_dmband
21312 wine_fn_config_makefile dlls/dmband/tests enable_tests
21313 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21314 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21315 wine_fn_config_makefile dlls/dmime enable_dmime
21316 wine_fn_config_makefile dlls/dmime/tests enable_tests
21317 wine_fn_config_makefile dlls/dmloader enable_dmloader
21318 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21319 wine_fn_config_makefile dlls/dmscript enable_dmscript
21320 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21321 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21322 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21323 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21324 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21325 wine_fn_config_makefile dlls/dmusic enable_dmusic
21326 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21327 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21328 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21329 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21330 wine_fn_config_makefile dlls/dplay enable_dplay
21331 wine_fn_config_makefile dlls/dplayx enable_dplayx
21332 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21333 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21334 wine_fn_config_makefile dlls/dpnet enable_dpnet
21335 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21336 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21337 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21338 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21339 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21340 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21341 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21342 wine_fn_config_makefile dlls/drmclien enable_drmclien
21343 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21344 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21345 wine_fn_config_makefile dlls/dsound enable_dsound
21346 wine_fn_config_makefile dlls/dsound/tests enable_tests
21347 wine_fn_config_makefile dlls/dsquery enable_dsquery
21348 wine_fn_config_makefile dlls/dssenh enable_dssenh
21349 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21350 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21351 wine_fn_config_makefile dlls/dswave enable_dswave
21352 wine_fn_config_makefile dlls/dswave/tests enable_tests
21353 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21354 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21355 wine_fn_config_makefile dlls/dwrite enable_dwrite
21356 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21357 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21358 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21359 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21360 wine_fn_config_makefile dlls/dxgi enable_dxgi
21361 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21362 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21363 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21364 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21365 wine_fn_config_makefile dlls/esent enable_esent
21366 wine_fn_config_makefile dlls/evr enable_evr
21367 wine_fn_config_makefile dlls/evr/tests enable_tests
21368 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21369 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21370 wine_fn_config_makefile dlls/faultrep enable_faultrep
21371 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21372 wine_fn_config_makefile dlls/feclient enable_feclient
21373 wine_fn_config_makefile dlls/fltlib enable_fltlib
21374 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21375 wine_fn_config_makefile dlls/fntcache enable_fntcache
21376 wine_fn_config_makefile dlls/fontsub enable_fontsub
21377 wine_fn_config_makefile dlls/fusion enable_fusion
21378 wine_fn_config_makefile dlls/fusion/tests enable_tests
21379 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21380 wine_fn_config_makefile dlls/gameux enable_gameux
21381 wine_fn_config_makefile dlls/gameux/tests enable_tests
21382 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21383 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21384 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21385 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21386 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21387 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21388 wine_fn_config_makefile dlls/geolocation enable_geolocation
21389 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21390 wine_fn_config_makefile dlls/glu32 enable_glu32
21391 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21392 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21393 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21394 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21395 wine_fn_config_makefile dlls/hal enable_hal
21396 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21397 wine_fn_config_makefile dlls/hid enable_hid
21398 wine_fn_config_makefile dlls/hid/tests enable_tests
21399 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21400 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21401 wine_fn_config_makefile dlls/hlink enable_hlink
21402 wine_fn_config_makefile dlls/hlink/tests enable_tests
21403 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21404 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21405 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21406 wine_fn_config_makefile dlls/http.sys enable_http_sys
21407 wine_fn_config_makefile dlls/httpapi enable_httpapi
21408 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21409 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21410 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21411 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21412 wine_fn_config_makefile dlls/iccvid enable_iccvid
21413 wine_fn_config_makefile dlls/icmp enable_icmp
21414 wine_fn_config_makefile dlls/ieframe enable_ieframe
21415 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21416 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21417 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21418 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21419 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21420 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21421 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21422 wine_fn_config_makefile dlls/imm32 enable_imm32
21423 wine_fn_config_makefile dlls/imm32/tests enable_tests
21424 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21425 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21426 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21427 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21428 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21429 wine_fn_config_makefile dlls/infosoft enable_infosoft
21430 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21431 wine_fn_config_makefile dlls/initpki enable_initpki
21432 wine_fn_config_makefile dlls/inkobj enable_inkobj
21433 wine_fn_config_makefile dlls/inseng enable_inseng
21434 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21435 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21436 wine_fn_config_makefile dlls/iprop enable_iprop
21437 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21438 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21439 wine_fn_config_makefile dlls/itircl enable_itircl
21440 wine_fn_config_makefile dlls/itss enable_itss
21441 wine_fn_config_makefile dlls/itss/tests enable_tests
21442 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21443 wine_fn_config_makefile dlls/jscript enable_jscript
21444 wine_fn_config_makefile dlls/jscript/tests enable_tests
21445 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21446 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21447 wine_fn_config_makefile dlls/kerberos enable_kerberos
21448 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21449 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21450 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21451 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21452 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21453 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21454 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21455 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21456 wine_fn_config_makefile dlls/ksuser enable_ksuser
21457 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21458 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21459 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21460 wine_fn_config_makefile dlls/loadperf enable_loadperf
21461 wine_fn_config_makefile dlls/localspl enable_localspl
21462 wine_fn_config_makefile dlls/localspl/tests enable_tests
21463 wine_fn_config_makefile dlls/localui enable_localui
21464 wine_fn_config_makefile dlls/localui/tests enable_tests
21465 wine_fn_config_makefile dlls/lz32 enable_lz32
21466 wine_fn_config_makefile dlls/lz32/tests enable_tests
21467 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21468 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21469 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21470 wine_fn_config_makefile dlls/mapistub enable_mapistub
21471 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21472 wine_fn_config_makefile dlls/mcicda enable_mcicda
21473 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21474 wine_fn_config_makefile dlls/mciseq enable_mciseq
21475 wine_fn_config_makefile dlls/mciwave enable_mciwave
21476 wine_fn_config_makefile dlls/mf enable_mf
21477 wine_fn_config_makefile dlls/mf/tests enable_tests
21478 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21479 wine_fn_config_makefile dlls/mferror enable_mferror
21480 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21481 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21482 wine_fn_config_makefile dlls/mfplat enable_mfplat
21483 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21484 wine_fn_config_makefile dlls/mfplay enable_mfplay
21485 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21486 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21487 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21488 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21489 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21490 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21491 wine_fn_config_makefile dlls/midimap enable_midimap
21492 wine_fn_config_makefile dlls/mlang enable_mlang
21493 wine_fn_config_makefile dlls/mlang/tests enable_tests
21494 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21495 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21496 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21497 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21498 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21499 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21500 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21501 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21502 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21503 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21504 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21505 wine_fn_config_makefile dlls/mpr enable_mpr
21506 wine_fn_config_makefile dlls/mpr/tests enable_tests
21507 wine_fn_config_makefile dlls/mprapi enable_mprapi
21508 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21509 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21510 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21511 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21512 wine_fn_config_makefile dlls/msado15 enable_msado15
21513 wine_fn_config_makefile dlls/msado15/tests enable_tests
21514 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21515 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21516 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21517 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21518 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21519 wine_fn_config_makefile dlls/mscms enable_mscms
21520 wine_fn_config_makefile dlls/mscms/tests enable_tests
21521 wine_fn_config_makefile dlls/mscoree enable_mscoree
21522 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21523 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21524 wine_fn_config_makefile dlls/msctf enable_msctf
21525 wine_fn_config_makefile dlls/msctf/tests enable_tests
21526 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21527 wine_fn_config_makefile dlls/msctfp enable_msctfp
21528 wine_fn_config_makefile dlls/msdaps enable_msdaps
21529 wine_fn_config_makefile dlls/msdasql enable_msdasql
21530 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21531 wine_fn_config_makefile dlls/msdelta enable_msdelta
21532 wine_fn_config_makefile dlls/msdmo enable_msdmo
21533 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21534 wine_fn_config_makefile dlls/msdrm enable_msdrm
21535 wine_fn_config_makefile dlls/msftedit enable_msftedit
21536 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21537 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21538 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21539 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21540 wine_fn_config_makefile dlls/mshtml enable_mshtml
21541 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21542 wine_fn_config_makefile dlls/msi enable_msi
21543 wine_fn_config_makefile dlls/msi/tests enable_tests
21544 wine_fn_config_makefile dlls/msident enable_msident
21545 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21546 wine_fn_config_makefile dlls/msimsg enable_msimsg
21547 wine_fn_config_makefile dlls/msimtf enable_msimtf
21548 wine_fn_config_makefile dlls/msisip enable_msisip
21549 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21550 wine_fn_config_makefile dlls/msls31 enable_msls31
21551 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21552 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21553 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21554 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21555 wine_fn_config_makefile dlls/msports enable_msports
21556 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21557 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21558 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21559 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21560 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21561 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21562 wine_fn_config_makefile dlls/mstask enable_mstask
21563 wine_fn_config_makefile dlls/mstask/tests enable_tests
21564 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21565 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21566 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21567 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21568 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21569 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21570 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21571 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21572 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21573 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21574 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21575 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21576 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21577 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21578 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21579 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21581 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21582 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21584 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21585 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21586 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21587 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21588 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21589 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21590 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21591 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21592 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21593 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21595 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21596 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21597 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21598 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21599 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21600 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21601 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21602 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21603 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21604 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21605 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21606 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21607 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21608 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21609 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21610 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21611 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21612 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21613 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21614 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21615 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21616 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21617 wine_fn_config_makefile dlls/mswsock enable_mswsock
21618 wine_fn_config_makefile dlls/msxml enable_msxml
21619 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21620 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21621 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21622 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21623 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21624 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21625 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21626 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21627 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21628 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21629 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21630 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21631 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21632 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21633 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21634 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21635 wine_fn_config_makefile dlls/netprofm enable_netprofm
21636 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21637 wine_fn_config_makefile dlls/netutils enable_netutils
21638 wine_fn_config_makefile dlls/newdev enable_newdev
21639 wine_fn_config_makefile dlls/ninput enable_ninput
21640 wine_fn_config_makefile dlls/ninput/tests enable_tests
21641 wine_fn_config_makefile dlls/normaliz enable_normaliz
21642 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21643 wine_fn_config_makefile dlls/npptools enable_npptools
21644 wine_fn_config_makefile dlls/nsi enable_nsi
21645 wine_fn_config_makefile dlls/nsi/tests enable_tests
21646 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21647 wine_fn_config_makefile dlls/ntdll enable_ntdll
21648 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21649 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21650 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21651 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21652 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21653 wine_fn_config_makefile dlls/ntprint enable_ntprint
21654 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21655 wine_fn_config_makefile dlls/objsel enable_objsel
21656 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21657 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21658 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21659 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21660 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21661 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21662 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21663 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21664 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21665 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21666 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21667 wine_fn_config_makefile dlls/ole32 enable_ole32
21668 wine_fn_config_makefile dlls/ole32/tests enable_tests
21669 wine_fn_config_makefile dlls/oleacc enable_oleacc
21670 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21671 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21672 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21673 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21674 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21675 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21676 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21677 wine_fn_config_makefile dlls/oledlg enable_oledlg
21678 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21679 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21680 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21681 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21682 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21683 wine_fn_config_makefile dlls/opcservices enable_opcservices
21684 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21685 wine_fn_config_makefile dlls/opencl enable_opencl
21686 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21687 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21688 wine_fn_config_makefile dlls/packager enable_packager
21689 wine_fn_config_makefile dlls/packager/tests enable_tests
21690 wine_fn_config_makefile dlls/pdh enable_pdh
21691 wine_fn_config_makefile dlls/pdh/tests enable_tests
21692 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21693 wine_fn_config_makefile dlls/pidgen enable_pidgen
21694 wine_fn_config_makefile dlls/powrprof enable_powrprof
21695 wine_fn_config_makefile dlls/printui enable_printui
21696 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21697 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21698 wine_fn_config_makefile dlls/propsys enable_propsys
21699 wine_fn_config_makefile dlls/propsys/tests enable_tests
21700 wine_fn_config_makefile dlls/psapi enable_psapi
21701 wine_fn_config_makefile dlls/psapi/tests enable_tests
21702 wine_fn_config_makefile dlls/pstorec enable_pstorec
21703 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21704 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21705 wine_fn_config_makefile dlls/qasf enable_qasf
21706 wine_fn_config_makefile dlls/qasf/tests enable_tests
21707 wine_fn_config_makefile dlls/qcap enable_qcap
21708 wine_fn_config_makefile dlls/qcap/tests enable_tests
21709 wine_fn_config_makefile dlls/qdvd enable_qdvd
21710 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21711 wine_fn_config_makefile dlls/qedit enable_qedit
21712 wine_fn_config_makefile dlls/qedit/tests enable_tests
21713 wine_fn_config_makefile dlls/qmgr enable_qmgr
21714 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21715 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21716 wine_fn_config_makefile dlls/quartz enable_quartz
21717 wine_fn_config_makefile dlls/quartz/tests enable_tests
21718 wine_fn_config_makefile dlls/query enable_query
21719 wine_fn_config_makefile dlls/qwave enable_qwave
21720 wine_fn_config_makefile dlls/qwave/tests enable_tests
21721 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21722 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21723 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21724 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21725 wine_fn_config_makefile dlls/regapi enable_regapi
21726 wine_fn_config_makefile dlls/resutils enable_resutils
21727 wine_fn_config_makefile dlls/riched20 enable_riched20
21728 wine_fn_config_makefile dlls/riched20/tests enable_tests
21729 wine_fn_config_makefile dlls/riched32 enable_riched32
21730 wine_fn_config_makefile dlls/riched32/tests enable_tests
21731 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21732 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21733 wine_fn_config_makefile dlls/rsabase enable_rsabase
21734 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21735 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21736 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21737 wine_fn_config_makefile dlls/rtutils enable_rtutils
21738 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21739 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21740 wine_fn_config_makefile dlls/samlib enable_samlib
21741 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21742 wine_fn_config_makefile dlls/sapi enable_sapi
21743 wine_fn_config_makefile dlls/sapi/tests enable_tests
21744 wine_fn_config_makefile dlls/sas enable_sas
21745 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21746 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21747 wine_fn_config_makefile dlls/sccbase enable_sccbase
21748 wine_fn_config_makefile dlls/schannel enable_schannel
21749 wine_fn_config_makefile dlls/schannel/tests enable_tests
21750 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21751 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21752 wine_fn_config_makefile dlls/scrobj enable_scrobj
21753 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21754 wine_fn_config_makefile dlls/scrrun enable_scrrun
21755 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21756 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21757 wine_fn_config_makefile dlls/sechost enable_sechost
21758 wine_fn_config_makefile dlls/secur32 enable_secur32
21759 wine_fn_config_makefile dlls/secur32/tests enable_tests
21760 wine_fn_config_makefile dlls/security enable_security
21761 wine_fn_config_makefile dlls/sensapi enable_sensapi
21762 wine_fn_config_makefile dlls/serialui enable_serialui
21763 wine_fn_config_makefile dlls/serialui/tests enable_tests
21764 wine_fn_config_makefile dlls/setupapi enable_setupapi
21765 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21766 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21767 wine_fn_config_makefile dlls/sfc enable_sfc
21768 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21769 wine_fn_config_makefile dlls/shcore enable_shcore
21770 wine_fn_config_makefile dlls/shcore/tests enable_tests
21771 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21772 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21773 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21774 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21775 wine_fn_config_makefile dlls/shell32 enable_shell32
21776 wine_fn_config_makefile dlls/shell32/tests enable_tests
21777 wine_fn_config_makefile dlls/shfolder enable_shfolder
21778 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21779 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21780 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21781 wine_fn_config_makefile dlls/slc enable_slc
21782 wine_fn_config_makefile dlls/slc/tests enable_tests
21783 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21784 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21785 wine_fn_config_makefile dlls/softpub enable_softpub
21786 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21787 wine_fn_config_makefile dlls/spoolss enable_spoolss
21788 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21789 wine_fn_config_makefile dlls/sppc enable_sppc
21790 wine_fn_config_makefile dlls/srclient enable_srclient
21791 wine_fn_config_makefile dlls/srvcli enable_srvcli
21792 wine_fn_config_makefile dlls/sspicli enable_sspicli
21793 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21794 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21795 wine_fn_config_makefile dlls/sti enable_sti
21796 wine_fn_config_makefile dlls/sti/tests enable_tests
21797 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21798 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21799 wine_fn_config_makefile dlls/strmdll enable_strmdll
21800 wine_fn_config_makefile dlls/svrapi enable_svrapi
21801 wine_fn_config_makefile dlls/sxs enable_sxs
21802 wine_fn_config_makefile dlls/sxs/tests enable_tests
21803 wine_fn_config_makefile dlls/system.drv16 enable_win16
21804 wine_fn_config_makefile dlls/t2embed enable_t2embed
21805 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21806 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21807 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21808 wine_fn_config_makefile dlls/taskschd enable_taskschd
21809 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21810 wine_fn_config_makefile dlls/tbs enable_tbs
21811 wine_fn_config_makefile dlls/tdh enable_tdh
21812 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21813 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21814 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21815 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21816 wine_fn_config_makefile dlls/traffic enable_traffic
21817 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21818 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21819 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21820 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21821 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21822 wine_fn_config_makefile dlls/tzres enable_tzres
21823 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21824 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21825 wine_fn_config_makefile dlls/uianimation enable_uianimation
21826 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21827 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21828 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21829 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21830 wine_fn_config_makefile dlls/unicows enable_unicows
21831 wine_fn_config_makefile dlls/updspapi enable_updspapi
21832 wine_fn_config_makefile dlls/url enable_url
21833 wine_fn_config_makefile dlls/urlmon enable_urlmon
21834 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21835 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21836 wine_fn_config_makefile dlls/user.exe16 enable_win16
21837 wine_fn_config_makefile dlls/user32 enable_user32
21838 wine_fn_config_makefile dlls/user32/tests enable_tests
21839 wine_fn_config_makefile dlls/userenv enable_userenv
21840 wine_fn_config_makefile dlls/userenv/tests enable_tests
21841 wine_fn_config_makefile dlls/usp10 enable_usp10
21842 wine_fn_config_makefile dlls/usp10/tests enable_tests
21843 wine_fn_config_makefile dlls/utildll enable_utildll
21844 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21845 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21846 wine_fn_config_makefile dlls/vbscript enable_vbscript
21847 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21848 wine_fn_config_makefile dlls/vcomp enable_vcomp
21849 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21850 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21851 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21852 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21853 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21854 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21855 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21856 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21857 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21858 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21859 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21860 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21861 wine_fn_config_makefile dlls/version enable_version
21862 wine_fn_config_makefile dlls/version/tests enable_tests
21863 wine_fn_config_makefile dlls/vga enable_vga
21864 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21865 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21866 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21867 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21868 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21869 wine_fn_config_makefile dlls/vssapi enable_vssapi
21870 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21871 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21872 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21873 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21874 wine_fn_config_makefile dlls/w32skrnl enable_win16
21875 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21876 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21877 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21878 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21879 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21880 wine_fn_config_makefile dlls/wdscore enable_wdscore
21881 wine_fn_config_makefile dlls/webservices enable_webservices
21882 wine_fn_config_makefile dlls/webservices/tests enable_tests
21883 wine_fn_config_makefile dlls/websocket enable_websocket
21884 wine_fn_config_makefile dlls/wer enable_wer
21885 wine_fn_config_makefile dlls/wer/tests enable_tests
21886 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21887 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21888 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21889 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21890 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21891 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21892 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21893 wine_fn_config_makefile dlls/win32u enable_win32u
21894 wine_fn_config_makefile dlls/win32u/tests enable_tests
21895 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21896 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21897 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21898 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21899 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21900 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21901 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21902 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21903 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21904 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21905 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21906 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21907 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21908 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21909 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21910 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21911 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21912 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21913 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21914 wine_fn_config_makefile dlls/windows.media enable_windows_media
21915 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21916 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21917 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21918 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21919 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21920 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21921 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21922 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21923 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21924 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21925 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21926 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21927 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21928 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21929 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21930 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21931 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21932 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21933 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21934 wine_fn_config_makefile dlls/wined3d enable_wined3d
21935 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21936 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21937 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21938 wine_fn_config_makefile dlls/winemapi enable_winemapi
21939 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21940 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21941 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21942 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21943 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21944 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21945 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21946 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21947 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21948 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21949 wine_fn_config_makefile dlls/wing32 enable_wing32
21950 wine_fn_config_makefile dlls/winhttp enable_winhttp
21951 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21952 wine_fn_config_makefile dlls/wininet enable_wininet
21953 wine_fn_config_makefile dlls/wininet/tests enable_tests
21954 wine_fn_config_makefile dlls/winmm enable_winmm
21955 wine_fn_config_makefile dlls/winmm/tests enable_tests
21956 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21957 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21958 wine_fn_config_makefile dlls/winprint enable_winprint
21959 wine_fn_config_makefile dlls/winscard enable_winscard
21960 wine_fn_config_makefile dlls/winscard/tests enable_tests
21961 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21962 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21963 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21964 wine_fn_config_makefile dlls/winsta enable_winsta
21965 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21966 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21967 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21968 wine_fn_config_makefile dlls/wintrust enable_wintrust
21969 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21970 wine_fn_config_makefile dlls/wintypes enable_wintypes
21971 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21972 wine_fn_config_makefile dlls/winusb enable_winusb
21973 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21974 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21975 wine_fn_config_makefile dlls/wlanui enable_wlanui
21976 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21977 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21978 wine_fn_config_makefile dlls/wmasf enable_wmasf
21979 wine_fn_config_makefile dlls/wmi enable_wmi
21980 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21981 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21982 wine_fn_config_makefile dlls/wmp enable_wmp
21983 wine_fn_config_makefile dlls/wmp/tests enable_tests
21984 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21985 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21986 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21987 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21988 wine_fn_config_makefile dlls/wofutil enable_wofutil
21989 wine_fn_config_makefile dlls/wow32 enable_win16
21990 wine_fn_config_makefile dlls/wow64 enable_wow64
21991 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21992 wine_fn_config_makefile dlls/wow64win enable_wow64win
21993 wine_fn_config_makefile dlls/wpc enable_wpc
21994 wine_fn_config_makefile dlls/wpc/tests enable_tests
21995 wine_fn_config_makefile dlls/wpcap enable_wpcap
21996 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21997 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21998 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21999 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22000 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22001 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22002 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22003 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22004 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22005 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22006 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22007 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22008 wine_fn_config_makefile dlls/wuapi enable_wuapi
22009 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22010 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22011 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22012 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22013 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22014 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22015 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22016 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22017 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22018 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22019 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22020 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22021 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22022 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22023 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22024 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22025 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22026 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22027 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22028 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22029 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22030 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22031 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22032 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22033 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22034 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22035 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22036 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22037 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22038 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22039 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22040 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22041 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22042 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22043 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22044 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22045 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22046 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22047 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22048 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22049 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22050 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22051 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22052 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22053 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22054 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22055 wine_fn_config_makefile dlls/xmllite enable_xmllite
22056 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22057 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22058 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22059 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22060 wine_fn_config_makefile fonts enable_fonts
22061 wine_fn_config_makefile include enable_include
22062 wine_fn_config_makefile libs/adsiid enable_adsiid
22063 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22064 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22065 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22066 wine_fn_config_makefile libs/dxguid enable_dxguid
22067 wine_fn_config_makefile libs/faudio enable_faudio
22068 wine_fn_config_makefile libs/gsm enable_gsm
22069 wine_fn_config_makefile libs/jpeg enable_jpeg
22070 wine_fn_config_makefile libs/jxr enable_jxr
22071 wine_fn_config_makefile libs/lcms2 enable_lcms2
22072 wine_fn_config_makefile libs/ldap enable_ldap
22073 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22074 wine_fn_config_makefile libs/mpg123 enable_mpg123
22075 wine_fn_config_makefile libs/musl enable_musl
22076 wine_fn_config_makefile libs/png enable_png
22077 wine_fn_config_makefile libs/strmbase enable_strmbase
22078 wine_fn_config_makefile libs/strmiids enable_strmiids
22079 wine_fn_config_makefile libs/tiff enable_tiff
22080 wine_fn_config_makefile libs/uuid enable_uuid
22081 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22082 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22083 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22084 wine_fn_config_makefile libs/xml2 enable_xml2
22085 wine_fn_config_makefile libs/xslt enable_xslt
22086 wine_fn_config_makefile libs/zlib enable_zlib
22087 wine_fn_config_makefile libs/zydis enable_zydis
22088 wine_fn_config_makefile loader enable_loader
22089 wine_fn_config_makefile nls enable_nls
22090 wine_fn_config_makefile po enable_po
22091 wine_fn_config_makefile programs/arp enable_arp
22092 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22093 wine_fn_config_makefile programs/attrib enable_attrib
22094 wine_fn_config_makefile programs/cabarc enable_cabarc
22095 wine_fn_config_makefile programs/cacls enable_cacls
22096 wine_fn_config_makefile programs/certutil enable_certutil
22097 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22098 wine_fn_config_makefile programs/clock enable_clock
22099 wine_fn_config_makefile programs/cmd enable_cmd
22100 wine_fn_config_makefile programs/cmd/tests enable_tests
22101 wine_fn_config_makefile programs/conhost enable_conhost
22102 wine_fn_config_makefile programs/conhost/tests enable_tests
22103 wine_fn_config_makefile programs/control enable_control
22104 wine_fn_config_makefile programs/cscript enable_cscript
22105 wine_fn_config_makefile programs/dism enable_dism
22106 wine_fn_config_makefile programs/dllhost enable_dllhost
22107 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22108 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22109 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22110 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22111 wine_fn_config_makefile programs/eject enable_eject
22112 wine_fn_config_makefile programs/expand enable_expand
22113 wine_fn_config_makefile programs/explorer enable_explorer
22114 wine_fn_config_makefile programs/explorer/tests enable_tests
22115 wine_fn_config_makefile programs/extrac32 enable_extrac32
22116 wine_fn_config_makefile programs/fc enable_fc
22117 wine_fn_config_makefile programs/find enable_find
22118 wine_fn_config_makefile programs/find/tests enable_tests
22119 wine_fn_config_makefile programs/findstr enable_findstr
22120 wine_fn_config_makefile programs/findstr/tests enable_tests
22121 wine_fn_config_makefile programs/fsutil enable_fsutil
22122 wine_fn_config_makefile programs/fsutil/tests enable_tests
22123 wine_fn_config_makefile programs/hh enable_hh
22124 wine_fn_config_makefile programs/hostname enable_hostname
22125 wine_fn_config_makefile programs/icacls enable_icacls
22126 wine_fn_config_makefile programs/icinfo enable_icinfo
22127 wine_fn_config_makefile programs/iexplore enable_iexplore
22128 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22129 wine_fn_config_makefile programs/klist enable_klist
22130 wine_fn_config_makefile programs/lodctr enable_lodctr
22131 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22132 wine_fn_config_makefile programs/mshta enable_mshta
22133 wine_fn_config_makefile programs/msidb enable_msidb
22134 wine_fn_config_makefile programs/msiexec enable_msiexec
22135 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22136 wine_fn_config_makefile programs/net enable_net
22137 wine_fn_config_makefile programs/netsh enable_netsh
22138 wine_fn_config_makefile programs/netstat enable_netstat
22139 wine_fn_config_makefile programs/ngen enable_ngen
22140 wine_fn_config_makefile programs/notepad enable_notepad
22141 wine_fn_config_makefile programs/oleview enable_oleview
22142 wine_fn_config_makefile programs/ping enable_ping
22143 wine_fn_config_makefile programs/plugplay enable_plugplay
22144 wine_fn_config_makefile programs/pnputil enable_pnputil
22145 wine_fn_config_makefile programs/powershell enable_powershell
22146 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22147 wine_fn_config_makefile programs/progman enable_progman
22148 wine_fn_config_makefile programs/reg enable_reg
22149 wine_fn_config_makefile programs/reg/tests enable_tests
22150 wine_fn_config_makefile programs/regasm enable_regasm
22151 wine_fn_config_makefile programs/regedit enable_regedit
22152 wine_fn_config_makefile programs/regedit/tests enable_tests
22153 wine_fn_config_makefile programs/regini enable_regini
22154 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22155 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22156 wine_fn_config_makefile programs/robocopy enable_robocopy
22157 wine_fn_config_makefile programs/rpcss enable_rpcss
22158 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22159 wine_fn_config_makefile programs/rundll32 enable_rundll32
22160 wine_fn_config_makefile programs/sc enable_sc
22161 wine_fn_config_makefile programs/sc/tests enable_tests
22162 wine_fn_config_makefile programs/schtasks enable_schtasks
22163 wine_fn_config_makefile programs/schtasks/tests enable_tests
22164 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22165 wine_fn_config_makefile programs/secedit enable_secedit
22166 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22167 wine_fn_config_makefile programs/services enable_services
22168 wine_fn_config_makefile programs/services/tests enable_tests
22169 wine_fn_config_makefile programs/setx enable_setx
22170 wine_fn_config_makefile programs/shutdown enable_shutdown
22171 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22172 wine_fn_config_makefile programs/start enable_start
22173 wine_fn_config_makefile programs/subst enable_subst
22174 wine_fn_config_makefile programs/svchost enable_svchost
22175 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22176 wine_fn_config_makefile programs/taskkill enable_taskkill
22177 wine_fn_config_makefile programs/tasklist enable_tasklist
22178 wine_fn_config_makefile programs/tasklist/tests enable_tests
22179 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22180 wine_fn_config_makefile programs/termsv enable_termsv
22181 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22182 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22183 wine_fn_config_makefile programs/view enable_view
22184 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22185 wine_fn_config_makefile programs/where enable_where
22186 wine_fn_config_makefile programs/whoami enable_whoami
22187 wine_fn_config_makefile programs/wineboot enable_wineboot
22188 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22189 wine_fn_config_makefile programs/winecfg enable_winecfg
22190 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22191 wine_fn_config_makefile programs/winedbg enable_winedbg
22192 wine_fn_config_makefile programs/winedevice enable_winedevice
22193 wine_fn_config_makefile programs/winefile enable_winefile
22194 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22195 wine_fn_config_makefile programs/winemine enable_winemine
22196 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22197 wine_fn_config_makefile programs/winepath enable_winepath
22198 wine_fn_config_makefile programs/winetest enable_winetest
22199 wine_fn_config_makefile programs/winevdm enable_win16
22200 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22201 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22202 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22203 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22204 wine_fn_config_makefile programs/winver enable_winver
22205 wine_fn_config_makefile programs/wmic enable_wmic
22206 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22207 wine_fn_config_makefile programs/wordpad enable_wordpad
22208 wine_fn_config_makefile programs/write enable_write
22209 wine_fn_config_makefile programs/wscript enable_wscript
22210 wine_fn_config_makefile programs/wscript/tests enable_tests
22211 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22212 wine_fn_config_makefile programs/wusa enable_wusa
22213 wine_fn_config_makefile programs/xcopy enable_xcopy
22214 wine_fn_config_makefile programs/xcopy/tests enable_tests
22215 wine_fn_config_makefile server enable_server
22216 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22217 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22218 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22219 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22220 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22221 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22222 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22223 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22224 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22227 as_fn_append CONFIGURE_TARGETS " TAGS"
22228 as_fn_append CONFIGURE_TARGETS " tags"
22229 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22230 as_fn_append CONFIGURE_TARGETS " config.log"
22231 as_fn_append CONFIGURE_TARGETS " config.status"
22232 as_fn_append CONFIGURE_TARGETS " include/config.h"
22233 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22234 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22236 if test "x$enable_tools" != xno
22237 then
22238 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22239 ac_config_commands="$ac_config_commands tools/makedep"
22243 ac_config_commands="$ac_config_commands Makefile"
22247 SHELL=/bin/sh
22250 as_fn_append wine_rules "
22251 all: wine
22252 @echo \"Wine build complete.\"
22253 .INIT: Makefile
22254 .MAKEFILEDEPS:
22255 all: Makefile
22256 Makefile: config.status \$(MAKEDEP)
22257 @./config.status Makefile
22258 depend: \$(MAKEDEP)
22259 \$(MAKEDEP)$makedep_flags"
22262 as_fn_append wine_rules "
22263 config.status: ${wine_srcdir}configure
22264 @./config.status --recheck
22265 include/config.h: include/stamp-h
22266 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22267 @./config.status include/config.h include/stamp-h"
22269 if test "x$enable_maintainer_mode" = xyes
22270 then
22271 as_fn_append wine_rules "
22272 configure: configure.ac aclocal.m4
22273 autoconf --warnings=all
22274 include/config.h.in: include/stamp-h.in
22275 include/stamp-h.in: configure.ac aclocal.m4
22276 autoheader --warnings=all
22277 @echo timestamp > \$@"
22280 if test "x$enable_tools" != xno
22281 then
22282 as_fn_append wine_rules "
22283 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22284 @./config.status tools/makedep
22285 Makefile: tools/makedep$ac_exeext"
22286 else
22287 as_fn_append wine_rules "
22288 \$(MAKEDEP):
22289 @echo \"You need to run make in $toolsdir first\" && false"
22293 if test -n "$with_wine64"
22294 then
22295 case "$with_wine64" in
22296 /*) reldir="" ;;
22297 *) reldir="../" ;;
22298 esac
22299 rm -f fonts server 2>/dev/null
22300 as_fn_append wine_rules "
22301 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22302 loader/wine64 loader/wine64-preloader:
22303 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22304 $with_wine64/loader/wine:
22305 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22306 $with_wine64/loader/wine-preloader:
22307 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22308 clean::
22309 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22310 else
22311 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22312 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22313 fonts \
22314 loader/wine.inf \
22315 nls \
22316 programs/msidb/msidb \
22317 programs/msiexec/msiexec \
22318 programs/notepad/notepad \
22319 programs/regedit/regedit \
22320 programs/regsvr32/regsvr32 \
22321 programs/wineboot/wineboot \
22322 programs/winecfg/winecfg \
22323 programs/wineconsole/wineconsole \
22324 programs/winedbg/winedbg \
22325 programs/winefile/winefile \
22326 programs/winemine/winemine \
22327 programs/winepath/winepath \
22328 server/wineserver"
22330 case $host_os in
22331 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22332 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22333 esac
22337 as_fn_append wine_rules "
22338 distclean:: clean
22339 rm -rf autom4te.cache
22340 maintainer-clean::
22341 rm -f configure include/config.h.in"
22344 as_fn_append wine_rules "
22345 dlls/ntdll/unix/version.c: dummy
22346 @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)
22347 programs/winetest/build.rc: dummy
22348 @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)
22349 programs/winetest/build.nfo:
22350 @-\$(CC) -v 2>\$@
22351 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
22352 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22353 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22356 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22358 as_fn_append wine_rules "
22359 TAGS etags:
22360 rm -f TAGS
22361 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22362 tags ctags:
22363 rm -f tags
22364 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22365 dummy:
22366 .PHONY: depend dummy install-manpages"
22368 printf "%s\n" " done" >&6
22369 cat >confcache <<\_ACEOF
22370 # This file is a shell script that caches the results of configure
22371 # tests run on this system so they can be shared between configure
22372 # scripts and configure runs, see configure's option --config-cache.
22373 # It is not useful on other systems. If it contains results you don't
22374 # want to keep, you may remove or edit it.
22376 # config.status only pays attention to the cache file if you give it
22377 # the --recheck option to rerun configure.
22379 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22380 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22381 # following values.
22383 _ACEOF
22385 # The following way of writing the cache mishandles newlines in values,
22386 # but we know of no workaround that is simple, portable, and efficient.
22387 # So, we kill variables containing newlines.
22388 # Ultrix sh set writes to stderr and can't be redirected directly,
22389 # and sets the high bit in the cache file unless we assign to the vars.
22391 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22392 eval ac_val=\$$ac_var
22393 case $ac_val in #(
22394 *${as_nl}*)
22395 case $ac_var in #(
22396 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22397 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22398 esac
22399 case $ac_var in #(
22400 _ | IFS | as_nl) ;; #(
22401 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22402 *) { eval $ac_var=; unset $ac_var;} ;;
22403 esac ;;
22404 esac
22405 done
22407 (set) 2>&1 |
22408 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22409 *${as_nl}ac_space=\ *)
22410 # `set' does not quote correctly, so add quotes: double-quote
22411 # substitution turns \\\\ into \\, and sed turns \\ into \.
22412 sed -n \
22413 "s/'/'\\\\''/g;
22414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22415 ;; #(
22417 # `set' quotes correctly as required by POSIX, so do not add quotes.
22418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22420 esac |
22421 sort
22423 sed '
22424 /^ac_cv_env_/b end
22425 t clear
22426 :clear
22427 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22428 t end
22429 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22430 :end' >>confcache
22431 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22432 if test -w "$cache_file"; then
22433 if test "x$cache_file" != "x/dev/null"; then
22434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22435 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22436 if test ! -f "$cache_file" || test -h "$cache_file"; then
22437 cat confcache >"$cache_file"
22438 else
22439 case $cache_file in #(
22440 */* | ?:*)
22441 mv -f confcache "$cache_file"$$ &&
22442 mv -f "$cache_file"$$ "$cache_file" ;; #(
22444 mv -f confcache "$cache_file" ;;
22445 esac
22448 else
22449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22450 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22453 rm -f confcache
22455 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22456 # Let make expand exec_prefix.
22457 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22459 DEFS=-DHAVE_CONFIG_H
22461 ac_libobjs=
22462 ac_ltlibobjs=
22464 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22465 # 1. Remove the extension, and $U if already installed.
22466 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22467 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22468 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22469 # will be set to the directory where LIBOBJS objects are built.
22470 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22471 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22472 done
22473 LIBOBJS=$ac_libobjs
22475 LTLIBOBJS=$ac_ltlibobjs
22479 : "${CONFIG_STATUS=./config.status}"
22480 ac_write_fail=0
22481 ac_clean_files_save=$ac_clean_files
22482 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22484 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22485 as_write_fail=0
22486 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22487 #! $SHELL
22488 # Generated by $as_me.
22489 # Run this file to recreate the current configuration.
22490 # Compiler output produced by configure, useful for debugging
22491 # configure, is in config.log if it exists.
22493 debug=false
22494 ac_cs_recheck=false
22495 ac_cs_silent=false
22497 SHELL=\${CONFIG_SHELL-$SHELL}
22498 export SHELL
22499 _ASEOF
22500 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22501 ## -------------------- ##
22502 ## M4sh Initialization. ##
22503 ## -------------------- ##
22505 # Be more Bourne compatible
22506 DUALCASE=1; export DUALCASE # for MKS sh
22507 as_nop=:
22508 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22509 then :
22510 emulate sh
22511 NULLCMD=:
22512 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22513 # is contrary to our usage. Disable this feature.
22514 alias -g '${1+"$@"}'='"$@"'
22515 setopt NO_GLOB_SUBST
22516 else $as_nop
22517 case `(set -o) 2>/dev/null` in #(
22518 *posix*) :
22519 set -o posix ;; #(
22520 *) :
22522 esac
22527 # Reset variables that may have inherited troublesome values from
22528 # the environment.
22530 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22531 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22532 # side effect of setting IFS to empty, thus disabling word splitting.)
22533 # Quoting is to prevent editors from complaining about space-tab.
22534 as_nl='
22536 export as_nl
22537 IFS=" "" $as_nl"
22539 PS1='$ '
22540 PS2='> '
22541 PS4='+ '
22543 # Ensure predictable behavior from utilities with locale-dependent output.
22544 LC_ALL=C
22545 export LC_ALL
22546 LANGUAGE=C
22547 export LANGUAGE
22549 # We cannot yet rely on "unset" to work, but we need these variables
22550 # to be unset--not just set to an empty or harmless value--now, to
22551 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22552 # also avoids known problems related to "unset" and subshell syntax
22553 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22554 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22555 do eval test \${$as_var+y} \
22556 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22557 done
22559 # Ensure that fds 0, 1, and 2 are open.
22560 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22561 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22562 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22564 # The user is always right.
22565 if ${PATH_SEPARATOR+false} :; then
22566 PATH_SEPARATOR=:
22567 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22568 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22569 PATH_SEPARATOR=';'
22574 # Find who we are. Look in the path if we contain no directory separator.
22575 as_myself=
22576 case $0 in #((
22577 *[\\/]* ) as_myself=$0 ;;
22578 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22579 for as_dir in $PATH
22581 IFS=$as_save_IFS
22582 case $as_dir in #(((
22583 '') as_dir=./ ;;
22584 */) ;;
22585 *) as_dir=$as_dir/ ;;
22586 esac
22587 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22588 done
22589 IFS=$as_save_IFS
22592 esac
22593 # We did not find ourselves, most probably we were run as `sh COMMAND'
22594 # in which case we are not to be found in the path.
22595 if test "x$as_myself" = x; then
22596 as_myself=$0
22598 if test ! -f "$as_myself"; then
22599 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22600 exit 1
22605 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22606 # ----------------------------------------
22607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22609 # script with STATUS, using 1 if that was 0.
22610 as_fn_error ()
22612 as_status=$1; test $as_status -eq 0 && as_status=1
22613 if test "$4"; then
22614 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22617 printf "%s\n" "$as_me: error: $2" >&2
22618 as_fn_exit $as_status
22619 } # as_fn_error
22623 # as_fn_set_status STATUS
22624 # -----------------------
22625 # Set $? to STATUS, without forking.
22626 as_fn_set_status ()
22628 return $1
22629 } # as_fn_set_status
22631 # as_fn_exit STATUS
22632 # -----------------
22633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22634 as_fn_exit ()
22636 set +e
22637 as_fn_set_status $1
22638 exit $1
22639 } # as_fn_exit
22641 # as_fn_unset VAR
22642 # ---------------
22643 # Portably unset VAR.
22644 as_fn_unset ()
22646 { eval $1=; unset $1;}
22648 as_unset=as_fn_unset
22650 # as_fn_append VAR VALUE
22651 # ----------------------
22652 # Append the text in VALUE to the end of the definition contained in VAR. Take
22653 # advantage of any shell optimizations that allow amortized linear growth over
22654 # repeated appends, instead of the typical quadratic growth present in naive
22655 # implementations.
22656 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22657 then :
22658 eval 'as_fn_append ()
22660 eval $1+=\$2
22662 else $as_nop
22663 as_fn_append ()
22665 eval $1=\$$1\$2
22667 fi # as_fn_append
22669 # as_fn_arith ARG...
22670 # ------------------
22671 # Perform arithmetic evaluation on the ARGs, and store the result in the
22672 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22673 # must be portable across $(()) and expr.
22674 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22675 then :
22676 eval 'as_fn_arith ()
22678 as_val=$(( $* ))
22680 else $as_nop
22681 as_fn_arith ()
22683 as_val=`expr "$@" || test $? -eq 1`
22685 fi # as_fn_arith
22688 if expr a : '\(a\)' >/dev/null 2>&1 &&
22689 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22690 as_expr=expr
22691 else
22692 as_expr=false
22695 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22696 as_basename=basename
22697 else
22698 as_basename=false
22701 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22702 as_dirname=dirname
22703 else
22704 as_dirname=false
22707 as_me=`$as_basename -- "$0" ||
22708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22709 X"$0" : 'X\(//\)$' \| \
22710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22711 printf "%s\n" X/"$0" |
22712 sed '/^.*\/\([^/][^/]*\)\/*$/{
22713 s//\1/
22716 /^X\/\(\/\/\)$/{
22717 s//\1/
22720 /^X\/\(\/\).*/{
22721 s//\1/
22724 s/.*/./; q'`
22726 # Avoid depending upon Character Ranges.
22727 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22728 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22729 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22730 as_cr_digits='0123456789'
22731 as_cr_alnum=$as_cr_Letters$as_cr_digits
22734 # Determine whether it's possible to make 'echo' print without a newline.
22735 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22736 # for compatibility with existing Makefiles.
22737 ECHO_C= ECHO_N= ECHO_T=
22738 case `echo -n x` in #(((((
22739 -n*)
22740 case `echo 'xy\c'` in
22741 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22742 xy) ECHO_C='\c';;
22743 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22744 ECHO_T=' ';;
22745 esac;;
22747 ECHO_N='-n';;
22748 esac
22750 # For backward compatibility with old third-party macros, we provide
22751 # the shell variables $as_echo and $as_echo_n. New code should use
22752 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22753 as_echo='printf %s\n'
22754 as_echo_n='printf %s'
22756 rm -f conf$$ conf$$.exe conf$$.file
22757 if test -d conf$$.dir; then
22758 rm -f conf$$.dir/conf$$.file
22759 else
22760 rm -f conf$$.dir
22761 mkdir conf$$.dir 2>/dev/null
22763 if (echo >conf$$.file) 2>/dev/null; then
22764 if ln -s conf$$.file conf$$ 2>/dev/null; then
22765 as_ln_s='ln -s'
22766 # ... but there are two gotchas:
22767 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22768 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22769 # In both cases, we have to default to `cp -pR'.
22770 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22771 as_ln_s='cp -pR'
22772 elif ln conf$$.file conf$$ 2>/dev/null; then
22773 as_ln_s=ln
22774 else
22775 as_ln_s='cp -pR'
22777 else
22778 as_ln_s='cp -pR'
22780 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22781 rmdir conf$$.dir 2>/dev/null
22784 # as_fn_mkdir_p
22785 # -------------
22786 # Create "$as_dir" as a directory, including parents if necessary.
22787 as_fn_mkdir_p ()
22790 case $as_dir in #(
22791 -*) as_dir=./$as_dir;;
22792 esac
22793 test -d "$as_dir" || eval $as_mkdir_p || {
22794 as_dirs=
22795 while :; do
22796 case $as_dir in #(
22797 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22798 *) as_qdir=$as_dir;;
22799 esac
22800 as_dirs="'$as_qdir' $as_dirs"
22801 as_dir=`$as_dirname -- "$as_dir" ||
22802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22803 X"$as_dir" : 'X\(//\)[^/]' \| \
22804 X"$as_dir" : 'X\(//\)$' \| \
22805 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22806 printf "%s\n" X"$as_dir" |
22807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22808 s//\1/
22811 /^X\(\/\/\)[^/].*/{
22812 s//\1/
22815 /^X\(\/\/\)$/{
22816 s//\1/
22819 /^X\(\/\).*/{
22820 s//\1/
22823 s/.*/./; q'`
22824 test -d "$as_dir" && break
22825 done
22826 test -z "$as_dirs" || eval "mkdir $as_dirs"
22827 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22830 } # as_fn_mkdir_p
22831 if mkdir -p . 2>/dev/null; then
22832 as_mkdir_p='mkdir -p "$as_dir"'
22833 else
22834 test -d ./-p && rmdir ./-p
22835 as_mkdir_p=false
22839 # as_fn_executable_p FILE
22840 # -----------------------
22841 # Test if FILE is an executable regular file.
22842 as_fn_executable_p ()
22844 test -f "$1" && test -x "$1"
22845 } # as_fn_executable_p
22846 as_test_x='test -x'
22847 as_executable_p=as_fn_executable_p
22849 # Sed expression to map a string onto a valid CPP name.
22850 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22852 # Sed expression to map a string onto a valid variable name.
22853 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22856 exec 6>&1
22857 ## ----------------------------------- ##
22858 ## Main body of $CONFIG_STATUS script. ##
22859 ## ----------------------------------- ##
22860 _ASEOF
22861 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22864 # Save the log message, to keep $0 and so on meaningful, and to
22865 # report actual input values of CONFIG_FILES etc. instead of their
22866 # values after options handling.
22867 ac_log="
22868 This file was extended by Wine $as_me 8.13, which was
22869 generated by GNU Autoconf 2.71. Invocation command line was
22871 CONFIG_FILES = $CONFIG_FILES
22872 CONFIG_HEADERS = $CONFIG_HEADERS
22873 CONFIG_LINKS = $CONFIG_LINKS
22874 CONFIG_COMMANDS = $CONFIG_COMMANDS
22875 $ $0 $@
22877 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22880 _ACEOF
22883 case $ac_config_headers in *"
22884 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22885 esac
22888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22889 # Files that config.status was made for.
22890 config_headers="$ac_config_headers"
22891 config_links="$ac_config_links"
22892 config_commands="$ac_config_commands"
22894 _ACEOF
22896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22897 ac_cs_usage="\
22898 \`$as_me' instantiates files and other configuration actions
22899 from templates according to the current configuration. Unless the files
22900 and actions are specified as TAGs, all are instantiated by default.
22902 Usage: $0 [OPTION]... [TAG]...
22904 -h, --help print this help, then exit
22905 -V, --version print version number and configuration settings, then exit
22906 --config print configuration, then exit
22907 -q, --quiet, --silent
22908 do not print progress messages
22909 -d, --debug don't remove temporary files
22910 --recheck update $as_me by reconfiguring in the same conditions
22911 --header=FILE[:TEMPLATE]
22912 instantiate the configuration header FILE
22914 Configuration headers:
22915 $config_headers
22917 Configuration links:
22918 $config_links
22920 Configuration commands:
22921 $config_commands
22923 Report bugs to <wine-devel@winehq.org>.
22924 Wine home page: <https://www.winehq.org>."
22926 _ACEOF
22927 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22928 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22930 ac_cs_config='$ac_cs_config_escaped'
22931 ac_cs_version="\\
22932 Wine config.status 8.13
22933 configured by $0, generated by GNU Autoconf 2.71,
22934 with options \\"\$ac_cs_config\\"
22936 Copyright (C) 2021 Free Software Foundation, Inc.
22937 This config.status script is free software; the Free Software Foundation
22938 gives unlimited permission to copy, distribute and modify it."
22940 ac_pwd='$ac_pwd'
22941 srcdir='$srcdir'
22942 test -n "\$AWK" || AWK=awk
22943 _ACEOF
22945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22946 # The default lists apply if the user does not specify any file.
22947 ac_need_defaults=:
22948 while test $# != 0
22950 case $1 in
22951 --*=?*)
22952 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22953 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22954 ac_shift=:
22956 --*=)
22957 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22958 ac_optarg=
22959 ac_shift=:
22962 ac_option=$1
22963 ac_optarg=$2
22964 ac_shift=shift
22966 esac
22968 case $ac_option in
22969 # Handling of the options.
22970 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22971 ac_cs_recheck=: ;;
22972 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22973 printf "%s\n" "$ac_cs_version"; exit ;;
22974 --config | --confi | --conf | --con | --co | --c )
22975 printf "%s\n" "$ac_cs_config"; exit ;;
22976 --debug | --debu | --deb | --de | --d | -d )
22977 debug=: ;;
22978 --header | --heade | --head | --hea )
22979 $ac_shift
22980 case $ac_optarg in
22981 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22982 esac
22983 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22984 ac_need_defaults=false;;
22985 --he | --h)
22986 # Conflict between --help and --header
22987 as_fn_error $? "ambiguous option: \`$1'
22988 Try \`$0 --help' for more information.";;
22989 --help | --hel | -h )
22990 printf "%s\n" "$ac_cs_usage"; exit ;;
22991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22992 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22993 ac_cs_silent=: ;;
22995 # This is an error.
22996 -*) as_fn_error $? "unrecognized option: \`$1'
22997 Try \`$0 --help' for more information." ;;
22999 *) as_fn_append ac_config_targets " $1"
23000 ac_need_defaults=false ;;
23002 esac
23003 shift
23004 done
23006 ac_configure_extra_args=
23008 if $ac_cs_silent; then
23009 exec 6>/dev/null
23010 ac_configure_extra_args="$ac_configure_extra_args --silent"
23013 _ACEOF
23014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23015 if \$ac_cs_recheck; then
23016 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23017 shift
23018 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23019 CONFIG_SHELL='$SHELL'
23020 export CONFIG_SHELL
23021 exec "\$@"
23024 _ACEOF
23025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23026 exec 5>>config.log
23028 echo
23029 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23030 ## Running $as_me. ##
23031 _ASBOX
23032 printf "%s\n" "$ac_log"
23033 } >&5
23035 _ACEOF
23036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23038 # INIT-COMMANDS
23040 wine_fn_output_makedep ()
23042 as_dir=tools; as_fn_mkdir_p
23043 $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
23045 wine_fn_output_makefile ()
23047 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23048 # This Makefile understands the following targets:
23050 # all (default): build wine
23051 # clean: remove all intermediate files
23052 # distclean: also remove all files created by configure
23053 # test: run tests
23054 # testclean: clean test results to force running all tests again
23055 # install-lib: install libraries needed to run applications
23056 # install-dev: install development environment
23057 # install: install everything
23058 # uninstall: uninstall everything
23059 # ctags: create a tags file for vim and others.
23060 # etags: create a TAGS file for Emacs.
23062 SHELL = $SHELL
23063 PATH_SEPARATOR = $PATH_SEPARATOR
23064 PACKAGE_NAME = $PACKAGE_NAME
23065 PACKAGE_TARNAME = $PACKAGE_TARNAME
23066 PACKAGE_VERSION = $PACKAGE_VERSION
23067 PACKAGE_STRING = $PACKAGE_STRING
23068 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23069 PACKAGE_URL = $PACKAGE_URL
23070 exec_prefix = $exec_prefix
23071 prefix = $prefix
23072 program_transform_name = $program_transform_name
23073 bindir = $bindir
23074 sbindir = $sbindir
23075 libexecdir = $libexecdir
23076 datarootdir = $datarootdir
23077 datadir = $datadir
23078 sysconfdir = $sysconfdir
23079 sharedstatedir = $sharedstatedir
23080 localstatedir = $localstatedir
23081 runstatedir = $runstatedir
23082 includedir = $includedir
23083 oldincludedir = $oldincludedir
23084 docdir = $docdir
23085 infodir = $infodir
23086 htmldir = $htmldir
23087 dvidir = $dvidir
23088 pdfdir = $pdfdir
23089 psdir = $psdir
23090 libdir = $libdir
23091 localedir = $localedir
23092 mandir = $mandir
23093 DEFS = $DEFS
23094 ECHO_C = $ECHO_C
23095 ECHO_N = $ECHO_N
23096 ECHO_T = $ECHO_T
23097 LIBS = $LIBS
23098 build_alias = $build_alias
23099 host_alias = $host_alias
23100 target_alias = $target_alias
23101 system_dllpath = $system_dllpath
23102 build = $build
23103 build_cpu = $build_cpu
23104 build_vendor = $build_vendor
23105 build_os = $build_os
23106 host = $host
23107 host_cpu = $host_cpu
23108 host_vendor = $host_vendor
23109 host_os = $host_os
23110 dlldir = $dlldir
23111 fontdir = $fontdir
23112 nlsdir = $nlsdir
23113 srcdir = $srcdir
23114 SET_MAKE = $SET_MAKE
23115 CC = $CC
23116 CFLAGS = $CFLAGS
23117 LDFLAGS = $LDFLAGS
23118 CPPFLAGS = $CPPFLAGS
23119 ac_ct_CC = $ac_ct_CC
23120 EXEEXT = $EXEEXT
23121 OBJEXT = $OBJEXT
23122 CXX = $CXX
23123 CXXFLAGS = $CXXFLAGS
23124 ac_ct_CXX = $ac_ct_CXX
23125 CPPBIN = $CPPBIN
23126 LD = $LD
23127 TARGETFLAGS = $TARGETFLAGS
23128 toolsext = $toolsext
23129 HOST_ARCH = $HOST_ARCH
23130 aarch64_CC = $aarch64_CC
23131 aarch64_CFLAGS = $aarch64_CFLAGS
23132 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23133 aarch64_LDFLAGS = $aarch64_LDFLAGS
23134 aarch64_DEBUG = $aarch64_DEBUG
23135 aarch64_TARGET = $aarch64_TARGET
23136 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23137 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23138 arm_CC = $arm_CC
23139 arm_CFLAGS = $arm_CFLAGS
23140 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23141 arm_LDFLAGS = $arm_LDFLAGS
23142 arm_DEBUG = $arm_DEBUG
23143 arm_TARGET = $arm_TARGET
23144 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23145 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23146 i386_CC = $i386_CC
23147 i386_CFLAGS = $i386_CFLAGS
23148 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23149 i386_LDFLAGS = $i386_LDFLAGS
23150 i386_DEBUG = $i386_DEBUG
23151 i386_TARGET = $i386_TARGET
23152 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23153 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23154 x86_64_CC = $x86_64_CC
23155 x86_64_CFLAGS = $x86_64_CFLAGS
23156 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23157 x86_64_LDFLAGS = $x86_64_LDFLAGS
23158 x86_64_DEBUG = $x86_64_DEBUG
23159 x86_64_TARGET = $x86_64_TARGET
23160 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23161 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23162 toolsdir = $toolsdir
23163 MAKEDEP = $MAKEDEP
23164 RUNTESTFLAGS = $RUNTESTFLAGS
23165 SED_CMD = $SED_CMD
23166 FLEX = $FLEX
23167 BISON = $BISON
23168 AR = $AR
23169 ac_ct_AR = $ac_ct_AR
23170 STRIP = $STRIP
23171 RANLIB = $RANLIB
23172 LN_S = $LN_S
23173 GREP = $GREP
23174 EGREP = $EGREP
23175 LDCONFIG = $LDCONFIG
23176 MSGFMT = $MSGFMT
23177 PKG_CONFIG = $PKG_CONFIG
23178 FONTFORGE = $FONTFORGE
23179 RSVG = $RSVG
23180 CONVERT = $CONVERT
23181 ICOTOOL = $ICOTOOL
23182 I386_LIBS = $I386_LIBS
23183 OPENGL_LIBS = $OPENGL_LIBS
23184 DLLFLAGS = $DLLFLAGS
23185 LDDLLFLAGS = $LDDLLFLAGS
23186 LDEXECFLAGS = $LDEXECFLAGS
23187 EXTRACFLAGS = $EXTRACFLAGS
23188 UNIXDLLFLAGS = $UNIXDLLFLAGS
23189 UNIXLDFLAGS = $UNIXLDFLAGS
23190 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23191 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23192 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23193 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23194 DLLEXT = $DLLEXT
23195 LDD = $LDD
23196 OTOOL = $OTOOL
23197 READELF = $READELF
23198 SUBDIRS = $SUBDIRS
23199 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23200 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23201 CARBON_LIBS = $CARBON_LIBS
23202 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23203 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23204 IOKIT_LIBS = $IOKIT_LIBS
23205 METAL_LIBS = $METAL_LIBS
23206 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23207 CORESERVICES_LIBS = $CORESERVICES_LIBS
23208 APPKIT_LIBS = $APPKIT_LIBS
23209 SECURITY_LIBS = $SECURITY_LIBS
23210 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23211 COREAUDIO_LIBS = $COREAUDIO_LIBS
23212 OPENCL_LIBS = $OPENCL_LIBS
23213 OBJC = $OBJC
23214 OBJCFLAGS = $OBJCFLAGS
23215 ac_ct_OBJC = $ac_ct_OBJC
23216 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23217 PE_ARCHS = $PE_ARCHS
23218 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23219 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23220 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23221 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23222 GSM_PE_LIBS = $GSM_PE_LIBS
23223 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23224 JPEG_PE_LIBS = $JPEG_PE_LIBS
23225 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23226 JXR_PE_LIBS = $JXR_PE_LIBS
23227 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23228 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23229 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23230 LDAP_PE_LIBS = $LDAP_PE_LIBS
23231 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23232 MPG123_PE_LIBS = $MPG123_PE_LIBS
23233 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23234 MUSL_PE_LIBS = $MUSL_PE_LIBS
23235 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23236 PNG_PE_LIBS = $PNG_PE_LIBS
23237 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23238 TIFF_PE_LIBS = $TIFF_PE_LIBS
23239 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23240 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23241 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23242 XML2_PE_LIBS = $XML2_PE_LIBS
23243 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23244 XSLT_PE_LIBS = $XSLT_PE_LIBS
23245 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23246 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23247 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23248 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23249 PTHREAD_LIBS = $PTHREAD_LIBS
23250 XMKMF = $XMKMF
23251 CPP = $CPP
23252 X_CFLAGS = $X_CFLAGS
23253 X_PRE_LIBS = $X_PRE_LIBS
23254 X_LIBS = $X_LIBS
23255 X_EXTRA_LIBS = $X_EXTRA_LIBS
23256 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23257 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23258 WAYLAND_SCANNER = $WAYLAND_SCANNER
23259 PCAP_LIBS = $PCAP_LIBS
23260 PCSCLITE_LIBS = $PCSCLITE_LIBS
23261 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23262 INOTIFY_LIBS = $INOTIFY_LIBS
23263 DBUS_CFLAGS = $DBUS_CFLAGS
23264 DBUS_LIBS = $DBUS_LIBS
23265 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23266 GNUTLS_LIBS = $GNUTLS_LIBS
23267 SANE_CFLAGS = $SANE_CFLAGS
23268 SANE_LIBS = $SANE_LIBS
23269 USB_CFLAGS = $USB_CFLAGS
23270 USB_LIBS = $USB_LIBS
23271 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23272 GPHOTO2_LIBS = $GPHOTO2_LIBS
23273 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23274 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23275 RESOLV_LIBS = $RESOLV_LIBS
23276 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23277 FREETYPE_LIBS = $FREETYPE_LIBS
23278 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23279 PULSE_CFLAGS = $PULSE_CFLAGS
23280 PULSE_LIBS = $PULSE_LIBS
23281 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23282 GSTREAMER_LIBS = $GSTREAMER_LIBS
23283 ALSA_LIBS = $ALSA_LIBS
23284 OSS4_CFLAGS = $OSS4_CFLAGS
23285 OSS4_LIBS = $OSS4_LIBS
23286 UDEV_CFLAGS = $UDEV_CFLAGS
23287 UDEV_LIBS = $UDEV_LIBS
23288 UNWIND_CFLAGS = $UNWIND_CFLAGS
23289 UNWIND_LIBS = $UNWIND_LIBS
23290 SDL2_CFLAGS = $SDL2_CFLAGS
23291 SDL2_LIBS = $SDL2_LIBS
23292 CAPI20_CFLAGS = $CAPI20_CFLAGS
23293 CAPI20_LIBS = $CAPI20_LIBS
23294 CUPS_CFLAGS = $CUPS_CFLAGS
23295 CUPS_LIBS = $CUPS_LIBS
23296 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23297 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23298 KRB5_CFLAGS = $KRB5_CFLAGS
23299 KRB5_LIBS = $KRB5_LIBS
23300 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23301 GSSAPI_LIBS = $GSSAPI_LIBS
23302 PROCSTAT_LIBS = $PROCSTAT_LIBS
23303 NETAPI_CFLAGS = $NETAPI_CFLAGS
23304 NETAPI_LIBS = $NETAPI_LIBS
23305 MSVCRTFLAGS = $MSVCRTFLAGS
23306 DELAYLOADFLAG = $DELAYLOADFLAG
23307 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23308 RT_LIBS = $RT_LIBS
23309 TAGSFLAGS = $TAGSFLAGS
23310 LIBOBJS = $LIBOBJS
23311 LTLIBOBJS = $LTLIBOBJS
23312 $SET_MAKE
23313 $wine_rules
23314 _WINE_EOF
23315 as_fn_error $? "could not create Makefile" "$LINENO" 5
23318 _ACEOF
23320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23322 # Handling of arguments.
23323 for ac_config_target in $ac_config_targets
23325 case $ac_config_target in
23326 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23327 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23328 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23329 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23330 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23331 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23333 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23334 esac
23335 done
23338 # If the user did not use the arguments to specify the items to instantiate,
23339 # then the envvar interface is used. Set only those that are not.
23340 # We use the long form for the default assignment because of an extremely
23341 # bizarre bug on SunOS 4.1.3.
23342 if $ac_need_defaults; then
23343 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23344 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23345 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23348 # Have a temporary directory for convenience. Make it in the build tree
23349 # simply because there is no reason against having it here, and in addition,
23350 # creating and moving files from /tmp can sometimes cause problems.
23351 # Hook for its removal unless debugging.
23352 # Note that there is a small window in which the directory will not be cleaned:
23353 # after its creation but before its name has been assigned to `$tmp'.
23354 $debug ||
23356 tmp= ac_tmp=
23357 trap 'exit_status=$?
23358 : "${ac_tmp:=$tmp}"
23359 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23361 trap 'as_fn_exit 1' 1 2 13 15
23363 # Create a (secure) tmp directory for tmp files.
23366 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23367 test -d "$tmp"
23368 } ||
23370 tmp=./conf$$-$RANDOM
23371 (umask 077 && mkdir "$tmp")
23372 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23373 ac_tmp=$tmp
23375 # Set up the scripts for CONFIG_HEADERS section.
23376 # No need to generate them if there are no CONFIG_HEADERS.
23377 # This happens for instance with `./config.status Makefile'.
23378 if test -n "$CONFIG_HEADERS"; then
23379 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23380 BEGIN {
23381 _ACEOF
23383 # Transform confdefs.h into an awk script `defines.awk', embedded as
23384 # here-document in config.status, that substitutes the proper values into
23385 # config.h.in to produce config.h.
23387 # Create a delimiter string that does not exist in confdefs.h, to ease
23388 # handling of long lines.
23389 ac_delim='%!_!# '
23390 for ac_last_try in false false :; do
23391 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23392 if test -z "$ac_tt"; then
23393 break
23394 elif $ac_last_try; then
23395 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23396 else
23397 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23399 done
23401 # For the awk script, D is an array of macro values keyed by name,
23402 # likewise P contains macro parameters if any. Preserve backslash
23403 # newline sequences.
23405 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23406 sed -n '
23407 s/.\{148\}/&'"$ac_delim"'/g
23408 t rset
23409 :rset
23410 s/^[ ]*#[ ]*define[ ][ ]*/ /
23411 t def
23413 :def
23414 s/\\$//
23415 t bsnl
23416 s/["\\]/\\&/g
23417 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23418 D["\1"]=" \3"/p
23419 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23421 :bsnl
23422 s/["\\]/\\&/g
23423 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23424 D["\1"]=" \3\\\\\\n"\\/p
23425 t cont
23426 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23427 t cont
23429 :cont
23431 s/.\{148\}/&'"$ac_delim"'/g
23432 t clear
23433 :clear
23434 s/\\$//
23435 t bsnlc
23436 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23438 :bsnlc
23439 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23440 b cont
23441 ' <confdefs.h | sed '
23442 s/'"$ac_delim"'/"\\\
23443 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23446 for (key in D) D_is_set[key] = 1
23447 FS = "\a"
23449 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23450 line = \$ 0
23451 split(line, arg, " ")
23452 if (arg[1] == "#") {
23453 defundef = arg[2]
23454 mac1 = arg[3]
23455 } else {
23456 defundef = substr(arg[1], 2)
23457 mac1 = arg[2]
23459 split(mac1, mac2, "(") #)
23460 macro = mac2[1]
23461 prefix = substr(line, 1, index(line, defundef) - 1)
23462 if (D_is_set[macro]) {
23463 # Preserve the white space surrounding the "#".
23464 print prefix "define", macro P[macro] D[macro]
23465 next
23466 } else {
23467 # Replace #undef with comments. This is necessary, for example,
23468 # in the case of _POSIX_SOURCE, which is predefined and required
23469 # on some systems where configure will not decide to define it.
23470 if (defundef == "undef") {
23471 print "/*", prefix defundef, macro, "*/"
23472 next
23476 { print }
23477 _ACAWK
23478 _ACEOF
23479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23480 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23481 fi # test -n "$CONFIG_HEADERS"
23484 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23485 shift
23486 for ac_tag
23488 case $ac_tag in
23489 :[FHLC]) ac_mode=$ac_tag; continue;;
23490 esac
23491 case $ac_mode$ac_tag in
23492 :[FHL]*:*);;
23493 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23494 :[FH]-) ac_tag=-:-;;
23495 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23496 esac
23497 ac_save_IFS=$IFS
23498 IFS=:
23499 set x $ac_tag
23500 IFS=$ac_save_IFS
23501 shift
23502 ac_file=$1
23503 shift
23505 case $ac_mode in
23506 :L) ac_source=$1;;
23507 :[FH])
23508 ac_file_inputs=
23509 for ac_f
23511 case $ac_f in
23512 -) ac_f="$ac_tmp/stdin";;
23513 *) # Look for the file first in the build tree, then in the source tree
23514 # (if the path is not absolute). The absolute path cannot be DOS-style,
23515 # because $ac_f cannot contain `:'.
23516 test -f "$ac_f" ||
23517 case $ac_f in
23518 [\\/$]*) false;;
23519 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23520 esac ||
23521 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23522 esac
23523 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23524 as_fn_append ac_file_inputs " '$ac_f'"
23525 done
23527 # Let's still pretend it is `configure' which instantiates (i.e., don't
23528 # use $as_me), people would be surprised to read:
23529 # /* config.h. Generated by config.status. */
23530 configure_input='Generated from '`
23531 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23532 `' by configure.'
23533 if test x"$ac_file" != x-; then
23534 configure_input="$ac_file. $configure_input"
23535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23536 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23538 # Neutralize special characters interpreted by sed in replacement strings.
23539 case $configure_input in #(
23540 *\&* | *\|* | *\\* )
23541 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23542 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23543 *) ac_sed_conf_input=$configure_input;;
23544 esac
23546 case $ac_tag in
23547 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23548 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23549 esac
23551 esac
23553 ac_dir=`$as_dirname -- "$ac_file" ||
23554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23555 X"$ac_file" : 'X\(//\)[^/]' \| \
23556 X"$ac_file" : 'X\(//\)$' \| \
23557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23558 printf "%s\n" X"$ac_file" |
23559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23560 s//\1/
23563 /^X\(\/\/\)[^/].*/{
23564 s//\1/
23567 /^X\(\/\/\)$/{
23568 s//\1/
23571 /^X\(\/\).*/{
23572 s//\1/
23575 s/.*/./; q'`
23576 as_dir="$ac_dir"; as_fn_mkdir_p
23577 ac_builddir=.
23579 case "$ac_dir" in
23580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23582 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23583 # A ".." for each directory in $ac_dir_suffix.
23584 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23585 case $ac_top_builddir_sub in
23586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23588 esac ;;
23589 esac
23590 ac_abs_top_builddir=$ac_pwd
23591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23592 # for backward compatibility:
23593 ac_top_builddir=$ac_top_build_prefix
23595 case $srcdir in
23596 .) # We are building in place.
23597 ac_srcdir=.
23598 ac_top_srcdir=$ac_top_builddir_sub
23599 ac_abs_top_srcdir=$ac_pwd ;;
23600 [\\/]* | ?:[\\/]* ) # Absolute name.
23601 ac_srcdir=$srcdir$ac_dir_suffix;
23602 ac_top_srcdir=$srcdir
23603 ac_abs_top_srcdir=$srcdir ;;
23604 *) # Relative name.
23605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23606 ac_top_srcdir=$ac_top_build_prefix$srcdir
23607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23608 esac
23609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23612 case $ac_mode in
23616 # CONFIG_HEADER
23618 if test x"$ac_file" != x-; then
23620 printf "%s\n" "/* $configure_input */" >&1 \
23621 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23622 } >"$ac_tmp/config.h" \
23623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23624 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23626 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23627 else
23628 rm -f "$ac_file"
23629 mv "$ac_tmp/config.h" "$ac_file" \
23630 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23632 else
23633 printf "%s\n" "/* $configure_input */" >&1 \
23634 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23635 || as_fn_error $? "could not create -" "$LINENO" 5
23640 # CONFIG_LINK
23643 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23645 else
23646 # Prefer the file from the source tree if names are identical.
23647 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23648 ac_source=$srcdir/$ac_source
23651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23652 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23654 if test ! -r "$ac_source"; then
23655 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23657 rm -f "$ac_file"
23659 # Try a relative symlink, then a hard link, then a copy.
23660 case $ac_source in
23661 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23662 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23663 esac
23664 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23665 ln "$ac_source" "$ac_file" 2>/dev/null ||
23666 cp -p "$ac_source" "$ac_file" ||
23667 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23670 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23671 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23673 esac
23676 case $ac_file$ac_mode in
23677 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23678 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23679 "Makefile":C) wine_fn_output_makefile Makefile ;;
23681 esac
23682 done # for ac_tag
23685 as_fn_exit 0
23686 _ACEOF
23687 ac_clean_files=$ac_clean_files_save
23689 test $ac_write_fail = 0 ||
23690 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23693 # configure is writing to config.log, and then calls config.status.
23694 # config.status does its own redirection, appending to config.log.
23695 # Unfortunately, on DOS this fails, as config.log is still kept open
23696 # by configure, so config.status won't be able to write to it; its
23697 # output is simply discarded. So we exec the FD to /dev/null,
23698 # effectively closing config.log, so it can be properly (re)opened and
23699 # appended to by config.status. When coming back to configure, we
23700 # need to make the FD available again.
23701 if test "$no_create" != yes; then
23702 ac_cs_success=:
23703 ac_config_status_args=
23704 test "$silent" = yes &&
23705 ac_config_status_args="$ac_config_status_args --quiet"
23706 exec 5>/dev/null
23707 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23708 exec 5>>config.log
23709 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23710 # would make configure fail if this is the last instruction.
23711 $ac_cs_success || as_fn_exit 1
23713 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23715 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23719 if test "$no_create" = "yes"
23720 then
23721 exit 0
23724 ac_save_IFS="$IFS"
23725 if test "x$wine_notices" != x; then
23726 echo >&6
23727 IFS="|"
23728 for msg in $wine_notices; do
23729 IFS="$ac_save_IFS"
23730 if ${msg:+false} :
23731 then :
23733 else $as_nop
23734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23735 printf "%s\n" "$as_me: $msg" >&6;}
23737 done
23739 IFS="|"
23740 for msg in $wine_warnings; do
23741 IFS="$ac_save_IFS"
23742 if ${msg:+false} :
23743 then :
23745 else $as_nop
23746 echo >&2
23747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23748 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23750 done
23751 IFS="$ac_save_IFS"
23753 printf "%s\n" "
23754 $as_me: Finished. Do '${ac_make}' to compile Wine.
23755 " >&6