mshtml/tests: Actually test a return value.
[wine.git] / configure
blobb602a61bb5016be849891bb564afb62220771317
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.1.
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.1'
615 PACKAGE_STRING='Wine 8.1'
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 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LDAP_PE_LIBS
726 LDAP_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 PE_ARCHS
739 LIBWINE_DEPENDS
740 PRELINK
741 WINELOADER_DEPENDS
742 LIBWINE_LDFLAGS
743 LIBWINE_SHAREDLIB
744 ac_ct_OBJC
745 OBJCFLAGS
746 OBJC
747 OPENCL_LIBS
748 COREAUDIO_LIBS
749 SYSTEMCONFIGURATION_LIBS
750 SECURITY_LIBS
751 APPKIT_LIBS
752 CORESERVICES_LIBS
753 APPLICATIONSERVICES_LIBS
754 METAL_LIBS
755 IOKIT_LIBS
756 DISKARBITRATION_LIBS
757 COREFOUNDATION_LIBS
758 CARBON_LIBS
759 CONFIGURE_TARGETS
760 DISABLED_SUBDIRS
761 SUBDIRS
762 READELF
763 OTOOL
765 WINEPRELOADER_LDFLAGS
766 WINELOADER_LDFLAGS
767 TOP_INSTALL_DEV
768 TOP_INSTALL_LIB
769 UNIXLDFLAGS
770 UNIXDLLFLAGS
771 EXTRACFLAGS
772 LDEXECFLAGS
773 LDDLLFLAGS
774 DLLFLAGS
775 OPENGL_LIBS
776 I386_LIBS
777 ICOTOOL
778 CONVERT
779 RSVG
780 FONTFORGE
781 PKG_CONFIG
782 MSGFMT
783 LDCONFIG
784 EGREP
785 GREP
786 LN_S
787 RANLIB
788 STRIP
789 ac_ct_AR
791 BISON
792 FLEX
793 SED_CMD
794 RUNTESTFLAGS
795 MAKEDEP
796 toolsdir
797 x86_64_DISABLED_SUBDIRS
798 x86_64_DELAYLOADFLAG
799 x86_64_TARGET
800 x86_64_DEBUG
801 x86_64_LDFLAGS
802 x86_64_EXTRACFLAGS
803 x86_64_CFLAGS
804 x86_64_CC
805 i386_DISABLED_SUBDIRS
806 i386_DELAYLOADFLAG
807 i386_TARGET
808 i386_DEBUG
809 i386_LDFLAGS
810 i386_EXTRACFLAGS
811 i386_CFLAGS
812 i386_CC
813 arm_DISABLED_SUBDIRS
814 arm_DELAYLOADFLAG
815 arm_TARGET
816 arm_DEBUG
817 arm_LDFLAGS
818 arm_EXTRACFLAGS
819 arm_CFLAGS
820 arm_CC
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
823 aarch64_TARGET
824 aarch64_DEBUG
825 aarch64_LDFLAGS
826 aarch64_EXTRACFLAGS
827 aarch64_CFLAGS
828 aarch64_CC
829 HOST_ARCH
830 toolsext
831 TARGETFLAGS
833 CPPBIN
834 ac_ct_CXX
835 CXXFLAGS
837 OBJEXT
838 EXEEXT
839 ac_ct_CC
840 CPPFLAGS
841 LDFLAGS
842 CFLAGS
844 SET_MAKE
845 srcdir
846 nlsdir
847 fontdir
848 dlldir
849 host_os
850 host_vendor
851 host_cpu
852 host
853 build_os
854 build_vendor
855 build_cpu
856 build
857 system_dllpath
858 target_alias
859 host_alias
860 build_alias
861 LIBS
862 ECHO_T
863 ECHO_N
864 ECHO_C
865 DEFS
866 mandir
867 localedir
868 libdir
869 psdir
870 pdfdir
871 dvidir
872 htmldir
873 infodir
874 docdir
875 oldincludedir
876 includedir
877 runstatedir
878 localstatedir
879 sharedstatedir
880 sysconfdir
881 datadir
882 datarootdir
883 libexecdir
884 sbindir
885 bindir
886 program_transform_name
887 prefix
888 exec_prefix
889 PACKAGE_URL
890 PACKAGE_BUGREPORT
891 PACKAGE_STRING
892 PACKAGE_VERSION
893 PACKAGE_TARNAME
894 PACKAGE_NAME
895 PATH_SEPARATOR
896 SHELL'
897 ac_subst_files=''
898 ac_user_opts='
899 enable_option_checking
900 enable_archs
901 enable_win16
902 enable_win64
903 enable_tests
904 enable_build_id
905 enable_maintainer_mode
906 enable_silent_rules
907 enable_werror
908 with_alsa
909 with_capi
910 with_coreaudio
911 with_cups
912 with_dbus
913 with_float_abi
914 with_fontconfig
915 with_freetype
916 with_gettext
917 with_gettextpo
918 with_gphoto
919 with_gnutls
920 with_gssapi
921 with_gstreamer
922 with_inotify
923 with_krb5
924 with_mingw
925 with_netapi
926 with_opencl
927 with_opengl
928 with_osmesa
929 with_oss
930 with_pcap
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d8
1019 enable_d3d8thk
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3dim700
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_dcomp
1076 enable_ddraw
1077 enable_ddrawex
1078 enable_devenum
1079 enable_dhcpcsvc
1080 enable_dhcpcsvc6
1081 enable_dhtmled_ocx
1082 enable_diasymreader
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_directmanipulation
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnhupnp
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsdmo
1109 enable_dsound
1110 enable_dsquery
1111 enable_dssenh
1112 enable_dsuiext
1113 enable_dswave
1114 enable_dwmapi
1115 enable_dwrite
1116 enable_dx8vb
1117 enable_dxdiagn
1118 enable_dxgi
1119 enable_dxtrans
1120 enable_dxva2
1121 enable_esent
1122 enable_evr
1123 enable_explorerframe
1124 enable_faultrep
1125 enable_feclient
1126 enable_fltlib
1127 enable_fltmgr_sys
1128 enable_fntcache
1129 enable_fontsub
1130 enable_fusion
1131 enable_fwpuclnt
1132 enable_gameux
1133 enable_gamingtcui
1134 enable_gdi32
1135 enable_gdiplus
1136 enable_glu32
1137 enable_gphoto2_ds
1138 enable_gpkcsp
1139 enable_hal
1140 enable_hhctrl_ocx
1141 enable_hid
1142 enable_hidclass_sys
1143 enable_hidparse_sys
1144 enable_hlink
1145 enable_hnetcfg
1146 enable_http_sys
1147 enable_httpapi
1148 enable_ia2comproxy
1149 enable_iccvid
1150 enable_icmp
1151 enable_ieframe
1152 enable_ieproxy
1153 enable_imaadp32_acm
1154 enable_imagehlp
1155 enable_imm32
1156 enable_inetcomm
1157 enable_inetcpl_cpl
1158 enable_inetmib1
1159 enable_infosoft
1160 enable_initpki
1161 enable_inkobj
1162 enable_inseng
1163 enable_iphlpapi
1164 enable_iprop
1165 enable_irprops_cpl
1166 enable_itircl
1167 enable_itss
1168 enable_joy_cpl
1169 enable_jscript
1170 enable_jsproxy
1171 enable_kerberos
1172 enable_kernel32
1173 enable_kernelbase
1174 enable_ksecdd_sys
1175 enable_ksproxy_ax
1176 enable_ksuser
1177 enable_ktmw32
1178 enable_l3codeca_acm
1179 enable_light_msstyles
1180 enable_loadperf
1181 enable_localspl
1182 enable_localui
1183 enable_lz32
1184 enable_mapi32
1185 enable_mapistub
1186 enable_mciavi32
1187 enable_mcicda
1188 enable_mciqtz32
1189 enable_mciseq
1190 enable_mciwave
1191 enable_mf
1192 enable_mf3216
1193 enable_mferror
1194 enable_mfmediaengine
1195 enable_mfplat
1196 enable_mfplay
1197 enable_mfreadwrite
1198 enable_mfsrcsnk
1199 enable_mgmtapi
1200 enable_midimap
1201 enable_mlang
1202 enable_mmcndmgr
1203 enable_mmdevapi
1204 enable_mountmgr_sys
1205 enable_mp3dmod
1206 enable_mpr
1207 enable_mprapi
1208 enable_msacm32_drv
1209 enable_msacm32
1210 enable_msado15
1211 enable_msadp32_acm
1212 enable_msasn1
1213 enable_msauddecmft
1214 enable_mscat32
1215 enable_mscms
1216 enable_mscoree
1217 enable_mscorwks
1218 enable_msctf
1219 enable_msctfmonitor
1220 enable_msctfp
1221 enable_msdaps
1222 enable_msdasql
1223 enable_msdelta
1224 enable_msdmo
1225 enable_msdrm
1226 enable_msftedit
1227 enable_msg711_acm
1228 enable_msgsm32_acm
1229 enable_mshtml_tlb
1230 enable_mshtml
1231 enable_msi
1232 enable_msident
1233 enable_msimg32
1234 enable_msimsg
1235 enable_msimtf
1236 enable_msisip
1237 enable_msisys_ocx
1238 enable_msls31
1239 enable_msmpeg2vdec
1240 enable_msnet32
1241 enable_mspatcha
1242 enable_msports
1243 enable_msrle32
1244 enable_msscript_ocx
1245 enable_mssign32
1246 enable_mssip32
1247 enable_mstask
1248 enable_msv1_0
1249 enable_msvcirt
1250 enable_msvcm80
1251 enable_msvcm90
1252 enable_msvcp100
1253 enable_msvcp110
1254 enable_msvcp120
1255 enable_msvcp120_app
1256 enable_msvcp140
1257 enable_msvcp140_1
1258 enable_msvcp140_2
1259 enable_msvcp140_atomic_wait
1260 enable_msvcp60
1261 enable_msvcp70
1262 enable_msvcp71
1263 enable_msvcp80
1264 enable_msvcp90
1265 enable_msvcp_win
1266 enable_msvcr100
1267 enable_msvcr110
1268 enable_msvcr120
1269 enable_msvcr120_app
1270 enable_msvcr70
1271 enable_msvcr71
1272 enable_msvcr80
1273 enable_msvcr90
1274 enable_msvcrt
1275 enable_msvcrt20
1276 enable_msvcrt40
1277 enable_msvcrtd
1278 enable_msvfw32
1279 enable_msvidc32
1280 enable_mswsock
1281 enable_msxml
1282 enable_msxml2
1283 enable_msxml3
1284 enable_msxml4
1285 enable_msxml6
1286 enable_mtxdm
1287 enable_ncrypt
1288 enable_nddeapi
1289 enable_ndis_sys
1290 enable_netapi32
1291 enable_netcfgx
1292 enable_netio_sys
1293 enable_netprofm
1294 enable_netutils
1295 enable_newdev
1296 enable_ninput
1297 enable_normaliz
1298 enable_npmshtml
1299 enable_npptools
1300 enable_nsi
1301 enable_nsiproxy_sys
1302 enable_ntdll
1303 enable_ntdsapi
1304 enable_ntoskrnl_exe
1305 enable_ntprint
1306 enable_objsel
1307 enable_odbc32
1308 enable_odbcbcp
1309 enable_odbccp32
1310 enable_odbccu32
1311 enable_ole32
1312 enable_oleacc
1313 enable_oleaut32
1314 enable_olecli32
1315 enable_oledb32
1316 enable_oledlg
1317 enable_olepro32
1318 enable_olesvr32
1319 enable_olethk32
1320 enable_opcservices
1321 enable_opencl
1322 enable_opengl32
1323 enable_packager
1324 enable_pdh
1325 enable_photometadatahandler
1326 enable_pidgen
1327 enable_powrprof
1328 enable_printui
1329 enable_prntvpt
1330 enable_propsys
1331 enable_psapi
1332 enable_pstorec
1333 enable_pwrshplugin
1334 enable_qasf
1335 enable_qcap
1336 enable_qdvd
1337 enable_qedit
1338 enable_qmgr
1339 enable_qmgrprxy
1340 enable_quartz
1341 enable_query
1342 enable_qwave
1343 enable_rasapi32
1344 enable_rasdlg
1345 enable_regapi
1346 enable_resutils
1347 enable_riched20
1348 enable_riched32
1349 enable_rpcrt4
1350 enable_rsabase
1351 enable_rsaenh
1352 enable_rstrtmgr
1353 enable_rtutils
1354 enable_rtworkq
1355 enable_samlib
1356 enable_sane_ds
1357 enable_sapi
1358 enable_sas
1359 enable_scarddlg
1360 enable_sccbase
1361 enable_schannel
1362 enable_schedsvc
1363 enable_scrobj
1364 enable_scrrun
1365 enable_scsiport_sys
1366 enable_sechost
1367 enable_secur32
1368 enable_security
1369 enable_sensapi
1370 enable_serialui
1371 enable_setupapi
1372 enable_sfc
1373 enable_sfc_os
1374 enable_shcore
1375 enable_shdoclc
1376 enable_shdocvw
1377 enable_shell32
1378 enable_shfolder
1379 enable_shlwapi
1380 enable_slbcsp
1381 enable_slc
1382 enable_snmpapi
1383 enable_softpub
1384 enable_spoolss
1385 enable_sppc
1386 enable_srclient
1387 enable_srvcli
1388 enable_sspicli
1389 enable_stdole2_tlb
1390 enable_stdole32_tlb
1391 enable_sti
1392 enable_strmdll
1393 enable_svrapi
1394 enable_sxs
1395 enable_t2embed
1396 enable_tapi32
1397 enable_taskschd
1398 enable_tbs
1399 enable_tdh
1400 enable_tdi_sys
1401 enable_threadpoolwinrt
1402 enable_traffic
1403 enable_twain_32
1404 enable_tzres
1405 enable_ucrtbase
1406 enable_uianimation
1407 enable_uiautomationcore
1408 enable_uiribbon
1409 enable_unicows
1410 enable_updspapi
1411 enable_url
1412 enable_urlmon
1413 enable_usbd_sys
1414 enable_user32
1415 enable_userenv
1416 enable_usp10
1417 enable_utildll
1418 enable_uxtheme
1419 enable_vbscript
1420 enable_vcomp
1421 enable_vcomp100
1422 enable_vcomp110
1423 enable_vcomp120
1424 enable_vcomp140
1425 enable_vcomp90
1426 enable_vcruntime140
1427 enable_vcruntime140_1
1428 enable_vdmdbg
1429 enable_version
1430 enable_vga
1431 enable_virtdisk
1432 enable_vssapi
1433 enable_vulkan_1
1434 enable_wbemdisp
1435 enable_wbemprox
1436 enable_wdscore
1437 enable_webservices
1438 enable_websocket
1439 enable_wer
1440 enable_wevtapi
1441 enable_wevtsvc
1442 enable_wiaservc
1443 enable_wimgapi
1444 enable_win32u
1445 enable_windows_devices_enumeration
1446 enable_windows_gaming_input
1447 enable_windows_gaming_ui_gamebar
1448 enable_windows_globalization
1449 enable_windows_media_devices
1450 enable_windows_media_speech
1451 enable_windows_media
1452 enable_windows_networking
1453 enable_windows_system_profile_systemmanufacturers
1454 enable_windowscodecs
1455 enable_windowscodecsext
1456 enable_winealsa_drv
1457 enable_wineandroid_drv
1458 enable_winebus_sys
1459 enable_winecoreaudio_drv
1460 enable_winecrt0
1461 enable_wined3d
1462 enable_winegstreamer
1463 enable_winehid_sys
1464 enable_winemac_drv
1465 enable_winemapi
1466 enable_wineoss_drv
1467 enable_wineps_drv
1468 enable_winepulse_drv
1469 enable_wineusb_sys
1470 enable_winevulkan
1471 enable_winex11_drv
1472 enable_winexinput_sys
1473 enable_wing32
1474 enable_winhttp
1475 enable_wininet
1476 enable_winmm
1477 enable_winnls32
1478 enable_winprint
1479 enable_winscard
1480 enable_winspool_drv
1481 enable_winsta
1482 enable_wintab32
1483 enable_wintrust
1484 enable_wintypes
1485 enable_winusb
1486 enable_wlanapi
1487 enable_wlanui
1488 enable_wldap32
1489 enable_wmasf
1490 enable_wmi
1491 enable_wmiutils
1492 enable_wmp
1493 enable_wmphoto
1494 enable_wmvcore
1495 enable_wnaspi32
1496 enable_wofutil
1497 enable_wow64
1498 enable_wow64cpu
1499 enable_wow64win
1500 enable_wpc
1501 enable_wpcap
1502 enable_ws2_32
1503 enable_wsdapi
1504 enable_wshom_ocx
1505 enable_wsnmp32
1506 enable_wsock32
1507 enable_wtsapi32
1508 enable_wuapi
1509 enable_wuaueng
1510 enable_x3daudio1_0
1511 enable_x3daudio1_1
1512 enable_x3daudio1_2
1513 enable_x3daudio1_3
1514 enable_x3daudio1_4
1515 enable_x3daudio1_5
1516 enable_x3daudio1_6
1517 enable_x3daudio1_7
1518 enable_xactengine2_0
1519 enable_xactengine2_4
1520 enable_xactengine2_7
1521 enable_xactengine2_9
1522 enable_xactengine3_0
1523 enable_xactengine3_1
1524 enable_xactengine3_2
1525 enable_xactengine3_3
1526 enable_xactengine3_4
1527 enable_xactengine3_5
1528 enable_xactengine3_6
1529 enable_xactengine3_7
1530 enable_xapofx1_1
1531 enable_xapofx1_2
1532 enable_xapofx1_3
1533 enable_xapofx1_4
1534 enable_xapofx1_5
1535 enable_xaudio2_0
1536 enable_xaudio2_1
1537 enable_xaudio2_2
1538 enable_xaudio2_3
1539 enable_xaudio2_4
1540 enable_xaudio2_5
1541 enable_xaudio2_6
1542 enable_xaudio2_7
1543 enable_xaudio2_8
1544 enable_xaudio2_9
1545 enable_xinput1_1
1546 enable_xinput1_2
1547 enable_xinput1_3
1548 enable_xinput1_4
1549 enable_xinput9_1_0
1550 enable_xinputuap
1551 enable_xmllite
1552 enable_xolehlp
1553 enable_xpsprint
1554 enable_xpssvcs
1555 enable_fonts
1556 enable_include
1557 enable_adsiid
1558 enable_dmoguids
1559 enable_dxerr8
1560 enable_dxerr9
1561 enable_dxguid
1562 enable_faudio
1563 enable_gsm
1564 enable_jpeg
1565 enable_jxr
1566 enable_lcms2
1567 enable_ldap
1568 enable_mfuuid
1569 enable_mpg123
1570 enable_png
1571 enable_strmbase
1572 enable_strmiids
1573 enable_tiff
1574 enable_uuid
1575 enable_vkd3d
1576 enable_wbemuuid
1577 enable_wine
1578 enable_wmcodecdspuuid
1579 enable_xml2
1580 enable_xslt
1581 enable_zlib
1582 enable_loader
1583 enable_nls
1584 enable_po
1585 enable_arp
1586 enable_aspnet_regiis
1587 enable_attrib
1588 enable_cabarc
1589 enable_cacls
1590 enable_certutil
1591 enable_chcp_com
1592 enable_clock
1593 enable_cmd
1594 enable_conhost
1595 enable_control
1596 enable_cscript
1597 enable_dism
1598 enable_dllhost
1599 enable_dplaysvr
1600 enable_dpnsvr
1601 enable_dpvsetup
1602 enable_dxdiag
1603 enable_eject
1604 enable_expand
1605 enable_explorer
1606 enable_extrac32
1607 enable_fc
1608 enable_find
1609 enable_findstr
1610 enable_fsutil
1611 enable_hh
1612 enable_hostname
1613 enable_icacls
1614 enable_icinfo
1615 enable_iexplore
1616 enable_ipconfig
1617 enable_lodctr
1618 enable_mofcomp
1619 enable_mshta
1620 enable_msidb
1621 enable_msiexec
1622 enable_msinfo32
1623 enable_net
1624 enable_netsh
1625 enable_netstat
1626 enable_ngen
1627 enable_notepad
1628 enable_oleview
1629 enable_ping
1630 enable_plugplay
1631 enable_powershell
1632 enable_presentationfontcache
1633 enable_progman
1634 enable_reg
1635 enable_regasm
1636 enable_regedit
1637 enable_regini
1638 enable_regsvcs
1639 enable_regsvr32
1640 enable_robocopy
1641 enable_rpcss
1642 enable_rundll32
1643 enable_sc
1644 enable_schtasks
1645 enable_sdbinst
1646 enable_secedit
1647 enable_servicemodelreg
1648 enable_services
1649 enable_setx
1650 enable_shutdown
1651 enable_spoolsv
1652 enable_start
1653 enable_subst
1654 enable_svchost
1655 enable_systeminfo
1656 enable_taskkill
1657 enable_tasklist
1658 enable_taskmgr
1659 enable_termsv
1660 enable_uninstaller
1661 enable_unlodctr
1662 enable_view
1663 enable_wevtutil
1664 enable_where
1665 enable_whoami
1666 enable_wineboot
1667 enable_winebrowser
1668 enable_winecfg
1669 enable_wineconsole
1670 enable_winedbg
1671 enable_winedevice
1672 enable_winefile
1673 enable_winemenubuilder
1674 enable_winemine
1675 enable_winemsibuilder
1676 enable_winepath
1677 enable_winetest
1678 enable_winhlp32
1679 enable_winmgmt
1680 enable_winver
1681 enable_wmic
1682 enable_wmplayer
1683 enable_wordpad
1684 enable_write
1685 enable_wscript
1686 enable_wuauserv
1687 enable_wusa
1688 enable_xcopy
1689 enable_server
1690 enable_tools
1691 enable_sfnt2fon
1692 enable_widl
1693 enable_winebuild
1694 enable_winedump
1695 enable_winegcc
1696 enable_winemaker
1697 enable_wmc
1698 enable_wrc
1700 ac_precious_vars='build_alias
1701 host_alias
1702 target_alias
1704 CFLAGS
1705 LDFLAGS
1706 LIBS
1707 CPPFLAGS
1709 CXXFLAGS
1711 OBJC
1712 OBJCFLAGS
1713 FAUDIO_PE_CFLAGS
1714 FAUDIO_PE_LIBS
1715 GSM_PE_CFLAGS
1716 GSM_PE_LIBS
1717 JPEG_PE_CFLAGS
1718 JPEG_PE_LIBS
1719 JXR_PE_CFLAGS
1720 JXR_PE_LIBS
1721 LCMS2_PE_CFLAGS
1722 LCMS2_PE_LIBS
1723 LDAP_PE_CFLAGS
1724 LDAP_PE_LIBS
1725 MPG123_PE_CFLAGS
1726 MPG123_PE_LIBS
1727 PNG_PE_CFLAGS
1728 PNG_PE_LIBS
1729 TIFF_PE_CFLAGS
1730 TIFF_PE_LIBS
1731 VKD3D_PE_CFLAGS
1732 VKD3D_PE_LIBS
1733 XML2_PE_CFLAGS
1734 XML2_PE_LIBS
1735 XSLT_PE_CFLAGS
1736 XSLT_PE_LIBS
1737 ZLIB_PE_CFLAGS
1738 ZLIB_PE_LIBS
1739 XMKMF
1741 INOTIFY_CFLAGS
1742 INOTIFY_LIBS
1743 DBUS_CFLAGS
1744 DBUS_LIBS
1745 GNUTLS_CFLAGS
1746 GNUTLS_LIBS
1747 SANE_CFLAGS
1748 SANE_LIBS
1749 USB_CFLAGS
1750 USB_LIBS
1751 GPHOTO2_CFLAGS
1752 GPHOTO2_LIBS
1753 GPHOTO2_PORT_CFLAGS
1754 GPHOTO2_PORT_LIBS
1755 FREETYPE_CFLAGS
1756 FREETYPE_LIBS
1757 PULSE_CFLAGS
1758 PULSE_LIBS
1759 GSTREAMER_CFLAGS
1760 GSTREAMER_LIBS
1761 UDEV_CFLAGS
1762 UDEV_LIBS
1763 UNWIND_CFLAGS
1764 UNWIND_LIBS
1765 SDL2_CFLAGS
1766 SDL2_LIBS
1767 CAPI20_CFLAGS
1768 CAPI20_LIBS
1769 CUPS_CFLAGS
1770 CUPS_LIBS
1771 FONTCONFIG_CFLAGS
1772 FONTCONFIG_LIBS
1773 KRB5_CFLAGS
1774 KRB5_LIBS
1775 GSSAPI_CFLAGS
1776 GSSAPI_LIBS
1777 NETAPI_CFLAGS
1778 NETAPI_LIBS'
1781 # Initialize some variables set by options.
1782 ac_init_help=
1783 ac_init_version=false
1784 ac_unrecognized_opts=
1785 ac_unrecognized_sep=
1786 # The variables have the same names as the options, with
1787 # dashes changed to underlines.
1788 cache_file=/dev/null
1789 exec_prefix=NONE
1790 no_create=
1791 no_recursion=
1792 prefix=NONE
1793 program_prefix=NONE
1794 program_suffix=NONE
1795 program_transform_name=s,x,x,
1796 silent=
1797 site=
1798 srcdir=
1799 verbose=
1800 x_includes=NONE
1801 x_libraries=NONE
1803 # Installation directory options.
1804 # These are left unexpanded so users can "make install exec_prefix=/foo"
1805 # and all the variables that are supposed to be based on exec_prefix
1806 # by default will actually change.
1807 # Use braces instead of parens because sh, perl, etc. also accept them.
1808 # (The list follows the same order as the GNU Coding Standards.)
1809 bindir='${exec_prefix}/bin'
1810 sbindir='${exec_prefix}/sbin'
1811 libexecdir='${exec_prefix}/libexec'
1812 datarootdir='${prefix}/share'
1813 datadir='${datarootdir}'
1814 sysconfdir='${prefix}/etc'
1815 sharedstatedir='${prefix}/com'
1816 localstatedir='${prefix}/var'
1817 runstatedir='${localstatedir}/run'
1818 includedir='${prefix}/include'
1819 oldincludedir='/usr/include'
1820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1821 infodir='${datarootdir}/info'
1822 htmldir='${docdir}'
1823 dvidir='${docdir}'
1824 pdfdir='${docdir}'
1825 psdir='${docdir}'
1826 libdir='${exec_prefix}/lib'
1827 localedir='${datarootdir}/locale'
1828 mandir='${datarootdir}/man'
1830 ac_prev=
1831 ac_dashdash=
1832 for ac_option
1834 # If the previous option needs an argument, assign it.
1835 if test -n "$ac_prev"; then
1836 eval $ac_prev=\$ac_option
1837 ac_prev=
1838 continue
1841 case $ac_option in
1842 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1843 *=) ac_optarg= ;;
1844 *) ac_optarg=yes ;;
1845 esac
1847 case $ac_dashdash$ac_option in
1849 ac_dashdash=yes ;;
1851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1852 ac_prev=bindir ;;
1853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1854 bindir=$ac_optarg ;;
1856 -build | --build | --buil | --bui | --bu)
1857 ac_prev=build_alias ;;
1858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1859 build_alias=$ac_optarg ;;
1861 -cache-file | --cache-file | --cache-fil | --cache-fi \
1862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1863 ac_prev=cache_file ;;
1864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1866 cache_file=$ac_optarg ;;
1868 --config-cache | -C)
1869 cache_file=config.cache ;;
1871 -datadir | --datadir | --datadi | --datad)
1872 ac_prev=datadir ;;
1873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1874 datadir=$ac_optarg ;;
1876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1877 | --dataroo | --dataro | --datar)
1878 ac_prev=datarootdir ;;
1879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1881 datarootdir=$ac_optarg ;;
1883 -disable-* | --disable-*)
1884 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1885 # Reject names that are not valid shell variable names.
1886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1887 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1888 ac_useropt_orig=$ac_useropt
1889 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1890 case $ac_user_opts in
1892 "enable_$ac_useropt"
1893 "*) ;;
1894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1895 ac_unrecognized_sep=', ';;
1896 esac
1897 eval enable_$ac_useropt=no ;;
1899 -docdir | --docdir | --docdi | --doc | --do)
1900 ac_prev=docdir ;;
1901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1902 docdir=$ac_optarg ;;
1904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1905 ac_prev=dvidir ;;
1906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1907 dvidir=$ac_optarg ;;
1909 -enable-* | --enable-*)
1910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1911 # Reject names that are not valid shell variable names.
1912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1913 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1914 ac_useropt_orig=$ac_useropt
1915 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1916 case $ac_user_opts in
1918 "enable_$ac_useropt"
1919 "*) ;;
1920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1921 ac_unrecognized_sep=', ';;
1922 esac
1923 eval enable_$ac_useropt=\$ac_optarg ;;
1925 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1926 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1927 | --exec | --exe | --ex)
1928 ac_prev=exec_prefix ;;
1929 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1930 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1931 | --exec=* | --exe=* | --ex=*)
1932 exec_prefix=$ac_optarg ;;
1934 -gas | --gas | --ga | --g)
1935 # Obsolete; use --with-gas.
1936 with_gas=yes ;;
1938 -help | --help | --hel | --he | -h)
1939 ac_init_help=long ;;
1940 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1941 ac_init_help=recursive ;;
1942 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1943 ac_init_help=short ;;
1945 -host | --host | --hos | --ho)
1946 ac_prev=host_alias ;;
1947 -host=* | --host=* | --hos=* | --ho=*)
1948 host_alias=$ac_optarg ;;
1950 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1951 ac_prev=htmldir ;;
1952 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1953 | --ht=*)
1954 htmldir=$ac_optarg ;;
1956 -includedir | --includedir | --includedi | --included | --include \
1957 | --includ | --inclu | --incl | --inc)
1958 ac_prev=includedir ;;
1959 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1960 | --includ=* | --inclu=* | --incl=* | --inc=*)
1961 includedir=$ac_optarg ;;
1963 -infodir | --infodir | --infodi | --infod | --info | --inf)
1964 ac_prev=infodir ;;
1965 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1966 infodir=$ac_optarg ;;
1968 -libdir | --libdir | --libdi | --libd)
1969 ac_prev=libdir ;;
1970 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1971 libdir=$ac_optarg ;;
1973 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1974 | --libexe | --libex | --libe)
1975 ac_prev=libexecdir ;;
1976 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1977 | --libexe=* | --libex=* | --libe=*)
1978 libexecdir=$ac_optarg ;;
1980 -localedir | --localedir | --localedi | --localed | --locale)
1981 ac_prev=localedir ;;
1982 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1983 localedir=$ac_optarg ;;
1985 -localstatedir | --localstatedir | --localstatedi | --localstated \
1986 | --localstate | --localstat | --localsta | --localst | --locals)
1987 ac_prev=localstatedir ;;
1988 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1989 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1990 localstatedir=$ac_optarg ;;
1992 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1993 ac_prev=mandir ;;
1994 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1995 mandir=$ac_optarg ;;
1997 -nfp | --nfp | --nf)
1998 # Obsolete; use --without-fp.
1999 with_fp=no ;;
2001 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2002 | --no-cr | --no-c | -n)
2003 no_create=yes ;;
2005 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2006 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2007 no_recursion=yes ;;
2009 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2010 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2011 | --oldin | --oldi | --old | --ol | --o)
2012 ac_prev=oldincludedir ;;
2013 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2014 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2015 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2016 oldincludedir=$ac_optarg ;;
2018 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2019 ac_prev=prefix ;;
2020 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2021 prefix=$ac_optarg ;;
2023 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2024 | --program-pre | --program-pr | --program-p)
2025 ac_prev=program_prefix ;;
2026 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2027 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2028 program_prefix=$ac_optarg ;;
2030 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2031 | --program-suf | --program-su | --program-s)
2032 ac_prev=program_suffix ;;
2033 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2034 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2035 program_suffix=$ac_optarg ;;
2037 -program-transform-name | --program-transform-name \
2038 | --program-transform-nam | --program-transform-na \
2039 | --program-transform-n | --program-transform- \
2040 | --program-transform | --program-transfor \
2041 | --program-transfo | --program-transf \
2042 | --program-trans | --program-tran \
2043 | --progr-tra | --program-tr | --program-t)
2044 ac_prev=program_transform_name ;;
2045 -program-transform-name=* | --program-transform-name=* \
2046 | --program-transform-nam=* | --program-transform-na=* \
2047 | --program-transform-n=* | --program-transform-=* \
2048 | --program-transform=* | --program-transfor=* \
2049 | --program-transfo=* | --program-transf=* \
2050 | --program-trans=* | --program-tran=* \
2051 | --progr-tra=* | --program-tr=* | --program-t=*)
2052 program_transform_name=$ac_optarg ;;
2054 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2055 ac_prev=pdfdir ;;
2056 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2057 pdfdir=$ac_optarg ;;
2059 -psdir | --psdir | --psdi | --psd | --ps)
2060 ac_prev=psdir ;;
2061 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2062 psdir=$ac_optarg ;;
2064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2065 | -silent | --silent | --silen | --sile | --sil)
2066 silent=yes ;;
2068 -runstatedir | --runstatedir | --runstatedi | --runstated \
2069 | --runstate | --runstat | --runsta | --runst | --runs \
2070 | --run | --ru | --r)
2071 ac_prev=runstatedir ;;
2072 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2073 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2074 | --run=* | --ru=* | --r=*)
2075 runstatedir=$ac_optarg ;;
2077 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2078 ac_prev=sbindir ;;
2079 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2080 | --sbi=* | --sb=*)
2081 sbindir=$ac_optarg ;;
2083 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2084 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2085 | --sharedst | --shareds | --shared | --share | --shar \
2086 | --sha | --sh)
2087 ac_prev=sharedstatedir ;;
2088 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2089 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2090 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2091 | --sha=* | --sh=*)
2092 sharedstatedir=$ac_optarg ;;
2094 -site | --site | --sit)
2095 ac_prev=site ;;
2096 -site=* | --site=* | --sit=*)
2097 site=$ac_optarg ;;
2099 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2100 ac_prev=srcdir ;;
2101 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2102 srcdir=$ac_optarg ;;
2104 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2105 | --syscon | --sysco | --sysc | --sys | --sy)
2106 ac_prev=sysconfdir ;;
2107 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2108 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2109 sysconfdir=$ac_optarg ;;
2111 -target | --target | --targe | --targ | --tar | --ta | --t)
2112 ac_prev=target_alias ;;
2113 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2114 target_alias=$ac_optarg ;;
2116 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2117 verbose=yes ;;
2119 -version | --version | --versio | --versi | --vers | -V)
2120 ac_init_version=: ;;
2122 -with-* | --with-*)
2123 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2124 # Reject names that are not valid shell variable names.
2125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2126 as_fn_error $? "invalid package name: \`$ac_useropt'"
2127 ac_useropt_orig=$ac_useropt
2128 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2129 case $ac_user_opts in
2131 "with_$ac_useropt"
2132 "*) ;;
2133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2134 ac_unrecognized_sep=', ';;
2135 esac
2136 eval with_$ac_useropt=\$ac_optarg ;;
2138 -without-* | --without-*)
2139 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2140 # Reject names that are not valid shell variable names.
2141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2142 as_fn_error $? "invalid package name: \`$ac_useropt'"
2143 ac_useropt_orig=$ac_useropt
2144 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2145 case $ac_user_opts in
2147 "with_$ac_useropt"
2148 "*) ;;
2149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2150 ac_unrecognized_sep=', ';;
2151 esac
2152 eval with_$ac_useropt=no ;;
2154 --x)
2155 # Obsolete; use --with-x.
2156 with_x=yes ;;
2158 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2159 | --x-incl | --x-inc | --x-in | --x-i)
2160 ac_prev=x_includes ;;
2161 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2162 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2163 x_includes=$ac_optarg ;;
2165 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2166 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2167 ac_prev=x_libraries ;;
2168 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2170 x_libraries=$ac_optarg ;;
2172 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2173 Try \`$0 --help' for more information"
2176 *=*)
2177 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2178 # Reject names that are not valid shell variable names.
2179 case $ac_envvar in #(
2180 '' | [0-9]* | *[!_$as_cr_alnum]* )
2181 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2182 esac
2183 eval $ac_envvar=\$ac_optarg
2184 export $ac_envvar ;;
2187 # FIXME: should be removed in autoconf 3.0.
2188 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2190 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2194 esac
2195 done
2197 if test -n "$ac_prev"; then
2198 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2199 as_fn_error $? "missing argument to $ac_option"
2202 if test -n "$ac_unrecognized_opts"; then
2203 case $enable_option_checking in
2204 no) ;;
2205 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2206 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2207 esac
2210 # Check all directory arguments for consistency.
2211 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2212 datadir sysconfdir sharedstatedir localstatedir includedir \
2213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2214 libdir localedir mandir runstatedir
2216 eval ac_val=\$$ac_var
2217 # Remove trailing slashes.
2218 case $ac_val in
2219 */ )
2220 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2221 eval $ac_var=\$ac_val;;
2222 esac
2223 # Be sure to have absolute directory names.
2224 case $ac_val in
2225 [\\/$]* | ?:[\\/]* ) continue;;
2226 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2227 esac
2228 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2229 done
2231 # There might be people who depend on the old broken behavior: `$host'
2232 # used to hold the argument of --host etc.
2233 # FIXME: To remove some day.
2234 build=$build_alias
2235 host=$host_alias
2236 target=$target_alias
2238 # FIXME: To remove some day.
2239 if test "x$host_alias" != x; then
2240 if test "x$build_alias" = x; then
2241 cross_compiling=maybe
2242 elif test "x$build_alias" != "x$host_alias"; then
2243 cross_compiling=yes
2247 ac_tool_prefix=
2248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2250 test "$silent" = yes && exec 6>/dev/null
2253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2254 ac_ls_di=`ls -di .` &&
2255 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2256 as_fn_error $? "working directory cannot be determined"
2257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2258 as_fn_error $? "pwd does not report name of working directory"
2261 # Find the source files, if location was not specified.
2262 if test -z "$srcdir"; then
2263 ac_srcdir_defaulted=yes
2264 # Try the directory containing this script, then the parent directory.
2265 ac_confdir=`$as_dirname -- "$as_myself" ||
2266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2267 X"$as_myself" : 'X\(//\)[^/]' \| \
2268 X"$as_myself" : 'X\(//\)$' \| \
2269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2270 printf "%s\n" X"$as_myself" |
2271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2272 s//\1/
2275 /^X\(\/\/\)[^/].*/{
2276 s//\1/
2279 /^X\(\/\/\)$/{
2280 s//\1/
2283 /^X\(\/\).*/{
2284 s//\1/
2287 s/.*/./; q'`
2288 srcdir=$ac_confdir
2289 if test ! -r "$srcdir/$ac_unique_file"; then
2290 srcdir=..
2292 else
2293 ac_srcdir_defaulted=no
2295 if test ! -r "$srcdir/$ac_unique_file"; then
2296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2297 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2299 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2300 ac_abs_confdir=`(
2301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2302 pwd)`
2303 # When building in place, set srcdir=.
2304 if test "$ac_abs_confdir" = "$ac_pwd"; then
2305 srcdir=.
2307 # Remove unnecessary trailing slashes from srcdir.
2308 # Double slashes in file names in object file debugging info
2309 # mess up M-x gdb in Emacs.
2310 case $srcdir in
2311 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2312 esac
2313 for ac_var in $ac_precious_vars; do
2314 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2315 eval ac_env_${ac_var}_value=\$${ac_var}
2316 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2317 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2318 done
2321 # Report the --help message.
2323 if test "$ac_init_help" = "long"; then
2324 # Omit some internal or obsolete options to make the list less imposing.
2325 # This message is too long to be a string in the A/UX 3.1 sh.
2326 cat <<_ACEOF
2327 \`configure' configures Wine 8.1 to adapt to many kinds of systems.
2329 Usage: $0 [OPTION]... [VAR=VALUE]...
2331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2332 VAR=VALUE. See below for descriptions of some of the useful variables.
2334 Defaults for the options are specified in brackets.
2336 Configuration:
2337 -h, --help display this help and exit
2338 --help=short display options specific to this package
2339 --help=recursive display the short help of all the included packages
2340 -V, --version display version information and exit
2341 -q, --quiet, --silent do not print \`checking ...' messages
2342 --cache-file=FILE cache test results in FILE [disabled]
2343 -C, --config-cache alias for \`--cache-file=config.cache'
2344 -n, --no-create do not create output files
2345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2347 Installation directories:
2348 --prefix=PREFIX install architecture-independent files in PREFIX
2349 [$ac_default_prefix]
2350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2351 [PREFIX]
2353 By default, \`make install' will install all the files in
2354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2356 for instance \`--prefix=\$HOME'.
2358 For better control, use the options below.
2360 Fine tuning of the installation directories:
2361 --bindir=DIR user executables [EPREFIX/bin]
2362 --sbindir=DIR system admin executables [EPREFIX/sbin]
2363 --libexecdir=DIR program executables [EPREFIX/libexec]
2364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2367 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2368 --libdir=DIR object code libraries [EPREFIX/lib]
2369 --includedir=DIR C header files [PREFIX/include]
2370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2373 --infodir=DIR info documentation [DATAROOTDIR/info]
2374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2375 --mandir=DIR man documentation [DATAROOTDIR/man]
2376 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2377 --htmldir=DIR html documentation [DOCDIR]
2378 --dvidir=DIR dvi documentation [DOCDIR]
2379 --pdfdir=DIR pdf documentation [DOCDIR]
2380 --psdir=DIR ps documentation [DOCDIR]
2381 _ACEOF
2383 cat <<\_ACEOF
2385 X features:
2386 --x-includes=DIR X include files are in DIR
2387 --x-libraries=DIR X library files are in DIR
2389 System types:
2390 --build=BUILD configure for building on BUILD [guessed]
2391 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2392 _ACEOF
2395 if test -n "$ac_init_help"; then
2396 case $ac_init_help in
2397 short | recursive ) echo "Configuration of Wine 8.1:";;
2398 esac
2399 cat <<\_ACEOF
2401 Optional Features:
2402 --disable-option-checking ignore unrecognized --enable/--with options
2403 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2404 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2405 --enable-archs={i386,x86_64,arm,aarch64}
2406 enable multiple architectures for PE compilation
2407 --disable-win16 do not include Win16 support
2408 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2409 binaries)
2410 --disable-tests do not build the regression tests
2411 --enable-build-id include .buildid section in output objects
2412 --enable-maintainer-mode
2413 enable maintainer-specific build rules
2414 --enable-silent-rules use silent build rules (override: "make V=1")
2415 --enable-werror treat compilation warnings as errors
2416 --disable-largefile omit support for large files
2418 Optional Packages:
2419 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2420 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2421 --without-alsa do not use the Alsa sound support
2422 --without-capi do not use CAPI (ISDN support)
2423 --without-coreaudio do not use the CoreAudio sound support
2424 --without-cups do not use CUPS
2425 --without-dbus do not use DBus (dynamic device support)
2426 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2427 --without-fontconfig do not use fontconfig
2428 --without-freetype do not use the FreeType library
2429 --without-gettext do not use gettext
2430 --with-gettextpo use the GetTextPO library to rebuild po files
2431 --without-gphoto do not use gphoto (Digital Camera support)
2432 --without-gnutls do not use GnuTLS (schannel support)
2433 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2434 --without-gstreamer do not use GStreamer (codecs support)
2435 --without-inotify do not use inotify (filesystem change notifications)
2436 --without-krb5 do not use krb5 (Kerberos)
2437 --without-mingw do not use the MinGW cross-compiler
2438 --without-netapi do not use the Samba NetAPI library
2439 --without-opencl do not use OpenCL
2440 --without-opengl do not use OpenGL
2441 --without-osmesa do not use the OSMesa library
2442 --without-oss do not use the OSS sound support
2443 --without-pcap do not use the Packet Capture library
2444 --without-pthread do not use the pthread library
2445 --without-pulse do not use PulseAudio sound support
2446 --without-sane do not use SANE (scanner support)
2447 --without-sdl do not use SDL
2448 --without-udev do not use udev (plug and play support)
2449 --without-unwind do not use the libunwind library (exception
2450 handling)
2451 --without-usb do not use the libusb library
2452 --without-v4l2 do not use v4l2 (video capture)
2453 --without-vulkan do not use Vulkan
2454 --without-xcomposite do not use the Xcomposite extension
2455 --without-xcursor do not use the Xcursor extension
2456 --without-xfixes do not use Xfixes for clipboard change notifications
2457 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2458 --without-xinput do not use the Xinput extension
2459 --without-xinput2 do not use the Xinput 2 extension
2460 --without-xrandr do not use Xrandr (multi-monitor support)
2461 --without-xrender do not use the Xrender extension
2462 --without-xshape do not use the Xshape extension
2463 --without-xshm do not use XShm (shared memory extension)
2464 --without-xxf86vm do not use XFree video mode extension
2465 --with-system-dllpath=PATH
2466 load external PE dependencies from colon-separated
2467 path PATH
2468 --with-wine-tools=DIR use Wine tools from directory DIR
2469 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2470 --with-x use the X Window System
2472 Some influential environment variables:
2473 CC C compiler command
2474 CFLAGS C compiler flags
2475 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2476 nonstandard directory <lib dir>
2477 LIBS libraries to pass to the linker, e.g. -l<library>
2478 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2479 you have headers in a nonstandard directory <include dir>
2480 CXX C++ compiler command
2481 CXXFLAGS C++ compiler flags
2482 OBJC Objective C compiler command
2483 OBJCFLAGS Objective C compiler flags
2484 FAUDIO_PE_CFLAGS
2485 C compiler flags for the PE faudio, overriding the bundled
2486 version
2487 FAUDIO_PE_LIBS
2488 Linker flags for the PE faudio, overriding the bundled version
2489 GSM_PE_CFLAGS
2490 C compiler flags for the PE gsm, overriding the bundled version
2491 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2492 JPEG_PE_CFLAGS
2493 C compiler flags for the PE jpeg, overriding the bundled version
2494 JPEG_PE_LIBS
2495 Linker flags for the PE jpeg, overriding the bundled version
2496 JXR_PE_CFLAGS
2497 C compiler flags for the PE jxr, overriding the bundled version
2498 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2499 LCMS2_PE_CFLAGS
2500 C compiler flags for the PE lcms2, overriding the bundled
2501 version
2502 LCMS2_PE_LIBS
2503 Linker flags for the PE lcms2, overriding the bundled version
2504 LDAP_PE_CFLAGS
2505 C compiler flags for the PE ldap, overriding the bundled version
2506 LDAP_PE_LIBS
2507 Linker flags for the PE ldap, overriding the bundled version
2508 MPG123_PE_CFLAGS
2509 C compiler flags for the PE mpg123, overriding the bundled
2510 version
2511 MPG123_PE_LIBS
2512 Linker flags for the PE mpg123, overriding the bundled version
2513 PNG_PE_CFLAGS
2514 C compiler flags for the PE png, overriding the bundled version
2515 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2516 TIFF_PE_CFLAGS
2517 C compiler flags for the PE tiff, overriding the bundled version
2518 TIFF_PE_LIBS
2519 Linker flags for the PE tiff, overriding the bundled version
2520 VKD3D_PE_CFLAGS
2521 C compiler flags for the PE vkd3d, overriding the bundled
2522 version
2523 VKD3D_PE_LIBS
2524 Linker flags for the PE vkd3d, overriding the bundled version
2525 XML2_PE_CFLAGS
2526 C compiler flags for the PE xml2, overriding the bundled version
2527 XML2_PE_LIBS
2528 Linker flags for the PE xml2, overriding the bundled version
2529 XSLT_PE_CFLAGS
2530 C compiler flags for the PE xslt, overriding the bundled version
2531 XSLT_PE_LIBS
2532 Linker flags for the PE xslt, overriding the bundled version
2533 ZLIB_PE_CFLAGS
2534 C compiler flags for the PE zlib, overriding the bundled version
2535 ZLIB_PE_LIBS
2536 Linker flags for the PE zlib, overriding the bundled version
2537 XMKMF Path to xmkmf, Makefile generator for X Window System
2538 CPP C preprocessor
2539 INOTIFY_CFLAGS
2540 C compiler flags for libinotify, overriding pkg-config
2541 INOTIFY_LIBS
2542 Linker flags for libinotify, overriding pkg-config
2543 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2544 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2545 GNUTLS_CFLAGS
2546 C compiler flags for gnutls, overriding pkg-config
2547 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2548 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2549 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2550 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2551 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2552 GPHOTO2_CFLAGS
2553 C compiler flags for libgphoto2, overriding pkg-config
2554 GPHOTO2_LIBS
2555 Linker flags for libgphoto2, overriding pkg-config
2556 GPHOTO2_PORT_CFLAGS
2557 C compiler flags for libgphoto2_port, overriding pkg-config
2558 GPHOTO2_PORT_LIBS
2559 Linker flags for libgphoto2_port, overriding pkg-config
2560 FREETYPE_CFLAGS
2561 C compiler flags for freetype2, overriding pkg-config
2562 FREETYPE_LIBS
2563 Linker flags for freetype2, overriding pkg-config
2564 PULSE_CFLAGS
2565 C compiler flags for libpulse, overriding pkg-config
2566 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2567 GSTREAMER_CFLAGS
2568 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2569 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2570 GSTREAMER_LIBS
2571 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2572 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2573 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2574 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2575 UNWIND_CFLAGS
2576 C compiler flags for libunwind, overriding pkg-config
2577 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2578 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2579 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2580 CAPI20_CFLAGS
2581 C compiler flags for capi20, overriding pkg-config
2582 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2583 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2584 CUPS_LIBS Linker flags for cups, overriding pkg-config
2585 FONTCONFIG_CFLAGS
2586 C compiler flags for fontconfig, overriding pkg-config
2587 FONTCONFIG_LIBS
2588 Linker flags for fontconfig, overriding pkg-config
2589 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2590 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2591 GSSAPI_CFLAGS
2592 C compiler flags for krb5-gssapi, overriding pkg-config
2593 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2594 NETAPI_CFLAGS
2595 C compiler flags for netapi, overriding pkg-config
2596 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2598 Use these variables to override the choices made by `configure' or to help
2599 it to find libraries and programs with nonstandard names/locations.
2601 Report bugs to <wine-devel@winehq.org>.
2602 Wine home page: <https://www.winehq.org>.
2603 _ACEOF
2604 ac_status=$?
2607 if test "$ac_init_help" = "recursive"; then
2608 # If there are subdirs, report their specific --help.
2609 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2610 test -d "$ac_dir" ||
2611 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2612 continue
2613 ac_builddir=.
2615 case "$ac_dir" in
2616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2618 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2619 # A ".." for each directory in $ac_dir_suffix.
2620 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2621 case $ac_top_builddir_sub in
2622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2624 esac ;;
2625 esac
2626 ac_abs_top_builddir=$ac_pwd
2627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2628 # for backward compatibility:
2629 ac_top_builddir=$ac_top_build_prefix
2631 case $srcdir in
2632 .) # We are building in place.
2633 ac_srcdir=.
2634 ac_top_srcdir=$ac_top_builddir_sub
2635 ac_abs_top_srcdir=$ac_pwd ;;
2636 [\\/]* | ?:[\\/]* ) # Absolute name.
2637 ac_srcdir=$srcdir$ac_dir_suffix;
2638 ac_top_srcdir=$srcdir
2639 ac_abs_top_srcdir=$srcdir ;;
2640 *) # Relative name.
2641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2642 ac_top_srcdir=$ac_top_build_prefix$srcdir
2643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2644 esac
2645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2647 cd "$ac_dir" || { ac_status=$?; continue; }
2648 # Check for configure.gnu first; this name is used for a wrapper for
2649 # Metaconfig's "Configure" on case-insensitive file systems.
2650 if test -f "$ac_srcdir/configure.gnu"; then
2651 echo &&
2652 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2653 elif test -f "$ac_srcdir/configure"; then
2654 echo &&
2655 $SHELL "$ac_srcdir/configure" --help=recursive
2656 else
2657 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2658 fi || ac_status=$?
2659 cd "$ac_pwd" || { ac_status=$?; break; }
2660 done
2663 test -n "$ac_init_help" && exit $ac_status
2664 if $ac_init_version; then
2665 cat <<\_ACEOF
2666 Wine configure 8.1
2667 generated by GNU Autoconf 2.71
2669 Copyright (C) 2021 Free Software Foundation, Inc.
2670 This configure script is free software; the Free Software Foundation
2671 gives unlimited permission to copy, distribute and modify it.
2672 _ACEOF
2673 exit
2676 ## ------------------------ ##
2677 ## Autoconf initialization. ##
2678 ## ------------------------ ##
2680 # ac_fn_c_try_compile LINENO
2681 # --------------------------
2682 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_c_try_compile ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 rm -f conftest.$ac_objext conftest.beam
2687 if { { ac_try="$ac_compile"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 printf "%s\n" "$ac_try_echo"; } >&5
2694 (eval "$ac_compile") 2>conftest.err
2695 ac_status=$?
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } && {
2703 test -z "$ac_c_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.$ac_objext
2706 then :
2707 ac_retval=0
2708 else $as_nop
2709 printf "%s\n" "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 ac_retval=1
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status $ac_retval
2717 } # ac_fn_c_try_compile
2719 # ac_fn_cxx_try_compile LINENO
2720 # ----------------------------
2721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2722 ac_fn_cxx_try_compile ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 rm -f conftest.$ac_objext conftest.beam
2726 if { { ac_try="$ac_compile"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 printf "%s\n" "$ac_try_echo"; } >&5
2733 (eval "$ac_compile") 2>conftest.err
2734 ac_status=$?
2735 if test -s conftest.err; then
2736 grep -v '^ *+' conftest.err >conftest.er1
2737 cat conftest.er1 >&5
2738 mv -f conftest.er1 conftest.err
2740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2741 test $ac_status = 0; } && {
2742 test -z "$ac_cxx_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest.$ac_objext
2745 then :
2746 ac_retval=0
2747 else $as_nop
2748 printf "%s\n" "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_retval=1
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 as_fn_set_status $ac_retval
2756 } # ac_fn_cxx_try_compile
2758 # ac_fn_c_try_link LINENO
2759 # -----------------------
2760 # Try to link conftest.$ac_ext, and return whether this succeeded.
2761 ac_fn_c_try_link ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2765 if { { ac_try="$ac_link"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 printf "%s\n" "$ac_try_echo"; } >&5
2772 (eval "$ac_link") 2>conftest.err
2773 ac_status=$?
2774 if test -s conftest.err; then
2775 grep -v '^ *+' conftest.err >conftest.er1
2776 cat conftest.er1 >&5
2777 mv -f conftest.er1 conftest.err
2779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest$ac_exeext && {
2784 test "$cross_compiling" = yes ||
2785 test -x conftest$ac_exeext
2787 then :
2788 ac_retval=0
2789 else $as_nop
2790 printf "%s\n" "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2793 ac_retval=1
2795 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2796 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2797 # interfere with the next link command; also delete a directory that is
2798 # left behind by Apple's compiler. We do this before executing the actions.
2799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2801 as_fn_set_status $ac_retval
2803 } # ac_fn_c_try_link
2805 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2806 # -------------------------------------------------------
2807 # Tests whether HEADER exists and can be compiled using the include files in
2808 # INCLUDES, setting the cache variable VAR accordingly.
2809 ac_fn_c_check_header_compile ()
2811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2813 printf %s "checking for $2... " >&6; }
2814 if eval test \${$3+y}
2815 then :
2816 printf %s "(cached) " >&6
2817 else $as_nop
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2821 #include <$2>
2822 _ACEOF
2823 if ac_fn_c_try_compile "$LINENO"
2824 then :
2825 eval "$3=yes"
2826 else $as_nop
2827 eval "$3=no"
2829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2831 eval ac_res=\$$3
2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2833 printf "%s\n" "$ac_res" >&6; }
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 } # ac_fn_c_check_header_compile
2838 # ac_fn_objc_try_compile LINENO
2839 # -----------------------------
2840 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2841 ac_fn_objc_try_compile ()
2843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2844 rm -f conftest.$ac_objext conftest.beam
2845 if { { ac_try="$ac_compile"
2846 case "(($ac_try" in
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2849 esac
2850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2851 printf "%s\n" "$ac_try_echo"; } >&5
2852 (eval "$ac_compile") 2>conftest.err
2853 ac_status=$?
2854 if test -s conftest.err; then
2855 grep -v '^ *+' conftest.err >conftest.er1
2856 cat conftest.er1 >&5
2857 mv -f conftest.er1 conftest.err
2859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860 test $ac_status = 0; } && {
2861 test -z "$ac_objc_werror_flag" ||
2862 test ! -s conftest.err
2863 } && test -s conftest.$ac_objext
2864 then :
2865 ac_retval=0
2866 else $as_nop
2867 printf "%s\n" "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.$ac_ext >&5
2870 ac_retval=1
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 as_fn_set_status $ac_retval
2875 } # ac_fn_objc_try_compile
2877 # ac_fn_c_check_func LINENO FUNC VAR
2878 # ----------------------------------
2879 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2880 ac_fn_c_check_func ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2884 printf %s "checking for $2... " >&6; }
2885 if eval test \${$3+y}
2886 then :
2887 printf %s "(cached) " >&6
2888 else $as_nop
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2891 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2893 #define $2 innocuous_$2
2895 /* System header to define __stub macros and hopefully few prototypes,
2896 which can conflict with char $2 (); below. */
2898 #include <limits.h>
2899 #undef $2
2901 /* Override any GCC internal prototype to avoid an error.
2902 Use char because int might match the return type of a GCC
2903 builtin and then its argument prototype would still apply. */
2904 #ifdef __cplusplus
2905 extern "C"
2906 #endif
2907 char $2 ();
2908 /* The GNU C library defines this for functions which it implements
2909 to always fail with ENOSYS. Some functions are actually named
2910 something starting with __ and the normal name is an alias. */
2911 #if defined __stub_$2 || defined __stub___$2
2912 choke me
2913 #endif
2916 main (void)
2918 return $2 ();
2920 return 0;
2922 _ACEOF
2923 if ac_fn_c_try_link "$LINENO"
2924 then :
2925 eval "$3=yes"
2926 else $as_nop
2927 eval "$3=no"
2929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2930 conftest$ac_exeext conftest.$ac_ext
2932 eval ac_res=\$$3
2933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2934 printf "%s\n" "$ac_res" >&6; }
2935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2937 } # ac_fn_c_check_func
2939 # ac_fn_c_try_cpp LINENO
2940 # ----------------------
2941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2942 ac_fn_c_try_cpp ()
2944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2945 if { { ac_try="$ac_cpp conftest.$ac_ext"
2946 case "(($ac_try" in
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2949 esac
2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 printf "%s\n" "$ac_try_echo"; } >&5
2952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2953 ac_status=$?
2954 if test -s conftest.err; then
2955 grep -v '^ *+' conftest.err >conftest.er1
2956 cat conftest.er1 >&5
2957 mv -f conftest.er1 conftest.err
2959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; } > conftest.i && {
2961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2962 test ! -s conftest.err
2964 then :
2965 ac_retval=0
2966 else $as_nop
2967 printf "%s\n" "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2970 ac_retval=1
2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2973 as_fn_set_status $ac_retval
2975 } # ac_fn_c_try_cpp
2977 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2978 # ----------------------------------------------------
2979 # Tries to find if the field MEMBER exists in type AGGR, after including
2980 # INCLUDES, setting cache variable VAR accordingly.
2981 ac_fn_c_check_member ()
2983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2985 printf %s "checking for $2.$3... " >&6; }
2986 if eval test \${$4+y}
2987 then :
2988 printf %s "(cached) " >&6
2989 else $as_nop
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
2994 main (void)
2996 static $2 ac_aggr;
2997 if (ac_aggr.$3)
2998 return 0;
3000 return 0;
3002 _ACEOF
3003 if ac_fn_c_try_compile "$LINENO"
3004 then :
3005 eval "$4=yes"
3006 else $as_nop
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3011 main (void)
3013 static $2 ac_aggr;
3014 if (sizeof ac_aggr.$3)
3015 return 0;
3017 return 0;
3019 _ACEOF
3020 if ac_fn_c_try_compile "$LINENO"
3021 then :
3022 eval "$4=yes"
3023 else $as_nop
3024 eval "$4=no"
3026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3030 eval ac_res=\$$4
3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3032 printf "%s\n" "$ac_res" >&6; }
3033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3035 } # ac_fn_c_check_member
3037 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3038 # -------------------------------------------
3039 # Tests whether TYPE exists after having included INCLUDES, setting cache
3040 # variable VAR accordingly.
3041 ac_fn_c_check_type ()
3043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3045 printf %s "checking for $2... " >&6; }
3046 if eval test \${$3+y}
3047 then :
3048 printf %s "(cached) " >&6
3049 else $as_nop
3050 eval "$3=no"
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3055 main (void)
3057 if (sizeof ($2))
3058 return 0;
3060 return 0;
3062 _ACEOF
3063 if ac_fn_c_try_compile "$LINENO"
3064 then :
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3069 main (void)
3071 if (sizeof (($2)))
3072 return 0;
3074 return 0;
3076 _ACEOF
3077 if ac_fn_c_try_compile "$LINENO"
3078 then :
3080 else $as_nop
3081 eval "$3=yes"
3083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3087 eval ac_res=\$$3
3088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3089 printf "%s\n" "$ac_res" >&6; }
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3092 } # ac_fn_c_check_type
3093 ac_configure_args_raw=
3094 for ac_arg
3096 case $ac_arg in
3097 *\'*)
3098 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3099 esac
3100 as_fn_append ac_configure_args_raw " '$ac_arg'"
3101 done
3103 case $ac_configure_args_raw in
3104 *$as_nl*)
3105 ac_safe_unquote= ;;
3107 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3108 ac_unsafe_a="$ac_unsafe_z#~"
3109 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3110 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3111 esac
3113 cat >config.log <<_ACEOF
3114 This file contains any messages produced by compilers while
3115 running configure, to aid debugging if configure makes a mistake.
3117 It was created by Wine $as_me 8.1, which was
3118 generated by GNU Autoconf 2.71. Invocation command line was
3120 $ $0$ac_configure_args_raw
3122 _ACEOF
3123 exec 5>>config.log
3125 cat <<_ASUNAME
3126 ## --------- ##
3127 ## Platform. ##
3128 ## --------- ##
3130 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3131 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3132 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3133 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3134 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3136 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3137 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3139 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3140 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3141 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3142 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3143 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3144 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3145 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3147 _ASUNAME
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 for as_dir in $PATH
3152 IFS=$as_save_IFS
3153 case $as_dir in #(((
3154 '') as_dir=./ ;;
3155 */) ;;
3156 *) as_dir=$as_dir/ ;;
3157 esac
3158 printf "%s\n" "PATH: $as_dir"
3159 done
3160 IFS=$as_save_IFS
3162 } >&5
3164 cat >&5 <<_ACEOF
3167 ## ----------- ##
3168 ## Core tests. ##
3169 ## ----------- ##
3171 _ACEOF
3174 # Keep a trace of the command line.
3175 # Strip out --no-create and --no-recursion so they do not pile up.
3176 # Strip out --silent because we don't want to record it for future runs.
3177 # Also quote any args containing shell meta-characters.
3178 # Make two passes to allow for proper duplicate-argument suppression.
3179 ac_configure_args=
3180 ac_configure_args0=
3181 ac_configure_args1=
3182 ac_must_keep_next=false
3183 for ac_pass in 1 2
3185 for ac_arg
3187 case $ac_arg in
3188 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3190 | -silent | --silent | --silen | --sile | --sil)
3191 continue ;;
3192 *\'*)
3193 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3194 esac
3195 case $ac_pass in
3196 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3198 as_fn_append ac_configure_args1 " '$ac_arg'"
3199 if test $ac_must_keep_next = true; then
3200 ac_must_keep_next=false # Got value, back to normal.
3201 else
3202 case $ac_arg in
3203 *=* | --config-cache | -C | -disable-* | --disable-* \
3204 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3205 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3206 | -with-* | --with-* | -without-* | --without-* | --x)
3207 case "$ac_configure_args0 " in
3208 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3209 esac
3211 -* ) ac_must_keep_next=true ;;
3212 esac
3214 as_fn_append ac_configure_args " '$ac_arg'"
3216 esac
3217 done
3218 done
3219 { ac_configure_args0=; unset ac_configure_args0;}
3220 { ac_configure_args1=; unset ac_configure_args1;}
3222 # When interrupted or exit'd, cleanup temporary files, and complete
3223 # config.log. We remove comments because anyway the quotes in there
3224 # would cause problems or look ugly.
3225 # WARNING: Use '\'' to represent an apostrophe within the trap.
3226 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3227 trap 'exit_status=$?
3228 # Sanitize IFS.
3229 IFS=" "" $as_nl"
3230 # Save into config.log some information that might help in debugging.
3232 echo
3234 printf "%s\n" "## ---------------- ##
3235 ## Cache variables. ##
3236 ## ---------------- ##"
3237 echo
3238 # The following way of writing the cache mishandles newlines in values,
3240 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3241 eval ac_val=\$$ac_var
3242 case $ac_val in #(
3243 *${as_nl}*)
3244 case $ac_var in #(
3245 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3246 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3247 esac
3248 case $ac_var in #(
3249 _ | IFS | as_nl) ;; #(
3250 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3251 *) { eval $ac_var=; unset $ac_var;} ;;
3252 esac ;;
3253 esac
3254 done
3255 (set) 2>&1 |
3256 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3257 *${as_nl}ac_space=\ *)
3258 sed -n \
3259 "s/'\''/'\''\\\\'\'''\''/g;
3260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3261 ;; #(
3263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3265 esac |
3266 sort
3268 echo
3270 printf "%s\n" "## ----------------- ##
3271 ## Output variables. ##
3272 ## ----------------- ##"
3273 echo
3274 for ac_var in $ac_subst_vars
3276 eval ac_val=\$$ac_var
3277 case $ac_val in
3278 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3279 esac
3280 printf "%s\n" "$ac_var='\''$ac_val'\''"
3281 done | sort
3282 echo
3284 if test -n "$ac_subst_files"; then
3285 printf "%s\n" "## ------------------- ##
3286 ## File substitutions. ##
3287 ## ------------------- ##"
3288 echo
3289 for ac_var in $ac_subst_files
3291 eval ac_val=\$$ac_var
3292 case $ac_val in
3293 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3294 esac
3295 printf "%s\n" "$ac_var='\''$ac_val'\''"
3296 done | sort
3297 echo
3300 if test -s confdefs.h; then
3301 printf "%s\n" "## ----------- ##
3302 ## confdefs.h. ##
3303 ## ----------- ##"
3304 echo
3305 cat confdefs.h
3306 echo
3308 test "$ac_signal" != 0 &&
3309 printf "%s\n" "$as_me: caught signal $ac_signal"
3310 printf "%s\n" "$as_me: exit $exit_status"
3311 } >&5
3312 rm -f core *.core core.conftest.* &&
3313 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3314 exit $exit_status
3316 for ac_signal in 1 2 13 15; do
3317 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3318 done
3319 ac_signal=0
3321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3322 rm -f -r conftest* confdefs.h
3324 printf "%s\n" "/* confdefs.h */" > confdefs.h
3326 # Predefined preprocessor variables.
3328 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3332 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3334 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3336 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3338 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3341 # Let the site file select an alternate cache file if it wants to.
3342 # Prefer an explicitly selected file to automatically selected ones.
3343 if test -n "$CONFIG_SITE"; then
3344 ac_site_files="$CONFIG_SITE"
3345 elif test "x$prefix" != xNONE; then
3346 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3347 else
3348 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3351 for ac_site_file in $ac_site_files
3353 case $ac_site_file in #(
3354 */*) :
3355 ;; #(
3356 *) :
3357 ac_site_file=./$ac_site_file ;;
3358 esac
3359 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3361 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3362 sed 's/^/| /' "$ac_site_file" >&5
3363 . "$ac_site_file" \
3364 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3366 as_fn_error $? "failed to load site script $ac_site_file
3367 See \`config.log' for more details" "$LINENO" 5; }
3369 done
3371 if test -r "$cache_file"; then
3372 # Some versions of bash will fail to source /dev/null (special files
3373 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3374 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3376 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3377 case $cache_file in
3378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3379 *) . "./$cache_file";;
3380 esac
3382 else
3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3384 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3385 >$cache_file
3388 # Test code for whether the C compiler supports C89 (global declarations)
3389 ac_c_conftest_c89_globals='
3390 /* Does the compiler advertise C89 conformance?
3391 Do not test the value of __STDC__, because some compilers set it to 0
3392 while being otherwise adequately conformant. */
3393 #if !defined __STDC__
3394 # error "Compiler does not advertise C89 conformance"
3395 #endif
3397 #include <stddef.h>
3398 #include <stdarg.h>
3399 struct stat;
3400 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3401 struct buf { int x; };
3402 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3403 static char *e (p, i)
3404 char **p;
3405 int i;
3407 return p[i];
3409 static char *f (char * (*g) (char **, int), char **p, ...)
3411 char *s;
3412 va_list v;
3413 va_start (v,p);
3414 s = g (p, va_arg (v,int));
3415 va_end (v);
3416 return s;
3419 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3420 function prototypes and stuff, but not \xHH hex character constants.
3421 These do not provoke an error unfortunately, instead are silently treated
3422 as an "x". The following induces an error, until -std is added to get
3423 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3424 array size at least. It is necessary to write \x00 == 0 to get something
3425 that is true only with -std. */
3426 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3428 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3429 inside strings and character constants. */
3430 #define FOO(x) '\''x'\''
3431 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3433 int test (int i, double x);
3434 struct s1 {int (*f) (int a);};
3435 struct s2 {int (*f) (double a);};
3436 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3437 int, int);'
3439 # Test code for whether the C compiler supports C89 (body of main).
3440 ac_c_conftest_c89_main='
3441 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3444 # Test code for whether the C compiler supports C99 (global declarations)
3445 ac_c_conftest_c99_globals='
3446 // Does the compiler advertise C99 conformance?
3447 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3448 # error "Compiler does not advertise C99 conformance"
3449 #endif
3451 #include <stdbool.h>
3452 extern int puts (const char *);
3453 extern int printf (const char *, ...);
3454 extern int dprintf (int, const char *, ...);
3455 extern void *malloc (size_t);
3457 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3458 // dprintf is used instead of fprintf to avoid needing to declare
3459 // FILE and stderr.
3460 #define debug(...) dprintf (2, __VA_ARGS__)
3461 #define showlist(...) puts (#__VA_ARGS__)
3462 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3463 static void
3464 test_varargs_macros (void)
3466 int x = 1234;
3467 int y = 5678;
3468 debug ("Flag");
3469 debug ("X = %d\n", x);
3470 showlist (The first, second, and third items.);
3471 report (x>y, "x is %d but y is %d", x, y);
3474 // Check long long types.
3475 #define BIG64 18446744073709551615ull
3476 #define BIG32 4294967295ul
3477 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3478 #if !BIG_OK
3479 #error "your preprocessor is broken"
3480 #endif
3481 #if BIG_OK
3482 #else
3483 #error "your preprocessor is broken"
3484 #endif
3485 static long long int bignum = -9223372036854775807LL;
3486 static unsigned long long int ubignum = BIG64;
3488 struct incomplete_array
3490 int datasize;
3491 double data[];
3494 struct named_init {
3495 int number;
3496 const wchar_t *name;
3497 double average;
3500 typedef const char *ccp;
3502 static inline int
3503 test_restrict (ccp restrict text)
3505 // See if C++-style comments work.
3506 // Iterate through items via the restricted pointer.
3507 // Also check for declarations in for loops.
3508 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3509 continue;
3510 return 0;
3513 // Check varargs and va_copy.
3514 static bool
3515 test_varargs (const char *format, ...)
3517 va_list args;
3518 va_start (args, format);
3519 va_list args_copy;
3520 va_copy (args_copy, args);
3522 const char *str = "";
3523 int number = 0;
3524 float fnumber = 0;
3526 while (*format)
3528 switch (*format++)
3530 case '\''s'\'': // string
3531 str = va_arg (args_copy, const char *);
3532 break;
3533 case '\''d'\'': // int
3534 number = va_arg (args_copy, int);
3535 break;
3536 case '\''f'\'': // float
3537 fnumber = va_arg (args_copy, double);
3538 break;
3539 default:
3540 break;
3543 va_end (args_copy);
3544 va_end (args);
3546 return *str && number && fnumber;
3550 # Test code for whether the C compiler supports C99 (body of main).
3551 ac_c_conftest_c99_main='
3552 // Check bool.
3553 _Bool success = false;
3554 success |= (argc != 0);
3556 // Check restrict.
3557 if (test_restrict ("String literal") == 0)
3558 success = true;
3559 char *restrict newvar = "Another string";
3561 // Check varargs.
3562 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3563 test_varargs_macros ();
3565 // Check flexible array members.
3566 struct incomplete_array *ia =
3567 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3568 ia->datasize = 10;
3569 for (int i = 0; i < ia->datasize; ++i)
3570 ia->data[i] = i * 1.234;
3572 // Check named initializers.
3573 struct named_init ni = {
3574 .number = 34,
3575 .name = L"Test wide string",
3576 .average = 543.34343,
3579 ni.number = 58;
3581 int dynamic_array[ni.number];
3582 dynamic_array[0] = argv[0][0];
3583 dynamic_array[ni.number - 1] = 543;
3585 // work around unused variable warnings
3586 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3587 || dynamic_array[ni.number - 1] != 543);
3590 # Test code for whether the C compiler supports C11 (global declarations)
3591 ac_c_conftest_c11_globals='
3592 // Does the compiler advertise C11 conformance?
3593 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3594 # error "Compiler does not advertise C11 conformance"
3595 #endif
3597 // Check _Alignas.
3598 char _Alignas (double) aligned_as_double;
3599 char _Alignas (0) no_special_alignment;
3600 extern char aligned_as_int;
3601 char _Alignas (0) _Alignas (int) aligned_as_int;
3603 // Check _Alignof.
3604 enum
3606 int_alignment = _Alignof (int),
3607 int_array_alignment = _Alignof (int[100]),
3608 char_alignment = _Alignof (char)
3610 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3612 // Check _Noreturn.
3613 int _Noreturn does_not_return (void) { for (;;) continue; }
3615 // Check _Static_assert.
3616 struct test_static_assert
3618 int x;
3619 _Static_assert (sizeof (int) <= sizeof (long int),
3620 "_Static_assert does not work in struct");
3621 long int y;
3624 // Check UTF-8 literals.
3625 #define u8 syntax error!
3626 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3628 // Check duplicate typedefs.
3629 typedef long *long_ptr;
3630 typedef long int *long_ptr;
3631 typedef long_ptr long_ptr;
3633 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3634 struct anonymous
3636 union {
3637 struct { int i; int j; };
3638 struct { int k; long int l; } w;
3640 int m;
3641 } v1;
3644 # Test code for whether the C compiler supports C11 (body of main).
3645 ac_c_conftest_c11_main='
3646 _Static_assert ((offsetof (struct anonymous, i)
3647 == offsetof (struct anonymous, w.k)),
3648 "Anonymous union alignment botch");
3649 v1.i = 2;
3650 v1.w.k = 5;
3651 ok |= v1.i != 5;
3654 # Test code for whether the C compiler supports C11 (complete).
3655 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3656 ${ac_c_conftest_c99_globals}
3657 ${ac_c_conftest_c11_globals}
3660 main (int argc, char **argv)
3662 int ok = 0;
3663 ${ac_c_conftest_c89_main}
3664 ${ac_c_conftest_c99_main}
3665 ${ac_c_conftest_c11_main}
3666 return ok;
3670 # Test code for whether the C compiler supports C99 (complete).
3671 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3672 ${ac_c_conftest_c99_globals}
3675 main (int argc, char **argv)
3677 int ok = 0;
3678 ${ac_c_conftest_c89_main}
3679 ${ac_c_conftest_c99_main}
3680 return ok;
3684 # Test code for whether the C compiler supports C89 (complete).
3685 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3688 main (int argc, char **argv)
3690 int ok = 0;
3691 ${ac_c_conftest_c89_main}
3692 return ok;
3696 # Test code for whether the C++ compiler supports C++98 (global declarations)
3697 ac_cxx_conftest_cxx98_globals='
3698 // Does the compiler advertise C++98 conformance?
3699 #if !defined __cplusplus || __cplusplus < 199711L
3700 # error "Compiler does not advertise C++98 conformance"
3701 #endif
3703 // These inclusions are to reject old compilers that
3704 // lack the unsuffixed header files.
3705 #include <cstdlib>
3706 #include <exception>
3708 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3709 extern void assert (int);
3710 namespace std {
3711 extern int strcmp (const char *, const char *);
3714 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3715 using std::exception;
3716 using std::strcmp;
3718 namespace {
3720 void test_exception_syntax()
3722 try {
3723 throw "test";
3724 } catch (const char *s) {
3725 // Extra parentheses suppress a warning when building autoconf itself,
3726 // due to lint rules shared with more typical C programs.
3727 assert (!(strcmp) (s, "test"));
3731 template <typename T> struct test_template
3733 T const val;
3734 explicit test_template(T t) : val(t) {}
3735 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3738 } // anonymous namespace
3741 # Test code for whether the C++ compiler supports C++98 (body of main)
3742 ac_cxx_conftest_cxx98_main='
3743 assert (argc);
3744 assert (! argv[0]);
3746 test_exception_syntax ();
3747 test_template<double> tt (2.0);
3748 assert (tt.add (4) == 6.0);
3749 assert (true && !false);
3753 # Test code for whether the C++ compiler supports C++11 (global declarations)
3754 ac_cxx_conftest_cxx11_globals='
3755 // Does the compiler advertise C++ 2011 conformance?
3756 #if !defined __cplusplus || __cplusplus < 201103L
3757 # error "Compiler does not advertise C++11 conformance"
3758 #endif
3760 namespace cxx11test
3762 constexpr int get_val() { return 20; }
3764 struct testinit
3766 int i;
3767 double d;
3770 class delegate
3772 public:
3773 delegate(int n) : n(n) {}
3774 delegate(): delegate(2354) {}
3776 virtual int getval() { return this->n; };
3777 protected:
3778 int n;
3781 class overridden : public delegate
3783 public:
3784 overridden(int n): delegate(n) {}
3785 virtual int getval() override final { return this->n * 2; }
3788 class nocopy
3790 public:
3791 nocopy(int i): i(i) {}
3792 nocopy() = default;
3793 nocopy(const nocopy&) = delete;
3794 nocopy & operator=(const nocopy&) = delete;
3795 private:
3796 int i;
3799 // for testing lambda expressions
3800 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3802 return f(v);
3805 // for testing variadic templates and trailing return types
3806 template <typename V> auto sum(V first) -> V
3808 return first;
3810 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3812 return first + sum(rest...);
3817 # Test code for whether the C++ compiler supports C++11 (body of main)
3818 ac_cxx_conftest_cxx11_main='
3820 // Test auto and decltype
3821 auto a1 = 6538;
3822 auto a2 = 48573953.4;
3823 auto a3 = "String literal";
3825 int total = 0;
3826 for (auto i = a3; *i; ++i) { total += *i; }
3828 decltype(a2) a4 = 34895.034;
3831 // Test constexpr
3832 short sa[cxx11test::get_val()] = { 0 };
3835 // Test initializer lists
3836 cxx11test::testinit il = { 4323, 435234.23544 };
3839 // Test range-based for
3840 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3841 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3842 for (auto &x : array) { x += 23; }
3845 // Test lambda expressions
3846 using cxx11test::eval;
3847 assert (eval ([](int x) { return x*2; }, 21) == 42);
3848 double d = 2.0;
3849 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3850 assert (d == 5.0);
3851 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3852 assert (d == 5.0);
3855 // Test use of variadic templates
3856 using cxx11test::sum;
3857 auto a = sum(1);
3858 auto b = sum(1, 2);
3859 auto c = sum(1.0, 2.0, 3.0);
3862 // Test constructor delegation
3863 cxx11test::delegate d1;
3864 cxx11test::delegate d2();
3865 cxx11test::delegate d3(45);
3868 // Test override and final
3869 cxx11test::overridden o1(55464);
3872 // Test nullptr
3873 char *c = nullptr;
3876 // Test template brackets
3877 test_template<::test_template<int>> v(test_template<int>(12));
3880 // Unicode literals
3881 char const *utf8 = u8"UTF-8 string \u2500";
3882 char16_t const *utf16 = u"UTF-8 string \u2500";
3883 char32_t const *utf32 = U"UTF-32 string \u2500";
3887 # Test code for whether the C compiler supports C++11 (complete).
3888 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3889 ${ac_cxx_conftest_cxx11_globals}
3892 main (int argc, char **argv)
3894 int ok = 0;
3895 ${ac_cxx_conftest_cxx98_main}
3896 ${ac_cxx_conftest_cxx11_main}
3897 return ok;
3901 # Test code for whether the C compiler supports C++98 (complete).
3902 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3904 main (int argc, char **argv)
3906 int ok = 0;
3907 ${ac_cxx_conftest_cxx98_main}
3908 return ok;
3912 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3913 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3914 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3915 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3916 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3917 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3918 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3919 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3920 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3922 # Auxiliary files required by this configure script.
3923 ac_aux_files="config.guess config.sub"
3925 # Locations in which to look for auxiliary files.
3926 ac_aux_dir_candidates="${srcdir}/tools"
3928 # Search for a directory containing all of the required auxiliary files,
3929 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3930 # If we don't find one directory that contains all the files we need,
3931 # we report the set of missing files from the *first* directory in
3932 # $ac_aux_dir_candidates and give up.
3933 ac_missing_aux_files=""
3934 ac_first_candidate=:
3935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 as_found=false
3938 for as_dir in $ac_aux_dir_candidates
3940 IFS=$as_save_IFS
3941 case $as_dir in #(((
3942 '') as_dir=./ ;;
3943 */) ;;
3944 *) as_dir=$as_dir/ ;;
3945 esac
3946 as_found=:
3948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3949 ac_aux_dir_found=yes
3950 ac_install_sh=
3951 for ac_aux in $ac_aux_files
3953 # As a special case, if "install-sh" is required, that requirement
3954 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3955 # and $ac_install_sh is set appropriately for whichever one is found.
3956 if test x"$ac_aux" = x"install-sh"
3957 then
3958 if test -f "${as_dir}install-sh"; then
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3960 ac_install_sh="${as_dir}install-sh -c"
3961 elif test -f "${as_dir}install.sh"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3963 ac_install_sh="${as_dir}install.sh -c"
3964 elif test -f "${as_dir}shtool"; then
3965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3966 ac_install_sh="${as_dir}shtool install -c"
3967 else
3968 ac_aux_dir_found=no
3969 if $ac_first_candidate; then
3970 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3971 else
3972 break
3975 else
3976 if test -f "${as_dir}${ac_aux}"; then
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3978 else
3979 ac_aux_dir_found=no
3980 if $ac_first_candidate; then
3981 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3982 else
3983 break
3987 done
3988 if test "$ac_aux_dir_found" = yes; then
3989 ac_aux_dir="$as_dir"
3990 break
3992 ac_first_candidate=false
3994 as_found=false
3995 done
3996 IFS=$as_save_IFS
3997 if $as_found
3998 then :
4000 else $as_nop
4001 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4005 # These three variables are undocumented and unsupported,
4006 # and are intended to be withdrawn in a future Autoconf release.
4007 # They can cause serious problems if a builder's source tree is in a directory
4008 # whose full name contains unusual characters.
4009 if test -f "${ac_aux_dir}config.guess"; then
4010 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4012 if test -f "${ac_aux_dir}config.sub"; then
4013 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4015 if test -f "$ac_aux_dir/configure"; then
4016 ac_configure="$SHELL ${ac_aux_dir}configure"
4019 # Check that the precious variables saved in the cache have kept the same
4020 # value.
4021 ac_cache_corrupted=false
4022 for ac_var in $ac_precious_vars; do
4023 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4024 eval ac_new_set=\$ac_env_${ac_var}_set
4025 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4026 eval ac_new_val=\$ac_env_${ac_var}_value
4027 case $ac_old_set,$ac_new_set in
4028 set,)
4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4030 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4031 ac_cache_corrupted=: ;;
4032 ,set)
4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4034 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4035 ac_cache_corrupted=: ;;
4036 ,);;
4038 if test "x$ac_old_val" != "x$ac_new_val"; then
4039 # differences in whitespace do not lead to failure.
4040 ac_old_val_w=`echo x $ac_old_val`
4041 ac_new_val_w=`echo x $ac_new_val`
4042 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4044 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4045 ac_cache_corrupted=:
4046 else
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4048 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4049 eval $ac_var=\$ac_old_val
4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4052 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4054 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4055 fi;;
4056 esac
4057 # Pass precious variables to config.status.
4058 if test "$ac_new_set" = set; then
4059 case $ac_new_val in
4060 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4061 *) ac_arg=$ac_var=$ac_new_val ;;
4062 esac
4063 case " $ac_configure_args " in
4064 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4065 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4066 esac
4068 done
4069 if $ac_cache_corrupted; then
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4073 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4074 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4075 and start over" "$LINENO" 5
4077 ## -------------------- ##
4078 ## Main body of script. ##
4079 ## -------------------- ##
4081 ac_ext=c
4082 ac_cpp='$CPP $CPPFLAGS'
4083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4089 ac_config_headers="$ac_config_headers include/config.h"
4093 libwine_version="1.0"
4096 # Check whether --enable-archs was given.
4097 if test ${enable_archs+y}
4098 then :
4099 enableval=$enable_archs;
4102 # Check whether --enable-win16 was given.
4103 if test ${enable_win16+y}
4104 then :
4105 enableval=$enable_win16;
4108 # Check whether --enable-win64 was given.
4109 if test ${enable_win64+y}
4110 then :
4111 enableval=$enable_win64;
4114 # Check whether --enable-tests was given.
4115 if test ${enable_tests+y}
4116 then :
4117 enableval=$enable_tests;
4120 # Check whether --enable-build-id was given.
4121 if test ${enable_build_id+y}
4122 then :
4123 enableval=$enable_build_id;
4126 # Check whether --enable-maintainer-mode was given.
4127 if test ${enable_maintainer_mode+y}
4128 then :
4129 enableval=$enable_maintainer_mode;
4132 # Check whether --enable-silent-rules was given.
4133 if test ${enable_silent_rules+y}
4134 then :
4135 enableval=$enable_silent_rules;
4138 # Check whether --enable-werror was given.
4139 if test ${enable_werror+y}
4140 then :
4141 enableval=$enable_werror;
4146 # Check whether --with-alsa was given.
4147 if test ${with_alsa+y}
4148 then :
4149 withval=$with_alsa;
4153 # Check whether --with-capi was given.
4154 if test ${with_capi+y}
4155 then :
4156 withval=$with_capi;
4160 # Check whether --with-coreaudio was given.
4161 if test ${with_coreaudio+y}
4162 then :
4163 withval=$with_coreaudio;
4167 # Check whether --with-cups was given.
4168 if test ${with_cups+y}
4169 then :
4170 withval=$with_cups;
4174 # Check whether --with-dbus was given.
4175 if test ${with_dbus+y}
4176 then :
4177 withval=$with_dbus;
4181 # Check whether --with-float-abi was given.
4182 if test ${with_float_abi+y}
4183 then :
4184 withval=$with_float_abi;
4188 # Check whether --with-fontconfig was given.
4189 if test ${with_fontconfig+y}
4190 then :
4191 withval=$with_fontconfig;
4195 # Check whether --with-freetype was given.
4196 if test ${with_freetype+y}
4197 then :
4198 withval=$with_freetype;
4202 # Check whether --with-gettext was given.
4203 if test ${with_gettext+y}
4204 then :
4205 withval=$with_gettext;
4209 # Check whether --with-gettextpo was given.
4210 if test ${with_gettextpo+y}
4211 then :
4212 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4216 # Check whether --with-gphoto was given.
4217 if test ${with_gphoto+y}
4218 then :
4219 withval=$with_gphoto;
4223 # Check whether --with-gnutls was given.
4224 if test ${with_gnutls+y}
4225 then :
4226 withval=$with_gnutls;
4230 # Check whether --with-gssapi was given.
4231 if test ${with_gssapi+y}
4232 then :
4233 withval=$with_gssapi;
4237 # Check whether --with-gstreamer was given.
4238 if test ${with_gstreamer+y}
4239 then :
4240 withval=$with_gstreamer;
4244 # Check whether --with-inotify was given.
4245 if test ${with_inotify+y}
4246 then :
4247 withval=$with_inotify;
4251 # Check whether --with-krb5 was given.
4252 if test ${with_krb5+y}
4253 then :
4254 withval=$with_krb5;
4258 # Check whether --with-mingw was given.
4259 if test ${with_mingw+y}
4260 then :
4261 withval=$with_mingw;
4265 # Check whether --with-netapi was given.
4266 if test ${with_netapi+y}
4267 then :
4268 withval=$with_netapi;
4272 # Check whether --with-opencl was given.
4273 if test ${with_opencl+y}
4274 then :
4275 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4279 # Check whether --with-opengl was given.
4280 if test ${with_opengl+y}
4281 then :
4282 withval=$with_opengl;
4286 # Check whether --with-osmesa was given.
4287 if test ${with_osmesa+y}
4288 then :
4289 withval=$with_osmesa;
4293 # Check whether --with-oss was given.
4294 if test ${with_oss+y}
4295 then :
4296 withval=$with_oss;
4300 # Check whether --with-pcap was given.
4301 if test ${with_pcap+y}
4302 then :
4303 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4307 # Check whether --with-pthread was given.
4308 if test ${with_pthread+y}
4309 then :
4310 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4314 # Check whether --with-pulse was given.
4315 if test ${with_pulse+y}
4316 then :
4317 withval=$with_pulse;
4321 # Check whether --with-sane was given.
4322 if test ${with_sane+y}
4323 then :
4324 withval=$with_sane;
4328 # Check whether --with-sdl was given.
4329 if test ${with_sdl+y}
4330 then :
4331 withval=$with_sdl;
4335 # Check whether --with-udev was given.
4336 if test ${with_udev+y}
4337 then :
4338 withval=$with_udev;
4342 # Check whether --with-unwind was given.
4343 if test ${with_unwind+y}
4344 then :
4345 withval=$with_unwind;
4349 # Check whether --with-usb was given.
4350 if test ${with_usb+y}
4351 then :
4352 withval=$with_usb;
4356 # Check whether --with-v4l2 was given.
4357 if test ${with_v4l2+y}
4358 then :
4359 withval=$with_v4l2;
4363 # Check whether --with-vulkan was given.
4364 if test ${with_vulkan+y}
4365 then :
4366 withval=$with_vulkan;
4370 # Check whether --with-xcomposite was given.
4371 if test ${with_xcomposite+y}
4372 then :
4373 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4377 # Check whether --with-xcursor was given.
4378 if test ${with_xcursor+y}
4379 then :
4380 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4384 # Check whether --with-xfixes was given.
4385 if test ${with_xfixes+y}
4386 then :
4387 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4391 # Check whether --with-xinerama was given.
4392 if test ${with_xinerama+y}
4393 then :
4394 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4398 # Check whether --with-xinput was given.
4399 if test ${with_xinput+y}
4400 then :
4401 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4405 # Check whether --with-xinput2 was given.
4406 if test ${with_xinput2+y}
4407 then :
4408 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4412 # Check whether --with-xrandr was given.
4413 if test ${with_xrandr+y}
4414 then :
4415 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4419 # Check whether --with-xrender was given.
4420 if test ${with_xrender+y}
4421 then :
4422 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4426 # Check whether --with-xshape was given.
4427 if test ${with_xshape+y}
4428 then :
4429 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4433 # Check whether --with-xshm was given.
4434 if test ${with_xshm+y}
4435 then :
4436 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4440 # Check whether --with-xxf86vm was given.
4441 if test ${with_xxf86vm+y}
4442 then :
4443 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
4448 # Check whether --with-system-dllpath was given.
4449 if test ${with_system_dllpath+y}
4450 then :
4451 withval=$with_system_dllpath; system_dllpath=$withval
4456 # Check whether --with-wine-tools was given.
4457 if test ${with_wine_tools+y}
4458 then :
4459 withval=$with_wine_tools;
4463 # Check whether --with-wine64 was given.
4464 if test ${with_wine64+y}
4465 then :
4466 withval=$with_wine64;
4473 # Make sure we can run config.sub.
4474 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4475 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4478 printf %s "checking build system type... " >&6; }
4479 if test ${ac_cv_build+y}
4480 then :
4481 printf %s "(cached) " >&6
4482 else $as_nop
4483 ac_build_alias=$build_alias
4484 test "x$ac_build_alias" = x &&
4485 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4486 test "x$ac_build_alias" = x &&
4487 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4488 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4489 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4493 printf "%s\n" "$ac_cv_build" >&6; }
4494 case $ac_cv_build in
4495 *-*-*) ;;
4496 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4497 esac
4498 build=$ac_cv_build
4499 ac_save_IFS=$IFS; IFS='-'
4500 set x $ac_cv_build
4501 shift
4502 build_cpu=$1
4503 build_vendor=$2
4504 shift; shift
4505 # Remember, the first character of IFS is used to create $*,
4506 # except with old shells:
4507 build_os=$*
4508 IFS=$ac_save_IFS
4509 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4513 printf %s "checking host system type... " >&6; }
4514 if test ${ac_cv_host+y}
4515 then :
4516 printf %s "(cached) " >&6
4517 else $as_nop
4518 if test "x$host_alias" = x; then
4519 ac_cv_host=$ac_cv_build
4520 else
4521 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4522 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4527 printf "%s\n" "$ac_cv_host" >&6; }
4528 case $ac_cv_host in
4529 *-*-*) ;;
4530 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4531 esac
4532 host=$ac_cv_host
4533 ac_save_IFS=$IFS; IFS='-'
4534 set x $ac_cv_host
4535 shift
4536 host_cpu=$1
4537 host_vendor=$2
4538 shift; shift
4539 # Remember, the first character of IFS is used to create $*,
4540 # except with old shells:
4541 host_os=$*
4542 IFS=$ac_save_IFS
4543 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4547 dlldir=\${libdir}/wine
4549 fontdir=\${datadir}/wine/fonts
4551 nlsdir=\${datadir}/wine/nls
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4557 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4558 set x ${MAKE-make}
4559 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4560 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4561 then :
4562 printf %s "(cached) " >&6
4563 else $as_nop
4564 cat >conftest.make <<\_ACEOF
4565 SHELL = /bin/sh
4566 all:
4567 @echo '@@@%%%=$(MAKE)=@@@%%%'
4568 _ACEOF
4569 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4570 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4571 *@@@%%%=?*=@@@%%%*)
4572 eval ac_cv_prog_make_${ac_make}_set=yes;;
4574 eval ac_cv_prog_make_${ac_make}_set=no;;
4575 esac
4576 rm -f conftest.make
4578 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4580 printf "%s\n" "yes" >&6; }
4581 SET_MAKE=
4582 else
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 printf "%s\n" "no" >&6; }
4585 SET_MAKE="MAKE=${MAKE-make}"
4597 ac_ext=c
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4604 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 printf %s "checking for $ac_word... " >&6; }
4607 if test ${ac_cv_prog_CC+y}
4608 then :
4609 printf %s "(cached) " >&6
4610 else $as_nop
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC="$CC" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4617 IFS=$as_save_IFS
4618 case $as_dir in #(((
4619 '') as_dir=./ ;;
4620 */) ;;
4621 *) as_dir=$as_dir/ ;;
4622 esac
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4627 break 2
4629 done
4630 done
4631 IFS=$as_save_IFS
4635 CC=$ac_cv_prog_CC
4636 if test -n "$CC"; then
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4638 printf "%s\n" "$CC" >&6; }
4639 else
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 printf "%s\n" "no" >&6; }
4646 if test -z "$ac_cv_prog_CC"; then
4647 ac_ct_CC=$CC
4648 # Extract the first word of "gcc", so it can be a program name with args.
4649 set dummy gcc; ac_word=$2
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 printf %s "checking for $ac_word... " >&6; }
4652 if test ${ac_cv_prog_ac_ct_CC+y}
4653 then :
4654 printf %s "(cached) " >&6
4655 else $as_nop
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 case $as_dir in #(((
4664 '') as_dir=./ ;;
4665 */) ;;
4666 *) as_dir=$as_dir/ ;;
4667 esac
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CC="gcc"
4671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4672 break 2
4674 done
4675 done
4676 IFS=$as_save_IFS
4680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4681 if test -n "$ac_ct_CC"; then
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4683 printf "%s\n" "$ac_ct_CC" >&6; }
4684 else
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 printf "%s\n" "no" >&6; }
4689 if test "x$ac_ct_CC" = x; then
4690 CC=""
4691 else
4692 case $cross_compiling:$ac_tool_warned in
4693 yes:)
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned=yes ;;
4697 esac
4698 CC=$ac_ct_CC
4700 else
4701 CC="$ac_cv_prog_CC"
4704 if test -z "$CC"; then
4705 if test -n "$ac_tool_prefix"; then
4706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4707 set dummy ${ac_tool_prefix}cc; ac_word=$2
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 printf %s "checking for $ac_word... " >&6; }
4710 if test ${ac_cv_prog_CC+y}
4711 then :
4712 printf %s "(cached) " >&6
4713 else $as_nop
4714 if test -n "$CC"; then
4715 ac_cv_prog_CC="$CC" # Let the user override the test.
4716 else
4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 for as_dir in $PATH
4720 IFS=$as_save_IFS
4721 case $as_dir in #(((
4722 '') as_dir=./ ;;
4723 */) ;;
4724 *) as_dir=$as_dir/ ;;
4725 esac
4726 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_CC="${ac_tool_prefix}cc"
4729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4730 break 2
4732 done
4733 done
4734 IFS=$as_save_IFS
4738 CC=$ac_cv_prog_CC
4739 if test -n "$CC"; then
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4741 printf "%s\n" "$CC" >&6; }
4742 else
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 printf "%s\n" "no" >&6; }
4750 if test -z "$CC"; then
4751 # Extract the first word of "cc", so it can be a program name with args.
4752 set dummy cc; ac_word=$2
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 printf %s "checking for $ac_word... " >&6; }
4755 if test ${ac_cv_prog_CC+y}
4756 then :
4757 printf %s "(cached) " >&6
4758 else $as_nop
4759 if test -n "$CC"; then
4760 ac_cv_prog_CC="$CC" # Let the user override the test.
4761 else
4762 ac_prog_rejected=no
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH
4766 IFS=$as_save_IFS
4767 case $as_dir in #(((
4768 '') as_dir=./ ;;
4769 */) ;;
4770 *) as_dir=$as_dir/ ;;
4771 esac
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4774 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4775 ac_prog_rejected=yes
4776 continue
4778 ac_cv_prog_CC="cc"
4779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4780 break 2
4782 done
4783 done
4784 IFS=$as_save_IFS
4786 if test $ac_prog_rejected = yes; then
4787 # We found a bogon in the path, so make sure we never use it.
4788 set dummy $ac_cv_prog_CC
4789 shift
4790 if test $# != 0; then
4791 # We chose a different compiler from the bogus one.
4792 # However, it has the same basename, so the bogon will be chosen
4793 # first if we set CC to just the basename; use the full file name.
4794 shift
4795 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4800 CC=$ac_cv_prog_CC
4801 if test -n "$CC"; then
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4803 printf "%s\n" "$CC" >&6; }
4804 else
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 printf "%s\n" "no" >&6; }
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 for ac_prog in cl.exe
4815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 printf %s "checking for $ac_word... " >&6; }
4819 if test ${ac_cv_prog_CC+y}
4820 then :
4821 printf %s "(cached) " >&6
4822 else $as_nop
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC="$CC" # Let the user override the test.
4825 else
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH
4829 IFS=$as_save_IFS
4830 case $as_dir in #(((
4831 '') as_dir=./ ;;
4832 */) ;;
4833 *) as_dir=$as_dir/ ;;
4834 esac
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4847 CC=$ac_cv_prog_CC
4848 if test -n "$CC"; then
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4850 printf "%s\n" "$CC" >&6; }
4851 else
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 printf "%s\n" "no" >&6; }
4857 test -n "$CC" && break
4858 done
4860 if test -z "$CC"; then
4861 ac_ct_CC=$CC
4862 for ac_prog in cl.exe
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy $ac_prog; ac_word=$2
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 printf %s "checking for $ac_word... " >&6; }
4868 if test ${ac_cv_prog_ac_ct_CC+y}
4869 then :
4870 printf %s "(cached) " >&6
4871 else $as_nop
4872 if test -n "$ac_ct_CC"; then
4873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4878 IFS=$as_save_IFS
4879 case $as_dir in #(((
4880 '') as_dir=./ ;;
4881 */) ;;
4882 *) as_dir=$as_dir/ ;;
4883 esac
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_ac_ct_CC="$ac_prog"
4887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4897 if test -n "$ac_ct_CC"; then
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4899 printf "%s\n" "$ac_ct_CC" >&6; }
4900 else
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 printf "%s\n" "no" >&6; }
4906 test -n "$ac_ct_CC" && break
4907 done
4909 if test "x$ac_ct_CC" = x; then
4910 CC=""
4911 else
4912 case $cross_compiling:$ac_tool_warned in
4913 yes:)
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4916 ac_tool_warned=yes ;;
4917 esac
4918 CC=$ac_ct_CC
4923 if test -z "$CC"; then
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4926 set dummy ${ac_tool_prefix}clang; 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_CC+y}
4930 then :
4931 printf %s "(cached) " >&6
4932 else $as_nop
4933 if test -n "$CC"; then
4934 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}clang"
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 CC=$ac_cv_prog_CC
4958 if test -n "$CC"; then
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4960 printf "%s\n" "$CC" >&6; }
4961 else
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 printf "%s\n" "no" >&6; }
4968 if test -z "$ac_cv_prog_CC"; then
4969 ac_ct_CC=$CC
4970 # Extract the first word of "clang", so it can be a program name with args.
4971 set dummy clang; ac_word=$2
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 printf %s "checking for $ac_word... " >&6; }
4974 if test ${ac_cv_prog_ac_ct_CC+y}
4975 then :
4976 printf %s "(cached) " >&6
4977 else $as_nop
4978 if test -n "$ac_ct_CC"; then
4979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 case $as_dir in #(((
4986 '') as_dir=./ ;;
4987 */) ;;
4988 *) as_dir=$as_dir/ ;;
4989 esac
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_CC="clang"
4993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4994 break 2
4996 done
4997 done
4998 IFS=$as_save_IFS
5002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5003 if test -n "$ac_ct_CC"; then
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5005 printf "%s\n" "$ac_ct_CC" >&6; }
5006 else
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 printf "%s\n" "no" >&6; }
5011 if test "x$ac_ct_CC" = x; then
5012 CC=""
5013 else
5014 case $cross_compiling:$ac_tool_warned in
5015 yes:)
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned=yes ;;
5019 esac
5020 CC=$ac_ct_CC
5022 else
5023 CC="$ac_cv_prog_CC"
5029 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5030 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5031 as_fn_error $? "no acceptable C compiler found in \$PATH
5032 See \`config.log' for more details" "$LINENO" 5; }
5034 # Provide some information about the compiler.
5035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5036 set X $ac_compile
5037 ac_compiler=$2
5038 for ac_option in --version -v -V -qversion -version; do
5039 { { ac_try="$ac_compiler $ac_option >&5"
5040 case "(($ac_try" in
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5043 esac
5044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045 printf "%s\n" "$ac_try_echo"; } >&5
5046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5047 ac_status=$?
5048 if test -s conftest.err; then
5049 sed '10a\
5050 ... rest of stderr output deleted ...
5051 10q' conftest.err >conftest.er1
5052 cat conftest.er1 >&5
5054 rm -f conftest.er1 conftest.err
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5056 test $ac_status = 0; }
5057 done
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main (void)
5067 return 0;
5069 _ACEOF
5070 ac_clean_files_save=$ac_clean_files
5071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5072 # Try to create an executable without -o first, disregard a.out.
5073 # It will help us diagnose broken compilers, and finding out an intuition
5074 # of exeext.
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5076 printf %s "checking whether the C compiler works... " >&6; }
5077 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5079 # The possible output files:
5080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5082 ac_rmfiles=
5083 for ac_file in $ac_files
5085 case $ac_file in
5086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5088 esac
5089 done
5090 rm -f $ac_rmfiles
5092 if { { ac_try="$ac_link_default"
5093 case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5096 esac
5097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 printf "%s\n" "$ac_try_echo"; } >&5
5099 (eval "$ac_link_default") 2>&5
5100 ac_status=$?
5101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102 test $ac_status = 0; }
5103 then :
5104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5107 # so that the user can short-circuit this test for compilers unknown to
5108 # Autoconf.
5109 for ac_file in $ac_files ''
5111 test -f "$ac_file" || continue
5112 case $ac_file in
5113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5115 [ab].out )
5116 # We found the default executable, but exeext='' is most
5117 # certainly right.
5118 break;;
5119 *.* )
5120 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5121 then :; else
5122 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5124 # We set ac_cv_exeext here because the later test for it is not
5125 # safe: cross compilers may not add the suffix if given an `-o'
5126 # argument, so we may need to know it at that point already.
5127 # Even if this section looks crufty: it has the advantage of
5128 # actually working.
5129 break;;
5131 break;;
5132 esac
5133 done
5134 test "$ac_cv_exeext" = no && ac_cv_exeext=
5136 else $as_nop
5137 ac_file=''
5139 if test -z "$ac_file"
5140 then :
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 printf "%s\n" "no" >&6; }
5143 printf "%s\n" "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5146 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5147 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5148 as_fn_error 77 "C compiler cannot create executables
5149 See \`config.log' for more details" "$LINENO" 5; }
5150 else $as_nop
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 printf "%s\n" "yes" >&6; }
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5155 printf %s "checking for C compiler default output file name... " >&6; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5157 printf "%s\n" "$ac_file" >&6; }
5158 ac_exeext=$ac_cv_exeext
5160 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5161 ac_clean_files=$ac_clean_files_save
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5163 printf %s "checking for suffix of executables... " >&6; }
5164 if { { ac_try="$ac_link"
5165 case "(($ac_try" in
5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5168 esac
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 printf "%s\n" "$ac_try_echo"; } >&5
5171 (eval "$ac_link") 2>&5
5172 ac_status=$?
5173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; }
5175 then :
5176 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5177 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5178 # work properly (i.e., refer to `conftest.exe'), while it won't with
5179 # `rm'.
5180 for ac_file in conftest.exe conftest conftest.*; do
5181 test -f "$ac_file" || continue
5182 case $ac_file in
5183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5184 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5185 break;;
5186 * ) break;;
5187 esac
5188 done
5189 else $as_nop
5190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5191 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5192 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5193 See \`config.log' for more details" "$LINENO" 5; }
5195 rm -f conftest conftest$ac_cv_exeext
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5197 printf "%s\n" "$ac_cv_exeext" >&6; }
5199 rm -f conftest.$ac_ext
5200 EXEEXT=$ac_cv_exeext
5201 ac_exeext=$EXEEXT
5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5204 #include <stdio.h>
5206 main (void)
5208 FILE *f = fopen ("conftest.out", "w");
5209 return ferror (f) || fclose (f) != 0;
5212 return 0;
5214 _ACEOF
5215 ac_clean_files="$ac_clean_files conftest.out"
5216 # Check that the compiler produces executables we can run. If not, either
5217 # the compiler is broken, or we cross compile.
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5219 printf %s "checking whether we are cross compiling... " >&6; }
5220 if test "$cross_compiling" != yes; then
5221 { { ac_try="$ac_link"
5222 case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link") 2>&5
5229 ac_status=$?
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5232 if { ac_try='./conftest$ac_cv_exeext'
5233 { { case "(($ac_try" in
5234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5235 *) ac_try_echo=$ac_try;;
5236 esac
5237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 printf "%s\n" "$ac_try_echo"; } >&5
5239 (eval "$ac_try") 2>&5
5240 ac_status=$?
5241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5242 test $ac_status = 0; }; }; then
5243 cross_compiling=no
5244 else
5245 if test "$cross_compiling" = maybe; then
5246 cross_compiling=yes
5247 else
5248 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5249 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5250 as_fn_error 77 "cannot run C compiled programs.
5251 If you meant to cross compile, use \`--host'.
5252 See \`config.log' for more details" "$LINENO" 5; }
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5257 printf "%s\n" "$cross_compiling" >&6; }
5259 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5260 ac_clean_files=$ac_clean_files_save
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5262 printf %s "checking for suffix of object files... " >&6; }
5263 if test ${ac_cv_objext+y}
5264 then :
5265 printf %s "(cached) " >&6
5266 else $as_nop
5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5271 main (void)
5275 return 0;
5277 _ACEOF
5278 rm -f conftest.o conftest.obj
5279 if { { ac_try="$ac_compile"
5280 case "(($ac_try" in
5281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5283 esac
5284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285 printf "%s\n" "$ac_try_echo"; } >&5
5286 (eval "$ac_compile") 2>&5
5287 ac_status=$?
5288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }
5290 then :
5291 for ac_file in conftest.o conftest.obj conftest.*; do
5292 test -f "$ac_file" || continue;
5293 case $ac_file in
5294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5296 break;;
5297 esac
5298 done
5299 else $as_nop
5300 printf "%s\n" "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5303 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5304 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5305 as_fn_error $? "cannot compute suffix of object files: cannot compile
5306 See \`config.log' for more details" "$LINENO" 5; }
5308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5311 printf "%s\n" "$ac_cv_objext" >&6; }
5312 OBJEXT=$ac_cv_objext
5313 ac_objext=$OBJEXT
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5315 printf %s "checking whether the compiler supports GNU C... " >&6; }
5316 if test ${ac_cv_c_compiler_gnu+y}
5317 then :
5318 printf %s "(cached) " >&6
5319 else $as_nop
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5324 main (void)
5326 #ifndef __GNUC__
5327 choke me
5328 #endif
5331 return 0;
5333 _ACEOF
5334 if ac_fn_c_try_compile "$LINENO"
5335 then :
5336 ac_compiler_gnu=yes
5337 else $as_nop
5338 ac_compiler_gnu=no
5340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5345 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5348 if test $ac_compiler_gnu = yes; then
5349 GCC=yes
5350 else
5351 GCC=
5353 ac_test_CFLAGS=${CFLAGS+y}
5354 ac_save_CFLAGS=$CFLAGS
5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5356 printf %s "checking whether $CC accepts -g... " >&6; }
5357 if test ${ac_cv_prog_cc_g+y}
5358 then :
5359 printf %s "(cached) " >&6
5360 else $as_nop
5361 ac_save_c_werror_flag=$ac_c_werror_flag
5362 ac_c_werror_flag=yes
5363 ac_cv_prog_cc_g=no
5364 CFLAGS="-g"
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main (void)
5373 return 0;
5375 _ACEOF
5376 if ac_fn_c_try_compile "$LINENO"
5377 then :
5378 ac_cv_prog_cc_g=yes
5379 else $as_nop
5380 CFLAGS=""
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main (void)
5389 return 0;
5391 _ACEOF
5392 if ac_fn_c_try_compile "$LINENO"
5393 then :
5395 else $as_nop
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5397 CFLAGS="-g"
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5402 main (void)
5406 return 0;
5408 _ACEOF
5409 if ac_fn_c_try_compile "$LINENO"
5410 then :
5411 ac_cv_prog_cc_g=yes
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 ac_c_werror_flag=$ac_save_c_werror_flag
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5421 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5422 if test $ac_test_CFLAGS; then
5423 CFLAGS=$ac_save_CFLAGS
5424 elif test $ac_cv_prog_cc_g = yes; then
5425 if test "$GCC" = yes; then
5426 CFLAGS="-g -O2"
5427 else
5428 CFLAGS="-g"
5430 else
5431 if test "$GCC" = yes; then
5432 CFLAGS="-O2"
5433 else
5434 CFLAGS=
5437 ac_prog_cc_stdc=no
5438 if test x$ac_prog_cc_stdc = xno
5439 then :
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5441 printf %s "checking for $CC option to enable C11 features... " >&6; }
5442 if test ${ac_cv_prog_cc_c11+y}
5443 then :
5444 printf %s "(cached) " >&6
5445 else $as_nop
5446 ac_cv_prog_cc_c11=no
5447 ac_save_CC=$CC
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5450 $ac_c_conftest_c11_program
5451 _ACEOF
5452 for ac_arg in '' -std=gnu11
5454 CC="$ac_save_CC $ac_arg"
5455 if ac_fn_c_try_compile "$LINENO"
5456 then :
5457 ac_cv_prog_cc_c11=$ac_arg
5459 rm -f core conftest.err conftest.$ac_objext conftest.beam
5460 test "x$ac_cv_prog_cc_c11" != "xno" && break
5461 done
5462 rm -f conftest.$ac_ext
5463 CC=$ac_save_CC
5466 if test "x$ac_cv_prog_cc_c11" = xno
5467 then :
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5469 printf "%s\n" "unsupported" >&6; }
5470 else $as_nop
5471 if test "x$ac_cv_prog_cc_c11" = x
5472 then :
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 printf "%s\n" "none needed" >&6; }
5475 else $as_nop
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5477 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5478 CC="$CC $ac_cv_prog_cc_c11"
5480 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5481 ac_prog_cc_stdc=c11
5484 if test x$ac_prog_cc_stdc = xno
5485 then :
5486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5487 printf %s "checking for $CC option to enable C99 features... " >&6; }
5488 if test ${ac_cv_prog_cc_c99+y}
5489 then :
5490 printf %s "(cached) " >&6
5491 else $as_nop
5492 ac_cv_prog_cc_c99=no
5493 ac_save_CC=$CC
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5496 $ac_c_conftest_c99_program
5497 _ACEOF
5498 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5500 CC="$ac_save_CC $ac_arg"
5501 if ac_fn_c_try_compile "$LINENO"
5502 then :
5503 ac_cv_prog_cc_c99=$ac_arg
5505 rm -f core conftest.err conftest.$ac_objext conftest.beam
5506 test "x$ac_cv_prog_cc_c99" != "xno" && break
5507 done
5508 rm -f conftest.$ac_ext
5509 CC=$ac_save_CC
5512 if test "x$ac_cv_prog_cc_c99" = xno
5513 then :
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5515 printf "%s\n" "unsupported" >&6; }
5516 else $as_nop
5517 if test "x$ac_cv_prog_cc_c99" = x
5518 then :
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5520 printf "%s\n" "none needed" >&6; }
5521 else $as_nop
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5523 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5524 CC="$CC $ac_cv_prog_cc_c99"
5526 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5527 ac_prog_cc_stdc=c99
5530 if test x$ac_prog_cc_stdc = xno
5531 then :
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5533 printf %s "checking for $CC option to enable C89 features... " >&6; }
5534 if test ${ac_cv_prog_cc_c89+y}
5535 then :
5536 printf %s "(cached) " >&6
5537 else $as_nop
5538 ac_cv_prog_cc_c89=no
5539 ac_save_CC=$CC
5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5542 $ac_c_conftest_c89_program
5543 _ACEOF
5544 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5546 CC="$ac_save_CC $ac_arg"
5547 if ac_fn_c_try_compile "$LINENO"
5548 then :
5549 ac_cv_prog_cc_c89=$ac_arg
5551 rm -f core conftest.err conftest.$ac_objext conftest.beam
5552 test "x$ac_cv_prog_cc_c89" != "xno" && break
5553 done
5554 rm -f conftest.$ac_ext
5555 CC=$ac_save_CC
5558 if test "x$ac_cv_prog_cc_c89" = xno
5559 then :
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5561 printf "%s\n" "unsupported" >&6; }
5562 else $as_nop
5563 if test "x$ac_cv_prog_cc_c89" = x
5564 then :
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5566 printf "%s\n" "none needed" >&6; }
5567 else $as_nop
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5569 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5570 CC="$CC $ac_cv_prog_cc_c89"
5572 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5573 ac_prog_cc_stdc=c89
5577 ac_ext=c
5578 ac_cpp='$CPP $CPPFLAGS'
5579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5589 ac_ext=cpp
5590 ac_cpp='$CXXCPP $CPPFLAGS'
5591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5594 if test -z "$CXX"; then
5595 if test -n "$CCC"; then
5596 CXX=$CCC
5597 else
5598 if test -n "$ac_tool_prefix"; then
5599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 printf %s "checking for $ac_word... " >&6; }
5605 if test ${ac_cv_prog_CXX+y}
5606 then :
5607 printf %s "(cached) " >&6
5608 else $as_nop
5609 if test -n "$CXX"; then
5610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5615 IFS=$as_save_IFS
5616 case $as_dir in #(((
5617 '') as_dir=./ ;;
5618 */) ;;
5619 *) as_dir=$as_dir/ ;;
5620 esac
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 CXX=$ac_cv_prog_CXX
5634 if test -n "$CXX"; then
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5636 printf "%s\n" "$CXX" >&6; }
5637 else
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 printf "%s\n" "no" >&6; }
5643 test -n "$CXX" && break
5644 done
5646 if test -z "$CXX"; then
5647 ac_ct_CXX=$CXX
5648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5650 # Extract the first word of "$ac_prog", so it can be a program name with args.
5651 set dummy $ac_prog; ac_word=$2
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 printf %s "checking for $ac_word... " >&6; }
5654 if test ${ac_cv_prog_ac_ct_CXX+y}
5655 then :
5656 printf %s "(cached) " >&6
5657 else $as_nop
5658 if test -n "$ac_ct_CXX"; then
5659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5660 else
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 for as_dir in $PATH
5664 IFS=$as_save_IFS
5665 case $as_dir in #(((
5666 '') as_dir=./ ;;
5667 */) ;;
5668 *) as_dir=$as_dir/ ;;
5669 esac
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_ac_ct_CXX="$ac_prog"
5673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5683 if test -n "$ac_ct_CXX"; then
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5685 printf "%s\n" "$ac_ct_CXX" >&6; }
5686 else
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 printf "%s\n" "no" >&6; }
5692 test -n "$ac_ct_CXX" && break
5693 done
5695 if test "x$ac_ct_CXX" = x; then
5696 CXX="g++"
5697 else
5698 case $cross_compiling:$ac_tool_warned in
5699 yes:)
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5702 ac_tool_warned=yes ;;
5703 esac
5704 CXX=$ac_ct_CXX
5710 # Provide some information about the compiler.
5711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5712 set X $ac_compile
5713 ac_compiler=$2
5714 for ac_option in --version -v -V -qversion; do
5715 { { ac_try="$ac_compiler $ac_option >&5"
5716 case "(($ac_try" in
5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;;
5719 esac
5720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 printf "%s\n" "$ac_try_echo"; } >&5
5722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5723 ac_status=$?
5724 if test -s conftest.err; then
5725 sed '10a\
5726 ... rest of stderr output deleted ...
5727 10q' conftest.err >conftest.er1
5728 cat conftest.er1 >&5
5730 rm -f conftest.er1 conftest.err
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; }
5733 done
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5736 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5737 if test ${ac_cv_cxx_compiler_gnu+y}
5738 then :
5739 printf %s "(cached) " >&6
5740 else $as_nop
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5745 main (void)
5747 #ifndef __GNUC__
5748 choke me
5749 #endif
5752 return 0;
5754 _ACEOF
5755 if ac_fn_cxx_try_compile "$LINENO"
5756 then :
5757 ac_compiler_gnu=yes
5758 else $as_nop
5759 ac_compiler_gnu=no
5761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5762 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5766 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5769 if test $ac_compiler_gnu = yes; then
5770 GXX=yes
5771 else
5772 GXX=
5774 ac_test_CXXFLAGS=${CXXFLAGS+y}
5775 ac_save_CXXFLAGS=$CXXFLAGS
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5777 printf %s "checking whether $CXX accepts -g... " >&6; }
5778 if test ${ac_cv_prog_cxx_g+y}
5779 then :
5780 printf %s "(cached) " >&6
5781 else $as_nop
5782 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5783 ac_cxx_werror_flag=yes
5784 ac_cv_prog_cxx_g=no
5785 CXXFLAGS="-g"
5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5790 main (void)
5794 return 0;
5796 _ACEOF
5797 if ac_fn_cxx_try_compile "$LINENO"
5798 then :
5799 ac_cv_prog_cxx_g=yes
5800 else $as_nop
5801 CXXFLAGS=""
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5806 main (void)
5810 return 0;
5812 _ACEOF
5813 if ac_fn_cxx_try_compile "$LINENO"
5814 then :
5816 else $as_nop
5817 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5818 CXXFLAGS="-g"
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5823 main (void)
5827 return 0;
5829 _ACEOF
5830 if ac_fn_cxx_try_compile "$LINENO"
5831 then :
5832 ac_cv_prog_cxx_g=yes
5834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5842 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5843 if test $ac_test_CXXFLAGS; then
5844 CXXFLAGS=$ac_save_CXXFLAGS
5845 elif test $ac_cv_prog_cxx_g = yes; then
5846 if test "$GXX" = yes; then
5847 CXXFLAGS="-g -O2"
5848 else
5849 CXXFLAGS="-g"
5851 else
5852 if test "$GXX" = yes; then
5853 CXXFLAGS="-O2"
5854 else
5855 CXXFLAGS=
5858 ac_prog_cxx_stdcxx=no
5859 if test x$ac_prog_cxx_stdcxx = xno
5860 then :
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5862 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5863 if test ${ac_cv_prog_cxx_11+y}
5864 then :
5865 printf %s "(cached) " >&6
5866 else $as_nop
5867 ac_cv_prog_cxx_11=no
5868 ac_save_CXX=$CXX
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 $ac_cxx_conftest_cxx11_program
5872 _ACEOF
5873 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5875 CXX="$ac_save_CXX $ac_arg"
5876 if ac_fn_cxx_try_compile "$LINENO"
5877 then :
5878 ac_cv_prog_cxx_cxx11=$ac_arg
5880 rm -f core conftest.err conftest.$ac_objext conftest.beam
5881 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5882 done
5883 rm -f conftest.$ac_ext
5884 CXX=$ac_save_CXX
5887 if test "x$ac_cv_prog_cxx_cxx11" = xno
5888 then :
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5890 printf "%s\n" "unsupported" >&6; }
5891 else $as_nop
5892 if test "x$ac_cv_prog_cxx_cxx11" = x
5893 then :
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5895 printf "%s\n" "none needed" >&6; }
5896 else $as_nop
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5898 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5899 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5901 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5902 ac_prog_cxx_stdcxx=cxx11
5905 if test x$ac_prog_cxx_stdcxx = xno
5906 then :
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5908 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5909 if test ${ac_cv_prog_cxx_98+y}
5910 then :
5911 printf %s "(cached) " >&6
5912 else $as_nop
5913 ac_cv_prog_cxx_98=no
5914 ac_save_CXX=$CXX
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5917 $ac_cxx_conftest_cxx98_program
5918 _ACEOF
5919 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5921 CXX="$ac_save_CXX $ac_arg"
5922 if ac_fn_cxx_try_compile "$LINENO"
5923 then :
5924 ac_cv_prog_cxx_cxx98=$ac_arg
5926 rm -f core conftest.err conftest.$ac_objext conftest.beam
5927 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5928 done
5929 rm -f conftest.$ac_ext
5930 CXX=$ac_save_CXX
5933 if test "x$ac_cv_prog_cxx_cxx98" = xno
5934 then :
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5936 printf "%s\n" "unsupported" >&6; }
5937 else $as_nop
5938 if test "x$ac_cv_prog_cxx_cxx98" = x
5939 then :
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5941 printf "%s\n" "none needed" >&6; }
5942 else $as_nop
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5944 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5945 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5947 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5948 ac_prog_cxx_stdcxx=cxx98
5952 ac_ext=c
5953 ac_cpp='$CPP $CPPFLAGS'
5954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5960 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 printf %s "checking for $ac_word... " >&6; }
5963 if test ${ac_cv_prog_CPPBIN+y}
5964 then :
5965 printf %s "(cached) " >&6
5966 else $as_nop
5967 if test -n "$CPPBIN"; then
5968 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 case $as_dir in #(((
5975 '') as_dir=./ ;;
5976 */) ;;
5977 *) as_dir=$as_dir/ ;;
5978 esac
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 CPPBIN=$ac_cv_prog_CPPBIN
5992 if test -n "$CPPBIN"; then
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5994 printf "%s\n" "$CPPBIN" >&6; }
5995 else
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 printf "%s\n" "no" >&6; }
6002 if test -z "$ac_cv_prog_CPPBIN"; then
6003 ac_ct_CPPBIN=$CPPBIN
6004 # Extract the first word of "cpp", so it can be a program name with args.
6005 set dummy cpp; ac_word=$2
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 printf %s "checking for $ac_word... " >&6; }
6008 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6009 then :
6010 printf %s "(cached) " >&6
6011 else $as_nop
6012 if test -n "$ac_ct_CPPBIN"; then
6013 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 case $as_dir in #(((
6020 '') as_dir=./ ;;
6021 */) ;;
6022 *) as_dir=$as_dir/ ;;
6023 esac
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_ac_ct_CPPBIN="cpp"
6027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6028 break 2
6030 done
6031 done
6032 IFS=$as_save_IFS
6036 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6037 if test -n "$ac_ct_CPPBIN"; then
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6039 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6040 else
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 printf "%s\n" "no" >&6; }
6045 if test "x$ac_ct_CPPBIN" = x; then
6046 CPPBIN="cpp"
6047 else
6048 case $cross_compiling:$ac_tool_warned in
6049 yes:)
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned=yes ;;
6053 esac
6054 CPPBIN=$ac_ct_CPPBIN
6056 else
6057 CPPBIN="$ac_cv_prog_CPPBIN"
6061 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6065 set dummy ${ac_tool_prefix}ld; ac_word=$2
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 printf %s "checking for $ac_word... " >&6; }
6068 if test ${ac_cv_prog_LD+y}
6069 then :
6070 printf %s "(cached) " >&6
6071 else $as_nop
6072 if test -n "$LD"; then
6073 ac_cv_prog_LD="$LD" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 case $as_dir in #(((
6080 '') as_dir=./ ;;
6081 */) ;;
6082 *) as_dir=$as_dir/ ;;
6083 esac
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_LD="${ac_tool_prefix}ld"
6087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 LD=$ac_cv_prog_LD
6097 if test -n "$LD"; then
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6099 printf "%s\n" "$LD" >&6; }
6100 else
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 printf "%s\n" "no" >&6; }
6107 if test -z "$ac_cv_prog_LD"; then
6108 ac_ct_LD=$LD
6109 # Extract the first word of "ld", so it can be a program name with args.
6110 set dummy ld; ac_word=$2
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 printf %s "checking for $ac_word... " >&6; }
6113 if test ${ac_cv_prog_ac_ct_LD+y}
6114 then :
6115 printf %s "(cached) " >&6
6116 else $as_nop
6117 if test -n "$ac_ct_LD"; then
6118 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 case $as_dir in #(((
6125 '') as_dir=./ ;;
6126 */) ;;
6127 *) as_dir=$as_dir/ ;;
6128 esac
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_LD="ld"
6132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6142 if test -n "$ac_ct_LD"; then
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6144 printf "%s\n" "$ac_ct_LD" >&6; }
6145 else
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 printf "%s\n" "no" >&6; }
6150 if test "x$ac_ct_LD" = x; then
6151 LD=""
6152 else
6153 case $cross_compiling:$ac_tool_warned in
6154 yes:)
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned=yes ;;
6158 esac
6159 LD=$ac_ct_LD
6161 else
6162 LD="$ac_cv_prog_LD"
6166 case $host in
6167 *-darwin*)
6168 with_fontconfig=${with_fontconfig:-no}
6170 *-mingw32*|*-cygwin*)
6171 enable_win16=${enable_win16:-no}
6172 with_mingw=${with_mingw:-no}
6174 esac
6177 case $host in
6178 x86_64*|amd64*)
6179 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6180 then
6181 CC="$CC -m32"
6182 CXX="$CXX -m32"
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6185 printf %s "checking whether $CC works... " >&6; }
6186 if test ${wine_cv_cc_m32+y}
6187 then :
6188 printf %s "(cached) " >&6
6189 else $as_nop
6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6194 main (void)
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_link "$LINENO"
6202 then :
6203 wine_cv_cc_m32=yes
6204 else $as_nop
6205 wine_cv_cc_m32=no
6207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6208 conftest$ac_exeext conftest.$ac_ext
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6211 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6212 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
6213 host_cpu="i386"
6214 notice_platform="32-bit "
6215 TARGETFLAGS="$TARGETFLAGS -m32"
6216 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6217 export PKG_CONFIG_LIBDIR
6218 with_unwind=${with_unwind:-no}
6219 else
6220 if test "x${GCC}" = "xyes"
6221 then
6222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6223 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6224 if test ${wine_cv_builtin_ms_va_list+y}
6225 then :
6226 printf %s "(cached) " >&6
6227 else $as_nop
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <stdarg.h>
6232 main (void)
6234 void func(__builtin_ms_va_list *args);
6236 return 0;
6238 _ACEOF
6239 if ac_fn_c_try_compile "$LINENO"
6240 then :
6241 wine_cv_builtin_ms_va_list=yes
6242 else $as_nop
6243 wine_cv_builtin_ms_va_list=no
6245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6248 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6249 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6251 CC="$CC -m64"
6252 CXX="$CXX -m64"
6253 host_cpu="x86_64"
6254 notice_platform="64-bit "
6255 TARGETFLAGS="$TARGETFLAGS -m64"
6258 arm*)
6259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6260 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6261 if test ${wine_cv_thumb2+y}
6262 then :
6263 printf %s "(cached) " >&6
6264 else $as_nop
6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6269 main (void)
6271 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6273 return 0;
6275 _ACEOF
6276 if ac_fn_c_try_link "$LINENO"
6277 then :
6278 wine_cv_thumb2=yes
6279 else $as_nop
6280 wine_cv_thumb2=no
6282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6283 conftest$ac_exeext conftest.$ac_ext
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6286 printf "%s\n" "$wine_cv_thumb2" >&6; }
6287 if test x"$wine_cv_thumb2" = xyes
6288 then
6289 CFLAGS="$CFLAGS -mthumb"
6290 TARGETFLAGS="$TARGETFLAGS -mthumb"
6291 else
6292 CFLAGS="$CFLAGS -marm"
6293 TARGETFLAGS="$TARGETFLAGS -marm"
6295 case $with_float_abi in
6296 soft|softfp|hard)
6297 float_abi=$with_float_abi ;;
6299 case $host_os in
6300 *eabihf)
6301 float_abi=hard ;;
6303 float_abi=softfp
6304 saved_CFLAGS=$CFLAGS
6305 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6307 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6308 if test ${wine_cv_float_abi+y}
6309 then :
6310 printf %s "(cached) " >&6
6311 else $as_nop
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6316 main (void)
6318 asm("vmrs r2,fpscr");
6320 return 0;
6322 _ACEOF
6323 if ac_fn_c_try_link "$LINENO"
6324 then :
6325 wine_cv_float_abi=yes
6326 else $as_nop
6327 wine_cv_float_abi=no
6329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6330 conftest$ac_exeext conftest.$ac_ext
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6333 printf "%s\n" "$wine_cv_float_abi" >&6; }
6334 if test $wine_cv_float_abi = no
6335 then
6336 float_abi=soft
6337 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6339 CFLAGS=$saved_CFLAGS
6340 esac
6342 esac
6343 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6344 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6346 i[3456789]86*)
6347 with_unwind=${with_unwind:-no}
6349 esac
6351 enable_win16=${enable_win16:-i386}
6352 enable_win64=${enable_win64:-no}
6353 enable_wow64=${enable_wow64:-aarch64,x86_64}
6354 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6355 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6357 enable_winetest=${enable_winetest:-$enable_tests}
6359 if test "x$enable_win64" = "xyes"
6360 then
6361 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6362 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6365 case $build_os in
6366 cygwin*|mingw32*) toolsext=".exe"
6368 *) toolsext=""
6370 esac
6372 HOST_ARCH=unknown
6373 case "$host_cpu" in
6374 aarch64*) HOST_ARCH=aarch64 ;;
6375 arm*) HOST_ARCH=arm ;;
6376 i[3456789]86*) HOST_ARCH=i386 ;;
6377 x86_64) HOST_ARCH=x86_64 ;;
6378 esac
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6382 printf %s "checking for the directory containing the Wine tools... " >&6; }
6383 if test ${wine_cv_toolsdir+y}
6384 then :
6385 printf %s "(cached) " >&6
6386 else $as_nop
6387 wine_cv_toolsdir="$with_wine_tools"
6388 if test -z "$with_wine_tools"; then
6389 if test "$cross_compiling" = "yes"; then
6390 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6391 elif test -n "$with_wine64"; then
6392 wine_cv_toolsdir="$with_wine64"
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6397 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6398 if test -z "$wine_cv_toolsdir"; then
6399 wine_makedep=tools/makedep$toolsext
6400 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6401 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6402 enable_tools=${enable_tools:-no}
6403 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6404 else
6405 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6407 toolsdir=$wine_cv_toolsdir
6409 MAKEDEP=$wine_makedep
6411 RUNTESTFLAGS="-q -P wine"
6413 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'"
6416 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6417 then
6418 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6421 for ac_prog in flex
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 printf %s "checking for $ac_word... " >&6; }
6427 if test ${ac_cv_prog_FLEX+y}
6428 then :
6429 printf %s "(cached) " >&6
6430 else $as_nop
6431 if test -n "$FLEX"; then
6432 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 case $as_dir in #(((
6439 '') as_dir=./ ;;
6440 */) ;;
6441 *) as_dir=$as_dir/ ;;
6442 esac
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_FLEX="$ac_prog"
6446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6447 break 2
6449 done
6450 done
6451 IFS=$as_save_IFS
6455 FLEX=$ac_cv_prog_FLEX
6456 if test -n "$FLEX"; then
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6458 printf "%s\n" "$FLEX" >&6; }
6459 else
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 printf "%s\n" "no" >&6; }
6465 test -n "$FLEX" && break
6466 done
6467 test -n "$FLEX" || FLEX="none"
6469 if test "$FLEX" = "none"
6470 then
6471 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6474 printf %s "checking whether flex is recent enough... " >&6; }
6475 if test ${wine_cv_recent_flex+y}
6476 then :
6477 printf %s "(cached) " >&6
6478 else $as_nop
6479 cat >conftest.l <<EOF
6480 %top{
6481 #include "prediluvian.h"
6485 if $FLEX -t conftest.l >/dev/null 2>&5
6486 then
6487 wine_cv_recent_flex=yes
6488 else
6489 wine_cv_recent_flex=no
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6493 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6494 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
6496 for ac_prog in bison
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy $ac_prog; ac_word=$2
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 printf %s "checking for $ac_word... " >&6; }
6502 if test ${ac_cv_prog_BISON+y}
6503 then :
6504 printf %s "(cached) " >&6
6505 else $as_nop
6506 if test -n "$BISON"; then
6507 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6512 IFS=$as_save_IFS
6513 case $as_dir in #(((
6514 '') as_dir=./ ;;
6515 */) ;;
6516 *) as_dir=$as_dir/ ;;
6517 esac
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_BISON="$ac_prog"
6521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 BISON=$ac_cv_prog_BISON
6531 if test -n "$BISON"; then
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6533 printf "%s\n" "$BISON" >&6; }
6534 else
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 printf "%s\n" "no" >&6; }
6540 test -n "$BISON" && break
6541 done
6542 test -n "$BISON" || BISON="none"
6544 if test "$BISON" = "none"
6545 then
6546 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6549 printf %s "checking whether bison is recent enough... " >&6; }
6550 if test ${wine_cv_recent_bison+y}
6551 then :
6552 printf %s "(cached) " >&6
6553 else $as_nop
6554 cat >conftest.y <<EOF
6555 %define parse.error verbose
6557 empty: ;
6559 if $BISON conftest.y >/dev/null 2>&5
6560 then
6561 wine_cv_recent_bison=yes
6562 else
6563 wine_cv_recent_bison=no
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6567 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6568 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
6570 if test -n "$ac_tool_prefix"; then
6571 for ac_prog in ar gar
6573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6574 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 printf %s "checking for $ac_word... " >&6; }
6577 if test ${ac_cv_prog_AR+y}
6578 then :
6579 printf %s "(cached) " >&6
6580 else $as_nop
6581 if test -n "$AR"; then
6582 ac_cv_prog_AR="$AR" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 case $as_dir in #(((
6589 '') as_dir=./ ;;
6590 */) ;;
6591 *) as_dir=$as_dir/ ;;
6592 esac
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6597 break 2
6599 done
6600 done
6601 IFS=$as_save_IFS
6605 AR=$ac_cv_prog_AR
6606 if test -n "$AR"; then
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6608 printf "%s\n" "$AR" >&6; }
6609 else
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 printf "%s\n" "no" >&6; }
6615 test -n "$AR" && break
6616 done
6618 if test -z "$AR"; then
6619 ac_ct_AR=$AR
6620 for ac_prog in ar gar
6622 # Extract the first word of "$ac_prog", so it can be a program name with args.
6623 set dummy $ac_prog; ac_word=$2
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 printf %s "checking for $ac_word... " >&6; }
6626 if test ${ac_cv_prog_ac_ct_AR+y}
6627 then :
6628 printf %s "(cached) " >&6
6629 else $as_nop
6630 if test -n "$ac_ct_AR"; then
6631 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6636 IFS=$as_save_IFS
6637 case $as_dir in #(((
6638 '') as_dir=./ ;;
6639 */) ;;
6640 *) as_dir=$as_dir/ ;;
6641 esac
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_ac_ct_AR="$ac_prog"
6645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6655 if test -n "$ac_ct_AR"; then
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6657 printf "%s\n" "$ac_ct_AR" >&6; }
6658 else
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 printf "%s\n" "no" >&6; }
6664 test -n "$ac_ct_AR" && break
6665 done
6667 if test "x$ac_ct_AR" = x; then
6668 AR="ar"
6669 else
6670 case $cross_compiling:$ac_tool_warned in
6671 yes:)
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6673 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6674 ac_tool_warned=yes ;;
6675 esac
6676 AR=$ac_ct_AR
6680 if test -n "$ac_tool_prefix"; then
6681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6682 set dummy ${ac_tool_prefix}strip; ac_word=$2
6683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 printf %s "checking for $ac_word... " >&6; }
6685 if test ${ac_cv_prog_STRIP+y}
6686 then :
6687 printf %s "(cached) " >&6
6688 else $as_nop
6689 if test -n "$STRIP"; then
6690 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6695 IFS=$as_save_IFS
6696 case $as_dir in #(((
6697 '') as_dir=./ ;;
6698 */) ;;
6699 *) as_dir=$as_dir/ ;;
6700 esac
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 STRIP=$ac_cv_prog_STRIP
6714 if test -n "$STRIP"; then
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6716 printf "%s\n" "$STRIP" >&6; }
6717 else
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 printf "%s\n" "no" >&6; }
6724 if test -z "$ac_cv_prog_STRIP"; then
6725 ac_ct_STRIP=$STRIP
6726 # Extract the first word of "strip", so it can be a program name with args.
6727 set dummy strip; ac_word=$2
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 printf %s "checking for $ac_word... " >&6; }
6730 if test ${ac_cv_prog_ac_ct_STRIP+y}
6731 then :
6732 printf %s "(cached) " >&6
6733 else $as_nop
6734 if test -n "$ac_ct_STRIP"; then
6735 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6740 IFS=$as_save_IFS
6741 case $as_dir in #(((
6742 '') as_dir=./ ;;
6743 */) ;;
6744 *) as_dir=$as_dir/ ;;
6745 esac
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_STRIP="strip"
6749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6750 break 2
6752 done
6753 done
6754 IFS=$as_save_IFS
6758 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6759 if test -n "$ac_ct_STRIP"; then
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6761 printf "%s\n" "$ac_ct_STRIP" >&6; }
6762 else
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 printf "%s\n" "no" >&6; }
6767 if test "x$ac_ct_STRIP" = x; then
6768 STRIP="strip"
6769 else
6770 case $cross_compiling:$ac_tool_warned in
6771 yes:)
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6775 esac
6776 STRIP=$ac_ct_STRIP
6778 else
6779 STRIP="$ac_cv_prog_STRIP"
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s "checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_RANLIB+y}
6788 then :
6789 printf %s "(cached) " >&6
6790 else $as_nop
6791 if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6797 IFS=$as_save_IFS
6798 case $as_dir in #(((
6799 '') as_dir=./ ;;
6800 */) ;;
6801 *) as_dir=$as_dir/ ;;
6802 esac
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6807 break 2
6809 done
6810 done
6811 IFS=$as_save_IFS
6815 RANLIB=$ac_cv_prog_RANLIB
6816 if test -n "$RANLIB"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6818 printf "%s\n" "$RANLIB" >&6; }
6819 else
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6826 if test -z "$ac_cv_prog_RANLIB"; then
6827 ac_ct_RANLIB=$RANLIB
6828 # Extract the first word of "ranlib", so it can be a program name with args.
6829 set dummy ranlib; ac_word=$2
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 printf %s "checking for $ac_word... " >&6; }
6832 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6833 then :
6834 printf %s "(cached) " >&6
6835 else $as_nop
6836 if test -n "$ac_ct_RANLIB"; then
6837 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6842 IFS=$as_save_IFS
6843 case $as_dir in #(((
6844 '') as_dir=./ ;;
6845 */) ;;
6846 *) as_dir=$as_dir/ ;;
6847 esac
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_ac_ct_RANLIB="ranlib"
6851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6852 break 2
6854 done
6855 done
6856 IFS=$as_save_IFS
6860 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6861 if test -n "$ac_ct_RANLIB"; then
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6863 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6864 else
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866 printf "%s\n" "no" >&6; }
6869 if test "x$ac_ct_RANLIB" = x; then
6870 RANLIB=":"
6871 else
6872 case $cross_compiling:$ac_tool_warned in
6873 yes:)
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6876 ac_tool_warned=yes ;;
6877 esac
6878 RANLIB=$ac_ct_RANLIB
6880 else
6881 RANLIB="$ac_cv_prog_RANLIB"
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6885 printf %s "checking whether ln -s works... " >&6; }
6886 LN_S=$as_ln_s
6887 if test "$LN_S" = "ln -s"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6889 printf "%s\n" "yes" >&6; }
6890 else
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6892 printf "%s\n" "no, using $LN_S" >&6; }
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6896 printf %s "checking for grep that handles long lines and -e... " >&6; }
6897 if test ${ac_cv_path_GREP+y}
6898 then :
6899 printf %s "(cached) " >&6
6900 else $as_nop
6901 if test -z "$GREP"; then
6902 ac_path_GREP_found=false
6903 # Loop through the user's path and test for each of PROGNAME-LIST
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6907 IFS=$as_save_IFS
6908 case $as_dir in #(((
6909 '') as_dir=./ ;;
6910 */) ;;
6911 *) as_dir=$as_dir/ ;;
6912 esac
6913 for ac_prog in grep ggrep
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6917 as_fn_executable_p "$ac_path_GREP" || continue
6918 # Check for GNU ac_path_GREP and select it if it is found.
6919 # Check for GNU $ac_path_GREP
6920 case `"$ac_path_GREP" --version 2>&1` in
6921 *GNU*)
6922 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6924 ac_count=0
6925 printf %s 0123456789 >"conftest.in"
6926 while :
6928 cat "conftest.in" "conftest.in" >"conftest.tmp"
6929 mv "conftest.tmp" "conftest.in"
6930 cp "conftest.in" "conftest.nl"
6931 printf "%s\n" 'GREP' >> "conftest.nl"
6932 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6933 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6934 as_fn_arith $ac_count + 1 && ac_count=$as_val
6935 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6936 # Best one so far, save it but keep looking for a better one
6937 ac_cv_path_GREP="$ac_path_GREP"
6938 ac_path_GREP_max=$ac_count
6940 # 10*(2^10) chars as input seems more than enough
6941 test $ac_count -gt 10 && break
6942 done
6943 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6944 esac
6946 $ac_path_GREP_found && break 3
6947 done
6948 done
6949 done
6950 IFS=$as_save_IFS
6951 if test -z "$ac_cv_path_GREP"; then
6952 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6954 else
6955 ac_cv_path_GREP=$GREP
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6960 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6961 GREP="$ac_cv_path_GREP"
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6965 printf %s "checking for egrep... " >&6; }
6966 if test ${ac_cv_path_EGREP+y}
6967 then :
6968 printf %s "(cached) " >&6
6969 else $as_nop
6970 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6971 then ac_cv_path_EGREP="$GREP -E"
6972 else
6973 if test -z "$EGREP"; then
6974 ac_path_EGREP_found=false
6975 # Loop through the user's path and test for each of PROGNAME-LIST
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6979 IFS=$as_save_IFS
6980 case $as_dir in #(((
6981 '') as_dir=./ ;;
6982 */) ;;
6983 *) as_dir=$as_dir/ ;;
6984 esac
6985 for ac_prog in egrep
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6989 as_fn_executable_p "$ac_path_EGREP" || continue
6990 # Check for GNU ac_path_EGREP and select it if it is found.
6991 # Check for GNU $ac_path_EGREP
6992 case `"$ac_path_EGREP" --version 2>&1` in
6993 *GNU*)
6994 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6996 ac_count=0
6997 printf %s 0123456789 >"conftest.in"
6998 while :
7000 cat "conftest.in" "conftest.in" >"conftest.tmp"
7001 mv "conftest.tmp" "conftest.in"
7002 cp "conftest.in" "conftest.nl"
7003 printf "%s\n" 'EGREP' >> "conftest.nl"
7004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7006 as_fn_arith $ac_count + 1 && ac_count=$as_val
7007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7008 # Best one so far, save it but keep looking for a better one
7009 ac_cv_path_EGREP="$ac_path_EGREP"
7010 ac_path_EGREP_max=$ac_count
7012 # 10*(2^10) chars as input seems more than enough
7013 test $ac_count -gt 10 && break
7014 done
7015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7016 esac
7018 $ac_path_EGREP_found && break 3
7019 done
7020 done
7021 done
7022 IFS=$as_save_IFS
7023 if test -z "$ac_cv_path_EGREP"; then
7024 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7026 else
7027 ac_cv_path_EGREP=$EGREP
7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7033 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7034 EGREP="$ac_cv_path_EGREP"
7037 # Extract the first word of "ldconfig", so it can be a program name with args.
7038 set dummy ldconfig; ac_word=$2
7039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 printf %s "checking for $ac_word... " >&6; }
7041 if test ${ac_cv_path_LDCONFIG+y}
7042 then :
7043 printf %s "(cached) " >&6
7044 else $as_nop
7045 case $LDCONFIG in
7046 [\\/]* | ?:[\\/]*)
7047 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in /sbin /usr/sbin $PATH
7053 IFS=$as_save_IFS
7054 case $as_dir in #(((
7055 '') as_dir=./ ;;
7056 */) ;;
7057 *) as_dir=$as_dir/ ;;
7058 esac
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7061 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7063 break 2
7065 done
7066 done
7067 IFS=$as_save_IFS
7069 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7071 esac
7073 LDCONFIG=$ac_cv_path_LDCONFIG
7074 if test -n "$LDCONFIG"; then
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7076 printf "%s\n" "$LDCONFIG" >&6; }
7077 else
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 printf "%s\n" "no" >&6; }
7083 for ac_prog in msgfmt
7085 # Extract the first word of "$ac_prog", so it can be a program name with args.
7086 set dummy $ac_prog; ac_word=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s "checking for $ac_word... " >&6; }
7089 if test ${ac_cv_prog_MSGFMT+y}
7090 then :
7091 printf %s "(cached) " >&6
7092 else $as_nop
7093 if test -n "$MSGFMT"; then
7094 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7099 IFS=$as_save_IFS
7100 case $as_dir in #(((
7101 '') as_dir=./ ;;
7102 */) ;;
7103 *) as_dir=$as_dir/ ;;
7104 esac
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7107 ac_cv_prog_MSGFMT="$ac_prog"
7108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7109 break 2
7111 done
7112 done
7113 IFS=$as_save_IFS
7117 MSGFMT=$ac_cv_prog_MSGFMT
7118 if test -n "$MSGFMT"; then
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7120 printf "%s\n" "$MSGFMT" >&6; }
7121 else
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 printf "%s\n" "no" >&6; }
7127 test -n "$MSGFMT" && break
7128 done
7129 test -n "$MSGFMT" || MSGFMT="false"
7131 if test ${ac_tool_prefix+y}
7132 then :
7133 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7134 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s "checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_PKG_CONFIG+y}
7138 then :
7139 printf %s "(cached) " >&6
7140 else $as_nop
7141 if test -n "$PKG_CONFIG"; then
7142 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7143 else
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 for as_dir in $PATH
7147 IFS=$as_save_IFS
7148 case $as_dir in #(((
7149 '') as_dir=./ ;;
7150 */) ;;
7151 *) as_dir=$as_dir/ ;;
7152 esac
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7157 break 2
7159 done
7160 done
7161 IFS=$as_save_IFS
7165 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7166 if test -n "$PKG_CONFIG"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7168 printf "%s\n" "$PKG_CONFIG" >&6; }
7169 else
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7176 if ${ac_cv_prog_PKG_CONFIG:+false} :
7177 then :
7178 if test "x$cross_compiling" = xyes
7179 then :
7181 else $as_nop
7182 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7183 # Extract the first word of "pkg-config", so it can be a program name with args.
7184 set dummy pkg-config; ac_word=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s "checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7188 then :
7189 printf %s "(cached) " >&6
7190 else $as_nop
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7193 else
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $PATH
7197 IFS=$as_save_IFS
7198 case $as_dir in #(((
7199 '') as_dir=./ ;;
7200 */) ;;
7201 *) as_dir=$as_dir/ ;;
7202 esac
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG="pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7207 break 2
7209 done
7210 done
7211 IFS=$as_save_IFS
7215 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7219 else
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7226 else $as_nop
7227 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7230 if test "x$enable_maintainer_mode" != "xyes"
7231 then
7232 FONTFORGE=""
7233 RSVG=""
7234 CONVERT=""
7235 ICOTOOL=""
7236 else
7237 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7238 for ac_prog in fontforge
7240 # Extract the first word of "$ac_prog", so it can be a program name with args.
7241 set dummy $ac_prog; ac_word=$2
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 printf %s "checking for $ac_word... " >&6; }
7244 if test ${ac_cv_prog_FONTFORGE+y}
7245 then :
7246 printf %s "(cached) " >&6
7247 else $as_nop
7248 if test -n "$FONTFORGE"; then
7249 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7250 else
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 for as_dir in $PATH
7254 IFS=$as_save_IFS
7255 case $as_dir in #(((
7256 '') as_dir=./ ;;
7257 */) ;;
7258 *) as_dir=$as_dir/ ;;
7259 esac
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_FONTFORGE="$ac_prog"
7263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7264 break 2
7266 done
7267 done
7268 IFS=$as_save_IFS
7272 FONTFORGE=$ac_cv_prog_FONTFORGE
7273 if test -n "$FONTFORGE"; then
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7275 printf "%s\n" "$FONTFORGE" >&6; }
7276 else
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 printf "%s\n" "no" >&6; }
7282 test -n "$FONTFORGE" && break
7283 done
7284 test -n "$FONTFORGE" || FONTFORGE="false"
7286 for ac_prog in rsvg-convert rsvg
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy $ac_prog; ac_word=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s "checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_RSVG+y}
7293 then :
7294 printf %s "(cached) " >&6
7295 else $as_nop
7296 if test -n "$RSVG"; then
7297 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7298 else
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 for as_dir in $PATH
7302 IFS=$as_save_IFS
7303 case $as_dir in #(((
7304 '') as_dir=./ ;;
7305 */) ;;
7306 *) as_dir=$as_dir/ ;;
7307 esac
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_RSVG="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7312 break 2
7314 done
7315 done
7316 IFS=$as_save_IFS
7320 RSVG=$ac_cv_prog_RSVG
7321 if test -n "$RSVG"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7323 printf "%s\n" "$RSVG" >&6; }
7324 else
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$RSVG" && break
7331 done
7332 test -n "$RSVG" || RSVG="false"
7334 for ac_prog in convert
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy $ac_prog; ac_word=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s "checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_CONVERT+y}
7341 then :
7342 printf %s "(cached) " >&6
7343 else $as_nop
7344 if test -n "$CONVERT"; then
7345 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 case $as_dir in #(((
7352 '') as_dir=./ ;;
7353 */) ;;
7354 *) as_dir=$as_dir/ ;;
7355 esac
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_CONVERT="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7360 break 2
7362 done
7363 done
7364 IFS=$as_save_IFS
7368 CONVERT=$ac_cv_prog_CONVERT
7369 if test -n "$CONVERT"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7371 printf "%s\n" "$CONVERT" >&6; }
7372 else
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$CONVERT" && break
7379 done
7380 test -n "$CONVERT" || CONVERT="false"
7382 for ac_prog in icotool
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy $ac_prog; ac_word=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s "checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_ICOTOOL+y}
7389 then :
7390 printf %s "(cached) " >&6
7391 else $as_nop
7392 if test -n "$ICOTOOL"; then
7393 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7394 else
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 for as_dir in $PATH
7398 IFS=$as_save_IFS
7399 case $as_dir in #(((
7400 '') as_dir=./ ;;
7401 */) ;;
7402 *) as_dir=$as_dir/ ;;
7403 esac
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_ICOTOOL="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 ICOTOOL=$ac_cv_prog_ICOTOOL
7417 if test -n "$ICOTOOL"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7419 printf "%s\n" "$ICOTOOL" >&6; }
7420 else
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$ICOTOOL" && break
7427 done
7428 test -n "$ICOTOOL" || ICOTOOL="false"
7430 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7431 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7433 if test "$CONVERT" = false
7434 then
7435 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7436 else
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7438 printf %s "checking for recent enough imagemagick... " >&6; }
7439 convert_version=`convert --version | head -n1`
7440 if test "x$convert_version" != "x"
7441 then
7442 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7443 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7444 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7445 then
7446 CONVERT=false
7449 if test "$CONVERT" = false
7450 then
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7452 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7453 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7454 else
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7456 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7460 if test "$ICOTOOL" = false
7461 then
7462 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7463 else
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7465 printf %s "checking for recent enough icotool... " >&6; }
7466 icotool_version=`icotool --version | head -n1`
7467 if test "x$icotool_version" != "x"
7468 then
7469 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7470 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7471 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7472 then
7473 ICOTOOL=false
7474 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7477 if test "$ICOTOOL" = false
7478 then
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7480 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7481 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7484 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7488 with_gettext=yes
7489 with_gettextpo=yes
7491 enable_werror=yes
7494 test "x$with_gettext" != xno || MSGFMT=false
7495 if test "$MSGFMT" != "false"
7496 then
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7498 printf %s "checking whether msgfmt supports contexts... " >&6; }
7499 if test ${wine_cv_msgfmt_contexts+y}
7500 then :
7501 printf %s "(cached) " >&6
7502 else $as_nop
7503 cat >conftest.po <<EOF
7504 # comment
7505 msgctxt "ctxt"
7506 msgid "id"
7507 msgstr "str"
7509 if $MSGFMT -o /dev/null conftest.po 2>&5
7510 then
7511 wine_cv_msgfmt_contexts=yes
7512 else
7513 wine_cv_msgfmt_contexts=no
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7517 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7518 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7520 if test "$MSGFMT" = false
7521 then :
7522 case "x$with_gettext" in
7523 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7524 xno) ;;
7525 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7526 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7527 esac
7528 enable_po=${enable_po:-no}
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7533 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7534 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7535 then :
7536 printf %s "(cached) " >&6
7537 else $as_nop
7538 ac_check_lib_save_LIBS=$LIBS
7539 LIBS="-li386 $LIBS"
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7543 /* Override any GCC internal prototype to avoid an error.
7544 Use char because int might match the return type of a GCC
7545 builtin and then its argument prototype would still apply. */
7546 char i386_set_ldt ();
7548 main (void)
7550 return i386_set_ldt ();
7552 return 0;
7554 _ACEOF
7555 if ac_fn_c_try_link "$LINENO"
7556 then :
7557 ac_cv_lib_i386_i386_set_ldt=yes
7558 else $as_nop
7559 ac_cv_lib_i386_i386_set_ldt=no
7561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7562 conftest$ac_exeext conftest.$ac_ext
7563 LIBS=$ac_check_lib_save_LIBS
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7566 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7567 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7568 then :
7569 I386_LIBS="-li386"
7574 OPENGL_LIBS=""
7578 # Check whether --enable-largefile was given.
7579 if test ${enable_largefile+y}
7580 then :
7581 enableval=$enable_largefile;
7584 if test "$enable_largefile" != no; then
7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7587 printf %s "checking for special C compiler options needed for large files... " >&6; }
7588 if test ${ac_cv_sys_largefile_CC+y}
7589 then :
7590 printf %s "(cached) " >&6
7591 else $as_nop
7592 ac_cv_sys_largefile_CC=no
7593 if test "$GCC" != yes; then
7594 ac_save_CC=$CC
7595 while :; do
7596 # IRIX 6.2 and later do not support large files by default,
7597 # so use the C compiler's -n32 option if that helps.
7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7600 #include <sys/types.h>
7601 /* Check that off_t can represent 2**63 - 1 correctly.
7602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7603 since some C++ compilers masquerading as C compilers
7604 incorrectly reject 9223372036854775807. */
7605 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7607 && LARGE_OFF_T % 2147483647 == 1)
7608 ? 1 : -1];
7610 main (void)
7614 return 0;
7616 _ACEOF
7617 if ac_fn_c_try_compile "$LINENO"
7618 then :
7619 break
7621 rm -f core conftest.err conftest.$ac_objext conftest.beam
7622 CC="$CC -n32"
7623 if ac_fn_c_try_compile "$LINENO"
7624 then :
7625 ac_cv_sys_largefile_CC=' -n32'; break
7627 rm -f core conftest.err conftest.$ac_objext conftest.beam
7628 break
7629 done
7630 CC=$ac_save_CC
7631 rm -f conftest.$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7635 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7636 if test "$ac_cv_sys_largefile_CC" != no; then
7637 CC=$CC$ac_cv_sys_largefile_CC
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7641 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7642 if test ${ac_cv_sys_file_offset_bits+y}
7643 then :
7644 printf %s "(cached) " >&6
7645 else $as_nop
7646 while :; do
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <sys/types.h>
7650 /* Check that off_t can represent 2**63 - 1 correctly.
7651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7652 since some C++ compilers masquerading as C compilers
7653 incorrectly reject 9223372036854775807. */
7654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7656 && LARGE_OFF_T % 2147483647 == 1)
7657 ? 1 : -1];
7659 main (void)
7663 return 0;
7665 _ACEOF
7666 if ac_fn_c_try_compile "$LINENO"
7667 then :
7668 ac_cv_sys_file_offset_bits=no; break
7670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 #define _FILE_OFFSET_BITS 64
7674 #include <sys/types.h>
7675 /* Check that off_t can represent 2**63 - 1 correctly.
7676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7677 since some C++ compilers masquerading as C compilers
7678 incorrectly reject 9223372036854775807. */
7679 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7681 && LARGE_OFF_T % 2147483647 == 1)
7682 ? 1 : -1];
7684 main (void)
7688 return 0;
7690 _ACEOF
7691 if ac_fn_c_try_compile "$LINENO"
7692 then :
7693 ac_cv_sys_file_offset_bits=64; break
7695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7696 ac_cv_sys_file_offset_bits=unknown
7697 break
7698 done
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7701 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7702 case $ac_cv_sys_file_offset_bits in #(
7703 no | unknown) ;;
7705 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7707 esac
7708 rm -rf conftest*
7709 if test $ac_cv_sys_file_offset_bits = unknown; then
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7711 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7712 if test ${ac_cv_sys_large_files+y}
7713 then :
7714 printf %s "(cached) " >&6
7715 else $as_nop
7716 while :; do
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <sys/types.h>
7720 /* Check that off_t can represent 2**63 - 1 correctly.
7721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7722 since some C++ compilers masquerading as C compilers
7723 incorrectly reject 9223372036854775807. */
7724 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7726 && LARGE_OFF_T % 2147483647 == 1)
7727 ? 1 : -1];
7729 main (void)
7733 return 0;
7735 _ACEOF
7736 if ac_fn_c_try_compile "$LINENO"
7737 then :
7738 ac_cv_sys_large_files=no; break
7740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #define _LARGE_FILES 1
7744 #include <sys/types.h>
7745 /* Check that off_t can represent 2**63 - 1 correctly.
7746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7747 since some C++ compilers masquerading as C compilers
7748 incorrectly reject 9223372036854775807. */
7749 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7751 && LARGE_OFF_T % 2147483647 == 1)
7752 ? 1 : -1];
7754 main (void)
7758 return 0;
7760 _ACEOF
7761 if ac_fn_c_try_compile "$LINENO"
7762 then :
7763 ac_cv_sys_large_files=1; break
7765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7766 ac_cv_sys_large_files=unknown
7767 break
7768 done
7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7771 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7772 case $ac_cv_sys_large_files in #(
7773 no | unknown) ;;
7775 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7777 esac
7778 rm -rf conftest*
7783 ac_header= ac_cache=
7784 for ac_item in $ac_header_c_list
7786 if test $ac_cache; then
7787 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7788 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7789 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7791 ac_header= ac_cache=
7792 elif test $ac_header; then
7793 ac_cache=$ac_item
7794 else
7795 ac_header=$ac_item
7797 done
7806 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7807 then :
7809 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7812 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7813 if test "x$ac_cv_header_CL_cl_h" = xyes
7814 then :
7815 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7818 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7819 if test "x$ac_cv_header_EGL_egl_h" = xyes
7820 then :
7821 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7824 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7825 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7826 then :
7827 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7830 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7831 if test "x$ac_cv_header_arpa_inet_h" = xyes
7832 then :
7833 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7836 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7837 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7838 then :
7839 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7842 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7843 if test "x$ac_cv_header_asm_types_h" = xyes
7844 then :
7845 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7848 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7849 if test "x$ac_cv_header_asm_user_h" = xyes
7850 then :
7851 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7854 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7855 if test "x$ac_cv_header_elf_h" = xyes
7856 then :
7857 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7860 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_float_h" = xyes
7862 then :
7863 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_gettext_po_h" = xyes
7868 then :
7869 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_libproc_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_link_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_linux_filter_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_linux_input_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_linux_major_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_linux_param_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_linux_serial_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_linux_types_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_lwp_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_mach_mach_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_machine_cpu_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_mntent_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_netdb_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_netinet_in_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_port_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_pthread_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_pwd_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_sched_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_scsi_sg_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_stdint_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_sys_attr_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_sys_auxv_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_sys_cdio_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_sys_epoll_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_sys_event_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_sys_extattr_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_sys_filio_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sys_ipc_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_sys_link_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_sys_modem_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_mtio_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_param_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_prctl_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_queue_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_random_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_resource_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_shm_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_signal_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_sockio_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_strtio_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_syscall_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_times_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_uio_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_user_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_utsname_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_vnode_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_xattr_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_syscall_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_utime_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8289 then :
8291 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8295 if test $ac_cv_header_sys_mkdev_h = no; then
8296 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8298 then :
8300 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8306 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8307 if test ${ac_cv_header_stat_broken+y}
8308 then :
8309 printf %s "(cached) " >&6
8310 else $as_nop
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 #include <sys/types.h>
8314 #include <sys/stat.h>
8316 #if defined S_ISBLK && defined S_IFDIR
8317 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8318 #endif
8320 #if defined S_ISBLK && defined S_IFCHR
8321 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8322 #endif
8324 #if defined S_ISLNK && defined S_IFREG
8325 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8326 #endif
8328 #if defined S_ISSOCK && defined S_IFREG
8329 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8330 #endif
8332 _ACEOF
8333 if ac_fn_c_try_compile "$LINENO"
8334 then :
8335 ac_cv_header_stat_broken=no
8336 else $as_nop
8337 ac_cv_header_stat_broken=yes
8339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8342 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8343 if test $ac_cv_header_stat_broken = yes; then
8345 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8352 #ifdef HAVE_SYS_PARAM_H
8353 # include <sys/param.h>
8354 #endif
8356 if test "x$ac_cv_header_sys_conf_h" = xyes
8357 then :
8358 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8361 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8362 #ifdef HAVE_SYS_PARAM_H
8363 # include <sys/param.h>
8364 #endif
8366 if test "x$ac_cv_header_sys_mount_h" = xyes
8367 then :
8368 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8372 #ifdef HAVE_SYS_PARAM_H
8373 # include <sys/param.h>
8374 #endif
8376 if test "x$ac_cv_header_sys_statfs_h" = xyes
8377 then :
8378 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8382 #ifdef HAVE_SYS_PARAM_H
8383 # include <sys/param.h>
8384 #endif
8386 if test "x$ac_cv_header_sys_user_h" = xyes
8387 then :
8388 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8391 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8392 #ifdef HAVE_SYS_PARAM_H
8393 # include <sys/param.h>
8394 #endif
8396 if test "x$ac_cv_header_sys_vfs_h" = xyes
8397 then :
8398 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8403 saved_sysctl_h_CFLAGS=$CFLAGS
8404 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8405 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8408 #endif
8410 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8411 then :
8412 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8416 CFLAGS=$saved_sysctl_h_CFLAGS
8418 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8419 #include <sys/socket.h>
8420 #ifdef HAVE_SYS_SOCKETVAR_H
8421 # include <sys/socketvar.h>
8422 #endif
8423 #ifdef HAVE_NET_ROUTE_H
8424 # include <net/route.h>
8425 #endif
8426 #ifdef HAVE_NETINET_IN_H
8427 # include <netinet/in.h>
8428 #endif
8429 #ifdef HAVE_NETINET_IN_SYSTM_H
8430 # include <netinet/in_systm.h>
8431 #endif
8432 #ifdef HAVE_NET_IF_H
8433 # include <net/if.h>
8434 #endif
8435 #ifdef HAVE_NETINET_IP_H
8436 # include <netinet/ip.h>
8437 #endif
8439 if test "x$ac_cv_header_netinet_ip_h" = xyes
8440 then :
8441 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8445 #include <sys/socket.h>
8446 #ifdef HAVE_SYS_SOCKETVAR_H
8447 # include <sys/socketvar.h>
8448 #endif
8449 #ifdef HAVE_NET_ROUTE_H
8450 # include <net/route.h>
8451 #endif
8452 #ifdef HAVE_NETINET_IN_H
8453 # include <netinet/in.h>
8454 #endif
8455 #ifdef HAVE_NETINET_IN_SYSTM_H
8456 # include <netinet/in_systm.h>
8457 #endif
8458 #ifdef HAVE_NET_IF_H
8459 # include <net/if.h>
8460 #endif
8461 #ifdef HAVE_NETINET_IP_H
8462 # include <netinet/ip.h>
8463 #endif
8465 if test "x$ac_cv_header_net_if_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8471 #include <sys/socket.h>
8472 #ifdef HAVE_SYS_SOCKETVAR_H
8473 # include <sys/socketvar.h>
8474 #endif
8475 #ifdef HAVE_NET_ROUTE_H
8476 # include <net/route.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_H
8479 # include <netinet/in.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_SYSTM_H
8482 # include <netinet/in_systm.h>
8483 #endif
8484 #ifdef HAVE_NET_IF_H
8485 # include <net/if.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IP_H
8488 # include <netinet/ip.h>
8489 #endif
8491 if test "x$ac_cv_header_net_if_arp_h" = xyes
8492 then :
8493 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8497 #include <sys/socket.h>
8498 #ifdef HAVE_SYS_SOCKETVAR_H
8499 # include <sys/socketvar.h>
8500 #endif
8501 #ifdef HAVE_NET_ROUTE_H
8502 # include <net/route.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_H
8505 # include <netinet/in.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_SYSTM_H
8508 # include <netinet/in_systm.h>
8509 #endif
8510 #ifdef HAVE_NET_IF_H
8511 # include <net/if.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IP_H
8514 # include <netinet/ip.h>
8515 #endif
8517 if test "x$ac_cv_header_net_if_dl_h" = xyes
8518 then :
8519 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8523 #include <sys/socket.h>
8524 #ifdef HAVE_SYS_SOCKETVAR_H
8525 # include <sys/socketvar.h>
8526 #endif
8527 #ifdef HAVE_NET_ROUTE_H
8528 # include <net/route.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_H
8531 # include <netinet/in.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_SYSTM_H
8534 # include <netinet/in_systm.h>
8535 #endif
8536 #ifdef HAVE_NET_IF_H
8537 # include <net/if.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IP_H
8540 # include <netinet/ip.h>
8541 #endif
8543 if test "x$ac_cv_header_net_if_types_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8549 #include <sys/socket.h>
8550 #ifdef HAVE_SYS_SOCKETVAR_H
8551 # include <sys/socketvar.h>
8552 #endif
8553 #ifdef HAVE_NET_ROUTE_H
8554 # include <net/route.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_H
8557 # include <netinet/in.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_SYSTM_H
8560 # include <netinet/in_systm.h>
8561 #endif
8562 #ifdef HAVE_NET_IF_H
8563 # include <net/if.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IP_H
8566 # include <netinet/ip.h>
8567 #endif
8569 if test "x$ac_cv_header_net_route_h" = xyes
8570 then :
8571 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8575 #include <sys/socket.h>
8576 #ifdef HAVE_SYS_SOCKETVAR_H
8577 # include <sys/socketvar.h>
8578 #endif
8579 #ifdef HAVE_NET_ROUTE_H
8580 # include <net/route.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_H
8583 # include <netinet/in.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_SYSTM_H
8586 # include <netinet/in_systm.h>
8587 #endif
8588 #ifdef HAVE_NET_IF_H
8589 # include <net/if.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IP_H
8592 # include <netinet/ip.h>
8593 #endif
8595 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8596 then :
8597 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8601 #include <sys/socket.h>
8602 #ifdef HAVE_SYS_SOCKETVAR_H
8603 # include <sys/socketvar.h>
8604 #endif
8605 #ifdef HAVE_NET_ROUTE_H
8606 # include <net/route.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_H
8609 # include <netinet/in.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_SYSTM_H
8612 # include <netinet/in_systm.h>
8613 #endif
8614 #ifdef HAVE_NET_IF_H
8615 # include <net/if.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IP_H
8618 # include <netinet/ip.h>
8619 #endif
8621 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8627 #include <sys/socket.h>
8628 #ifdef HAVE_SYS_SOCKETVAR_H
8629 # include <sys/socketvar.h>
8630 #endif
8631 #ifdef HAVE_NET_ROUTE_H
8632 # include <net/route.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_H
8635 # include <netinet/in.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_SYSTM_H
8638 # include <netinet/in_systm.h>
8639 #endif
8640 #ifdef HAVE_NET_IF_H
8641 # include <net/if.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IP_H
8644 # include <netinet/ip.h>
8645 #endif
8647 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8648 then :
8649 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8653 #include <sys/socket.h>
8654 #ifdef HAVE_SYS_SOCKETVAR_H
8655 # include <sys/socketvar.h>
8656 #endif
8657 #ifdef HAVE_NET_ROUTE_H
8658 # include <net/route.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_H
8661 # include <netinet/in.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_SYSTM_H
8664 # include <netinet/in_systm.h>
8665 #endif
8666 #ifdef HAVE_NET_IF_H
8667 # include <net/if.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IP_H
8670 # include <netinet/ip.h>
8671 #endif
8673 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8674 then :
8675 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8679 #include <sys/socket.h>
8680 #ifdef HAVE_SYS_SOCKETVAR_H
8681 # include <sys/socketvar.h>
8682 #endif
8683 #ifdef HAVE_NET_ROUTE_H
8684 # include <net/route.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_H
8687 # include <netinet/in.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_SYSTM_H
8690 # include <netinet/in_systm.h>
8691 #endif
8692 #ifdef HAVE_NET_IF_H
8693 # include <net/if.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IP_H
8696 # include <netinet/ip.h>
8697 #endif
8699 if test "x$ac_cv_header_netinet_udp_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8705 #include <sys/socket.h>
8706 #ifdef HAVE_SYS_SOCKETVAR_H
8707 # include <sys/socketvar.h>
8708 #endif
8709 #ifdef HAVE_NET_ROUTE_H
8710 # include <net/route.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_H
8713 # include <netinet/in.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_SYSTM_H
8716 # include <netinet/in_systm.h>
8717 #endif
8718 #ifdef HAVE_NET_IF_H
8719 # include <net/if.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IP_H
8722 # include <netinet/ip.h>
8723 #endif
8725 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8726 then :
8727 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8731 #include <sys/socket.h>
8732 #ifdef HAVE_SYS_SOCKETVAR_H
8733 # include <sys/socketvar.h>
8734 #endif
8735 #ifdef HAVE_NET_ROUTE_H
8736 # include <net/route.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_H
8739 # include <netinet/in.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_SYSTM_H
8742 # include <netinet/in_systm.h>
8743 #endif
8744 #ifdef HAVE_NET_IF_H
8745 # include <net/if.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IP_H
8748 # include <netinet/ip.h>
8749 #endif
8751 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8752 then :
8753 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8757 #include <sys/socket.h>
8758 #ifdef HAVE_SYS_SOCKETVAR_H
8759 # include <sys/socketvar.h>
8760 #endif
8761 #ifdef HAVE_NET_ROUTE_H
8762 # include <net/route.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_H
8765 # include <netinet/in.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_SYSTM_H
8768 # include <netinet/in_systm.h>
8769 #endif
8770 #ifdef HAVE_NET_IF_H
8771 # include <net/if.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IP_H
8774 # include <netinet/ip.h>
8775 #endif
8777 if test "x$ac_cv_header_sys_un_h" = xyes
8778 then :
8779 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8785 #include <sys/socket.h>
8786 #ifdef HAVE_SYS_SOCKETVAR_H
8787 # include <sys/socketvar.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IN_H
8790 # include <netinet/in.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_SYSTM_H
8793 # include <netinet/in_systm.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IP_H
8796 # include <netinet/ip.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IP_VAR_H
8799 # include <netinet/ip_var.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IP_ICMP_H
8802 # include <netinet/ip_icmp.h>
8803 #endif
8804 #ifdef HAVE_NETINET_UDP_H
8805 # include <netinet/udp.h>
8806 #endif
8807 #ifdef HAVE_NETINET_TCP_H
8808 # include <netinet/tcp.h>
8809 #endif
8811 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_VAR_H
8831 # include <netinet/ip_var.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_ICMP_H
8834 # include <netinet/ip_icmp.h>
8835 #endif
8836 #ifdef HAVE_NETINET_UDP_H
8837 # include <netinet/udp.h>
8838 #endif
8839 #ifdef HAVE_NETINET_TCP_H
8840 # include <netinet/tcp.h>
8841 #endif
8843 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8844 then :
8845 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8848 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8849 #include <sys/socket.h>
8850 #ifdef HAVE_SYS_SOCKETVAR_H
8851 # include <sys/socketvar.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_H
8854 # include <netinet/in.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IN_SYSTM_H
8857 # include <netinet/in_systm.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_H
8860 # include <netinet/ip.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_VAR_H
8863 # include <netinet/ip_var.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IP_ICMP_H
8866 # include <netinet/ip_icmp.h>
8867 #endif
8868 #ifdef HAVE_NETINET_UDP_H
8869 # include <netinet/udp.h>
8870 #endif
8871 #ifdef HAVE_NETINET_TCP_H
8872 # include <netinet/tcp.h>
8873 #endif
8875 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8876 then :
8877 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8880 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8881 #include <sys/socket.h>
8882 #ifdef HAVE_SYS_SOCKETVAR_H
8883 # include <sys/socketvar.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IN_H
8886 # include <netinet/in.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IN_SYSTM_H
8889 # include <netinet/in_systm.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IP_H
8892 # include <netinet/ip.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IP_VAR_H
8895 # include <netinet/ip_var.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IP_ICMP_H
8898 # include <netinet/ip_icmp.h>
8899 #endif
8900 #ifdef HAVE_NETINET_UDP_H
8901 # include <netinet/udp.h>
8902 #endif
8903 #ifdef HAVE_NETINET_TCP_H
8904 # include <netinet/tcp.h>
8905 #endif
8907 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8908 then :
8909 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_ASM_TYPES_H
8917 # include <asm/types.h>
8918 #endif
8919 #ifdef HAVE_LINUX_TYPES_H
8920 # include <linux/types.h>
8921 #endif
8923 if test "x$ac_cv_header_linux_ipx_h" = xyes
8924 then :
8925 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_ASM_TYPES_H
8931 # include <asm/types.h>
8932 #endif
8933 #ifdef HAVE_LINUX_TYPES_H
8934 # include <linux/types.h>
8935 #endif
8937 if test "x$ac_cv_header_linux_irda_h" = xyes
8938 then :
8939 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_ASM_TYPES_H
8945 # include <asm/types.h>
8946 #endif
8947 #ifdef HAVE_LINUX_TYPES_H
8948 # include <linux/types.h>
8949 #endif
8951 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8952 then :
8953 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8958 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8959 #include <sys/socket.h>
8960 #ifdef HAVE_NETINET_IN_H
8961 # include <netinet/in.h>
8962 #endif
8963 #ifdef HAVE_ARPA_NAMESER_H
8964 # include <arpa/nameser.h>
8965 #endif
8967 if test "x$ac_cv_header_resolv_h" = xyes
8968 then :
8969 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8974 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8976 if test "x$ac_cv_header_ifaddrs_h" = xyes
8977 then :
8978 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8985 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8986 then :
8987 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8993 #ifdef HAVE_SYS_UCONTEXT_H
8994 #include <sys/ucontext.h>
8995 #endif
8997 if test "x$ac_cv_header_sys_thr_h" = xyes
8998 then :
8999 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9004 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9005 #include <pthread.h>
9006 #endif
9008 if test "x$ac_cv_header_pthread_np_h" = xyes
9009 then :
9010 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9016 #include <sys/types.h>
9017 #ifdef HAVE_ASM_TYPES_H
9018 #include <asm/types.h>
9019 #endif
9021 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9022 then :
9023 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9029 #include <sys/param.h>
9030 #endif
9031 #include <sys/socket.h>
9032 #ifdef HAVE_SYS_QUEUE_H
9033 #include <sys/queue.h>
9034 #endif
9036 if test "x$ac_cv_header_libprocstat_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9043 if test "x$ac_cv_header_sys_xattr_h" = xyes
9044 then
9045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9046 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9047 if test ${wine_cv_xattr_extra_args+y}
9048 then :
9049 printf %s "(cached) " >&6
9050 else $as_nop
9051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9053 #include <sys/xattr.h>
9055 main (void)
9057 getxattr("", "", "", 0, 0, 0);
9059 return 0;
9061 _ACEOF
9062 if ac_fn_c_try_compile "$LINENO"
9063 then :
9064 wine_cv_xattr_extra_args=yes
9065 else $as_nop
9066 wine_cv_xattr_extra_args=no
9068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9071 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9072 test $wine_cv_xattr_extra_args != yes ||
9073 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9078 DLLFLAGS=""
9080 LDDLLFLAGS=""
9082 LDEXECFLAGS=""
9084 EXTRACFLAGS=""
9086 UNIXDLLFLAGS="-fPIC"
9088 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9090 TOP_INSTALL_LIB=""
9092 TOP_INSTALL_DEV=""
9094 WINELOADER_LDFLAGS=""
9096 WINEPRELOADER_LDFLAGS=""
9098 LIBEXT="so"
9099 # Extract the first word of "ldd", so it can be a program name with args.
9100 set dummy ldd; ac_word=$2
9101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9102 printf %s "checking for $ac_word... " >&6; }
9103 if test ${ac_cv_path_LDD+y}
9104 then :
9105 printf %s "(cached) " >&6
9106 else $as_nop
9107 case $LDD in
9108 [\\/]* | ?:[\\/]*)
9109 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9113 as_dummy="/sbin:/usr/sbin:$PATH"
9114 for as_dir in $as_dummy
9116 IFS=$as_save_IFS
9117 case $as_dir in #(((
9118 '') as_dir=./ ;;
9119 */) ;;
9120 *) as_dir=$as_dir/ ;;
9121 esac
9122 for ac_exec_ext in '' $ac_executable_extensions; do
9123 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9124 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9126 break 2
9128 done
9129 done
9130 IFS=$as_save_IFS
9132 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9134 esac
9136 LDD=$ac_cv_path_LDD
9137 if test -n "$LDD"; then
9138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9139 printf "%s\n" "$LDD" >&6; }
9140 else
9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9142 printf "%s\n" "no" >&6; }
9146 if test -n "$ac_tool_prefix"; then
9147 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9148 set dummy ${ac_tool_prefix}otool; ac_word=$2
9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 printf %s "checking for $ac_word... " >&6; }
9151 if test ${ac_cv_prog_OTOOL+y}
9152 then :
9153 printf %s "(cached) " >&6
9154 else $as_nop
9155 if test -n "$OTOOL"; then
9156 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9157 else
9158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9159 for as_dir in $PATH
9161 IFS=$as_save_IFS
9162 case $as_dir in #(((
9163 '') as_dir=./ ;;
9164 */) ;;
9165 *) as_dir=$as_dir/ ;;
9166 esac
9167 for ac_exec_ext in '' $ac_executable_extensions; do
9168 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9169 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9171 break 2
9173 done
9174 done
9175 IFS=$as_save_IFS
9179 OTOOL=$ac_cv_prog_OTOOL
9180 if test -n "$OTOOL"; then
9181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9182 printf "%s\n" "$OTOOL" >&6; }
9183 else
9184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9185 printf "%s\n" "no" >&6; }
9190 if test -z "$ac_cv_prog_OTOOL"; then
9191 ac_ct_OTOOL=$OTOOL
9192 # Extract the first word of "otool", so it can be a program name with args.
9193 set dummy otool; ac_word=$2
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9195 printf %s "checking for $ac_word... " >&6; }
9196 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9197 then :
9198 printf %s "(cached) " >&6
9199 else $as_nop
9200 if test -n "$ac_ct_OTOOL"; then
9201 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9202 else
9203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9204 for as_dir in $PATH
9206 IFS=$as_save_IFS
9207 case $as_dir in #(((
9208 '') as_dir=./ ;;
9209 */) ;;
9210 *) as_dir=$as_dir/ ;;
9211 esac
9212 for ac_exec_ext in '' $ac_executable_extensions; do
9213 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9214 ac_cv_prog_ac_ct_OTOOL="otool"
9215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9216 break 2
9218 done
9219 done
9220 IFS=$as_save_IFS
9224 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9225 if test -n "$ac_ct_OTOOL"; then
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9227 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9228 else
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230 printf "%s\n" "no" >&6; }
9233 if test "x$ac_ct_OTOOL" = x; then
9234 OTOOL="otool"
9235 else
9236 case $cross_compiling:$ac_tool_warned in
9237 yes:)
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9239 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9240 ac_tool_warned=yes ;;
9241 esac
9242 OTOOL=$ac_ct_OTOOL
9244 else
9245 OTOOL="$ac_cv_prog_OTOOL"
9248 if test -n "$ac_tool_prefix"; then
9249 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9250 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9252 printf %s "checking for $ac_word... " >&6; }
9253 if test ${ac_cv_prog_READELF+y}
9254 then :
9255 printf %s "(cached) " >&6
9256 else $as_nop
9257 if test -n "$READELF"; then
9258 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9259 else
9260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 for as_dir in $PATH
9263 IFS=$as_save_IFS
9264 case $as_dir in #(((
9265 '') as_dir=./ ;;
9266 */) ;;
9267 *) as_dir=$as_dir/ ;;
9268 esac
9269 for ac_exec_ext in '' $ac_executable_extensions; do
9270 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9271 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9273 break 2
9275 done
9276 done
9277 IFS=$as_save_IFS
9281 READELF=$ac_cv_prog_READELF
9282 if test -n "$READELF"; then
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9284 printf "%s\n" "$READELF" >&6; }
9285 else
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9287 printf "%s\n" "no" >&6; }
9292 if test -z "$ac_cv_prog_READELF"; then
9293 ac_ct_READELF=$READELF
9294 # Extract the first word of "readelf", so it can be a program name with args.
9295 set dummy readelf; ac_word=$2
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9297 printf %s "checking for $ac_word... " >&6; }
9298 if test ${ac_cv_prog_ac_ct_READELF+y}
9299 then :
9300 printf %s "(cached) " >&6
9301 else $as_nop
9302 if test -n "$ac_ct_READELF"; then
9303 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9304 else
9305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9306 for as_dir in $PATH
9308 IFS=$as_save_IFS
9309 case $as_dir in #(((
9310 '') as_dir=./ ;;
9311 */) ;;
9312 *) as_dir=$as_dir/ ;;
9313 esac
9314 for ac_exec_ext in '' $ac_executable_extensions; do
9315 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9316 ac_cv_prog_ac_ct_READELF="readelf"
9317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9318 break 2
9320 done
9321 done
9322 IFS=$as_save_IFS
9326 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9327 if test -n "$ac_ct_READELF"; then
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9329 printf "%s\n" "$ac_ct_READELF" >&6; }
9330 else
9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9332 printf "%s\n" "no" >&6; }
9335 if test "x$ac_ct_READELF" = x; then
9336 READELF="true"
9337 else
9338 case $cross_compiling:$ac_tool_warned in
9339 yes:)
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9341 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9342 ac_tool_warned=yes ;;
9343 esac
9344 READELF=$ac_ct_READELF
9346 else
9347 READELF="$ac_cv_prog_READELF"
9350 wine_rules="all:"
9351 SUBDIRS=""
9353 DISABLED_SUBDIRS=""
9355 CONFIGURE_TARGETS=""
9358 wine_fn_config_makefile ()
9360 as_fn_append SUBDIRS " \\$as_nl $1"
9361 eval enable=\$$2
9362 case "$enable" in
9363 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9364 *aarch64*|*arm*|*i386*|*x86_64*)
9365 if test -n "$PE_ARCHS"
9366 then
9367 for i in $PE_ARCHS
9369 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9370 done
9371 else
9372 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9373 fi;;
9374 esac
9377 wine_fn_config_symlink ()
9379 ac_links=$@
9380 as_fn_append wine_rules "
9381 $ac_links:
9382 @./config.status \$@"
9383 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9386 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9388 case $host_os in
9389 cygwin*|mingw32*)
9390 LIBEXT="dll"
9391 EXTRACFLAGS="-D__WINE_PE_BUILD"
9392 case $host_cpu in
9393 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9394 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9395 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9396 then :
9397 printf %s "(cached) " >&6
9398 else $as_nop
9399 ac_wine_try_cflags_saved=$CFLAGS
9400 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int main(int argc, char **argv) { return 0; }
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"
9406 then :
9407 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9408 else $as_nop
9409 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9412 conftest$ac_exeext conftest.$ac_ext
9413 CFLAGS=$ac_wine_try_cflags_saved
9415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9416 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9417 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9418 then :
9419 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9420 fi ;;
9421 esac
9422 enable_loader=${enable_loader:-no}
9423 enable_server=${enable_server:-no}
9424 with_x=${with_x:-no}
9425 with_pthread=${with_pthread:-no}
9428 darwin*|macosx*)
9429 LIBEXT="dylib"
9430 DLLFLAGS="$DLLFLAGS -fPIC"
9431 LDDLLFLAGS="-fPIC"
9432 enable_winemac_drv=${enable_winemac_drv:-yes}
9433 CARBON_LIBS="-framework Carbon"
9435 COREFOUNDATION_LIBS="-framework CoreFoundation"
9437 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9439 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9441 METAL_LIBS="-framework Metal"
9443 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9445 CORESERVICES_LIBS="-framework CoreServices"
9447 APPKIT_LIBS="-framework AppKit"
9449 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9451 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9454 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9456 wine_can_build_preloader=yes
9457 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9459 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9460 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9461 then :
9462 printf %s "(cached) " >&6
9463 else $as_nop
9464 ac_wine_try_cflags_saved=$CFLAGS
9465 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9468 int main(int argc, char **argv) { return 0; }
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"
9471 then :
9472 ac_cv_cflags__Wl__no_new_main__e__main=yes
9473 else $as_nop
9474 ac_cv_cflags__Wl__no_new_main__e__main=no
9476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9477 conftest$ac_exeext conftest.$ac_ext
9478 CFLAGS=$ac_wine_try_cflags_saved
9480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9481 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9482 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9483 then :
9484 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9486 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9487 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9488 then :
9489 printf %s "(cached) " >&6
9490 else $as_nop
9491 ac_wine_try_cflags_saved=$CFLAGS
9492 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9495 int main(int argc, char **argv) { return 0; }
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"
9498 then :
9499 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9500 else $as_nop
9501 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9504 conftest$ac_exeext conftest.$ac_ext
9505 CFLAGS=$ac_wine_try_cflags_saved
9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9508 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9509 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9510 then :
9511 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9512 else $as_nop
9513 wine_can_build_preloader=no
9515 else $as_nop
9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9517 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9518 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9519 then :
9520 printf %s "(cached) " >&6
9521 else $as_nop
9522 ac_wine_try_cflags_saved=$CFLAGS
9523 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 int main(int argc, char **argv) { return 0; }
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"
9529 then :
9530 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9531 else $as_nop
9532 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9535 conftest$ac_exeext conftest.$ac_ext
9536 CFLAGS=$ac_wine_try_cflags_saved
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9539 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9540 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9541 then :
9542 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9543 else $as_nop
9544 wine_can_build_preloader=no
9547 if test "$wine_can_build_preloader" = "yes"
9548 then
9549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9550 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9551 if test ${ac_cv_cflags__Wl__no_pie+y}
9552 then :
9553 printf %s "(cached) " >&6
9554 else $as_nop
9555 ac_wine_try_cflags_saved=$CFLAGS
9556 CFLAGS="$CFLAGS -Wl,-no_pie"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9559 int main(int argc, char **argv) { return 0; }
9560 _ACEOF
9561 if ac_fn_c_try_link "$LINENO"
9562 then :
9563 ac_cv_cflags__Wl__no_pie=yes
9564 else $as_nop
9565 ac_cv_cflags__Wl__no_pie=no
9567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9568 conftest$ac_exeext conftest.$ac_ext
9569 CFLAGS=$ac_wine_try_cflags_saved
9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9572 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9573 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9574 then :
9575 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9577 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9578 else
9579 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9582 if test "x$with_coreaudio" != "xno";
9583 then
9584 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9586 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9588 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9589 then
9590 OPENCL_LIBS="-framework OpenCL"
9592 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9596 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9597 ac_ext=m
9598 ac_cpp='$OBJCPP $CPPFLAGS'
9599 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9600 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9601 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9603 ac_ext=m
9604 ac_cpp='$OBJCPP $CPPFLAGS'
9605 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9606 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9607 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9608 if test -n "$ac_tool_prefix"; then
9609 for ac_prog in gcc objcc objc cc CC clang
9611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9614 printf %s "checking for $ac_word... " >&6; }
9615 if test ${ac_cv_prog_OBJC+y}
9616 then :
9617 printf %s "(cached) " >&6
9618 else $as_nop
9619 if test -n "$OBJC"; then
9620 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9621 else
9622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9623 for as_dir in $PATH
9625 IFS=$as_save_IFS
9626 case $as_dir in #(((
9627 '') as_dir=./ ;;
9628 */) ;;
9629 *) as_dir=$as_dir/ ;;
9630 esac
9631 for ac_exec_ext in '' $ac_executable_extensions; do
9632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9633 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9635 break 2
9637 done
9638 done
9639 IFS=$as_save_IFS
9643 OBJC=$ac_cv_prog_OBJC
9644 if test -n "$OBJC"; then
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9646 printf "%s\n" "$OBJC" >&6; }
9647 else
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 printf "%s\n" "no" >&6; }
9653 test -n "$OBJC" && break
9654 done
9656 if test -z "$OBJC"; then
9657 ac_ct_OBJC=$OBJC
9658 for ac_prog in gcc objcc objc cc CC clang
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy $ac_prog; ac_word=$2
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s "checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_ac_ct_OBJC+y}
9665 then :
9666 printf %s "(cached) " >&6
9667 else $as_nop
9668 if test -n "$ac_ct_OBJC"; then
9669 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9670 else
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 for as_dir in $PATH
9674 IFS=$as_save_IFS
9675 case $as_dir in #(((
9676 '') as_dir=./ ;;
9677 */) ;;
9678 *) as_dir=$as_dir/ ;;
9679 esac
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9684 break 2
9686 done
9687 done
9688 IFS=$as_save_IFS
9692 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9693 if test -n "$ac_ct_OBJC"; then
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9695 printf "%s\n" "$ac_ct_OBJC" >&6; }
9696 else
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 printf "%s\n" "no" >&6; }
9702 test -n "$ac_ct_OBJC" && break
9703 done
9705 if test "x$ac_ct_OBJC" = x; then
9706 OBJC="gcc"
9707 else
9708 case $cross_compiling:$ac_tool_warned in
9709 yes:)
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9712 ac_tool_warned=yes ;;
9713 esac
9714 OBJC=$ac_ct_OBJC
9718 # Provide some information about the compiler.
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9720 set X $ac_compile
9721 ac_compiler=$2
9722 for ac_option in --version -v -V -qversion; do
9723 { { ac_try="$ac_compiler $ac_option >&5"
9724 case "(($ac_try" in
9725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9727 esac
9728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9729 printf "%s\n" "$ac_try_echo"; } >&5
9730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9731 ac_status=$?
9732 if test -s conftest.err; then
9733 sed '10a\
9734 ... rest of stderr output deleted ...
9735 10q' conftest.err >conftest.er1
9736 cat conftest.er1 >&5
9738 rm -f conftest.er1 conftest.err
9739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9740 test $ac_status = 0; }
9741 done
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9744 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9745 if test ${ac_cv_objc_compiler_gnu+y}
9746 then :
9747 printf %s "(cached) " >&6
9748 else $as_nop
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9753 main (void)
9755 #ifndef __GNUC__
9756 choke me
9757 #endif
9760 return 0;
9762 _ACEOF
9763 if ac_fn_objc_try_compile "$LINENO"
9764 then :
9765 ac_compiler_gnu=yes
9766 else $as_nop
9767 ac_compiler_gnu=no
9769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9770 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9774 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9775 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9777 if test $ac_compiler_gnu = yes; then
9778 GOBJC=yes
9779 else
9780 GOBJC=
9782 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9783 ac_save_OBJCFLAGS=$OBJCFLAGS
9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9785 printf %s "checking whether $OBJC accepts -g... " >&6; }
9786 if test ${ac_cv_prog_objc_g+y}
9787 then :
9788 printf %s "(cached) " >&6
9789 else $as_nop
9790 ac_save_objc_werror_flag=$ac_objc_werror_flag
9791 ac_objc_werror_flag=yes
9792 ac_cv_prog_objc_g=no
9793 OBJCFLAGS="-g"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9798 main (void)
9802 return 0;
9804 _ACEOF
9805 if ac_fn_objc_try_compile "$LINENO"
9806 then :
9807 ac_cv_prog_objc_g=yes
9808 else $as_nop
9809 OBJCFLAGS=""
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9814 main (void)
9818 return 0;
9820 _ACEOF
9821 if ac_fn_objc_try_compile "$LINENO"
9822 then :
9824 else $as_nop
9825 ac_objc_werror_flag=$ac_save_objc_werror_flag
9826 OBJCFLAGS="-g"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9831 main (void)
9835 return 0;
9837 _ACEOF
9838 if ac_fn_objc_try_compile "$LINENO"
9839 then :
9840 ac_cv_prog_objc_g=yes
9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 ac_objc_werror_flag=$ac_save_objc_werror_flag
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9850 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9851 if test $ac_test_OBJCFLAGS; then
9852 OBJCFLAGS=$ac_save_OBJCFLAGS
9853 elif test $ac_cv_prog_objc_g = yes; then
9854 if test "$GOBJC" = yes; then
9855 OBJCFLAGS="-g -O2"
9856 else
9857 OBJCFLAGS="-g"
9859 else
9860 if test "$GOBJC" = yes; then
9861 OBJCFLAGS="-O2"
9862 else
9863 OBJCFLAGS=
9866 ac_ext=m
9867 ac_cpp='$OBJCPP $CPPFLAGS'
9868 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9869 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9870 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 #include <Metal/Metal.h>
9877 main (void)
9879 id<MTLDevice> device; device.registryID;
9881 return 0;
9883 _ACEOF
9884 if ac_fn_objc_try_compile "$LINENO"
9885 then :
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9887 printf "%s\n" "yes" >&6; }
9889 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9891 else $as_nop
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 printf "%s\n" "no" >&6; }
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9896 ac_ext=c
9897 ac_cpp='$CPP $CPPFLAGS'
9898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9903 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9904 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9906 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9908 WINELOADER_DEPENDS="wine_info.plist"
9910 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9913 linux-android*)
9915 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9917 DLLFLAGS="$DLLFLAGS -fPIC"
9918 LDDLLFLAGS="-fPIC"
9919 LDEXECFLAGS="-Wl,-pie"
9920 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9922 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9923 if test ${ac_cv_cflags__Wl__z_defs+y}
9924 then :
9925 printf %s "(cached) " >&6
9926 else $as_nop
9927 ac_wine_try_cflags_saved=$CFLAGS
9928 CFLAGS="$CFLAGS -Wl,-z,defs"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9931 int main(int argc, char **argv) { return 0; }
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"
9934 then :
9935 ac_cv_cflags__Wl__z_defs=yes
9936 else $as_nop
9937 ac_cv_cflags__Wl__z_defs=no
9939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9940 conftest$ac_exeext conftest.$ac_ext
9941 CFLAGS=$ac_wine_try_cflags_saved
9943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9944 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9945 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9946 then :
9947 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9950 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9951 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9952 then :
9953 printf %s "(cached) " >&6
9954 else $as_nop
9955 ac_wine_try_cflags_saved=$CFLAGS
9956 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9959 int main(int argc, char **argv) { return 0; }
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"
9962 then :
9963 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9964 else $as_nop
9965 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9968 conftest$ac_exeext conftest.$ac_ext
9969 CFLAGS=$ac_wine_try_cflags_saved
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9972 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9973 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9974 then :
9975 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9977 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9980 printf %s "checking for -lEGL... " >&6; }
9981 if test ${ac_cv_lib_soname_EGL+y}
9982 then :
9983 printf %s "(cached) " >&6
9984 else $as_nop
9985 ac_check_soname_save_LIBS=$LIBS
9986 LIBS="-lEGL $LIBS"
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9990 /* Override any GCC internal prototype to avoid an error.
9991 Use char because int might match the return type of a GCC
9992 builtin and then its argument prototype would still apply. */
9993 char eglGetProcAddress ();
9995 main (void)
9997 return eglGetProcAddress ();
9999 return 0;
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"
10003 then :
10004 case "$LIBEXT" in
10005 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10006 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'` ;;
10007 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10008 if ${ac_cv_lib_soname_EGL:+false} :
10009 then :
10010 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10011 fi ;;
10012 esac
10013 else $as_nop
10014 ac_cv_lib_soname_EGL=
10016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10017 conftest$ac_exeext conftest.$ac_ext
10018 LIBS=$ac_check_soname_save_LIBS
10020 if ${ac_cv_lib_soname_EGL:+false} :
10021 then :
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10023 printf "%s\n" "not found" >&6; }
10025 else $as_nop
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10027 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10029 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10034 printf %s "checking for -lGLESv2... " >&6; }
10035 if test ${ac_cv_lib_soname_GLESv2+y}
10036 then :
10037 printf %s "(cached) " >&6
10038 else $as_nop
10039 ac_check_soname_save_LIBS=$LIBS
10040 LIBS="-lGLESv2 $LIBS"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10047 char glFlush ();
10049 main (void)
10051 return glFlush ();
10053 return 0;
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"
10057 then :
10058 case "$LIBEXT" in
10059 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10060 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'` ;;
10061 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10062 if ${ac_cv_lib_soname_GLESv2:+false} :
10063 then :
10064 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10065 fi ;;
10066 esac
10067 else $as_nop
10068 ac_cv_lib_soname_GLESv2=
10070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10071 conftest$ac_exeext conftest.$ac_ext
10072 LIBS=$ac_check_soname_save_LIBS
10074 if ${ac_cv_lib_soname_GLESv2:+false} :
10075 then :
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10077 printf "%s\n" "not found" >&6; }
10079 else $as_nop
10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10081 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10083 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10088 if test "x$exec_prefix" = xNONE
10089 then
10090 case $host_cpu in
10091 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10092 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10093 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10094 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10095 esac
10101 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10103 test "$ac_cv_sys_file_offset_bits" = 64 &&
10104 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10106 case $host_cpu in
10107 *i[3456789]86*)
10108 DLLFLAGS="$DLLFLAGS -fno-PIC"
10109 LDDLLFLAGS="-fno-PIC"
10110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10111 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10112 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10113 then :
10114 printf %s "(cached) " >&6
10115 else $as_nop
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10120 int main(int argc, char **argv) { return 0; }
10121 _ACEOF
10122 if ac_fn_c_try_link "$LINENO"
10123 then :
10124 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10125 else $as_nop
10126 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10129 conftest$ac_exeext conftest.$ac_ext
10130 CFLAGS=$ac_wine_try_cflags_saved
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10133 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10134 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10135 then :
10136 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10140 DLLFLAGS="$DLLFLAGS -fPIC"
10141 LDDLLFLAGS="-fPIC" ;;
10142 esac
10143 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10145 echo '{ global: *; };' >conftest.map
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10147 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10148 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10149 then :
10150 printf %s "(cached) " >&6
10151 else $as_nop
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int main(int argc, char **argv) { return 0; }
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"
10159 then :
10160 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10161 else $as_nop
10162 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10169 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10170 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10171 then :
10172 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10174 rm -f conftest.map
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10177 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10178 if test ${ac_cv_cflags__Wl__z_defs+y}
10179 then :
10180 printf %s "(cached) " >&6
10181 else $as_nop
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 CFLAGS="$CFLAGS -Wl,-z,defs"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"
10189 then :
10190 ac_cv_cflags__Wl__z_defs=yes
10191 else $as_nop
10192 ac_cv_cflags__Wl__z_defs=no
10194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10199 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10200 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10201 then :
10202 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10205 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10206 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10207 then :
10208 printf %s "(cached) " >&6
10209 else $as_nop
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"
10217 then :
10218 ac_cv_cflags__Wl___export_dynamic=yes
10219 else $as_nop
10220 ac_cv_cflags__Wl___export_dynamic=no
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10227 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10228 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10229 then :
10230 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10232 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10234 case $host_cpu in
10235 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10237 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10238 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10239 then :
10240 printf %s "(cached) " >&6
10241 else $as_nop
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int main(int argc, char **argv) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"
10249 then :
10250 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10251 else $as_nop
10252 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10259 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10260 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10261 then :
10262 case $host_os in
10263 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10264 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10265 esac
10266 else $as_nop
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10268 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10269 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10270 then :
10271 printf %s "(cached) " >&6
10272 else $as_nop
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int main(int argc, char **argv) { return 0; }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"
10280 then :
10281 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10282 else $as_nop
10283 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10290 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10291 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10292 then :
10293 case $host_os in
10294 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10295 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10296 esac
10298 # Extract the first word of "prelink", so it can be a program name with args.
10299 set dummy prelink; ac_word=$2
10300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10301 printf %s "checking for $ac_word... " >&6; }
10302 if test ${ac_cv_path_PRELINK+y}
10303 then :
10304 printf %s "(cached) " >&6
10305 else $as_nop
10306 case $PRELINK in
10307 [\\/]* | ?:[\\/]*)
10308 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10312 for as_dir in /sbin /usr/sbin $PATH
10314 IFS=$as_save_IFS
10315 case $as_dir in #(((
10316 '') as_dir=./ ;;
10317 */) ;;
10318 *) as_dir=$as_dir/ ;;
10319 esac
10320 for ac_exec_ext in '' $ac_executable_extensions; do
10321 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10322 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10324 break 2
10326 done
10327 done
10328 IFS=$as_save_IFS
10330 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10332 esac
10334 PRELINK=$ac_cv_path_PRELINK
10335 if test -n "$PRELINK"; then
10336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10337 printf "%s\n" "$PRELINK" >&6; }
10338 else
10339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10340 printf "%s\n" "no" >&6; }
10344 if test "x$PRELINK" = xfalse
10345 then
10346 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10350 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10351 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10352 then :
10353 printf %s "(cached) " >&6
10354 else $as_nop
10355 ac_wine_try_cflags_saved=$CFLAGS
10356 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int main(int argc, char **argv) { return 0; }
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"
10362 then :
10363 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10364 else $as_nop
10365 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10368 conftest$ac_exeext conftest.$ac_ext
10369 CFLAGS=$ac_wine_try_cflags_saved
10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10372 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10373 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10374 then :
10375 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10378 esac
10379 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10381 LIBWINE_DEPENDS="wine.map"
10383 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10385 esac
10387 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10388 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10389 enable_winemac_drv=${enable_winemac_drv:-no}
10391 PE_ARCHS=""
10393 cross_archs=
10394 if test ${enable_archs+y}
10395 then :
10396 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10397 ac_save_IFS=$IFS
10398 IFS=' ,'
10399 set x $enable_archs
10400 IFS=$ac_save_IFS
10401 shift
10402 for arch
10404 case $arch in
10405 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10406 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10407 esac
10408 done
10409 else $as_nop
10410 if test "x$with_mingw" != xno
10411 then
10412 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10413 case "x$with_mingw" in
10414 x|xyes) ;;
10415 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10416 esac
10420 for wine_arch in $cross_archs
10422 if eval \${${wine_arch}_CC:+false} :
10423 then :
10424 case $wine_arch in
10425 aarch64)
10426 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10428 # Extract the first word of "$ac_prog", so it can be a program name with args.
10429 set dummy $ac_prog; ac_word=$2
10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10431 printf %s "checking for $ac_word... " >&6; }
10432 if test ${ac_cv_prog_aarch64_CC+y}
10433 then :
10434 printf %s "(cached) " >&6
10435 else $as_nop
10436 if test -n "$aarch64_CC"; then
10437 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10438 else
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in $PATH
10442 IFS=$as_save_IFS
10443 case $as_dir in #(((
10444 '') as_dir=./ ;;
10445 */) ;;
10446 *) as_dir=$as_dir/ ;;
10447 esac
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_aarch64_CC="$ac_prog"
10451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10452 break 2
10454 done
10455 done
10456 IFS=$as_save_IFS
10460 aarch64_CC=$ac_cv_prog_aarch64_CC
10461 if test -n "$aarch64_CC"; then
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10463 printf "%s\n" "$aarch64_CC" >&6; }
10464 else
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10466 printf "%s\n" "no" >&6; }
10470 test -n "$aarch64_CC" && break
10471 done
10472 test -n "$aarch64_CC" || aarch64_CC="false"
10475 arm)
10476 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10478 # Extract the first word of "$ac_prog", so it can be a program name with args.
10479 set dummy $ac_prog; ac_word=$2
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481 printf %s "checking for $ac_word... " >&6; }
10482 if test ${ac_cv_prog_arm_CC+y}
10483 then :
10484 printf %s "(cached) " >&6
10485 else $as_nop
10486 if test -n "$arm_CC"; then
10487 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10488 else
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10492 IFS=$as_save_IFS
10493 case $as_dir in #(((
10494 '') as_dir=./ ;;
10495 */) ;;
10496 *) as_dir=$as_dir/ ;;
10497 esac
10498 for ac_exec_ext in '' $ac_executable_extensions; do
10499 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10500 ac_cv_prog_arm_CC="$ac_prog"
10501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10502 break 2
10504 done
10505 done
10506 IFS=$as_save_IFS
10510 arm_CC=$ac_cv_prog_arm_CC
10511 if test -n "$arm_CC"; then
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10513 printf "%s\n" "$arm_CC" >&6; }
10514 else
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10516 printf "%s\n" "no" >&6; }
10520 test -n "$arm_CC" && break
10521 done
10522 test -n "$arm_CC" || arm_CC="false"
10525 i386)
10526 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 "
10527 for ac_prog in $ac_prefix_list clang
10529 # Extract the first word of "$ac_prog", so it can be a program name with args.
10530 set dummy $ac_prog; ac_word=$2
10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10532 printf %s "checking for $ac_word... " >&6; }
10533 if test ${ac_cv_prog_i386_CC+y}
10534 then :
10535 printf %s "(cached) " >&6
10536 else $as_nop
10537 if test -n "$i386_CC"; then
10538 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10539 else
10540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10541 for as_dir in $PATH
10543 IFS=$as_save_IFS
10544 case $as_dir in #(((
10545 '') as_dir=./ ;;
10546 */) ;;
10547 *) as_dir=$as_dir/ ;;
10548 esac
10549 for ac_exec_ext in '' $ac_executable_extensions; do
10550 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10551 ac_cv_prog_i386_CC="$ac_prog"
10552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10553 break 2
10555 done
10556 done
10557 IFS=$as_save_IFS
10561 i386_CC=$ac_cv_prog_i386_CC
10562 if test -n "$i386_CC"; then
10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10564 printf "%s\n" "$i386_CC" >&6; }
10565 else
10566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10567 printf "%s\n" "no" >&6; }
10571 test -n "$i386_CC" && break
10572 done
10573 test -n "$i386_CC" || i386_CC="false"
10576 x86_64)
10577 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10578 for ac_prog in $ac_prefix_list clang
10580 # Extract the first word of "$ac_prog", so it can be a program name with args.
10581 set dummy $ac_prog; ac_word=$2
10582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10583 printf %s "checking for $ac_word... " >&6; }
10584 if test ${ac_cv_prog_x86_64_CC+y}
10585 then :
10586 printf %s "(cached) " >&6
10587 else $as_nop
10588 if test -n "$x86_64_CC"; then
10589 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10590 else
10591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10592 for as_dir in $PATH
10594 IFS=$as_save_IFS
10595 case $as_dir in #(((
10596 '') as_dir=./ ;;
10597 */) ;;
10598 *) as_dir=$as_dir/ ;;
10599 esac
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10602 ac_cv_prog_x86_64_CC="$ac_prog"
10603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10604 break 2
10606 done
10607 done
10608 IFS=$as_save_IFS
10612 x86_64_CC=$ac_cv_prog_x86_64_CC
10613 if test -n "$x86_64_CC"; then
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10615 printf "%s\n" "$x86_64_CC" >&6; }
10616 else
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10618 printf "%s\n" "no" >&6; }
10622 test -n "$x86_64_CC" && break
10623 done
10624 test -n "$x86_64_CC" || x86_64_CC="false"
10627 esac
10630 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10631 then :
10632 continue
10635 saved_CC=$CC
10636 saved_CFLAGS=$CFLAGS
10638 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10639 eval CC=\$${wine_arch}_CC
10640 eval ${wine_arch}_CFLAGS=\$CFLAGS
10641 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10642 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10644 target=""
10645 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10648 printf %s "checking whether $CC works... " >&6; }
10649 if eval test \${$as_wine_cv_crosscc+y}
10650 then :
10651 printf %s "(cached) " >&6
10652 else $as_nop
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10657 main (void)
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_compile "$LINENO"
10665 then :
10666 eval "$as_wine_cv_crosscc=yes"
10667 else $as_nop
10668 eval "$as_wine_cv_crosscc=no"
10670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10672 eval ac_res=\$$as_wine_cv_crosscc
10673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10674 printf "%s\n" "$ac_res" >&6; }
10675 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10676 then :
10677 set x $CC
10678 shift
10679 while test $# -ge 1
10681 case "$1" in
10682 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10683 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10684 esac
10685 shift
10686 done
10688 llvm_target=$target
10689 if test -z "$llvm_target"
10690 then
10691 case $wine_arch in
10692 i386) llvm_target=i686-windows ;;
10693 arm) llvm_target=armv7-windows ;;
10694 *) llvm_target=$wine_arch-windows ;;
10695 esac
10697 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10698 case $llvm_target in
10699 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10700 esac
10701 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10703 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10704 if eval test \${$as_ac_var+y}
10705 then :
10706 printf %s "(cached) " >&6
10707 else $as_nop
10708 ac_wine_try_cflags_saved=$CFLAGS
10709 ac_wine_try_cflags_saved_exeext=$ac_exeext
10710 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10711 ac_exeext=".exe"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 int __cdecl mainCRTStartup(void) { return 0; }
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"
10717 then :
10718 eval "$as_ac_var=yes"
10719 else $as_nop
10720 eval "$as_ac_var=no"
10722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10723 conftest$ac_exeext conftest.$ac_ext
10724 CFLAGS=$ac_wine_try_cflags_saved
10725 ac_exeext=$ac_wine_try_cflags_saved_exeext
10727 eval ac_res=\$$as_ac_var
10728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10729 printf "%s\n" "$ac_res" >&6; }
10730 if eval test \"x\$"$as_ac_var"\" = x"yes"
10731 then :
10732 target=$llvm_target
10733 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10734 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10735 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10736 fi }
10737 eval "${wine_arch}_TARGET=\$target"
10741 if test -z "$target"
10742 then
10743 CC=$saved_CC
10744 CFLAGS=$saved_CFLAGS
10745 continue
10747 as_fn_append PE_ARCHS " $wine_arch"
10749 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10752 printf %s "checking for $CC option to enable C99 features... " >&6; }
10753 if eval test \${$as_wine_cv_crosscc_c99+y}
10754 then :
10755 printf %s "(cached) " >&6
10756 else $as_nop
10757 eval "$as_wine_cv_crosscc_c99=no"
10758 for arg in '' '-std=gnu99'
10760 test -z "$arg" || CC="$CC $arg"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10763 $ac_c_conftest_c99_program
10764 _ACEOF
10765 if ac_fn_c_try_compile "$LINENO"
10766 then :
10767 eval "$as_wine_cv_crosscc_c99=\$arg"
10768 else $as_nop
10769 eval "$as_wine_cv_crosscc_c99=no"
10771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10772 eval CC=\$${wine_arch}_CC
10773 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10774 then :
10776 else $as_nop
10777 break
10779 done
10782 eval res=\$$as_wine_cv_crosscc_c99
10783 case "x$res" in
10784 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10785 printf "%s\n" "none needed" >&6; } ;;
10786 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10787 printf "%s\n" "unsupported" >&6; } ;;
10788 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10789 printf "%s\n" "$res" >&6; }
10790 as_fn_append ${wine_arch}_CC " $res" ;;
10791 esac
10794 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10796 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10797 if eval test \${$as_ac_var+y}
10798 then :
10799 printf %s "(cached) " >&6
10800 else $as_nop
10801 ac_wine_try_cflags_saved=$CFLAGS
10802 ac_wine_try_cflags_saved_exeext=$ac_exeext
10803 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10804 ac_exeext=".exe"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10807 int __cdecl mainCRTStartup(void) { return 0; }
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"
10810 then :
10811 eval "$as_ac_var=yes"
10812 else $as_nop
10813 eval "$as_ac_var=no"
10815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10816 conftest$ac_exeext conftest.$ac_ext
10817 CFLAGS=$ac_wine_try_cflags_saved
10818 ac_exeext=$ac_wine_try_cflags_saved_exeext
10820 eval ac_res=\$$as_ac_var
10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10822 printf "%s\n" "$ac_res" >&6; }
10823 if eval test \"x\$"$as_ac_var"\" = x"yes"
10824 then :
10825 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10826 fi }
10827 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10829 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10830 if eval test \${$as_ac_var+y}
10831 then :
10832 printf %s "(cached) " >&6
10833 else $as_nop
10834 ac_wine_try_cflags_saved=$CFLAGS
10835 ac_wine_try_cflags_saved_exeext=$ac_exeext
10836 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10837 ac_exeext=".exe"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10840 int __cdecl mainCRTStartup(void) { return 0; }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"
10843 then :
10844 eval "$as_ac_var=yes"
10845 else $as_nop
10846 eval "$as_ac_var=no"
10848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10849 conftest$ac_exeext conftest.$ac_ext
10850 CFLAGS=$ac_wine_try_cflags_saved
10851 ac_exeext=$ac_wine_try_cflags_saved_exeext
10853 eval ac_res=\$$as_ac_var
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10855 printf "%s\n" "$ac_res" >&6; }
10856 if eval test \"x\$"$as_ac_var"\" = x"yes"
10857 then :
10858 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10859 fi }
10860 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10862 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10863 if eval test \${$as_ac_var+y}
10864 then :
10865 printf %s "(cached) " >&6
10866 else $as_nop
10867 ac_wine_try_cflags_saved=$CFLAGS
10868 ac_wine_try_cflags_saved_exeext=$ac_exeext
10869 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10870 ac_exeext=".exe"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10873 int __cdecl mainCRTStartup(void) { return 0; }
10874 _ACEOF
10875 if ac_fn_c_try_link "$LINENO"
10876 then :
10877 eval "$as_ac_var=yes"
10878 else $as_nop
10879 eval "$as_ac_var=no"
10881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10882 conftest$ac_exeext conftest.$ac_ext
10883 CFLAGS=$ac_wine_try_cflags_saved
10884 ac_exeext=$ac_wine_try_cflags_saved_exeext
10886 eval ac_res=\$$as_ac_var
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10888 printf "%s\n" "$ac_res" >&6; }
10889 if eval test \"x\$"$as_ac_var"\" = x"yes"
10890 then :
10891 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10892 fi }
10893 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10895 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10896 if eval test \${$as_ac_var+y}
10897 then :
10898 printf %s "(cached) " >&6
10899 else $as_nop
10900 ac_wine_try_cflags_saved=$CFLAGS
10901 ac_wine_try_cflags_saved_exeext=$ac_exeext
10902 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10903 ac_exeext=".exe"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10906 int __cdecl mainCRTStartup(void) { return 0; }
10907 _ACEOF
10908 if ac_fn_c_try_link "$LINENO"
10909 then :
10910 eval "$as_ac_var=yes"
10911 else $as_nop
10912 eval "$as_ac_var=no"
10914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10915 conftest$ac_exeext conftest.$ac_ext
10916 CFLAGS=$ac_wine_try_cflags_saved
10917 ac_exeext=$ac_wine_try_cflags_saved_exeext
10919 eval ac_res=\$$as_ac_var
10920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10921 printf "%s\n" "$ac_res" >&6; }
10922 if eval test \"x\$"$as_ac_var"\" = x"yes"
10923 then :
10924 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10925 fi }
10926 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10928 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10929 if eval test \${$as_ac_var+y}
10930 then :
10931 printf %s "(cached) " >&6
10932 else $as_nop
10933 ac_wine_try_cflags_saved=$CFLAGS
10934 ac_wine_try_cflags_saved_exeext=$ac_exeext
10935 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10936 ac_exeext=".exe"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 int __cdecl mainCRTStartup(void) { return 0; }
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"
10942 then :
10943 eval "$as_ac_var=yes"
10944 else $as_nop
10945 eval "$as_ac_var=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10948 conftest$ac_exeext conftest.$ac_ext
10949 CFLAGS=$ac_wine_try_cflags_saved
10950 ac_exeext=$ac_wine_try_cflags_saved_exeext
10952 eval ac_res=\$$as_ac_var
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10954 printf "%s\n" "$ac_res" >&6; }
10955 if eval test \"x\$"$as_ac_var"\" = x"yes"
10956 then :
10957 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10958 fi }
10959 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10961 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10962 if eval test \${$as_ac_var+y}
10963 then :
10964 printf %s "(cached) " >&6
10965 else $as_nop
10966 ac_wine_try_cflags_saved=$CFLAGS
10967 ac_wine_try_cflags_saved_exeext=$ac_exeext
10968 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10969 ac_exeext=".exe"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10972 int __cdecl mainCRTStartup(void) { return 0; }
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"
10975 then :
10976 eval "$as_ac_var=yes"
10977 else $as_nop
10978 eval "$as_ac_var=no"
10980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10981 conftest$ac_exeext conftest.$ac_ext
10982 CFLAGS=$ac_wine_try_cflags_saved
10983 ac_exeext=$ac_wine_try_cflags_saved_exeext
10985 eval ac_res=\$$as_ac_var
10986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10987 printf "%s\n" "$ac_res" >&6; }
10988 if eval test \"x\$"$as_ac_var"\" = x"yes"
10989 then :
10990 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10991 fi }
10992 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10994 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10995 if eval test \${$as_ac_var+y}
10996 then :
10997 printf %s "(cached) " >&6
10998 else $as_nop
10999 ac_wine_try_cflags_saved=$CFLAGS
11000 ac_wine_try_cflags_saved_exeext=$ac_exeext
11001 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11002 ac_exeext=".exe"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11005 int __cdecl mainCRTStartup(void) { return 0; }
11006 _ACEOF
11007 if ac_fn_c_try_link "$LINENO"
11008 then :
11009 eval "$as_ac_var=yes"
11010 else $as_nop
11011 eval "$as_ac_var=no"
11013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11014 conftest$ac_exeext conftest.$ac_ext
11015 CFLAGS=$ac_wine_try_cflags_saved
11016 ac_exeext=$ac_wine_try_cflags_saved_exeext
11018 eval ac_res=\$$as_ac_var
11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11020 printf "%s\n" "$ac_res" >&6; }
11021 if eval test \"x\$"$as_ac_var"\" = x"yes"
11022 then :
11023 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11024 fi }
11025 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11027 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11028 if eval test \${$as_ac_var+y}
11029 then :
11030 printf %s "(cached) " >&6
11031 else $as_nop
11032 ac_wine_try_cflags_saved=$CFLAGS
11033 ac_wine_try_cflags_saved_exeext=$ac_exeext
11034 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11035 ac_exeext=".exe"
11036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11037 /* end confdefs.h. */
11038 int __cdecl mainCRTStartup(void) { return 0; }
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"
11041 then :
11042 eval "$as_ac_var=yes"
11043 else $as_nop
11044 eval "$as_ac_var=no"
11046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11047 conftest$ac_exeext conftest.$ac_ext
11048 CFLAGS=$ac_wine_try_cflags_saved
11049 ac_exeext=$ac_wine_try_cflags_saved_exeext
11051 eval ac_res=\$$as_ac_var
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11053 printf "%s\n" "$ac_res" >&6; }
11054 if eval test \"x\$"$as_ac_var"\" = x"yes"
11055 then :
11056 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11057 fi }
11058 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11060 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11061 if eval test \${$as_ac_var+y}
11062 then :
11063 printf %s "(cached) " >&6
11064 else $as_nop
11065 ac_wine_try_cflags_saved=$CFLAGS
11066 ac_wine_try_cflags_saved_exeext=$ac_exeext
11067 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11068 ac_exeext=".exe"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11071 int __cdecl mainCRTStartup(void) { return 0; }
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"
11074 then :
11075 eval "$as_ac_var=yes"
11076 else $as_nop
11077 eval "$as_ac_var=no"
11079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11080 conftest$ac_exeext conftest.$ac_ext
11081 CFLAGS=$ac_wine_try_cflags_saved
11082 ac_exeext=$ac_wine_try_cflags_saved_exeext
11084 eval ac_res=\$$as_ac_var
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11086 printf "%s\n" "$ac_res" >&6; }
11087 if eval test \"x\$"$as_ac_var"\" = x"yes"
11088 then :
11089 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11090 fi }
11091 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11093 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11094 if eval test \${$as_ac_var+y}
11095 then :
11096 printf %s "(cached) " >&6
11097 else $as_nop
11098 ac_wine_try_cflags_saved=$CFLAGS
11099 ac_wine_try_cflags_saved_exeext=$ac_exeext
11100 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11101 ac_exeext=".exe"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11104 int __cdecl mainCRTStartup(void) { return 0; }
11105 _ACEOF
11106 if ac_fn_c_try_link "$LINENO"
11107 then :
11108 eval "$as_ac_var=yes"
11109 else $as_nop
11110 eval "$as_ac_var=no"
11112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11113 conftest$ac_exeext conftest.$ac_ext
11114 CFLAGS=$ac_wine_try_cflags_saved
11115 ac_exeext=$ac_wine_try_cflags_saved_exeext
11117 eval ac_res=\$$as_ac_var
11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11119 printf "%s\n" "$ac_res" >&6; }
11120 if eval test \"x\$"$as_ac_var"\" = x"yes"
11121 then :
11122 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11123 fi }
11124 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11126 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11127 if eval test \${$as_ac_var+y}
11128 then :
11129 printf %s "(cached) " >&6
11130 else $as_nop
11131 ac_wine_try_cflags_saved=$CFLAGS
11132 ac_wine_try_cflags_saved_exeext=$ac_exeext
11133 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11134 ac_exeext=".exe"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 int __cdecl mainCRTStartup(void) { return 0; }
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"
11140 then :
11141 eval "$as_ac_var=yes"
11142 else $as_nop
11143 eval "$as_ac_var=no"
11145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11146 conftest$ac_exeext conftest.$ac_ext
11147 CFLAGS=$ac_wine_try_cflags_saved
11148 ac_exeext=$ac_wine_try_cflags_saved_exeext
11150 eval ac_res=\$$as_ac_var
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11152 printf "%s\n" "$ac_res" >&6; }
11153 if eval test \"x\$"$as_ac_var"\" = x"yes"
11154 then :
11155 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11156 fi }
11157 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11159 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11160 if eval test \${$as_ac_var+y}
11161 then :
11162 printf %s "(cached) " >&6
11163 else $as_nop
11164 ac_wine_try_cflags_saved=$CFLAGS
11165 ac_wine_try_cflags_saved_exeext=$ac_exeext
11166 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11167 ac_exeext=".exe"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11170 int __cdecl mainCRTStartup(void) { return 0; }
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"
11173 then :
11174 eval "$as_ac_var=yes"
11175 else $as_nop
11176 eval "$as_ac_var=no"
11178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11179 conftest$ac_exeext conftest.$ac_ext
11180 CFLAGS=$ac_wine_try_cflags_saved
11181 ac_exeext=$ac_wine_try_cflags_saved_exeext
11183 eval ac_res=\$$as_ac_var
11184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11185 printf "%s\n" "$ac_res" >&6; }
11186 if eval test \"x\$"$as_ac_var"\" = x"yes"
11187 then :
11188 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11189 fi }
11190 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11192 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11193 if eval test \${$as_ac_var+y}
11194 then :
11195 printf %s "(cached) " >&6
11196 else $as_nop
11197 ac_wine_try_cflags_saved=$CFLAGS
11198 ac_wine_try_cflags_saved_exeext=$ac_exeext
11199 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11200 ac_exeext=".exe"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11203 int __cdecl mainCRTStartup(void) { return 0; }
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"
11206 then :
11207 eval "$as_ac_var=yes"
11208 else $as_nop
11209 eval "$as_ac_var=no"
11211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11212 conftest$ac_exeext conftest.$ac_ext
11213 CFLAGS=$ac_wine_try_cflags_saved
11214 ac_exeext=$ac_wine_try_cflags_saved_exeext
11216 eval ac_res=\$$as_ac_var
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11218 printf "%s\n" "$ac_res" >&6; }
11219 if eval test \"x\$"$as_ac_var"\" = x"yes"
11220 then :
11221 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11222 fi }
11223 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11225 printf %s "checking whether $CC supports -Wvla... " >&6; }
11226 if eval test \${$as_ac_var+y}
11227 then :
11228 printf %s "(cached) " >&6
11229 else $as_nop
11230 ac_wine_try_cflags_saved=$CFLAGS
11231 ac_wine_try_cflags_saved_exeext=$ac_exeext
11232 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11233 ac_exeext=".exe"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 int __cdecl mainCRTStartup(void) { return 0; }
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"
11239 then :
11240 eval "$as_ac_var=yes"
11241 else $as_nop
11242 eval "$as_ac_var=no"
11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11245 conftest$ac_exeext conftest.$ac_ext
11246 CFLAGS=$ac_wine_try_cflags_saved
11247 ac_exeext=$ac_wine_try_cflags_saved_exeext
11249 eval ac_res=\$$as_ac_var
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11251 printf "%s\n" "$ac_res" >&6; }
11252 if eval test \"x\$"$as_ac_var"\" = x"yes"
11253 then :
11254 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11255 fi }
11256 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11258 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11259 if eval test \${$as_ac_var+y}
11260 then :
11261 printf %s "(cached) " >&6
11262 else $as_nop
11263 ac_wine_try_cflags_saved=$CFLAGS
11264 ac_wine_try_cflags_saved_exeext=$ac_exeext
11265 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11266 ac_exeext=".exe"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11269 int __cdecl mainCRTStartup(void) { return 0; }
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"
11272 then :
11273 eval "$as_ac_var=yes"
11274 else $as_nop
11275 eval "$as_ac_var=no"
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11278 conftest$ac_exeext conftest.$ac_ext
11279 CFLAGS=$ac_wine_try_cflags_saved
11280 ac_exeext=$ac_wine_try_cflags_saved_exeext
11282 eval ac_res=\$$as_ac_var
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11284 printf "%s\n" "$ac_res" >&6; }
11285 if eval test \"x\$"$as_ac_var"\" = x"yes"
11286 then :
11287 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11288 fi }
11289 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11291 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11292 if eval test \${$as_ac_var+y}
11293 then :
11294 printf %s "(cached) " >&6
11295 else $as_nop
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 ac_wine_try_cflags_saved_exeext=$ac_exeext
11298 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11299 ac_exeext=".exe"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11302 int __cdecl mainCRTStartup(void) { return 0; }
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"
11305 then :
11306 eval "$as_ac_var=yes"
11307 else $as_nop
11308 eval "$as_ac_var=no"
11310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11311 conftest$ac_exeext conftest.$ac_ext
11312 CFLAGS=$ac_wine_try_cflags_saved
11313 ac_exeext=$ac_wine_try_cflags_saved_exeext
11315 eval ac_res=\$$as_ac_var
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11317 printf "%s\n" "$ac_res" >&6; }
11318 if eval test \"x\$"$as_ac_var"\" = x"yes"
11319 then :
11320 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11321 fi }
11322 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11324 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11325 if eval test \${$as_ac_var+y}
11326 then :
11327 printf %s "(cached) " >&6
11328 else $as_nop
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_exeext=$ac_exeext
11331 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11332 ac_exeext=".exe"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335 int __cdecl mainCRTStartup(void) { return 0; }
11336 _ACEOF
11337 if ac_fn_c_try_link "$LINENO"
11338 then :
11339 eval "$as_ac_var=yes"
11340 else $as_nop
11341 eval "$as_ac_var=no"
11343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11344 conftest$ac_exeext conftest.$ac_ext
11345 CFLAGS=$ac_wine_try_cflags_saved
11346 ac_exeext=$ac_wine_try_cflags_saved_exeext
11348 eval ac_res=\$$as_ac_var
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11350 printf "%s\n" "$ac_res" >&6; }
11351 if eval test \"x\$"$as_ac_var"\" = x"yes"
11352 then :
11353 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11354 fi }
11355 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11357 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11358 if eval test \${$as_ac_var+y}
11359 then :
11360 printf %s "(cached) " >&6
11361 else $as_nop
11362 ac_wine_try_cflags_saved=$CFLAGS
11363 ac_wine_try_cflags_saved_exeext=$ac_exeext
11364 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11365 ac_exeext=".exe"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11368 int __cdecl mainCRTStartup(void) { return 0; }
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"
11371 then :
11372 eval "$as_ac_var=yes"
11373 else $as_nop
11374 eval "$as_ac_var=no"
11376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11377 conftest$ac_exeext conftest.$ac_ext
11378 CFLAGS=$ac_wine_try_cflags_saved
11379 ac_exeext=$ac_wine_try_cflags_saved_exeext
11381 eval ac_res=\$$as_ac_var
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11383 printf "%s\n" "$ac_res" >&6; }
11384 if eval test \"x\$"$as_ac_var"\" = x"yes"
11385 then :
11386 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11387 fi }
11389 case $wine_arch in
11390 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11392 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11393 if eval test \${$as_ac_var+y}
11394 then :
11395 printf %s "(cached) " >&6
11396 else $as_nop
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_exeext=$ac_exeext
11399 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11400 ac_exeext=".exe"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 int __cdecl mainCRTStartup(void) { return 0; }
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"
11406 then :
11407 eval "$as_ac_var=yes"
11408 else $as_nop
11409 eval "$as_ac_var=no"
11411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11412 conftest$ac_exeext conftest.$ac_ext
11413 CFLAGS=$ac_wine_try_cflags_saved
11414 ac_exeext=$ac_wine_try_cflags_saved_exeext
11416 eval ac_res=\$$as_ac_var
11417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11418 printf "%s\n" "$ac_res" >&6; }
11419 if eval test \"x\$"$as_ac_var"\" = x"yes"
11420 then :
11421 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11422 fi }
11423 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11425 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11426 if eval test \${$as_ac_var+y}
11427 then :
11428 printf %s "(cached) " >&6
11429 else $as_nop
11430 ac_wine_try_cflags_saved=$CFLAGS
11431 ac_wine_try_cflags_saved_exeext=$ac_exeext
11432 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11433 ac_exeext=".exe"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436 int __cdecl mainCRTStartup(void) { return 0; }
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"
11439 then :
11440 eval "$as_ac_var=yes"
11441 else $as_nop
11442 eval "$as_ac_var=no"
11444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11445 conftest$ac_exeext conftest.$ac_ext
11446 CFLAGS=$ac_wine_try_cflags_saved
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 eval ac_res=\$$as_ac_var
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11451 printf "%s\n" "$ac_res" >&6; }
11452 if eval test \"x\$"$as_ac_var"\" = x"yes"
11453 then :
11454 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11455 fi } ;;
11456 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11458 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11459 if eval test \${$as_ac_var+y}
11460 then :
11461 printf %s "(cached) " >&6
11462 else $as_nop
11463 ac_wine_try_cflags_saved=$CFLAGS
11464 ac_wine_try_cflags_saved_exeext=$ac_exeext
11465 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11466 ac_exeext=".exe"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 int __cdecl mainCRTStartup(void) { return 0; }
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"
11472 then :
11473 eval "$as_ac_var=yes"
11474 else $as_nop
11475 eval "$as_ac_var=no"
11477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11478 conftest$ac_exeext conftest.$ac_ext
11479 CFLAGS=$ac_wine_try_cflags_saved
11480 ac_exeext=$ac_wine_try_cflags_saved_exeext
11482 eval ac_res=\$$as_ac_var
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11484 printf "%s\n" "$ac_res" >&6; }
11485 if eval test \"x\$"$as_ac_var"\" = x"yes"
11486 then :
11487 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11488 fi }
11489 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11491 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11492 if eval test \${$as_ac_var+y}
11493 then :
11494 printf %s "(cached) " >&6
11495 else $as_nop
11496 ac_wine_try_cflags_saved=$CFLAGS
11497 ac_wine_try_cflags_saved_exeext=$ac_exeext
11498 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11499 ac_exeext=".exe"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11502 int __cdecl mainCRTStartup(void) { return 0; }
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"
11505 then :
11506 eval "$as_ac_var=yes"
11507 else $as_nop
11508 eval "$as_ac_var=no"
11510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11511 conftest$ac_exeext conftest.$ac_ext
11512 CFLAGS=$ac_wine_try_cflags_saved
11513 ac_exeext=$ac_wine_try_cflags_saved_exeext
11515 eval ac_res=\$$as_ac_var
11516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11517 printf "%s\n" "$ac_res" >&6; }
11518 if eval test \"x\$"$as_ac_var"\" = x"yes"
11519 then :
11520 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11521 fi }
11522 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11524 printf %s "checking whether $CC supports -mcx16... " >&6; }
11525 if eval test \${$as_ac_var+y}
11526 then :
11527 printf %s "(cached) " >&6
11528 else $as_nop
11529 ac_wine_try_cflags_saved=$CFLAGS
11530 ac_wine_try_cflags_saved_exeext=$ac_exeext
11531 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11532 ac_exeext=".exe"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11535 int __cdecl mainCRTStartup(void) { return 0; }
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"
11538 then :
11539 eval "$as_ac_var=yes"
11540 else $as_nop
11541 eval "$as_ac_var=no"
11543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11544 conftest$ac_exeext conftest.$ac_ext
11545 CFLAGS=$ac_wine_try_cflags_saved
11546 ac_exeext=$ac_wine_try_cflags_saved_exeext
11548 eval ac_res=\$$as_ac_var
11549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11550 printf "%s\n" "$ac_res" >&6; }
11551 if eval test \"x\$"$as_ac_var"\" = x"yes"
11552 then :
11553 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11554 fi } ;;
11555 esac
11557 wine_crossdebug=$CROSSDEBUG
11558 if test -z "$wine_crossdebug"
11559 then
11560 for ac_flag in $CFLAGS; do
11561 case $ac_flag in
11562 -gdwarf*) wine_crossdebug=dwarf ;;
11563 -gcodeview) wine_crossdebug=pdb ;;
11564 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11565 esac
11566 done
11569 ac_debug_format_seen=""
11570 for ac_flag in $CFLAGS; do
11571 case $ac_flag in
11572 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11573 esac
11574 done
11575 if test "x$ac_debug_format_seen" = x
11576 then
11577 case $wine_crossdebug in
11578 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11580 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11581 if eval test \${$as_ac_var+y}
11582 then :
11583 printf %s "(cached) " >&6
11584 else $as_nop
11585 ac_wine_try_cflags_saved=$CFLAGS
11586 ac_wine_try_cflags_saved_exeext=$ac_exeext
11587 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11588 ac_exeext=".exe"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11591 int __cdecl mainCRTStartup(void) { return 0; }
11592 _ACEOF
11593 if ac_fn_c_try_link "$LINENO"
11594 then :
11595 eval "$as_ac_var=yes"
11596 else $as_nop
11597 eval "$as_ac_var=no"
11599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11600 conftest$ac_exeext conftest.$ac_ext
11601 CFLAGS=$ac_wine_try_cflags_saved
11602 ac_exeext=$ac_wine_try_cflags_saved_exeext
11604 eval ac_res=\$$as_ac_var
11605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11606 printf "%s\n" "$ac_res" >&6; }
11607 if eval test \"x\$"$as_ac_var"\" = x"yes"
11608 then :
11609 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11610 fi } ;;
11611 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11613 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11614 if eval test \${$as_ac_var+y}
11615 then :
11616 printf %s "(cached) " >&6
11617 else $as_nop
11618 ac_wine_try_cflags_saved=$CFLAGS
11619 ac_wine_try_cflags_saved_exeext=$ac_exeext
11620 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11621 ac_exeext=".exe"
11622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11623 /* end confdefs.h. */
11624 int __cdecl mainCRTStartup(void) { return 0; }
11625 _ACEOF
11626 if ac_fn_c_try_link "$LINENO"
11627 then :
11628 eval "$as_ac_var=yes"
11629 else $as_nop
11630 eval "$as_ac_var=no"
11632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11633 conftest$ac_exeext conftest.$ac_ext
11634 CFLAGS=$ac_wine_try_cflags_saved
11635 ac_exeext=$ac_wine_try_cflags_saved_exeext
11637 eval ac_res=\$$as_ac_var
11638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11639 printf "%s\n" "$ac_res" >&6; }
11640 if eval test \"x\$"$as_ac_var"\" = x"yes"
11641 then :
11642 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11643 fi } ;;
11644 esac
11646 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11648 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11650 printf %s "checking whether $CC supports -Werror... " >&6; }
11651 if eval test \${$as_ac_var+y}
11652 then :
11653 printf %s "(cached) " >&6
11654 else $as_nop
11655 ac_wine_try_cflags_saved=$CFLAGS
11656 ac_wine_try_cflags_saved_exeext=$ac_exeext
11657 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11658 ac_exeext=".exe"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11661 int __cdecl mainCRTStartup(void) { return 0; }
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"
11664 then :
11665 eval "$as_ac_var=yes"
11666 else $as_nop
11667 eval "$as_ac_var=no"
11669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11670 conftest$ac_exeext conftest.$ac_ext
11671 CFLAGS=$ac_wine_try_cflags_saved
11672 ac_exeext=$ac_wine_try_cflags_saved_exeext
11674 eval ac_res=\$$as_ac_var
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11676 printf "%s\n" "$ac_res" >&6; }
11677 if eval test \"x\$"$as_ac_var"\" = x"yes"
11678 then :
11679 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11680 fi }
11681 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11683 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11684 if eval test \${$as_ac_var+y}
11685 then :
11686 printf %s "(cached) " >&6
11687 else $as_nop
11688 ac_wine_try_cflags_saved=$CFLAGS
11689 ac_wine_try_cflags_saved_exeext=$ac_exeext
11690 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11691 ac_exeext=".exe"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11694 int __cdecl mainCRTStartup(void) { return 0; }
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"
11697 then :
11698 eval "$as_ac_var=yes"
11699 else $as_nop
11700 eval "$as_ac_var=no"
11702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11703 conftest$ac_exeext conftest.$ac_ext
11704 CFLAGS=$ac_wine_try_cflags_saved
11705 ac_exeext=$ac_wine_try_cflags_saved_exeext
11707 eval ac_res=\$$as_ac_var
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11709 printf "%s\n" "$ac_res" >&6; }
11710 if eval test \"x\$"$as_ac_var"\" = x"yes"
11711 then :
11712 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11713 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11714 fi }
11716 CC=$saved_CC
11717 CFLAGS=$saved_CFLAGS
11718 done
11720 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11721 then
11722 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11725 if test "x$PE_ARCHS" = "x"
11726 then :
11727 case "x$with_mingw" in
11728 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11729 xno) ;;
11730 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11731 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11732 esac
11737 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11738 then
11739 case "$host_cpu" in
11740 i[3456789]86*)
11741 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11743 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11744 esac
11745 for ac_prog in $ac_prefix_list
11747 # Extract the first word of "$ac_prog", so it can be a program name with args.
11748 set dummy $ac_prog; ac_word=$2
11749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11750 printf %s "checking for $ac_word... " >&6; }
11751 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11752 then :
11753 printf %s "(cached) " >&6
11754 else $as_nop
11755 if test -n "$MINGW_PKG_CONFIG"; then
11756 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11757 else
11758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11759 for as_dir in $PATH
11761 IFS=$as_save_IFS
11762 case $as_dir in #(((
11763 '') as_dir=./ ;;
11764 */) ;;
11765 *) as_dir=$as_dir/ ;;
11766 esac
11767 for ac_exec_ext in '' $ac_executable_extensions; do
11768 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11769 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11771 break 2
11773 done
11774 done
11775 IFS=$as_save_IFS
11779 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11780 if test -n "$MINGW_PKG_CONFIG"; then
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11782 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11783 else
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 printf "%s\n" "no" >&6; }
11789 test -n "$MINGW_PKG_CONFIG" && break
11790 done
11791 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11793 if ${FAUDIO_PE_CFLAGS:+false} :
11794 then :
11795 if test ${MINGW_PKG_CONFIG+y}
11796 then :
11797 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11800 if ${FAUDIO_PE_LIBS:+false} :
11801 then :
11802 if test ${MINGW_PKG_CONFIG+y}
11803 then :
11804 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11807 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11808 ac_save_CPPFLAGS=$CPPFLAGS
11809 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11811 printf %s "checking for MinGW FAudio.h... " >&6; }
11812 if test ${ac_cv_mingw_header_FAudio_h+y}
11813 then :
11814 printf %s "(cached) " >&6
11815 else $as_nop
11816 ac_wine_check_headers_saved_cc=$CC
11817 ac_wine_check_headers_saved_exeext=$ac_exeext
11818 eval CC=\$${wine_arch}_CC
11819 ac_exeext=".exe"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 #include <FAudio.h>
11825 main (void)
11829 return 0;
11831 _ACEOF
11832 if ac_fn_c_try_compile "$LINENO"
11833 then :
11834 ac_cv_mingw_header_FAudio_h=yes
11835 else $as_nop
11836 ac_cv_mingw_header_FAudio_h=no
11838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11839 CC=$ac_wine_check_headers_saved_cc
11840 ac_exeext=$ac_wine_check_headers_saved_exeext
11842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11843 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11844 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11845 then :
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11847 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11848 if test ${ac_cv_mingw_lib_FAudio+y}
11849 then :
11850 printf %s "(cached) " >&6
11851 else $as_nop
11852 ac_wine_check_headers_saved_cc=$CC
11853 ac_wine_check_headers_saved_exeext=$ac_exeext
11854 ac_wine_check_headers_saved_libs=$LIBS
11855 eval CC=\$${wine_arch}_CC
11856 ac_exeext=".exe"
11857 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11861 /* Override any GCC internal prototype to avoid an error.
11862 Use char because int might match the return type of a GCC
11863 builtin and then its argument prototype would still apply. */
11864 char FAudio_CommitOperationSet ();
11866 main (void)
11868 return FAudio_CommitOperationSet ();
11870 return 0;
11872 _ACEOF
11873 if ac_fn_c_try_link "$LINENO"
11874 then :
11875 ac_cv_mingw_lib_FAudio=yes
11876 else $as_nop
11877 ac_cv_mingw_lib_FAudio=no
11879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11880 conftest$ac_exeext conftest.$ac_ext
11881 CC=$ac_wine_check_headers_saved_cc
11882 ac_exeext=$ac_wine_check_headers_saved_exeext
11883 LIBS=$ac_wine_check_headers_saved_libs
11885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11886 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11887 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11888 then :
11890 else $as_nop
11891 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11893 else $as_nop
11894 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11896 CPPFLAGS=$ac_save_CPPFLAGS
11898 if test "x$FAUDIO_PE_LIBS" = "x"
11899 then
11900 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11903 if ${JPEG_PE_CFLAGS:+false} :
11904 then :
11905 if test ${MINGW_PKG_CONFIG+y}
11906 then :
11907 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11910 if ${JPEG_PE_LIBS:+false} :
11911 then :
11912 if test ${MINGW_PKG_CONFIG+y}
11913 then :
11914 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11918 ac_save_CPPFLAGS=$CPPFLAGS
11919 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11921 printf %s "checking for MinGW jpeglib.h... " >&6; }
11922 if test ${ac_cv_mingw_header_jpeglib_h+y}
11923 then :
11924 printf %s "(cached) " >&6
11925 else $as_nop
11926 ac_wine_check_headers_saved_cc=$CC
11927 ac_wine_check_headers_saved_exeext=$ac_exeext
11928 eval CC=\$${wine_arch}_CC
11929 ac_exeext=".exe"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11932 #include <stddef.h>
11933 #include <stdio.h>
11934 #include <jpeglib.h>
11936 main (void)
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_compile "$LINENO"
11944 then :
11945 ac_cv_mingw_header_jpeglib_h=yes
11946 else $as_nop
11947 ac_cv_mingw_header_jpeglib_h=no
11949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11950 CC=$ac_wine_check_headers_saved_cc
11951 ac_exeext=$ac_wine_check_headers_saved_exeext
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11954 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11955 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11956 then :
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11958 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11959 if test ${ac_cv_mingw_lib_jpeg+y}
11960 then :
11961 printf %s "(cached) " >&6
11962 else $as_nop
11963 ac_wine_check_headers_saved_cc=$CC
11964 ac_wine_check_headers_saved_exeext=$ac_exeext
11965 ac_wine_check_headers_saved_libs=$LIBS
11966 eval CC=\$${wine_arch}_CC
11967 ac_exeext=".exe"
11968 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 char jpeg_start_decompress ();
11977 main (void)
11979 return jpeg_start_decompress ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"
11985 then :
11986 ac_cv_mingw_lib_jpeg=yes
11987 else $as_nop
11988 ac_cv_mingw_lib_jpeg=no
11990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11991 conftest$ac_exeext conftest.$ac_ext
11992 CC=$ac_wine_check_headers_saved_cc
11993 ac_exeext=$ac_wine_check_headers_saved_exeext
11994 LIBS=$ac_wine_check_headers_saved_libs
11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11997 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11998 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11999 then :
12001 else $as_nop
12002 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12004 else $as_nop
12005 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12007 CPPFLAGS=$ac_save_CPPFLAGS
12009 if test "x$JPEG_PE_LIBS" = "x"
12010 then
12011 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12014 if ${LCMS2_PE_CFLAGS:+false} :
12015 then :
12016 if test ${MINGW_PKG_CONFIG+y}
12017 then :
12018 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12021 if ${LCMS2_PE_LIBS:+false} :
12022 then :
12023 if test ${MINGW_PKG_CONFIG+y}
12024 then :
12025 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12028 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12029 ac_save_CPPFLAGS=$CPPFLAGS
12030 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12032 printf %s "checking for MinGW lcms2.h... " >&6; }
12033 if test ${ac_cv_mingw_header_lcms2_h+y}
12034 then :
12035 printf %s "(cached) " >&6
12036 else $as_nop
12037 ac_wine_check_headers_saved_cc=$CC
12038 ac_wine_check_headers_saved_exeext=$ac_exeext
12039 eval CC=\$${wine_arch}_CC
12040 ac_exeext=".exe"
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12044 #include <lcms2.h>
12046 main (void)
12050 return 0;
12052 _ACEOF
12053 if ac_fn_c_try_compile "$LINENO"
12054 then :
12055 ac_cv_mingw_header_lcms2_h=yes
12056 else $as_nop
12057 ac_cv_mingw_header_lcms2_h=no
12059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12060 CC=$ac_wine_check_headers_saved_cc
12061 ac_exeext=$ac_wine_check_headers_saved_exeext
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12064 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12065 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12066 then :
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12068 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12069 if test ${ac_cv_mingw_lib_lcms2+y}
12070 then :
12071 printf %s "(cached) " >&6
12072 else $as_nop
12073 ac_wine_check_headers_saved_cc=$CC
12074 ac_wine_check_headers_saved_exeext=$ac_exeext
12075 ac_wine_check_headers_saved_libs=$LIBS
12076 eval CC=\$${wine_arch}_CC
12077 ac_exeext=".exe"
12078 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12085 char cmsOpenProfileFromFile ();
12087 main (void)
12089 return cmsOpenProfileFromFile ();
12091 return 0;
12093 _ACEOF
12094 if ac_fn_c_try_link "$LINENO"
12095 then :
12096 ac_cv_mingw_lib_lcms2=yes
12097 else $as_nop
12098 ac_cv_mingw_lib_lcms2=no
12100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12101 conftest$ac_exeext conftest.$ac_ext
12102 CC=$ac_wine_check_headers_saved_cc
12103 ac_exeext=$ac_wine_check_headers_saved_exeext
12104 LIBS=$ac_wine_check_headers_saved_libs
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12107 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12108 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12109 then :
12111 else $as_nop
12112 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12114 else $as_nop
12115 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12117 CPPFLAGS=$ac_save_CPPFLAGS
12119 if test "x$LCMS2_PE_LIBS" = "x"
12120 then
12121 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12124 if ${MPG123_PE_CFLAGS:+false} :
12125 then :
12126 if test ${MINGW_PKG_CONFIG+y}
12127 then :
12128 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12131 if ${MPG123_PE_LIBS:+false} :
12132 then :
12133 if test ${MINGW_PKG_CONFIG+y}
12134 then :
12135 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12138 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12139 ac_save_CPPFLAGS=$CPPFLAGS
12140 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12142 printf %s "checking for MinGW mpg123.h... " >&6; }
12143 if test ${ac_cv_mingw_header_mpg123_h+y}
12144 then :
12145 printf %s "(cached) " >&6
12146 else $as_nop
12147 ac_wine_check_headers_saved_cc=$CC
12148 ac_wine_check_headers_saved_exeext=$ac_exeext
12149 eval CC=\$${wine_arch}_CC
12150 ac_exeext=".exe"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 #include <mpg123.h>
12156 main (void)
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_compile "$LINENO"
12164 then :
12165 ac_cv_mingw_header_mpg123_h=yes
12166 else $as_nop
12167 ac_cv_mingw_header_mpg123_h=no
12169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12170 CC=$ac_wine_check_headers_saved_cc
12171 ac_exeext=$ac_wine_check_headers_saved_exeext
12173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12174 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12175 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12176 then :
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12178 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12179 if test ${ac_cv_mingw_lib_mpg123+y}
12180 then :
12181 printf %s "(cached) " >&6
12182 else $as_nop
12183 ac_wine_check_headers_saved_cc=$CC
12184 ac_wine_check_headers_saved_exeext=$ac_exeext
12185 ac_wine_check_headers_saved_libs=$LIBS
12186 eval CC=\$${wine_arch}_CC
12187 ac_exeext=".exe"
12188 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12195 char mpg123_feed ();
12197 main (void)
12199 return mpg123_feed ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"
12205 then :
12206 ac_cv_mingw_lib_mpg123=yes
12207 else $as_nop
12208 ac_cv_mingw_lib_mpg123=no
12210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12211 conftest$ac_exeext conftest.$ac_ext
12212 CC=$ac_wine_check_headers_saved_cc
12213 ac_exeext=$ac_wine_check_headers_saved_exeext
12214 LIBS=$ac_wine_check_headers_saved_libs
12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12217 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12218 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12219 then :
12221 else $as_nop
12222 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12224 else $as_nop
12225 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12227 CPPFLAGS=$ac_save_CPPFLAGS
12229 if test "x$MPG123_PE_LIBS" = "x"
12230 then
12231 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12234 if ${PNG_PE_CFLAGS:+false} :
12235 then :
12236 if test ${MINGW_PKG_CONFIG+y}
12237 then :
12238 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12241 if ${PNG_PE_LIBS:+false} :
12242 then :
12243 if test ${MINGW_PKG_CONFIG+y}
12244 then :
12245 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12249 ac_save_CPPFLAGS=$CPPFLAGS
12250 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12252 printf %s "checking for MinGW png.h... " >&6; }
12253 if test ${ac_cv_mingw_header_png_h+y}
12254 then :
12255 printf %s "(cached) " >&6
12256 else $as_nop
12257 ac_wine_check_headers_saved_cc=$CC
12258 ac_wine_check_headers_saved_exeext=$ac_exeext
12259 eval CC=\$${wine_arch}_CC
12260 ac_exeext=".exe"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 #include <png.h>
12266 main (void)
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_compile "$LINENO"
12274 then :
12275 ac_cv_mingw_header_png_h=yes
12276 else $as_nop
12277 ac_cv_mingw_header_png_h=no
12279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12280 CC=$ac_wine_check_headers_saved_cc
12281 ac_exeext=$ac_wine_check_headers_saved_exeext
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12284 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12285 if test "x$ac_cv_mingw_header_png_h" = xyes
12286 then :
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12288 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12289 if test ${ac_cv_mingw_lib_png+y}
12290 then :
12291 printf %s "(cached) " >&6
12292 else $as_nop
12293 ac_wine_check_headers_saved_cc=$CC
12294 ac_wine_check_headers_saved_exeext=$ac_exeext
12295 ac_wine_check_headers_saved_libs=$LIBS
12296 eval CC=\$${wine_arch}_CC
12297 ac_exeext=".exe"
12298 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12305 char png_create_read_struct ();
12307 main (void)
12309 return png_create_read_struct ();
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_link "$LINENO"
12315 then :
12316 ac_cv_mingw_lib_png=yes
12317 else $as_nop
12318 ac_cv_mingw_lib_png=no
12320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12321 conftest$ac_exeext conftest.$ac_ext
12322 CC=$ac_wine_check_headers_saved_cc
12323 ac_exeext=$ac_wine_check_headers_saved_exeext
12324 LIBS=$ac_wine_check_headers_saved_libs
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12327 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12328 if test "x$ac_cv_mingw_lib_png" = xyes
12329 then :
12331 else $as_nop
12332 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12334 else $as_nop
12335 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12337 CPPFLAGS=$ac_save_CPPFLAGS
12339 if test "x$PNG_PE_LIBS" = "x"
12340 then
12341 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12344 if ${TIFF_PE_CFLAGS:+false} :
12345 then :
12346 if test ${MINGW_PKG_CONFIG+y}
12347 then :
12348 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12351 if ${TIFF_PE_LIBS:+false} :
12352 then :
12353 if test ${MINGW_PKG_CONFIG+y}
12354 then :
12355 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12359 ac_save_CPPFLAGS=$CPPFLAGS
12360 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12362 printf %s "checking for MinGW tiffio.h... " >&6; }
12363 if test ${ac_cv_mingw_header_tiffio_h+y}
12364 then :
12365 printf %s "(cached) " >&6
12366 else $as_nop
12367 ac_wine_check_headers_saved_cc=$CC
12368 ac_wine_check_headers_saved_exeext=$ac_exeext
12369 eval CC=\$${wine_arch}_CC
12370 ac_exeext=".exe"
12371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12374 #include <tiffio.h>
12376 main (void)
12380 return 0;
12382 _ACEOF
12383 if ac_fn_c_try_compile "$LINENO"
12384 then :
12385 ac_cv_mingw_header_tiffio_h=yes
12386 else $as_nop
12387 ac_cv_mingw_header_tiffio_h=no
12389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12390 CC=$ac_wine_check_headers_saved_cc
12391 ac_exeext=$ac_wine_check_headers_saved_exeext
12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12394 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12395 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12396 then :
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12398 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12399 if test ${ac_cv_mingw_lib_tiff+y}
12400 then :
12401 printf %s "(cached) " >&6
12402 else $as_nop
12403 ac_wine_check_headers_saved_cc=$CC
12404 ac_wine_check_headers_saved_exeext=$ac_exeext
12405 ac_wine_check_headers_saved_libs=$LIBS
12406 eval CC=\$${wine_arch}_CC
12407 ac_exeext=".exe"
12408 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12415 char TIFFClientOpen ();
12417 main (void)
12419 return TIFFClientOpen ();
12421 return 0;
12423 _ACEOF
12424 if ac_fn_c_try_link "$LINENO"
12425 then :
12426 ac_cv_mingw_lib_tiff=yes
12427 else $as_nop
12428 ac_cv_mingw_lib_tiff=no
12430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12431 conftest$ac_exeext conftest.$ac_ext
12432 CC=$ac_wine_check_headers_saved_cc
12433 ac_exeext=$ac_wine_check_headers_saved_exeext
12434 LIBS=$ac_wine_check_headers_saved_libs
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12437 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12438 if test "x$ac_cv_mingw_lib_tiff" = xyes
12439 then :
12441 else $as_nop
12442 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12444 else $as_nop
12445 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12447 CPPFLAGS=$ac_save_CPPFLAGS
12449 if test "x$TIFF_PE_LIBS" = "x"
12450 then
12451 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12454 if ${XML2_PE_CFLAGS:+false} :
12455 then :
12456 if test ${MINGW_PKG_CONFIG+y}
12457 then :
12458 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12461 if ${XML2_PE_LIBS:+false} :
12462 then :
12463 if test ${MINGW_PKG_CONFIG+y}
12464 then :
12465 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12468 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12469 ac_save_CPPFLAGS=$CPPFLAGS
12470 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12472 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12473 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12474 then :
12475 printf %s "(cached) " >&6
12476 else $as_nop
12477 ac_wine_check_headers_saved_cc=$CC
12478 ac_wine_check_headers_saved_exeext=$ac_exeext
12479 eval CC=\$${wine_arch}_CC
12480 ac_exeext=".exe"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 #include <libxml/parser.h>
12486 main (void)
12490 return 0;
12492 _ACEOF
12493 if ac_fn_c_try_compile "$LINENO"
12494 then :
12495 ac_cv_mingw_header_libxml_parser_h=yes
12496 else $as_nop
12497 ac_cv_mingw_header_libxml_parser_h=no
12499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12500 CC=$ac_wine_check_headers_saved_cc
12501 ac_exeext=$ac_wine_check_headers_saved_exeext
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12504 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12505 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12506 then :
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12510 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12511 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12512 then :
12513 printf %s "(cached) " >&6
12514 else $as_nop
12515 ac_wine_check_headers_saved_cc=$CC
12516 ac_wine_check_headers_saved_exeext=$ac_exeext
12517 eval CC=\$${wine_arch}_CC
12518 ac_exeext=".exe"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 #include <libxml/xmlsave.h>
12524 main (void)
12528 return 0;
12530 _ACEOF
12531 if ac_fn_c_try_compile "$LINENO"
12532 then :
12533 ac_cv_mingw_header_libxml_xmlsave_h=yes
12534 else $as_nop
12535 ac_cv_mingw_header_libxml_xmlsave_h=no
12537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12538 CC=$ac_wine_check_headers_saved_cc
12539 ac_exeext=$ac_wine_check_headers_saved_exeext
12541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12542 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12543 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12544 then :
12547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12548 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12549 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12550 then :
12551 printf %s "(cached) " >&6
12552 else $as_nop
12553 ac_wine_check_headers_saved_cc=$CC
12554 ac_wine_check_headers_saved_exeext=$ac_exeext
12555 eval CC=\$${wine_arch}_CC
12556 ac_exeext=".exe"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 #include <libxml/SAX2.h>
12562 main (void)
12566 return 0;
12568 _ACEOF
12569 if ac_fn_c_try_compile "$LINENO"
12570 then :
12571 ac_cv_mingw_header_libxml_SAX2_h=yes
12572 else $as_nop
12573 ac_cv_mingw_header_libxml_SAX2_h=no
12575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12576 CC=$ac_wine_check_headers_saved_cc
12577 ac_exeext=$ac_wine_check_headers_saved_exeext
12579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12580 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12581 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12582 then :
12585 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"
12586 then
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12588 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12589 if test ${ac_cv_mingw_lib_xml2+y}
12590 then :
12591 printf %s "(cached) " >&6
12592 else $as_nop
12593 ac_wine_check_headers_saved_cc=$CC
12594 ac_wine_check_headers_saved_exeext=$ac_exeext
12595 ac_wine_check_headers_saved_libs=$LIBS
12596 eval CC=\$${wine_arch}_CC
12597 ac_exeext=".exe"
12598 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12605 char xmlFirstElementChild ();
12607 main (void)
12609 return xmlFirstElementChild ();
12611 return 0;
12613 _ACEOF
12614 if ac_fn_c_try_link "$LINENO"
12615 then :
12616 ac_cv_mingw_lib_xml2=yes
12617 else $as_nop
12618 ac_cv_mingw_lib_xml2=no
12620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12621 conftest$ac_exeext conftest.$ac_ext
12622 CC=$ac_wine_check_headers_saved_cc
12623 ac_exeext=$ac_wine_check_headers_saved_exeext
12624 LIBS=$ac_wine_check_headers_saved_libs
12626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12627 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12628 if test "x$ac_cv_mingw_lib_xml2" = xyes
12629 then :
12631 else $as_nop
12632 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12634 else
12635 XML2_PE_CFLAGS=""
12636 XML2_PE_LIBS=""
12638 CPPFLAGS=$ac_save_CPPFLAGS
12640 if test "x$XML2_PE_LIBS" = "x"
12641 then
12642 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12645 if ${XSLT_PE_CFLAGS:+false} :
12646 then :
12647 if test ${MINGW_PKG_CONFIG+y}
12648 then :
12649 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12652 if ${XSLT_PE_LIBS:+false} :
12653 then :
12654 if test ${MINGW_PKG_CONFIG+y}
12655 then :
12656 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12659 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12660 ac_save_CPPFLAGS=$CPPFLAGS
12661 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12663 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12664 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12665 then :
12666 printf %s "(cached) " >&6
12667 else $as_nop
12668 ac_wine_check_headers_saved_cc=$CC
12669 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 eval CC=\$${wine_arch}_CC
12671 ac_exeext=".exe"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 #include <libxslt/pattern.h>
12677 main (void)
12681 return 0;
12683 _ACEOF
12684 if ac_fn_c_try_compile "$LINENO"
12685 then :
12686 ac_cv_mingw_header_libxslt_pattern_h=yes
12687 else $as_nop
12688 ac_cv_mingw_header_libxslt_pattern_h=no
12690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12691 CC=$ac_wine_check_headers_saved_cc
12692 ac_exeext=$ac_wine_check_headers_saved_exeext
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12695 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12696 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12697 then :
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12701 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12702 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12703 then :
12704 printf %s "(cached) " >&6
12705 else $as_nop
12706 ac_wine_check_headers_saved_cc=$CC
12707 ac_wine_check_headers_saved_exeext=$ac_exeext
12708 eval CC=\$${wine_arch}_CC
12709 ac_exeext=".exe"
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 #include <libxslt/transform.h>
12715 main (void)
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_compile "$LINENO"
12723 then :
12724 ac_cv_mingw_header_libxslt_transform_h=yes
12725 else $as_nop
12726 ac_cv_mingw_header_libxslt_transform_h=no
12728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12729 CC=$ac_wine_check_headers_saved_cc
12730 ac_exeext=$ac_wine_check_headers_saved_exeext
12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12733 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12734 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12735 then :
12738 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12739 then
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12741 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12742 if test ${ac_cv_mingw_lib_xslt+y}
12743 then :
12744 printf %s "(cached) " >&6
12745 else $as_nop
12746 ac_wine_check_headers_saved_cc=$CC
12747 ac_wine_check_headers_saved_exeext=$ac_exeext
12748 ac_wine_check_headers_saved_libs=$LIBS
12749 eval CC=\$${wine_arch}_CC
12750 ac_exeext=".exe"
12751 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12758 char xsltCompilePattern ();
12760 main (void)
12762 return xsltCompilePattern ();
12764 return 0;
12766 _ACEOF
12767 if ac_fn_c_try_link "$LINENO"
12768 then :
12769 ac_cv_mingw_lib_xslt=yes
12770 else $as_nop
12771 ac_cv_mingw_lib_xslt=no
12773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12774 conftest$ac_exeext conftest.$ac_ext
12775 CC=$ac_wine_check_headers_saved_cc
12776 ac_exeext=$ac_wine_check_headers_saved_exeext
12777 LIBS=$ac_wine_check_headers_saved_libs
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12780 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12781 if test "x$ac_cv_mingw_lib_xslt" = xyes
12782 then :
12784 else $as_nop
12785 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12787 else
12788 XSLT_PE_CFLAGS=""
12789 XSLT_PE_LIBS=""
12791 CPPFLAGS=$ac_save_CPPFLAGS
12793 if test "x$XSLT_PE_LIBS" = "x"
12794 then
12795 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12798 if ${VKD3D_PE_CFLAGS:+false} :
12799 then :
12800 if test ${MINGW_PKG_CONFIG+y}
12801 then :
12802 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12805 if ${VKD3D_PE_LIBS:+false} :
12806 then :
12807 if test ${MINGW_PKG_CONFIG+y}
12808 then :
12809 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12812 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12813 ac_save_CPPFLAGS=$CPPFLAGS
12814 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12816 printf %s "checking for MinGW vkd3d.h... " >&6; }
12817 if test ${ac_cv_mingw_header_vkd3d_h+y}
12818 then :
12819 printf %s "(cached) " >&6
12820 else $as_nop
12821 ac_wine_check_headers_saved_cc=$CC
12822 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 eval CC=\$${wine_arch}_CC
12824 ac_exeext=".exe"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 #include <vkd3d.h>
12830 main (void)
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_compile "$LINENO"
12838 then :
12839 ac_cv_mingw_header_vkd3d_h=yes
12840 else $as_nop
12841 ac_cv_mingw_header_vkd3d_h=no
12843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12844 CC=$ac_wine_check_headers_saved_cc
12845 ac_exeext=$ac_wine_check_headers_saved_exeext
12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12848 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12849 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12850 then :
12853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12854 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12855 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12856 then :
12857 printf %s "(cached) " >&6
12858 else $as_nop
12859 ac_wine_check_headers_saved_cc=$CC
12860 ac_wine_check_headers_saved_exeext=$ac_exeext
12861 eval CC=\$${wine_arch}_CC
12862 ac_exeext=".exe"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 #include <vkd3d_shader.h>
12868 main (void)
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_compile "$LINENO"
12876 then :
12877 ac_cv_mingw_header_vkd3d_shader_h=yes
12878 else $as_nop
12879 ac_cv_mingw_header_vkd3d_shader_h=no
12881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12882 CC=$ac_wine_check_headers_saved_cc
12883 ac_exeext=$ac_wine_check_headers_saved_exeext
12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12886 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12887 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12888 then :
12891 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12892 then
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12894 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12895 if test ${ac_cv_mingw_lib_vkd3d+y}
12896 then :
12897 printf %s "(cached) " >&6
12898 else $as_nop
12899 ac_wine_check_headers_saved_cc=$CC
12900 ac_wine_check_headers_saved_exeext=$ac_exeext
12901 ac_wine_check_headers_saved_libs=$LIBS
12902 eval CC=\$${wine_arch}_CC
12903 ac_exeext=".exe"
12904 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12908 /* Override any GCC internal prototype to avoid an error.
12909 Use char because int might match the return type of a GCC
12910 builtin and then its argument prototype would still apply. */
12911 char vkd3d_set_log_callback ();
12913 main (void)
12915 return vkd3d_set_log_callback ();
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_link "$LINENO"
12921 then :
12922 ac_cv_mingw_lib_vkd3d=yes
12923 else $as_nop
12924 ac_cv_mingw_lib_vkd3d=no
12926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12927 conftest$ac_exeext conftest.$ac_ext
12928 CC=$ac_wine_check_headers_saved_cc
12929 ac_exeext=$ac_wine_check_headers_saved_exeext
12930 LIBS=$ac_wine_check_headers_saved_libs
12932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12933 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12934 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12935 then :
12937 else $as_nop
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12941 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12942 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12943 then :
12944 printf %s "(cached) " >&6
12945 else $as_nop
12946 ac_wine_check_headers_saved_cc=$CC
12947 ac_wine_check_headers_saved_exeext=$ac_exeext
12948 ac_wine_check_headers_saved_libs=$LIBS
12949 eval CC=\$${wine_arch}_CC
12950 ac_exeext=".exe"
12951 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12958 char vkd3d_shader_compile ();
12960 main (void)
12962 return vkd3d_shader_compile ();
12964 return 0;
12966 _ACEOF
12967 if ac_fn_c_try_link "$LINENO"
12968 then :
12969 ac_cv_mingw_lib_vkd3d_shader=yes
12970 else $as_nop
12971 ac_cv_mingw_lib_vkd3d_shader=no
12973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12974 conftest$ac_exeext conftest.$ac_ext
12975 CC=$ac_wine_check_headers_saved_cc
12976 ac_exeext=$ac_wine_check_headers_saved_exeext
12977 LIBS=$ac_wine_check_headers_saved_libs
12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12980 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12981 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12982 then :
12984 else $as_nop
12987 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12988 then
12989 VKD3D_PE_CFLAGS=""
12990 VKD3D_PE_LIBS=""
12992 else
12993 VKD3D_PE_CFLAGS=""
12994 VKD3D_PE_LIBS=""
12996 CPPFLAGS=$ac_save_CPPFLAGS
12998 if test "x$VKD3D_PE_LIBS" = "x"
12999 then
13000 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13003 if ${ZLIB_PE_CFLAGS:+false} :
13004 then :
13005 if test ${MINGW_PKG_CONFIG+y}
13006 then :
13007 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13010 if ${ZLIB_PE_LIBS:+false} :
13011 then :
13012 if test ${MINGW_PKG_CONFIG+y}
13013 then :
13014 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13017 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13018 ac_save_CPPFLAGS=$CPPFLAGS
13019 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13021 printf %s "checking for MinGW zlib.h... " >&6; }
13022 if test ${ac_cv_mingw_header_zlib_h+y}
13023 then :
13024 printf %s "(cached) " >&6
13025 else $as_nop
13026 ac_wine_check_headers_saved_cc=$CC
13027 ac_wine_check_headers_saved_exeext=$ac_exeext
13028 eval CC=\$${wine_arch}_CC
13029 ac_exeext=".exe"
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 #include <zlib.h>
13035 main (void)
13039 return 0;
13041 _ACEOF
13042 if ac_fn_c_try_compile "$LINENO"
13043 then :
13044 ac_cv_mingw_header_zlib_h=yes
13045 else $as_nop
13046 ac_cv_mingw_header_zlib_h=no
13048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13049 CC=$ac_wine_check_headers_saved_cc
13050 ac_exeext=$ac_wine_check_headers_saved_exeext
13052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13053 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13054 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13055 then :
13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13057 printf %s "checking for inflate in MinGW -lz... " >&6; }
13058 if test ${ac_cv_mingw_lib_z+y}
13059 then :
13060 printf %s "(cached) " >&6
13061 else $as_nop
13062 ac_wine_check_headers_saved_cc=$CC
13063 ac_wine_check_headers_saved_exeext=$ac_exeext
13064 ac_wine_check_headers_saved_libs=$LIBS
13065 eval CC=\$${wine_arch}_CC
13066 ac_exeext=".exe"
13067 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 char inflate ();
13076 main (void)
13078 return inflate ();
13080 return 0;
13082 _ACEOF
13083 if ac_fn_c_try_link "$LINENO"
13084 then :
13085 ac_cv_mingw_lib_z=yes
13086 else $as_nop
13087 ac_cv_mingw_lib_z=no
13089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13090 conftest$ac_exeext conftest.$ac_ext
13091 CC=$ac_wine_check_headers_saved_cc
13092 ac_exeext=$ac_wine_check_headers_saved_exeext
13093 LIBS=$ac_wine_check_headers_saved_libs
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13096 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13097 if test "x$ac_cv_mingw_lib_z" = xyes
13098 then :
13100 else $as_nop
13101 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13103 else $as_nop
13104 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13106 CPPFLAGS=$ac_save_CPPFLAGS
13108 if test "x$ZLIB_PE_LIBS" = "x"
13109 then
13110 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13114 if ${FAUDIO_PE_LIBS:+false} :
13115 then :
13116 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13117 if ${FAUDIO_PE_CFLAGS:+false} :
13118 then :
13119 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13120 else $as_nop
13121 enable_faudio=no
13123 else $as_nop
13124 enable_faudio=no
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13129 if ${GSM_PE_LIBS:+false} :
13130 then :
13131 GSM_PE_LIBS=gsm
13132 if ${GSM_PE_CFLAGS:+false} :
13133 then :
13134 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13135 else $as_nop
13136 enable_gsm=no
13138 else $as_nop
13139 enable_gsm=no
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13144 if ${JPEG_PE_LIBS:+false} :
13145 then :
13146 JPEG_PE_LIBS=jpeg
13147 if ${JPEG_PE_CFLAGS:+false} :
13148 then :
13149 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13150 else $as_nop
13151 enable_jpeg=no
13153 else $as_nop
13154 enable_jpeg=no
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13159 if ${JXR_PE_LIBS:+false} :
13160 then :
13161 JXR_PE_LIBS=jxr
13162 if ${JXR_PE_CFLAGS:+false} :
13163 then :
13164 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13165 else $as_nop
13166 enable_jxr=no
13168 else $as_nop
13169 enable_jxr=no
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13174 if ${LCMS2_PE_LIBS:+false} :
13175 then :
13176 LCMS2_PE_LIBS=lcms2
13177 if ${LCMS2_PE_CFLAGS:+false} :
13178 then :
13179 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13180 else $as_nop
13181 enable_lcms2=no
13183 else $as_nop
13184 enable_lcms2=no
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13189 if ${LDAP_PE_LIBS:+false} :
13190 then :
13191 LDAP_PE_LIBS=ldap
13192 if ${LDAP_PE_CFLAGS:+false} :
13193 then :
13194 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13195 else $as_nop
13196 enable_ldap=no
13198 else $as_nop
13199 enable_ldap=no
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13204 if ${MPG123_PE_LIBS:+false} :
13205 then :
13206 MPG123_PE_LIBS=mpg123
13207 if ${MPG123_PE_CFLAGS:+false} :
13208 then :
13209 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13210 else $as_nop
13211 enable_mpg123=no
13213 else $as_nop
13214 enable_mpg123=no
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13219 if ${PNG_PE_LIBS:+false} :
13220 then :
13221 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13222 if ${PNG_PE_CFLAGS:+false} :
13223 then :
13224 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13225 else $as_nop
13226 enable_png=no
13228 else $as_nop
13229 enable_png=no
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13234 if ${TIFF_PE_LIBS:+false} :
13235 then :
13236 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13237 if ${TIFF_PE_CFLAGS:+false} :
13238 then :
13239 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13240 else $as_nop
13241 enable_tiff=no
13243 else $as_nop
13244 enable_tiff=no
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13249 if ${VKD3D_PE_LIBS:+false} :
13250 then :
13251 VKD3D_PE_LIBS=vkd3d
13252 if ${VKD3D_PE_CFLAGS:+false} :
13253 then :
13254 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13255 else $as_nop
13256 enable_vkd3d=no
13258 else $as_nop
13259 enable_vkd3d=no
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13264 if ${XML2_PE_LIBS:+false} :
13265 then :
13266 XML2_PE_LIBS=xml2
13267 if ${XML2_PE_CFLAGS:+false} :
13268 then :
13269 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13270 else $as_nop
13271 enable_xml2=no
13273 else $as_nop
13274 enable_xml2=no
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13279 if ${XSLT_PE_LIBS:+false} :
13280 then :
13281 XSLT_PE_LIBS=xslt
13282 if ${XSLT_PE_CFLAGS:+false} :
13283 then :
13284 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13285 else $as_nop
13286 enable_xslt=no
13288 else $as_nop
13289 enable_xslt=no
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13294 if ${ZLIB_PE_LIBS:+false} :
13295 then :
13296 ZLIB_PE_LIBS=z
13297 if ${ZLIB_PE_CFLAGS:+false} :
13298 then :
13299 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13300 else $as_nop
13301 enable_zlib=no
13303 else $as_nop
13304 enable_zlib=no
13306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13311 if test "$ac_cv_header_pthread_h" = "yes"
13312 then
13313 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13314 if test "x$ac_cv_func_pthread_create" = xyes
13315 then :
13317 else $as_nop
13318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13319 printf %s "checking for pthread_create in -lpthread... " >&6; }
13320 if test ${ac_cv_lib_pthread_pthread_create+y}
13321 then :
13322 printf %s "(cached) " >&6
13323 else $as_nop
13324 ac_check_lib_save_LIBS=$LIBS
13325 LIBS="-lpthread $LIBS"
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13332 char pthread_create ();
13334 main (void)
13336 return pthread_create ();
13338 return 0;
13340 _ACEOF
13341 if ac_fn_c_try_link "$LINENO"
13342 then :
13343 ac_cv_lib_pthread_pthread_create=yes
13344 else $as_nop
13345 ac_cv_lib_pthread_pthread_create=no
13347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_check_lib_save_LIBS
13351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13352 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13353 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13354 then :
13355 PTHREAD_LIBS="-lpthread"
13362 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13363 then :
13364 case "x$with_pthread" in
13365 xno) ;;
13366 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13367 Wine cannot support threads without libpthread.
13368 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13369 esac
13374 ac_ext=c
13375 ac_cpp='$CPP $CPPFLAGS'
13376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13380 printf %s "checking how to run the C preprocessor... " >&6; }
13381 # On Suns, sometimes $CPP names a directory.
13382 if test -n "$CPP" && test -d "$CPP"; then
13383 CPP=
13385 if test -z "$CPP"; then
13386 if test ${ac_cv_prog_CPP+y}
13387 then :
13388 printf %s "(cached) " >&6
13389 else $as_nop
13390 # Double quotes because $CC needs to be expanded
13391 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13393 ac_preproc_ok=false
13394 for ac_c_preproc_warn_flag in '' yes
13396 # Use a header file that comes with gcc, so configuring glibc
13397 # with a fresh cross-compiler works.
13398 # On the NeXT, cc -E runs the code through the compiler's parser,
13399 # not just through cpp. "Syntax error" is here to catch this case.
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13402 #include <limits.h>
13403 Syntax error
13404 _ACEOF
13405 if ac_fn_c_try_cpp "$LINENO"
13406 then :
13408 else $as_nop
13409 # Broken: fails on valid input.
13410 continue
13412 rm -f conftest.err conftest.i conftest.$ac_ext
13414 # OK, works on sane cases. Now check whether nonexistent headers
13415 # can be detected and how.
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <ac_nonexistent.h>
13419 _ACEOF
13420 if ac_fn_c_try_cpp "$LINENO"
13421 then :
13422 # Broken: success on invalid input.
13423 continue
13424 else $as_nop
13425 # Passes both tests.
13426 ac_preproc_ok=:
13427 break
13429 rm -f conftest.err conftest.i conftest.$ac_ext
13431 done
13432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13433 rm -f conftest.i conftest.err conftest.$ac_ext
13434 if $ac_preproc_ok
13435 then :
13436 break
13439 done
13440 ac_cv_prog_CPP=$CPP
13443 CPP=$ac_cv_prog_CPP
13444 else
13445 ac_cv_prog_CPP=$CPP
13447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13448 printf "%s\n" "$CPP" >&6; }
13449 ac_preproc_ok=false
13450 for ac_c_preproc_warn_flag in '' yes
13452 # Use a header file that comes with gcc, so configuring glibc
13453 # with a fresh cross-compiler works.
13454 # On the NeXT, cc -E runs the code through the compiler's parser,
13455 # not just through cpp. "Syntax error" is here to catch this case.
13456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13458 #include <limits.h>
13459 Syntax error
13460 _ACEOF
13461 if ac_fn_c_try_cpp "$LINENO"
13462 then :
13464 else $as_nop
13465 # Broken: fails on valid input.
13466 continue
13468 rm -f conftest.err conftest.i conftest.$ac_ext
13470 # OK, works on sane cases. Now check whether nonexistent headers
13471 # can be detected and how.
13472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13474 #include <ac_nonexistent.h>
13475 _ACEOF
13476 if ac_fn_c_try_cpp "$LINENO"
13477 then :
13478 # Broken: success on invalid input.
13479 continue
13480 else $as_nop
13481 # Passes both tests.
13482 ac_preproc_ok=:
13483 break
13485 rm -f conftest.err conftest.i conftest.$ac_ext
13487 done
13488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13489 rm -f conftest.i conftest.err conftest.$ac_ext
13490 if $ac_preproc_ok
13491 then :
13493 else $as_nop
13494 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13495 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13496 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13497 See \`config.log' for more details" "$LINENO" 5; }
13500 ac_ext=c
13501 ac_cpp='$CPP $CPPFLAGS'
13502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13508 printf %s "checking for X... " >&6; }
13511 # Check whether --with-x was given.
13512 if test ${with_x+y}
13513 then :
13514 withval=$with_x;
13517 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13518 if test "x$with_x" = xno; then
13519 # The user explicitly disabled X.
13520 have_x=disabled
13521 else
13522 case $x_includes,$x_libraries in #(
13523 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13524 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13525 then :
13526 printf %s "(cached) " >&6
13527 else $as_nop
13528 # One or both of the vars are not set, and there is no cached value.
13529 ac_x_includes=no
13530 ac_x_libraries=no
13531 # Do we need to do anything special at all?
13532 ac_save_LIBS=$LIBS
13533 LIBS="-lX11 $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <X11/Xlib.h>
13538 main (void)
13540 XrmInitialize ()
13542 return 0;
13544 _ACEOF
13545 if ac_fn_c_try_link "$LINENO"
13546 then :
13547 # We can compile and link X programs with no special options.
13548 ac_x_includes=
13549 ac_x_libraries=
13551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13552 conftest$ac_exeext conftest.$ac_ext
13553 LIBS="$ac_save_LIBS"
13554 # If that didn't work, only try xmkmf and file system searches
13555 # for native compilation.
13556 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13557 then :
13558 rm -f -r conftest.dir
13559 if mkdir conftest.dir; then
13560 cd conftest.dir
13561 cat >Imakefile <<'_ACEOF'
13562 incroot:
13563 @echo incroot='${INCROOT}'
13564 usrlibdir:
13565 @echo usrlibdir='${USRLIBDIR}'
13566 libdir:
13567 @echo libdir='${LIBDIR}'
13568 _ACEOF
13569 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13571 for ac_var in incroot usrlibdir libdir; do
13572 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13573 done
13574 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13575 for ac_extension in a so sl dylib la dll; do
13576 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13577 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13578 ac_im_usrlibdir=$ac_im_libdir; break
13580 done
13581 # Screen out bogus values from the imake configuration. They are
13582 # bogus both because they are the default anyway, and because
13583 # using them would break gcc on systems where it needs fixed includes.
13584 case $ac_im_incroot in
13585 /usr/include) ac_x_includes= ;;
13586 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13587 esac
13588 case $ac_im_usrlibdir in
13589 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13590 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13591 esac
13593 cd ..
13594 rm -f -r conftest.dir
13597 # Standard set of common directories for X headers.
13598 # Check X11 before X11Rn because it is often a symlink to the current release.
13599 ac_x_header_dirs='
13600 /usr/X11/include
13601 /usr/X11R7/include
13602 /usr/X11R6/include
13603 /usr/X11R5/include
13604 /usr/X11R4/include
13606 /usr/include/X11
13607 /usr/include/X11R7
13608 /usr/include/X11R6
13609 /usr/include/X11R5
13610 /usr/include/X11R4
13612 /usr/local/X11/include
13613 /usr/local/X11R7/include
13614 /usr/local/X11R6/include
13615 /usr/local/X11R5/include
13616 /usr/local/X11R4/include
13618 /usr/local/include/X11
13619 /usr/local/include/X11R7
13620 /usr/local/include/X11R6
13621 /usr/local/include/X11R5
13622 /usr/local/include/X11R4
13624 /opt/X11/include
13626 /usr/X386/include
13627 /usr/x386/include
13628 /usr/XFree86/include/X11
13630 /usr/include
13631 /usr/local/include
13632 /usr/unsupported/include
13633 /usr/athena/include
13634 /usr/local/x11r5/include
13635 /usr/lpp/Xamples/include
13637 /usr/openwin/include
13638 /usr/openwin/share/include'
13640 if test "$ac_x_includes" = no; then
13641 # Guess where to find include files, by looking for Xlib.h.
13642 # First, try using that file with no special directory specified.
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <X11/Xlib.h>
13646 _ACEOF
13647 if ac_fn_c_try_cpp "$LINENO"
13648 then :
13649 # We can compile using X headers with no special include directory.
13650 ac_x_includes=
13651 else $as_nop
13652 for ac_dir in $ac_x_header_dirs; do
13653 if test -r "$ac_dir/X11/Xlib.h"; then
13654 ac_x_includes=$ac_dir
13655 break
13657 done
13659 rm -f conftest.err conftest.i conftest.$ac_ext
13660 fi # $ac_x_includes = no
13662 if test "$ac_x_libraries" = no; then
13663 # Check for the libraries.
13664 # See if we find them without any special options.
13665 # Don't add to $LIBS permanently.
13666 ac_save_LIBS=$LIBS
13667 LIBS="-lX11 $LIBS"
13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 #include <X11/Xlib.h>
13672 main (void)
13674 XrmInitialize ()
13676 return 0;
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"
13680 then :
13681 LIBS=$ac_save_LIBS
13682 # We can link X programs with no special library path.
13683 ac_x_libraries=
13684 else $as_nop
13685 LIBS=$ac_save_LIBS
13686 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13688 # Don't even attempt the hair of trying to link an X program!
13689 for ac_extension in a so sl dylib la dll; do
13690 if test -r "$ac_dir/libX11.$ac_extension"; then
13691 ac_x_libraries=$ac_dir
13692 break 2
13694 done
13695 done
13697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13698 conftest$ac_exeext conftest.$ac_ext
13699 fi # $ac_x_libraries = no
13702 # Record the results.
13703 case $ac_x_includes,$ac_x_libraries in #(
13704 no,* | *,no | *\'*) :
13705 # Didn't find X, or a directory has "'" in its name.
13706 ac_cv_have_x="have_x=no" ;; #(
13707 *) :
13708 # Record where we found X for the cache.
13709 ac_cv_have_x="have_x=yes\
13710 ac_x_includes='$ac_x_includes'\
13711 ac_x_libraries='$ac_x_libraries'" ;;
13712 esac
13714 ;; #(
13715 *) have_x=yes;;
13716 esac
13717 eval "$ac_cv_have_x"
13718 fi # $with_x != no
13720 if test "$have_x" != yes; then
13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13722 printf "%s\n" "$have_x" >&6; }
13723 no_x=yes
13724 else
13725 # If each of the values was on the command line, it overrides each guess.
13726 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13727 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13728 # Update the cache value to reflect the command line values.
13729 ac_cv_have_x="have_x=yes\
13730 ac_x_includes='$x_includes'\
13731 ac_x_libraries='$x_libraries'"
13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13733 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13736 if test "$no_x" = yes; then
13737 # Not all programs may use this symbol, but it does not hurt to define it.
13739 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13741 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13742 else
13743 if test -n "$x_includes"; then
13744 X_CFLAGS="$X_CFLAGS -I$x_includes"
13747 # It would also be nice to do this for all -L options, not just this one.
13748 if test -n "$x_libraries"; then
13749 X_LIBS="$X_LIBS -L$x_libraries"
13750 # For Solaris; some versions of Sun CC require a space after -R and
13751 # others require no space. Words are not sufficient . . . .
13752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13753 printf %s "checking whether -R must be followed by a space... " >&6; }
13754 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13755 ac_xsave_c_werror_flag=$ac_c_werror_flag
13756 ac_c_werror_flag=yes
13757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13761 main (void)
13765 return 0;
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"
13769 then :
13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13771 printf "%s\n" "no" >&6; }
13772 X_LIBS="$X_LIBS -R$x_libraries"
13773 else $as_nop
13774 LIBS="$ac_xsave_LIBS -R $x_libraries"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13779 main (void)
13783 return 0;
13785 _ACEOF
13786 if ac_fn_c_try_link "$LINENO"
13787 then :
13788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13789 printf "%s\n" "yes" >&6; }
13790 X_LIBS="$X_LIBS -R $x_libraries"
13791 else $as_nop
13792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13793 printf "%s\n" "neither works" >&6; }
13795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13796 conftest$ac_exeext conftest.$ac_ext
13798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13799 conftest$ac_exeext conftest.$ac_ext
13800 ac_c_werror_flag=$ac_xsave_c_werror_flag
13801 LIBS=$ac_xsave_LIBS
13804 # Check for system-dependent libraries X programs must link with.
13805 # Do this before checking for the system-independent R6 libraries
13806 # (-lICE), since we may need -lsocket or whatever for X linking.
13808 if test "$ISC" = yes; then
13809 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13810 else
13811 # Martyn Johnson says this is needed for Ultrix, if the X
13812 # libraries were built with DECnet support. And Karl Berry says
13813 # the Alpha needs dnet_stub (dnet does not exist).
13814 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 char XOpenDisplay ();
13823 main (void)
13825 return XOpenDisplay ();
13827 return 0;
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"
13831 then :
13833 else $as_nop
13834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13835 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13836 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13837 then :
13838 printf %s "(cached) " >&6
13839 else $as_nop
13840 ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-ldnet $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 char dnet_ntoa ();
13850 main (void)
13852 return dnet_ntoa ();
13854 return 0;
13856 _ACEOF
13857 if ac_fn_c_try_link "$LINENO"
13858 then :
13859 ac_cv_lib_dnet_dnet_ntoa=yes
13860 else $as_nop
13861 ac_cv_lib_dnet_dnet_ntoa=no
13863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_lib_save_LIBS
13867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13868 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13869 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13870 then :
13871 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13874 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13876 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13877 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13878 then :
13879 printf %s "(cached) " >&6
13880 else $as_nop
13881 ac_check_lib_save_LIBS=$LIBS
13882 LIBS="-ldnet_stub $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13889 char dnet_ntoa ();
13891 main (void)
13893 return dnet_ntoa ();
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"
13899 then :
13900 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13901 else $as_nop
13902 ac_cv_lib_dnet_stub_dnet_ntoa=no
13904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13905 conftest$ac_exeext conftest.$ac_ext
13906 LIBS=$ac_check_lib_save_LIBS
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13909 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13910 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13911 then :
13912 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13918 conftest$ac_exeext conftest.$ac_ext
13919 LIBS="$ac_xsave_LIBS"
13921 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13922 # to get the SysV transport functions.
13923 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13924 # needs -lnsl.
13925 # The nsl library prevents programs from opening the X display
13926 # on Irix 5.2, according to T.E. Dickey.
13927 # The functions gethostbyname, getservbyname, and inet_addr are
13928 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13929 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13930 if test "x$ac_cv_func_gethostbyname" = xyes
13931 then :
13935 if test $ac_cv_func_gethostbyname = no; then
13936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13937 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13938 if test ${ac_cv_lib_nsl_gethostbyname+y}
13939 then :
13940 printf %s "(cached) " >&6
13941 else $as_nop
13942 ac_check_lib_save_LIBS=$LIBS
13943 LIBS="-lnsl $LIBS"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 char gethostbyname ();
13952 main (void)
13954 return gethostbyname ();
13956 return 0;
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"
13960 then :
13961 ac_cv_lib_nsl_gethostbyname=yes
13962 else $as_nop
13963 ac_cv_lib_nsl_gethostbyname=no
13965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13966 conftest$ac_exeext conftest.$ac_ext
13967 LIBS=$ac_check_lib_save_LIBS
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13970 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13971 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13972 then :
13973 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13976 if test $ac_cv_lib_nsl_gethostbyname = no; then
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13978 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13979 if test ${ac_cv_lib_bsd_gethostbyname+y}
13980 then :
13981 printf %s "(cached) " >&6
13982 else $as_nop
13983 ac_check_lib_save_LIBS=$LIBS
13984 LIBS="-lbsd $LIBS"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13988 /* Override any GCC internal prototype to avoid an error.
13989 Use char because int might match the return type of a GCC
13990 builtin and then its argument prototype would still apply. */
13991 char gethostbyname ();
13993 main (void)
13995 return gethostbyname ();
13997 return 0;
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"
14001 then :
14002 ac_cv_lib_bsd_gethostbyname=yes
14003 else $as_nop
14004 ac_cv_lib_bsd_gethostbyname=no
14006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14007 conftest$ac_exeext conftest.$ac_ext
14008 LIBS=$ac_check_lib_save_LIBS
14010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14011 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14012 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14013 then :
14014 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14020 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14021 # socket/setsockopt and other routines are undefined under SCO ODT
14022 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14023 # on later versions), says Simon Leinen: it contains gethostby*
14024 # variants that don't use the name server (or something). -lsocket
14025 # must be given before -lnsl if both are needed. We assume that
14026 # if connect needs -lnsl, so does gethostbyname.
14027 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14028 if test "x$ac_cv_func_connect" = xyes
14029 then :
14033 if test $ac_cv_func_connect = no; then
14034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14035 printf %s "checking for connect in -lsocket... " >&6; }
14036 if test ${ac_cv_lib_socket_connect+y}
14037 then :
14038 printf %s "(cached) " >&6
14039 else $as_nop
14040 ac_check_lib_save_LIBS=$LIBS
14041 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 char connect ();
14050 main (void)
14052 return connect ();
14054 return 0;
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"
14058 then :
14059 ac_cv_lib_socket_connect=yes
14060 else $as_nop
14061 ac_cv_lib_socket_connect=no
14063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_lib_save_LIBS
14067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14068 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14069 if test "x$ac_cv_lib_socket_connect" = xyes
14070 then :
14071 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14076 # Guillermo Gomez says -lposix is necessary on A/UX.
14077 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14078 if test "x$ac_cv_func_remove" = xyes
14079 then :
14083 if test $ac_cv_func_remove = no; then
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14085 printf %s "checking for remove in -lposix... " >&6; }
14086 if test ${ac_cv_lib_posix_remove+y}
14087 then :
14088 printf %s "(cached) " >&6
14089 else $as_nop
14090 ac_check_lib_save_LIBS=$LIBS
14091 LIBS="-lposix $LIBS"
14092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14098 char remove ();
14100 main (void)
14102 return remove ();
14104 return 0;
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"
14108 then :
14109 ac_cv_lib_posix_remove=yes
14110 else $as_nop
14111 ac_cv_lib_posix_remove=no
14113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14114 conftest$ac_exeext conftest.$ac_ext
14115 LIBS=$ac_check_lib_save_LIBS
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14118 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14119 if test "x$ac_cv_lib_posix_remove" = xyes
14120 then :
14121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14126 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14127 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14128 if test "x$ac_cv_func_shmat" = xyes
14129 then :
14133 if test $ac_cv_func_shmat = no; then
14134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14135 printf %s "checking for shmat in -lipc... " >&6; }
14136 if test ${ac_cv_lib_ipc_shmat+y}
14137 then :
14138 printf %s "(cached) " >&6
14139 else $as_nop
14140 ac_check_lib_save_LIBS=$LIBS
14141 LIBS="-lipc $LIBS"
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14148 char shmat ();
14150 main (void)
14152 return shmat ();
14154 return 0;
14156 _ACEOF
14157 if ac_fn_c_try_link "$LINENO"
14158 then :
14159 ac_cv_lib_ipc_shmat=yes
14160 else $as_nop
14161 ac_cv_lib_ipc_shmat=no
14163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14164 conftest$ac_exeext conftest.$ac_ext
14165 LIBS=$ac_check_lib_save_LIBS
14167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14168 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14169 if test "x$ac_cv_lib_ipc_shmat" = xyes
14170 then :
14171 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14177 # Check for libraries that X11R6 Xt/Xaw programs need.
14178 ac_save_LDFLAGS=$LDFLAGS
14179 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14180 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14181 # check for ICE first), but we must link in the order -lSM -lICE or
14182 # we get undefined symbols. So assume we have SM if we have ICE.
14183 # These have to be linked with before -lX11, unlike the other
14184 # libraries we check for below, so use a different variable.
14185 # John Interrante, Karl Berry
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14187 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14188 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14189 then :
14190 printf %s "(cached) " >&6
14191 else $as_nop
14192 ac_check_lib_save_LIBS=$LIBS
14193 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 char IceConnectionNumber ();
14202 main (void)
14204 return IceConnectionNumber ();
14206 return 0;
14208 _ACEOF
14209 if ac_fn_c_try_link "$LINENO"
14210 then :
14211 ac_cv_lib_ICE_IceConnectionNumber=yes
14212 else $as_nop
14213 ac_cv_lib_ICE_IceConnectionNumber=no
14215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14216 conftest$ac_exeext conftest.$ac_ext
14217 LIBS=$ac_check_lib_save_LIBS
14219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14220 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14221 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14222 then :
14223 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14226 LDFLAGS=$ac_save_LDFLAGS
14231 if test "$have_x" = "yes"
14232 then
14233 ac_save_CPPFLAGS="$CPPFLAGS"
14234 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14237 printf %s "checking for -lX11... " >&6; }
14238 if test ${ac_cv_lib_soname_X11+y}
14239 then :
14240 printf %s "(cached) " >&6
14241 else $as_nop
14242 ac_check_soname_save_LIBS=$LIBS
14243 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 /* Override any GCC internal prototype to avoid an error.
14248 Use char because int might match the return type of a GCC
14249 builtin and then its argument prototype would still apply. */
14250 char XCreateWindow ();
14252 main (void)
14254 return XCreateWindow ();
14256 return 0;
14258 _ACEOF
14259 if ac_fn_c_try_link "$LINENO"
14260 then :
14261 case "$LIBEXT" in
14262 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14263 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'` ;;
14264 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14265 if ${ac_cv_lib_soname_X11:+false} :
14266 then :
14267 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14268 fi ;;
14269 esac
14270 else $as_nop
14271 ac_cv_lib_soname_X11=
14273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14274 conftest$ac_exeext conftest.$ac_ext
14275 LIBS=$ac_check_soname_save_LIBS
14277 if ${ac_cv_lib_soname_X11:+false} :
14278 then :
14279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14280 printf "%s\n" "not found" >&6; }
14282 else $as_nop
14283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14284 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14286 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14291 printf %s "checking for -lXext... " >&6; }
14292 if test ${ac_cv_lib_soname_Xext+y}
14293 then :
14294 printf %s "(cached) " >&6
14295 else $as_nop
14296 ac_check_soname_save_LIBS=$LIBS
14297 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14304 char XextCreateExtension ();
14306 main (void)
14308 return XextCreateExtension ();
14310 return 0;
14312 _ACEOF
14313 if ac_fn_c_try_link "$LINENO"
14314 then :
14315 case "$LIBEXT" in
14316 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14317 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'` ;;
14318 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14319 if ${ac_cv_lib_soname_Xext:+false} :
14320 then :
14321 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14322 fi ;;
14323 esac
14324 else $as_nop
14325 ac_cv_lib_soname_Xext=
14327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14328 conftest$ac_exeext conftest.$ac_ext
14329 LIBS=$ac_check_soname_save_LIBS
14331 if ${ac_cv_lib_soname_Xext:+false} :
14332 then :
14333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14334 printf "%s\n" "not found" >&6; }
14336 else $as_nop
14337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14338 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14340 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14342 X_LIBS="$X_LIBS -lXext"
14344 X_LIBS="$X_LIBS -lX11"
14346 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14347 # include <X11/Xlib.h>
14348 #endif
14349 #ifdef HAVE_X11_XUTIL_H
14350 # include <X11/Xutil.h>
14351 #endif
14353 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14354 then :
14355 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14358 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14359 # include <X11/Xlib.h>
14360 #endif
14361 #ifdef HAVE_X11_XUTIL_H
14362 # include <X11/Xutil.h>
14363 #endif
14365 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14366 then :
14367 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14370 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14371 # include <X11/Xlib.h>
14372 #endif
14373 #ifdef HAVE_X11_XUTIL_H
14374 # include <X11/Xutil.h>
14375 #endif
14377 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14378 then :
14379 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14382 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14383 # include <X11/Xlib.h>
14384 #endif
14385 #ifdef HAVE_X11_XUTIL_H
14386 # include <X11/Xutil.h>
14387 #endif
14389 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14390 then :
14391 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14394 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14395 # include <X11/Xlib.h>
14396 #endif
14397 #ifdef HAVE_X11_XUTIL_H
14398 # include <X11/Xutil.h>
14399 #endif
14401 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14402 then :
14403 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14406 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14407 # include <X11/Xlib.h>
14408 #endif
14409 #ifdef HAVE_X11_XUTIL_H
14410 # include <X11/Xutil.h>
14411 #endif
14413 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14414 then :
14415 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14418 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14419 # include <X11/Xlib.h>
14420 #endif
14421 #ifdef HAVE_X11_XUTIL_H
14422 # include <X11/Xutil.h>
14423 #endif
14425 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14426 then :
14427 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14430 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14431 # include <X11/Xlib.h>
14432 #endif
14433 #ifdef HAVE_X11_XUTIL_H
14434 # include <X11/Xutil.h>
14435 #endif
14437 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14438 then :
14439 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14442 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14443 # include <X11/Xlib.h>
14444 #endif
14445 #ifdef HAVE_X11_XUTIL_H
14446 # include <X11/Xutil.h>
14447 #endif
14449 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14450 then :
14451 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14454 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14455 # include <X11/Xlib.h>
14456 #endif
14457 #ifdef HAVE_X11_XUTIL_H
14458 # include <X11/Xutil.h>
14459 #endif
14461 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14462 then :
14463 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14466 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14467 # include <X11/Xlib.h>
14468 #endif
14469 #ifdef HAVE_X11_XUTIL_H
14470 # include <X11/Xutil.h>
14471 #endif
14473 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14474 then :
14475 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14478 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14479 # include <X11/Xlib.h>
14480 #endif
14481 #ifdef HAVE_X11_XUTIL_H
14482 # include <X11/Xutil.h>
14483 #endif
14485 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14486 then :
14487 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14490 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14491 # include <X11/Xlib.h>
14492 #endif
14493 #ifdef HAVE_X11_XUTIL_H
14494 # include <X11/Xutil.h>
14495 #endif
14497 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14498 then :
14499 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14502 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14503 # include <X11/Xlib.h>
14504 #endif
14505 #ifdef HAVE_X11_XUTIL_H
14506 # include <X11/Xutil.h>
14507 #endif
14509 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14510 then :
14511 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14514 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14515 # include <X11/Xlib.h>
14516 #endif
14517 #ifdef HAVE_X11_XUTIL_H
14518 # include <X11/Xutil.h>
14519 #endif
14521 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14522 then :
14523 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14528 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14529 then
14530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14531 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14532 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14533 then :
14534 printf %s "(cached) " >&6
14535 else $as_nop
14536 ac_check_lib_save_LIBS=$LIBS
14537 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14544 char XkbQueryExtension ();
14546 main (void)
14548 return XkbQueryExtension ();
14550 return 0;
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"
14554 then :
14555 ac_cv_lib_X11_XkbQueryExtension=yes
14556 else $as_nop
14557 ac_cv_lib_X11_XkbQueryExtension=no
14559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14560 conftest$ac_exeext conftest.$ac_ext
14561 LIBS=$ac_check_lib_save_LIBS
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14564 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14565 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14566 then :
14568 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14574 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14575 then
14576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14577 printf %s "checking for -lXcursor... " >&6; }
14578 if test ${ac_cv_lib_soname_Xcursor+y}
14579 then :
14580 printf %s "(cached) " >&6
14581 else $as_nop
14582 ac_check_soname_save_LIBS=$LIBS
14583 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14590 char XcursorImageLoadCursor ();
14592 main (void)
14594 return XcursorImageLoadCursor ();
14596 return 0;
14598 _ACEOF
14599 if ac_fn_c_try_link "$LINENO"
14600 then :
14601 case "$LIBEXT" in
14602 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14603 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'` ;;
14604 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14605 if ${ac_cv_lib_soname_Xcursor:+false} :
14606 then :
14607 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14608 fi ;;
14609 esac
14610 else $as_nop
14611 ac_cv_lib_soname_Xcursor=
14613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14614 conftest$ac_exeext conftest.$ac_ext
14615 LIBS=$ac_check_soname_save_LIBS
14617 if ${ac_cv_lib_soname_Xcursor:+false} :
14618 then :
14619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14620 printf "%s\n" "not found" >&6; }
14622 else $as_nop
14623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14624 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14626 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14631 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14632 then :
14633 case "x$with_xcursor" in
14634 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14635 xno) ;;
14636 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14637 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14638 esac
14642 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14643 then
14644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14645 printf %s "checking for -lXi... " >&6; }
14646 if test ${ac_cv_lib_soname_Xi+y}
14647 then :
14648 printf %s "(cached) " >&6
14649 else $as_nop
14650 ac_check_soname_save_LIBS=$LIBS
14651 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14655 /* Override any GCC internal prototype to avoid an error.
14656 Use char because int might match the return type of a GCC
14657 builtin and then its argument prototype would still apply. */
14658 char XOpenDevice ();
14660 main (void)
14662 return XOpenDevice ();
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"
14668 then :
14669 case "$LIBEXT" in
14670 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14671 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'` ;;
14672 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14673 if ${ac_cv_lib_soname_Xi:+false} :
14674 then :
14675 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14676 fi ;;
14677 esac
14678 else $as_nop
14679 ac_cv_lib_soname_Xi=
14681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14682 conftest$ac_exeext conftest.$ac_ext
14683 LIBS=$ac_check_soname_save_LIBS
14685 if ${ac_cv_lib_soname_Xi:+false} :
14686 then :
14687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14688 printf "%s\n" "not found" >&6; }
14690 else $as_nop
14691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14692 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14694 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14699 if test "x$ac_cv_lib_soname_Xi" = "x"
14700 then :
14701 case "x$with_xinput" in
14702 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14703 xno) ;;
14704 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14705 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14706 esac
14710 if test "x$ac_cv_lib_soname_Xi" != x
14711 then
14712 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14713 then :
14714 case "x$with_xinput2" in
14715 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14716 xno) ;;
14717 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14718 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14719 esac
14724 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14725 then
14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14727 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14728 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14729 then :
14730 printf %s "(cached) " >&6
14731 else $as_nop
14732 ac_check_lib_save_LIBS=$LIBS
14733 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14737 /* Override any GCC internal prototype to avoid an error.
14738 Use char because int might match the return type of a GCC
14739 builtin and then its argument prototype would still apply. */
14740 char XShmQueryExtension ();
14742 main (void)
14744 return XShmQueryExtension ();
14746 return 0;
14748 _ACEOF
14749 if ac_fn_c_try_link "$LINENO"
14750 then :
14751 ac_cv_lib_Xext_XShmQueryExtension=yes
14752 else $as_nop
14753 ac_cv_lib_Xext_XShmQueryExtension=no
14755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14756 conftest$ac_exeext conftest.$ac_ext
14757 LIBS=$ac_check_lib_save_LIBS
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14760 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14761 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14762 then :
14764 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14769 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14770 then :
14771 case "x$with_xshm" in
14772 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14773 xno) ;;
14774 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14775 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14776 esac
14780 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14781 then
14782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14783 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14784 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14785 then :
14786 printf %s "(cached) " >&6
14787 else $as_nop
14788 ac_check_lib_save_LIBS=$LIBS
14789 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14793 /* Override any GCC internal prototype to avoid an error.
14794 Use char because int might match the return type of a GCC
14795 builtin and then its argument prototype would still apply. */
14796 char XShapeQueryExtension ();
14798 main (void)
14800 return XShapeQueryExtension ();
14802 return 0;
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"
14806 then :
14807 ac_cv_lib_Xext_XShapeQueryExtension=yes
14808 else $as_nop
14809 ac_cv_lib_Xext_XShapeQueryExtension=no
14811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14812 conftest$ac_exeext conftest.$ac_ext
14813 LIBS=$ac_check_lib_save_LIBS
14815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14816 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14817 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14818 then :
14820 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14825 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14826 then :
14827 case "x$with_xshape" in
14828 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14829 xno) ;;
14830 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14831 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14832 esac
14836 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14837 then
14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14839 printf %s "checking for -lXxf86vm... " >&6; }
14840 if test ${ac_cv_lib_soname_Xxf86vm+y}
14841 then :
14842 printf %s "(cached) " >&6
14843 else $as_nop
14844 ac_check_soname_save_LIBS=$LIBS
14845 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 char XF86VidModeQueryExtension ();
14854 main (void)
14856 return XF86VidModeQueryExtension ();
14858 return 0;
14860 _ACEOF
14861 if ac_fn_c_try_link "$LINENO"
14862 then :
14863 case "$LIBEXT" in
14864 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14865 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'` ;;
14866 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14867 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14868 then :
14869 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14870 fi ;;
14871 esac
14872 else $as_nop
14873 ac_cv_lib_soname_Xxf86vm=
14875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_soname_save_LIBS
14879 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14880 then :
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14882 printf "%s\n" "not found" >&6; }
14884 else $as_nop
14885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14886 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14888 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14893 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14894 then :
14895 case "x$with_xxf86vm" in
14896 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14897 xno) ;;
14898 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14899 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14900 esac
14904 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14905 then
14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14907 printf %s "checking for -lXrender... " >&6; }
14908 if test ${ac_cv_lib_soname_Xrender+y}
14909 then :
14910 printf %s "(cached) " >&6
14911 else $as_nop
14912 ac_check_soname_save_LIBS=$LIBS
14913 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14917 /* Override any GCC internal prototype to avoid an error.
14918 Use char because int might match the return type of a GCC
14919 builtin and then its argument prototype would still apply. */
14920 char XRenderQueryExtension ();
14922 main (void)
14924 return XRenderQueryExtension ();
14926 return 0;
14928 _ACEOF
14929 if ac_fn_c_try_link "$LINENO"
14930 then :
14931 case "$LIBEXT" in
14932 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14933 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'` ;;
14934 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14935 if ${ac_cv_lib_soname_Xrender:+false} :
14936 then :
14937 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14938 fi ;;
14939 esac
14940 else $as_nop
14941 ac_cv_lib_soname_Xrender=
14943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14944 conftest$ac_exeext conftest.$ac_ext
14945 LIBS=$ac_check_soname_save_LIBS
14947 if ${ac_cv_lib_soname_Xrender:+false} :
14948 then :
14949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14950 printf "%s\n" "not found" >&6; }
14952 else $as_nop
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14954 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14956 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14959 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14960 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14961 then :
14962 printf %s "(cached) " >&6
14963 else $as_nop
14964 ac_check_lib_save_LIBS=$LIBS
14965 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14972 char XRenderSetPictureTransform ();
14974 main (void)
14976 return XRenderSetPictureTransform ();
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"
14982 then :
14983 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14984 else $as_nop
14985 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14988 conftest$ac_exeext conftest.$ac_ext
14989 LIBS=$ac_check_lib_save_LIBS
14991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14992 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14993 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14994 then :
14996 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15001 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15002 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15003 then :
15004 printf %s "(cached) " >&6
15005 else $as_nop
15006 ac_check_lib_save_LIBS=$LIBS
15007 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15014 char XRenderCreateLinearGradient ();
15016 main (void)
15018 return XRenderCreateLinearGradient ();
15020 return 0;
15022 _ACEOF
15023 if ac_fn_c_try_link "$LINENO"
15024 then :
15025 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15026 else $as_nop
15027 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_lib_save_LIBS
15033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15034 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15035 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15036 then :
15038 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15045 if test "x$ac_cv_lib_soname_Xrender" = "x"
15046 then :
15047 case "x$with_xrender" in
15048 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15049 xno) ;;
15050 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15051 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15052 esac
15056 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15057 then
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 #include <X11/Xlib.h>
15061 #include <X11/extensions/Xrandr.h>
15063 main (void)
15065 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_compile "$LINENO"
15071 then :
15072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15073 printf %s "checking for -lXrandr... " >&6; }
15074 if test ${ac_cv_lib_soname_Xrandr+y}
15075 then :
15076 printf %s "(cached) " >&6
15077 else $as_nop
15078 ac_check_soname_save_LIBS=$LIBS
15079 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15083 /* Override any GCC internal prototype to avoid an error.
15084 Use char because int might match the return type of a GCC
15085 builtin and then its argument prototype would still apply. */
15086 char XRRQueryExtension ();
15088 main (void)
15090 return XRRQueryExtension ();
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"
15096 then :
15097 case "$LIBEXT" in
15098 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15099 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'` ;;
15100 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15101 if ${ac_cv_lib_soname_Xrandr:+false} :
15102 then :
15103 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15104 fi ;;
15105 esac
15106 else $as_nop
15107 ac_cv_lib_soname_Xrandr=
15109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15110 conftest$ac_exeext conftest.$ac_ext
15111 LIBS=$ac_check_soname_save_LIBS
15113 if ${ac_cv_lib_soname_Xrandr:+false} :
15114 then :
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15116 printf "%s\n" "not found" >&6; }
15118 else $as_nop
15119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15120 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15122 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #include <X11/Xlib.h>
15127 #include <X11/extensions/Xrandr.h>
15129 main (void)
15131 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15133 return 0;
15135 _ACEOF
15136 if ac_fn_c_try_compile "$LINENO"
15137 then :
15139 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15141 else $as_nop
15142 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15149 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15150 then :
15151 case "x$with_xrandr" in
15152 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15153 xno) ;;
15154 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15155 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15156 esac
15160 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15161 then
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #include <X11/Xlib.h>
15165 #include <X11/extensions/Xfixes.h>
15167 main (void)
15169 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_compile "$LINENO"
15175 then :
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15177 printf %s "checking for -lXfixes... " >&6; }
15178 if test ${ac_cv_lib_soname_Xfixes+y}
15179 then :
15180 printf %s "(cached) " >&6
15181 else $as_nop
15182 ac_check_soname_save_LIBS=$LIBS
15183 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 char XFixesQueryVersion ();
15192 main (void)
15194 return XFixesQueryVersion ();
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"
15200 then :
15201 case "$LIBEXT" in
15202 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15203 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'` ;;
15204 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15205 if ${ac_cv_lib_soname_Xfixes:+false} :
15206 then :
15207 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15208 fi ;;
15209 esac
15210 else $as_nop
15211 ac_cv_lib_soname_Xfixes=
15213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_soname_save_LIBS
15217 if ${ac_cv_lib_soname_Xfixes:+false} :
15218 then :
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15220 printf "%s\n" "not found" >&6; }
15222 else $as_nop
15223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15224 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15226 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15233 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15234 then :
15235 case "x$with_xfixes" in
15236 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15237 xno) ;;
15238 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15239 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15240 esac
15244 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15245 then
15246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15248 #include <X11/Xlib.h>
15249 #include <X11/extensions/Xinerama.h>
15251 main (void)
15253 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15255 return 0;
15257 _ACEOF
15258 if ac_fn_c_try_compile "$LINENO"
15259 then :
15260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15261 printf %s "checking for -lXinerama... " >&6; }
15262 if test ${ac_cv_lib_soname_Xinerama+y}
15263 then :
15264 printf %s "(cached) " >&6
15265 else $as_nop
15266 ac_check_soname_save_LIBS=$LIBS
15267 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15274 char XineramaQueryScreens ();
15276 main (void)
15278 return XineramaQueryScreens ();
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"
15284 then :
15285 case "$LIBEXT" in
15286 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15287 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'` ;;
15288 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15289 if ${ac_cv_lib_soname_Xinerama:+false} :
15290 then :
15291 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15292 fi ;;
15293 esac
15294 else $as_nop
15295 ac_cv_lib_soname_Xinerama=
15297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15298 conftest$ac_exeext conftest.$ac_ext
15299 LIBS=$ac_check_soname_save_LIBS
15301 if ${ac_cv_lib_soname_Xinerama:+false} :
15302 then :
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15304 printf "%s\n" "not found" >&6; }
15306 else $as_nop
15307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15308 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15310 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15317 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15318 then :
15319 case "x$with_xinerama" in
15320 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15321 xno) ;;
15322 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15323 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15324 esac
15328 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15329 then
15330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15331 printf %s "checking for -lXcomposite... " >&6; }
15332 if test ${ac_cv_lib_soname_Xcomposite+y}
15333 then :
15334 printf %s "(cached) " >&6
15335 else $as_nop
15336 ac_check_soname_save_LIBS=$LIBS
15337 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15341 /* Override any GCC internal prototype to avoid an error.
15342 Use char because int might match the return type of a GCC
15343 builtin and then its argument prototype would still apply. */
15344 char XCompositeRedirectWindow ();
15346 main (void)
15348 return XCompositeRedirectWindow ();
15350 return 0;
15352 _ACEOF
15353 if ac_fn_c_try_link "$LINENO"
15354 then :
15355 case "$LIBEXT" in
15356 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15357 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'` ;;
15358 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15359 if ${ac_cv_lib_soname_Xcomposite:+false} :
15360 then :
15361 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15362 fi ;;
15363 esac
15364 else $as_nop
15365 ac_cv_lib_soname_Xcomposite=
15367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15368 conftest$ac_exeext conftest.$ac_ext
15369 LIBS=$ac_check_soname_save_LIBS
15371 if ${ac_cv_lib_soname_Xcomposite:+false} :
15372 then :
15373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15374 printf "%s\n" "not found" >&6; }
15376 else $as_nop
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15378 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15380 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15385 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15386 then :
15387 case "x$with_xcomposite" in
15388 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15389 xno) ;;
15390 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15391 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15392 esac
15396 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15397 #include <X11/Xlib.h>
15398 #endif
15400 if test "x$ac_cv_member_XICCallback_callback" = xyes
15401 then :
15403 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15407 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15408 #include <X11/Xlib.h>
15409 #endif
15411 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15412 then :
15414 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15421 opengl_msg=""
15422 if test "x$with_opengl" != "xno"
15423 then
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15425 printf %s "checking for -lGL... " >&6; }
15426 if test ${ac_cv_lib_soname_GL+y}
15427 then :
15428 printf %s "(cached) " >&6
15429 else $as_nop
15430 ac_check_soname_save_LIBS=$LIBS
15431 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15435 /* Override any GCC internal prototype to avoid an error.
15436 Use char because int might match the return type of a GCC
15437 builtin and then its argument prototype would still apply. */
15438 char glXCreateContext ();
15440 main (void)
15442 return glXCreateContext ();
15444 return 0;
15446 _ACEOF
15447 if ac_fn_c_try_link "$LINENO"
15448 then :
15449 case "$LIBEXT" in
15450 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15451 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'` ;;
15452 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15453 if ${ac_cv_lib_soname_GL:+false} :
15454 then :
15455 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15456 fi ;;
15457 esac
15458 else $as_nop
15459 ac_cv_lib_soname_GL=
15461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15462 conftest$ac_exeext conftest.$ac_ext
15463 LIBS=$ac_check_soname_save_LIBS
15465 if ${ac_cv_lib_soname_GL:+false} :
15466 then :
15467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15468 printf "%s\n" "not found" >&6; }
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15470 printf %s "checking for -lGL... " >&6; }
15471 if test ${ac_cv_lib_soname_GL+y}
15472 then :
15473 printf %s "(cached) " >&6
15474 else $as_nop
15475 ac_check_soname_save_LIBS=$LIBS
15476 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"
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15483 char glXCreateContext ();
15485 main (void)
15487 return glXCreateContext ();
15489 return 0;
15491 _ACEOF
15492 if ac_fn_c_try_link "$LINENO"
15493 then :
15494 case "$LIBEXT" in
15495 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15496 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'` ;;
15497 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15498 if ${ac_cv_lib_soname_GL:+false} :
15499 then :
15500 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15501 fi ;;
15502 esac
15503 else $as_nop
15504 ac_cv_lib_soname_GL=
15506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15507 conftest$ac_exeext conftest.$ac_ext
15508 LIBS=$ac_check_soname_save_LIBS
15510 if ${ac_cv_lib_soname_GL:+false} :
15511 then :
15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15513 printf "%s\n" "not found" >&6; }
15514 if test -f /usr/X11R6/lib/libGL.a
15515 then
15516 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15517 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15518 else
15519 opengl_msg="No OpenGL library found on this system."
15521 else $as_nop
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15523 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15525 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15527 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"
15529 else $as_nop
15530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15531 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15533 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15535 OPENGL_LIBS="-lGL"
15537 if test "x$with_osmesa" != "xno"
15538 then
15539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15540 printf %s "checking for -lOSMesa... " >&6; }
15541 if test ${ac_cv_lib_soname_OSMesa+y}
15542 then :
15543 printf %s "(cached) " >&6
15544 else $as_nop
15545 ac_check_soname_save_LIBS=$LIBS
15546 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15553 char OSMesaGetProcAddress ();
15555 main (void)
15557 return OSMesaGetProcAddress ();
15559 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"
15563 then :
15564 case "$LIBEXT" in
15565 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15566 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'` ;;
15567 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15568 if ${ac_cv_lib_soname_OSMesa:+false} :
15569 then :
15570 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15571 fi ;;
15572 esac
15573 else $as_nop
15574 ac_cv_lib_soname_OSMesa=
15576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15577 conftest$ac_exeext conftest.$ac_ext
15578 LIBS=$ac_check_soname_save_LIBS
15580 if ${ac_cv_lib_soname_OSMesa:+false} :
15581 then :
15582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15583 printf "%s\n" "not found" >&6; }
15585 else $as_nop
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15587 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15589 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15593 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15594 then :
15595 case "x$with_osmesa" in
15596 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15597 xno) ;;
15598 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15599 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15600 esac
15605 if test -n "$opengl_msg"
15606 then :
15607 case "x$with_opengl" in
15608 x) as_fn_append wine_warnings "|$opengl_msg
15609 OpenGL and Direct3D won't be supported." ;;
15610 xno) ;;
15611 *) as_fn_error $? "$opengl_msg
15612 OpenGL and Direct3D won't be supported.
15613 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15614 esac
15618 CPPFLAGS="$ac_save_CPPFLAGS"
15619 else
15620 X_CFLAGS=""
15621 X_LIBS=""
15624 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15625 then
15626 if test "x$X_LIBS" = "x"
15627 then :
15628 case "x$with_x" in
15629 xno) ;;
15630 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15631 without X support, which probably isn't what you want. You will need
15632 to install ${notice_platform}development packages of Xlib at the very least.
15633 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15634 esac
15635 enable_winex11_drv=${enable_winex11_drv:-no}
15637 else
15638 if test "x$X_LIBS" = "x"
15639 then :
15640 case "x$with_x" in
15641 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15642 xno) ;;
15643 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15644 This is an error since --with-x was requested." "$LINENO" 5 ;;
15645 esac
15646 enable_winex11_drv=${enable_winex11_drv:-no}
15650 if test "$ac_cv_header_CL_cl_h" = "yes"
15651 then
15652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15653 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15654 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15655 then :
15656 printf %s "(cached) " >&6
15657 else $as_nop
15658 ac_check_lib_save_LIBS=$LIBS
15659 LIBS="-lOpenCL $LIBS"
15660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15663 /* Override any GCC internal prototype to avoid an error.
15664 Use char because int might match the return type of a GCC
15665 builtin and then its argument prototype would still apply. */
15666 char clGetPlatformInfo ();
15668 main (void)
15670 return clGetPlatformInfo ();
15672 return 0;
15674 _ACEOF
15675 if ac_fn_c_try_link "$LINENO"
15676 then :
15677 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15678 else $as_nop
15679 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15682 conftest$ac_exeext conftest.$ac_ext
15683 LIBS=$ac_check_lib_save_LIBS
15685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15686 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15687 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15688 then :
15689 OPENCL_LIBS="-lOpenCL"
15694 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15695 then :
15696 case "x$with_opencl" in
15697 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15698 xno) ;;
15699 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15700 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15701 esac
15702 enable_opencl=${enable_opencl:-no}
15705 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15706 then
15707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15708 printf %s "checking for pcap_create in -lpcap... " >&6; }
15709 if test ${ac_cv_lib_pcap_pcap_create+y}
15710 then :
15711 printf %s "(cached) " >&6
15712 else $as_nop
15713 ac_check_lib_save_LIBS=$LIBS
15714 LIBS="-lpcap $LIBS"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15718 /* Override any GCC internal prototype to avoid an error.
15719 Use char because int might match the return type of a GCC
15720 builtin and then its argument prototype would still apply. */
15721 char pcap_create ();
15723 main (void)
15725 return pcap_create ();
15727 return 0;
15729 _ACEOF
15730 if ac_fn_c_try_link "$LINENO"
15731 then :
15732 ac_cv_lib_pcap_pcap_create=yes
15733 else $as_nop
15734 ac_cv_lib_pcap_pcap_create=no
15736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15737 conftest$ac_exeext conftest.$ac_ext
15738 LIBS=$ac_check_lib_save_LIBS
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15741 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15742 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15743 then :
15744 PCAP_LIBS="-lpcap"
15749 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15750 then :
15751 case "x$with_pcap" in
15752 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15753 xno) ;;
15754 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15755 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15756 esac
15757 enable_wpcap=${enable_wpcap:-no}
15760 if test "x$with_inotify" != "xno"
15761 then
15762 rm -f conftest.err
15763 if ${INOTIFY_CFLAGS:+false} :
15764 then :
15765 if test ${PKG_CONFIG+y}
15766 then :
15767 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15771 if ${INOTIFY_LIBS:+false} :
15772 then :
15773 if test ${PKG_CONFIG+y}
15774 then :
15775 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15782 if test -s conftest.err; then
15783 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15784 cat conftest.err >&5
15786 rm -f conftest.err
15787 ac_save_CPPFLAGS=$CPPFLAGS
15788 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15789 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15790 if test "x$ac_cv_header_sys_inotify_h" = xyes
15791 then :
15792 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15797 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15798 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15799 then :
15800 printf %s "(cached) " >&6
15801 else $as_nop
15802 ac_check_lib_save_LIBS=$LIBS
15803 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15807 /* Override any GCC internal prototype to avoid an error.
15808 Use char because int might match the return type of a GCC
15809 builtin and then its argument prototype would still apply. */
15810 char inotify_add_watch ();
15812 main (void)
15814 return inotify_add_watch ();
15816 return 0;
15818 _ACEOF
15819 if ac_fn_c_try_link "$LINENO"
15820 then :
15821 ac_cv_lib_inotify_inotify_add_watch=yes
15822 else $as_nop
15823 ac_cv_lib_inotify_inotify_add_watch=no
15825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15826 conftest$ac_exeext conftest.$ac_ext
15827 LIBS=$ac_check_lib_save_LIBS
15829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15830 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15831 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15832 then :
15834 else $as_nop
15835 INOTIFY_LIBS=""
15838 CPPFLAGS=$ac_save_CPPFLAGS
15841 if test "$ac_cv_header_sys_inotify_h" != "yes"
15842 then :
15843 case "x$with_inotify" in
15844 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15845 xno) ;;
15846 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15847 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15848 esac
15852 if test "x$with_dbus" != "xno"
15853 then
15854 rm -f conftest.err
15855 if ${DBUS_CFLAGS:+false} :
15856 then :
15857 if test ${PKG_CONFIG+y}
15858 then :
15859 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15863 if ${DBUS_LIBS:+false} :
15864 then :
15865 if test ${PKG_CONFIG+y}
15866 then :
15867 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15874 if test -s conftest.err; then
15875 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15876 cat conftest.err >&5
15878 rm -f conftest.err
15879 ac_save_CPPFLAGS=$CPPFLAGS
15880 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15881 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15883 then :
15884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15885 printf %s "checking for -ldbus-1... " >&6; }
15886 if test ${ac_cv_lib_soname_dbus_1+y}
15887 then :
15888 printf %s "(cached) " >&6
15889 else $as_nop
15890 ac_check_soname_save_LIBS=$LIBS
15891 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15898 char dbus_connection_close ();
15900 main (void)
15902 return dbus_connection_close ();
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"
15908 then :
15909 case "$LIBEXT" in
15910 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15911 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'` ;;
15912 *) 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'`
15913 if ${ac_cv_lib_soname_dbus_1:+false} :
15914 then :
15915 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15916 fi ;;
15917 esac
15918 else $as_nop
15919 ac_cv_lib_soname_dbus_1=
15921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15922 conftest$ac_exeext conftest.$ac_ext
15923 LIBS=$ac_check_soname_save_LIBS
15925 if ${ac_cv_lib_soname_dbus_1:+false} :
15926 then :
15927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15928 printf "%s\n" "not found" >&6; }
15929 DBUS_CFLAGS=""
15930 else $as_nop
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15932 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15934 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15938 else $as_nop
15939 DBUS_CFLAGS=""
15942 CPPFLAGS=$ac_save_CPPFLAGS
15945 case $host_os in
15946 darwin*|macosx*) ;;
15947 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15948 then :
15949 case "x$with_dbus" in
15950 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15951 xno) ;;
15952 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15953 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15954 esac
15956 fi ;;
15957 esac
15959 if test "x$with_gnutls" != "xno"
15960 then
15961 rm -f conftest.err
15962 if ${GNUTLS_CFLAGS:+false} :
15963 then :
15964 if test ${PKG_CONFIG+y}
15965 then :
15966 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15970 if ${GNUTLS_LIBS:+false} :
15971 then :
15972 if test ${PKG_CONFIG+y}
15973 then :
15974 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15978 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15981 if test -s conftest.err; then
15982 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15983 cat conftest.err >&5
15985 rm -f conftest.err
15986 ac_save_CPPFLAGS=$CPPFLAGS
15987 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15988 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15989 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15990 then :
15991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15993 #include <gnutls/gnutls.h>
15994 #include <gnutls/crypto.h>
15996 main (void)
15998 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16000 return 0;
16002 _ACEOF
16003 if ac_fn_c_try_compile "$LINENO"
16004 then :
16005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16006 printf %s "checking for -lgnutls... " >&6; }
16007 if test ${ac_cv_lib_soname_gnutls+y}
16008 then :
16009 printf %s "(cached) " >&6
16010 else $as_nop
16011 ac_check_soname_save_LIBS=$LIBS
16012 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16016 /* Override any GCC internal prototype to avoid an error.
16017 Use char because int might match the return type of a GCC
16018 builtin and then its argument prototype would still apply. */
16019 char gnutls_global_init ();
16021 main (void)
16023 return gnutls_global_init ();
16025 return 0;
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"
16029 then :
16030 case "$LIBEXT" in
16031 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16032 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'` ;;
16033 *) 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'`
16034 if ${ac_cv_lib_soname_gnutls:+false} :
16035 then :
16036 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'`
16037 fi ;;
16038 esac
16039 else $as_nop
16040 ac_cv_lib_soname_gnutls=
16042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16043 conftest$ac_exeext conftest.$ac_ext
16044 LIBS=$ac_check_soname_save_LIBS
16046 if ${ac_cv_lib_soname_gnutls:+false} :
16047 then :
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16049 printf "%s\n" "not found" >&6; }
16050 GNUTLS_CFLAGS=""
16051 else $as_nop
16052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16053 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16055 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16059 ac_wine_check_funcs_save_LIBS="$LIBS"
16060 LIBS="$LIBS $GNUTLS_LIBS"
16062 for ac_func in gnutls_cipher_init
16063 do :
16064 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16065 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16066 then :
16067 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16069 else $as_nop
16070 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16073 done
16074 LIBS="$ac_wine_check_funcs_save_LIBS"
16076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16077 else $as_nop
16078 GNUTLS_CFLAGS=""
16081 CPPFLAGS=$ac_save_CPPFLAGS
16084 if test "x$ac_cv_lib_soname_gnutls" = "x"
16085 then :
16086 case "x$with_gnutls" in
16087 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16088 xno) ;;
16089 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16090 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16091 esac
16095 if test "x$with_sane" != "xno"
16096 then
16097 rm -f conftest.err
16098 if ${SANE_CFLAGS:+false} :
16099 then :
16100 if test ${PKG_CONFIG+y}
16101 then :
16102 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16105 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16106 if ${SANE_LIBS:+false} :
16107 then :
16108 if test ${PKG_CONFIG+y}
16109 then :
16110 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16113 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16117 if test -s conftest.err; then
16118 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16119 cat conftest.err >&5
16121 rm -f conftest.err
16122 ac_save_CPPFLAGS=$CPPFLAGS
16123 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16124 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16125 if test "x$ac_cv_header_sane_sane_h" = xyes
16126 then :
16127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16128 printf %s "checking for sane_init in -lsane... " >&6; }
16129 if test ${ac_cv_lib_sane_sane_init+y}
16130 then :
16131 printf %s "(cached) " >&6
16132 else $as_nop
16133 ac_check_lib_save_LIBS=$LIBS
16134 LIBS="-lsane $SANE_LIBS $LIBS"
16135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16138 /* Override any GCC internal prototype to avoid an error.
16139 Use char because int might match the return type of a GCC
16140 builtin and then its argument prototype would still apply. */
16141 char sane_init ();
16143 main (void)
16145 return sane_init ();
16147 return 0;
16149 _ACEOF
16150 if ac_fn_c_try_link "$LINENO"
16151 then :
16152 ac_cv_lib_sane_sane_init=yes
16153 else $as_nop
16154 ac_cv_lib_sane_sane_init=no
16156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16157 conftest$ac_exeext conftest.$ac_ext
16158 LIBS=$ac_check_lib_save_LIBS
16160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16161 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16162 if test "x$ac_cv_lib_sane_sane_init" = xyes
16163 then :
16169 CPPFLAGS=$ac_save_CPPFLAGS
16172 if test "$ac_cv_lib_sane_sane_init" != "yes"
16173 then :
16174 case "x$with_sane" in
16175 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16176 xno) ;;
16177 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16178 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16179 esac
16180 enable_sane_ds=${enable_sane_ds:-no}
16183 if test "x$with_usb" != "xno"
16184 then
16185 rm -f conftest.err
16186 if ${USB_CFLAGS:+false} :
16187 then :
16188 if test ${PKG_CONFIG+y}
16189 then :
16190 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16194 if ${USB_LIBS:+false} :
16195 then :
16196 if test ${PKG_CONFIG+y}
16197 then :
16198 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16202 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16205 if test -s conftest.err; then
16206 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16207 cat conftest.err >&5
16209 rm -f conftest.err
16210 ac_save_CPPFLAGS=$CPPFLAGS
16211 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16212 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16213 if test "x$ac_cv_header_libusb_h" = xyes
16214 then :
16215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16216 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16217 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16218 then :
16219 printf %s "(cached) " >&6
16220 else $as_nop
16221 ac_check_lib_save_LIBS=$LIBS
16222 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16226 /* Override any GCC internal prototype to avoid an error.
16227 Use char because int might match the return type of a GCC
16228 builtin and then its argument prototype would still apply. */
16229 char libusb_interrupt_event_handler ();
16231 main (void)
16233 return libusb_interrupt_event_handler ();
16235 return 0;
16237 _ACEOF
16238 if ac_fn_c_try_link "$LINENO"
16239 then :
16240 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16241 else $as_nop
16242 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16245 conftest$ac_exeext conftest.$ac_ext
16246 LIBS=$ac_check_lib_save_LIBS
16248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16249 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16250 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16251 then :
16253 else $as_nop
16254 USB_LIBS=""
16257 else $as_nop
16258 USB_LIBS=""
16261 CPPFLAGS=$ac_save_CPPFLAGS
16264 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16265 then :
16266 case "x$with_usb" in
16267 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16268 xno) ;;
16269 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16270 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16271 esac
16272 enable_wineusb_sys=${enable_wineusb_sys:-no}
16275 if test "x$with_v4l2" != "xno"
16276 then
16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16278 printf %s "checking for -lv4l2... " >&6; }
16279 if test ${ac_cv_lib_soname_v4l2+y}
16280 then :
16281 printf %s "(cached) " >&6
16282 else $as_nop
16283 ac_check_soname_save_LIBS=$LIBS
16284 LIBS="-lv4l2 $LIBS"
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 char v4l2_open ();
16293 main (void)
16295 return v4l2_open ();
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_link "$LINENO"
16301 then :
16302 case "$LIBEXT" in
16303 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16304 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'` ;;
16305 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16306 if ${ac_cv_lib_soname_v4l2:+false} :
16307 then :
16308 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16309 fi ;;
16310 esac
16311 else $as_nop
16312 ac_cv_lib_soname_v4l2=
16314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16315 conftest$ac_exeext conftest.$ac_ext
16316 LIBS=$ac_check_soname_save_LIBS
16318 if ${ac_cv_lib_soname_v4l2:+false} :
16319 then :
16320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16321 printf "%s\n" "not found" >&6; }
16323 else $as_nop
16324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16325 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16327 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16332 if test "x$ac_cv_lib_soname_v4l2" = "x"
16333 then :
16334 case "x$with_v4l2" in
16335 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16336 xno) ;;
16337 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16338 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16339 esac
16343 if test "x$with_gphoto" != "xno"
16344 then
16345 rm -f conftest.err
16346 if ${GPHOTO2_CFLAGS:+false} :
16347 then :
16348 if test ${PKG_CONFIG+y}
16349 then :
16350 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16353 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16354 if ${GPHOTO2_LIBS:+false} :
16355 then :
16356 if test ${PKG_CONFIG+y}
16357 then :
16358 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16361 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16362 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16365 if test -s conftest.err; then
16366 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16367 cat conftest.err >&5
16369 rm -f conftest.err
16370 ac_save_CPPFLAGS=$CPPFLAGS
16371 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16372 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16373 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16374 then :
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16376 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16377 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16378 then :
16379 printf %s "(cached) " >&6
16380 else $as_nop
16381 ac_check_lib_save_LIBS=$LIBS
16382 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16389 char gp_camera_new ();
16391 main (void)
16393 return gp_camera_new ();
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"
16399 then :
16400 ac_cv_lib_gphoto2_gp_camera_new=yes
16401 else $as_nop
16402 ac_cv_lib_gphoto2_gp_camera_new=no
16404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16405 conftest$ac_exeext conftest.$ac_ext
16406 LIBS=$ac_check_lib_save_LIBS
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16409 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16410 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16411 then :
16417 CPPFLAGS=$ac_save_CPPFLAGS
16419 rm -f conftest.err
16420 if ${GPHOTO2_PORT_CFLAGS:+false} :
16421 then :
16422 if test ${PKG_CONFIG+y}
16423 then :
16424 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16427 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16428 if ${GPHOTO2_PORT_LIBS:+false} :
16429 then :
16430 if test ${PKG_CONFIG+y}
16431 then :
16432 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16435 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16436 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16439 if test -s conftest.err; then
16440 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16441 cat conftest.err >&5
16443 rm -f conftest.err
16444 ac_save_CPPFLAGS=$CPPFLAGS
16445 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16446 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16447 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16448 then :
16449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16450 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16451 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16452 then :
16453 printf %s "(cached) " >&6
16454 else $as_nop
16455 ac_check_lib_save_LIBS=$LIBS
16456 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16460 /* Override any GCC internal prototype to avoid an error.
16461 Use char because int might match the return type of a GCC
16462 builtin and then its argument prototype would still apply. */
16463 char gp_port_info_list_new ();
16465 main (void)
16467 return gp_port_info_list_new ();
16469 return 0;
16471 _ACEOF
16472 if ac_fn_c_try_link "$LINENO"
16473 then :
16474 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16475 else $as_nop
16476 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16479 conftest$ac_exeext conftest.$ac_ext
16480 LIBS=$ac_check_lib_save_LIBS
16482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16483 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16484 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16485 then :
16487 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16489 else $as_nop
16490 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16493 else $as_nop
16494 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16497 CPPFLAGS=$ac_save_CPPFLAGS
16500 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16501 then :
16502 case "x$with_gphoto" in
16503 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16504 xno) ;;
16505 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16506 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16507 esac
16508 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16510 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16511 then :
16512 case "x$with_gphoto" in
16513 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16514 xno) ;;
16515 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16516 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16517 esac
16522 if test "$ac_cv_header_resolv_h" = "yes"
16523 then
16524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16525 printf %s "checking for resolver library... " >&6; }
16526 if test ${ac_cv_have_resolv+y}
16527 then :
16528 printf %s "(cached) " >&6
16529 else $as_nop
16530 ac_save_LIBS="$LIBS"
16531 for lib in '' -lresolv
16533 LIBS="$lib $ac_save_LIBS"
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #ifdef HAVE_NETINET_IN_H
16537 #include <netinet/in.h>
16538 #endif
16539 #include <resolv.h>
16541 main (void)
16543 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"
16549 then :
16550 ac_cv_have_resolv=${lib:-"none required"}
16551 else $as_nop
16552 ac_cv_have_resolv="not found"
16554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16555 conftest$ac_exeext conftest.$ac_ext
16556 test "x$ac_cv_have_resolv" = "xnot found" || break
16557 done
16558 LIBS="$ac_save_LIBS"
16560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16561 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16563 case "$ac_cv_have_resolv" in
16564 "not found") ;;
16565 "none required")
16567 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16570 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16572 RESOLV_LIBS=$ac_cv_have_resolv
16574 esac
16576 if test "x$ac_cv_have_resolv" != "xnot found"
16577 then
16578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16579 printf %s "checking for res_getservers... " >&6; }
16580 if test ${ac_cv_have_res_getservers+y}
16581 then :
16582 printf %s "(cached) " >&6
16583 else $as_nop
16584 ac_save_LIBS="$LIBS"
16585 LIBS="$RESOLV_LIBS $LIBS"
16586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16588 #include <resolv.h>
16590 main (void)
16592 res_getservers(NULL, NULL, 0);
16594 return 0;
16596 _ACEOF
16597 if ac_fn_c_try_link "$LINENO"
16598 then :
16599 ac_cv_have_res_getservers=yes
16600 else $as_nop
16601 ac_cv_have_res_getservers=no
16603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS="$ac_save_LIBS"
16607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16608 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16609 if test "$ac_cv_have_res_getservers" = "yes"
16610 then
16612 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16618 if test "x$with_freetype" != "xno"
16619 then
16620 rm -f conftest.err
16621 if ${FREETYPE_CFLAGS:+false} :
16622 then :
16623 if test ${PKG_CONFIG+y}
16624 then :
16625 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16628 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16629 if ${FREETYPE_LIBS:+false} :
16630 then :
16631 if test ${PKG_CONFIG+y}
16632 then :
16633 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16636 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16637 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16640 if test -s conftest.err; then
16641 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16642 cat conftest.err >&5
16644 rm -f conftest.err
16645 ac_save_CPPFLAGS=$CPPFLAGS
16646 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16647 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16648 if test "x$ac_cv_header_ft2build_h" = xyes
16649 then :
16650 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16654 if test "$ac_cv_header_ft2build_h" = "yes"
16655 then
16656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16657 printf %s "checking for -lfreetype... " >&6; }
16658 if test ${ac_cv_lib_soname_freetype+y}
16659 then :
16660 printf %s "(cached) " >&6
16661 else $as_nop
16662 ac_check_soname_save_LIBS=$LIBS
16663 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16667 /* Override any GCC internal prototype to avoid an error.
16668 Use char because int might match the return type of a GCC
16669 builtin and then its argument prototype would still apply. */
16670 char FT_Init_FreeType ();
16672 main (void)
16674 return FT_Init_FreeType ();
16676 return 0;
16678 _ACEOF
16679 if ac_fn_c_try_link "$LINENO"
16680 then :
16681 case "$LIBEXT" in
16682 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16683 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'` ;;
16684 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16685 if ${ac_cv_lib_soname_freetype:+false} :
16686 then :
16687 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16688 fi ;;
16689 esac
16690 else $as_nop
16691 ac_cv_lib_soname_freetype=
16693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS=$ac_check_soname_save_LIBS
16697 if ${ac_cv_lib_soname_freetype:+false} :
16698 then :
16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16700 printf "%s\n" "not found" >&6; }
16701 FREETYPE_LIBS=""
16702 else $as_nop
16703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16704 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16706 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16709 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16711 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16712 #include FT_MODULE_H
16714 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16715 then :
16717 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16723 else
16724 FREETYPE_CFLAGS=""
16725 FREETYPE_LIBS=""
16727 CPPFLAGS=$ac_save_CPPFLAGS
16730 if test "x$ac_cv_lib_soname_freetype" = x
16731 then :
16732 case "x$with_freetype" in
16733 xno) ;;
16734 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16735 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16736 esac
16737 enable_fonts=${enable_fonts:-no}
16740 ac_wine_check_funcs_save_LIBS="$LIBS"
16741 LIBS="$LIBS $PTHREAD_LIBS"
16742 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16743 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16744 then :
16745 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16749 LIBS="$ac_wine_check_funcs_save_LIBS"
16751 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16752 then
16753 if test "$ac_cv_header_gettext_po_h" = "yes"
16754 then
16755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16756 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16757 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16758 then :
16759 printf %s "(cached) " >&6
16760 else $as_nop
16761 ac_check_lib_save_LIBS=$LIBS
16762 LIBS="-lgettextpo $LIBS"
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 /* Override any GCC internal prototype to avoid an error.
16767 Use char because int might match the return type of a GCC
16768 builtin and then its argument prototype would still apply. */
16769 char po_message_msgctxt ();
16771 main (void)
16773 return po_message_msgctxt ();
16775 return 0;
16777 _ACEOF
16778 if ac_fn_c_try_link "$LINENO"
16779 then :
16780 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16781 else $as_nop
16782 ac_cv_lib_gettextpo_po_message_msgctxt=no
16784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16785 conftest$ac_exeext conftest.$ac_ext
16786 LIBS=$ac_check_lib_save_LIBS
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16789 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16790 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16791 then :
16793 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16795 GETTEXTPO_LIBS="-lgettextpo"
16800 if test "x$GETTEXTPO_LIBS" = "x"
16801 then :
16802 case "x$with_gettextpo" in
16803 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16804 xno) ;;
16805 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16806 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16807 esac
16810 if test "$srcdir" != .
16811 then :
16812 case "x$with_gettextpo" in
16813 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16814 xno) ;;
16815 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16816 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16817 esac
16822 if test "x$with_pulse" != "xno";
16823 then
16824 rm -f conftest.err
16825 if ${PULSE_CFLAGS:+false} :
16826 then :
16827 if test ${PKG_CONFIG+y}
16828 then :
16829 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16833 if ${PULSE_LIBS:+false} :
16834 then :
16835 if test ${PKG_CONFIG+y}
16836 then :
16837 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16844 if test -s conftest.err; then
16845 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16846 cat conftest.err >&5
16848 rm -f conftest.err
16849 ac_save_CPPFLAGS=$CPPFLAGS
16850 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16851 for ac_header in pulse/pulseaudio.h
16852 do :
16853 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16854 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16855 then :
16856 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16858 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16859 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16860 then :
16861 printf %s "(cached) " >&6
16862 else $as_nop
16863 ac_check_lib_save_LIBS=$LIBS
16864 LIBS="-lpulse $PULSE_LIBS $LIBS"
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16868 /* Override any GCC internal prototype to avoid an error.
16869 Use char because int might match the return type of a GCC
16870 builtin and then its argument prototype would still apply. */
16871 char pa_stream_is_corked ();
16873 main (void)
16875 return pa_stream_is_corked ();
16877 return 0;
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"
16881 then :
16882 ac_cv_lib_pulse_pa_stream_is_corked=yes
16883 else $as_nop
16884 ac_cv_lib_pulse_pa_stream_is_corked=no
16886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16887 conftest$ac_exeext conftest.$ac_ext
16888 LIBS=$ac_check_lib_save_LIBS
16890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16891 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16892 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16893 then :
16895 else $as_nop
16896 PULSE_LIBS=""
16899 else $as_nop
16900 PULSE_LIBS=""
16903 done
16904 CPPFLAGS=$ac_save_CPPFLAGS
16907 if test -z "$PULSE_LIBS"
16908 then :
16909 case "x$with_pulse" in
16910 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16911 xno) ;;
16912 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16913 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16914 esac
16915 enable_winepulse_drv=${enable_winepulse_drv:-no}
16918 if test "x$with_gstreamer" != "xno"
16919 then
16920 rm -f conftest.err
16921 if ${GSTREAMER_CFLAGS:+false} :
16922 then :
16923 if test ${PKG_CONFIG+y}
16924 then :
16925 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16929 if ${GSTREAMER_LIBS:+false} :
16930 then :
16931 if test ${PKG_CONFIG+y}
16932 then :
16933 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16938 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
16939 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
16940 if test -s conftest.err; then
16941 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16942 cat conftest.err >&5
16944 rm -f conftest.err
16945 ac_save_CPPFLAGS=$CPPFLAGS
16946 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16947 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16948 if test "x$ac_cv_header_gst_gst_h" = xyes
16949 then :
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16951 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #include <gst/gst.h>
16956 main (void)
16958 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16960 return 0;
16962 _ACEOF
16963 if ac_fn_c_try_compile "$LINENO"
16964 then :
16965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16966 printf "%s\n" "yes" >&6; }
16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16968 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16969 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16970 then :
16971 printf %s "(cached) " >&6
16972 else $as_nop
16973 ac_check_lib_save_LIBS=$LIBS
16974 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16978 /* Override any GCC internal prototype to avoid an error.
16979 Use char because int might match the return type of a GCC
16980 builtin and then its argument prototype would still apply. */
16981 char gst_pad_new ();
16983 main (void)
16985 return gst_pad_new ();
16987 return 0;
16989 _ACEOF
16990 if ac_fn_c_try_link "$LINENO"
16991 then :
16992 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16993 else $as_nop
16994 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_lib_save_LIBS
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17001 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17002 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17003 then :
17007 else $as_nop
17008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17009 printf "%s\n" "no" >&6; }
17010 ac_glib2_broken=yes
17011 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17016 CPPFLAGS=$ac_save_CPPFLAGS
17019 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17020 then :
17021 case "x$with_gstreamer" in
17022 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17023 xno) ;;
17024 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17025 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17026 esac
17027 enable_winegstreamer=${enable_winegstreamer:-no}
17030 ALSA_LIBS=""
17032 if test "x$with_alsa" != "xno"
17033 then
17034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17035 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17036 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17037 then :
17038 printf %s "(cached) " >&6
17039 else $as_nop
17040 ac_check_lib_save_LIBS=$LIBS
17041 LIBS="-lasound $LIBS"
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17045 /* Override any GCC internal prototype to avoid an error.
17046 Use char because int might match the return type of a GCC
17047 builtin and then its argument prototype would still apply. */
17048 char snd_pcm_hw_params_get_access_mask ();
17050 main (void)
17052 return snd_pcm_hw_params_get_access_mask ();
17054 return 0;
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"
17058 then :
17059 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17060 else $as_nop
17061 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17064 conftest$ac_exeext conftest.$ac_ext
17065 LIBS=$ac_check_lib_save_LIBS
17067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17068 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17069 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17070 then :
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <alsa/asoundlib.h>
17075 main (void)
17077 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17079 return 0;
17081 _ACEOF
17082 if ac_fn_c_try_compile "$LINENO"
17083 then :
17084 ALSA_LIBS="-lasound"
17086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17090 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17092 if test "x$with_oss" != xno
17093 then
17094 ac_save_CPPFLAGS="$CPPFLAGS"
17095 if test -f /etc/oss.conf
17096 then
17097 . /etc/oss.conf
17099 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17100 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17101 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17102 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17103 then :
17104 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17106 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17107 then :
17109 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17111 OSS4_CFLAGS="$ac_oss_incl"
17113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17114 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17115 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17116 then :
17117 printf %s "(cached) " >&6
17118 else $as_nop
17119 ac_check_lib_save_LIBS=$LIBS
17120 LIBS="-lossaudio $LIBS"
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17124 /* Override any GCC internal prototype to avoid an error.
17125 Use char because int might match the return type of a GCC
17126 builtin and then its argument prototype would still apply. */
17127 char _oss_ioctl ();
17129 main (void)
17131 return _oss_ioctl ();
17133 return 0;
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"
17137 then :
17138 ac_cv_lib_ossaudio__oss_ioctl=yes
17139 else $as_nop
17140 ac_cv_lib_ossaudio__oss_ioctl=no
17142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17143 conftest$ac_exeext conftest.$ac_ext
17144 LIBS=$ac_check_lib_save_LIBS
17146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17147 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17148 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17149 then :
17150 OSS4_LIBS="-lossaudio"
17158 CPPFLAGS="$ac_save_CPPFLAGS"
17160 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17161 then :
17162 case "x$with_oss" in
17163 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17164 xno) ;;
17165 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17166 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17167 esac
17168 enable_wineoss_drv=${enable_wineoss_drv:-no}
17171 if test "x$with_udev" != "xno"
17172 then
17173 rm -f conftest.err
17174 if ${UDEV_CFLAGS:+false} :
17175 then :
17176 if test ${PKG_CONFIG+y}
17177 then :
17178 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17182 if ${UDEV_LIBS:+false} :
17183 then :
17184 if test ${PKG_CONFIG+y}
17185 then :
17186 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17190 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17193 if test -s conftest.err; then
17194 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17195 cat conftest.err >&5
17197 rm -f conftest.err
17198 ac_save_CPPFLAGS=$CPPFLAGS
17199 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17200 for ac_header in libudev.h
17201 do :
17202 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17203 if test "x$ac_cv_header_libudev_h" = xyes
17204 then :
17205 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17207 printf %s "checking for udev_new in -ludev... " >&6; }
17208 if test ${ac_cv_lib_udev_udev_new+y}
17209 then :
17210 printf %s "(cached) " >&6
17211 else $as_nop
17212 ac_check_lib_save_LIBS=$LIBS
17213 LIBS="-ludev $UDEV_LIBS $LIBS"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17217 /* Override any GCC internal prototype to avoid an error.
17218 Use char because int might match the return type of a GCC
17219 builtin and then its argument prototype would still apply. */
17220 char udev_new ();
17222 main (void)
17224 return udev_new ();
17226 return 0;
17228 _ACEOF
17229 if ac_fn_c_try_link "$LINENO"
17230 then :
17231 ac_cv_lib_udev_udev_new=yes
17232 else $as_nop
17233 ac_cv_lib_udev_udev_new=no
17235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17236 conftest$ac_exeext conftest.$ac_ext
17237 LIBS=$ac_check_lib_save_LIBS
17239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17240 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17241 if test "x$ac_cv_lib_udev_udev_new" = xyes
17242 then :
17244 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17246 else $as_nop
17247 UDEV_LIBS=""
17250 else $as_nop
17251 UDEV_LIBS=""
17254 done
17255 CPPFLAGS=$ac_save_CPPFLAGS
17258 if test "x$UDEV_LIBS" = "x"
17259 then :
17260 case "x$with_udev" in
17261 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17262 xno) ;;
17263 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17264 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17265 esac
17269 if test "x$with_unwind" != xno
17270 then
17271 rm -f conftest.err
17272 if ${UNWIND_CFLAGS:+false} :
17273 then :
17274 if test ${PKG_CONFIG+y}
17275 then :
17276 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17280 if ${UNWIND_LIBS:+false} :
17281 then :
17282 if test ${PKG_CONFIG+y}
17283 then :
17284 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17288 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17291 if test -s conftest.err; then
17292 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17293 cat conftest.err >&5
17295 rm -f conftest.err
17296 ac_save_CPPFLAGS=$CPPFLAGS
17297 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17299 printf %s "checking for unw_step... " >&6; }
17300 if test ${wine_cv_have_unw_step+y}
17301 then :
17302 printf %s "(cached) " >&6
17303 else $as_nop
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 #define UNW_LOCAL_ONLY
17307 #include <libunwind.h>
17309 main (void)
17311 unw_cursor_t cursor; unw_step( &cursor );
17313 return 0;
17315 _ACEOF
17316 if ac_fn_c_try_link "$LINENO"
17317 then :
17318 wine_cv_have_unw_step="yes"
17319 else $as_nop
17320 wine_cv_have_unw_step="no"
17322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17323 conftest$ac_exeext conftest.$ac_ext
17325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17326 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17327 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17328 then
17329 save_libs=$LIBS
17330 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17331 LIBS="$UNWIND_LIBS $LIBS"
17332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17333 printf %s "checking for unw_step in libunwind... " >&6; }
17334 if test ${wine_cv_have_libunwind_unw_step+y}
17335 then :
17336 printf %s "(cached) " >&6
17337 else $as_nop
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17340 #define UNW_LOCAL_ONLY
17341 #include <libunwind.h>
17343 main (void)
17345 unw_cursor_t cursor; unw_step( &cursor );
17347 return 0;
17349 _ACEOF
17350 if ac_fn_c_try_link "$LINENO"
17351 then :
17352 wine_cv_have_libunwind_unw_step="yes"
17353 else $as_nop
17354 wine_cv_have_libunwind_unw_step="no"
17356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17357 conftest$ac_exeext conftest.$ac_ext
17359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17360 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17361 LIBS=$save_libs
17363 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17364 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17365 then
17367 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17370 CPPFLAGS=$ac_save_CPPFLAGS
17373 case $host in
17374 aarch64*|*-darwin*)
17375 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17376 then :
17377 case "x$with_unwind" in
17378 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17379 xno) ;;
17380 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17381 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17382 esac
17384 fi ;;
17385 esac
17387 if test "x$with_sdl" != "xno"
17388 then
17389 rm -f conftest.err
17390 if ${SDL2_CFLAGS:+false} :
17391 then :
17392 if test ${PKG_CONFIG+y}
17393 then :
17394 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17398 if ${SDL2_LIBS:+false} :
17399 then :
17400 if test ${PKG_CONFIG+y}
17401 then :
17402 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17406 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17409 if test -s conftest.err; then
17410 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17411 cat conftest.err >&5
17413 rm -f conftest.err
17414 ac_save_CPPFLAGS=$CPPFLAGS
17415 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17416 for ac_header in SDL.h
17417 do :
17418 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17419 if test "x$ac_cv_header_SDL_h" = xyes
17420 then :
17421 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17423 printf %s "checking for -lSDL2... " >&6; }
17424 if test ${ac_cv_lib_soname_SDL2+y}
17425 then :
17426 printf %s "(cached) " >&6
17427 else $as_nop
17428 ac_check_soname_save_LIBS=$LIBS
17429 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17433 /* Override any GCC internal prototype to avoid an error.
17434 Use char because int might match the return type of a GCC
17435 builtin and then its argument prototype would still apply. */
17436 char SDL_Init ();
17438 main (void)
17440 return SDL_Init ();
17442 return 0;
17444 _ACEOF
17445 if ac_fn_c_try_link "$LINENO"
17446 then :
17447 case "$LIBEXT" in
17448 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17449 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'` ;;
17450 *) 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'`
17451 if ${ac_cv_lib_soname_SDL2:+false} :
17452 then :
17453 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17454 fi ;;
17455 esac
17456 else $as_nop
17457 ac_cv_lib_soname_SDL2=
17459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17460 conftest$ac_exeext conftest.$ac_ext
17461 LIBS=$ac_check_soname_save_LIBS
17463 if ${ac_cv_lib_soname_SDL2:+false} :
17464 then :
17465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17466 printf "%s\n" "not found" >&6; }
17468 else $as_nop
17469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17470 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17472 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17478 done
17479 CPPFLAGS=$ac_save_CPPFLAGS
17482 if test "x$ac_cv_lib_soname_SDL2" = "x"
17483 then :
17484 case "x$with_sdl" in
17485 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17486 xno) ;;
17487 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17488 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17489 esac
17493 if test "x$with_capi" != "xno"
17494 then
17495 rm -f conftest.err
17496 if ${CAPI20_CFLAGS:+false} :
17497 then :
17498 if test ${PKG_CONFIG+y}
17499 then :
17500 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17504 if ${CAPI20_LIBS:+false} :
17505 then :
17506 if test ${PKG_CONFIG+y}
17507 then :
17508 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17515 if test -s conftest.err; then
17516 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17517 cat conftest.err >&5
17519 rm -f conftest.err
17520 ac_save_CPPFLAGS=$CPPFLAGS
17521 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17522 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17524 if test "x$ac_cv_header_capi20_h" = xyes
17525 then :
17526 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17529 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17531 if test "x$ac_cv_header_linux_capi_h" = xyes
17532 then :
17533 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17537 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17538 then
17539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17540 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17541 if test ${ac_cv_lib_capi20_capi20_register+y}
17542 then :
17543 printf %s "(cached) " >&6
17544 else $as_nop
17545 ac_check_lib_save_LIBS=$LIBS
17546 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17550 /* Override any GCC internal prototype to avoid an error.
17551 Use char because int might match the return type of a GCC
17552 builtin and then its argument prototype would still apply. */
17553 char capi20_register ();
17555 main (void)
17557 return capi20_register ();
17559 return 0;
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"
17563 then :
17564 ac_cv_lib_capi20_capi20_register=yes
17565 else $as_nop
17566 ac_cv_lib_capi20_capi20_register=no
17568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17569 conftest$ac_exeext conftest.$ac_ext
17570 LIBS=$ac_check_lib_save_LIBS
17572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17573 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17574 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17575 then :
17577 else $as_nop
17578 CAPI20_LIBS=""
17582 CPPFLAGS=$ac_save_CPPFLAGS
17585 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17586 then :
17587 case "x$with_capi" in
17588 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17589 xno) ;;
17590 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17591 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17592 esac
17593 enable_capi2032=${enable_capi2032:-no}
17596 if test "x$with_cups" != "xno"
17597 then
17598 rm -f conftest.err
17599 if ${CUPS_CFLAGS:+false} :
17600 then :
17601 if test ${PKG_CONFIG+y}
17602 then :
17603 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17606 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17607 if ${CUPS_LIBS:+false} :
17608 then :
17609 if test ${PKG_CONFIG+y}
17610 then :
17611 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17614 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17615 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17618 if test -s conftest.err; then
17619 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17620 cat conftest.err >&5
17622 rm -f conftest.err
17623 ac_save_CPPFLAGS=$CPPFLAGS
17624 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17625 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17626 if test "x$ac_cv_header_cups_cups_h" = xyes
17627 then :
17628 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17631 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17632 if test "x$ac_cv_header_cups_ppd_h" = xyes
17633 then :
17634 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17638 if test "$ac_cv_header_cups_cups_h" = "yes"
17639 then
17640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17641 printf %s "checking for -lcups... " >&6; }
17642 if test ${ac_cv_lib_soname_cups+y}
17643 then :
17644 printf %s "(cached) " >&6
17645 else $as_nop
17646 ac_check_soname_save_LIBS=$LIBS
17647 LIBS="-lcups $CUPS_LIBS $LIBS"
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17651 /* Override any GCC internal prototype to avoid an error.
17652 Use char because int might match the return type of a GCC
17653 builtin and then its argument prototype would still apply. */
17654 char cupsGetDefault ();
17656 main (void)
17658 return cupsGetDefault ();
17660 return 0;
17662 _ACEOF
17663 if ac_fn_c_try_link "$LINENO"
17664 then :
17665 case "$LIBEXT" in
17666 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17667 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'` ;;
17668 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17669 if ${ac_cv_lib_soname_cups:+false} :
17670 then :
17671 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17672 fi ;;
17673 esac
17674 else $as_nop
17675 ac_cv_lib_soname_cups=
17677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17678 conftest$ac_exeext conftest.$ac_ext
17679 LIBS=$ac_check_soname_save_LIBS
17681 if ${ac_cv_lib_soname_cups:+false} :
17682 then :
17683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17684 printf "%s\n" "not found" >&6; }
17685 CUPS_LIBS=""
17686 else $as_nop
17687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17688 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17690 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17694 else
17695 CUPS_CFLAGS=""
17696 CUPS_LIBS=""
17698 CPPFLAGS=$ac_save_CPPFLAGS
17701 if test "x$ac_cv_lib_soname_cups" = "x"
17702 then :
17703 case "x$with_cups" in
17704 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17705 xno) ;;
17706 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17707 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17708 esac
17712 if test "x$with_fontconfig" != "xno"
17713 then
17714 rm -f conftest.err
17715 if ${FONTCONFIG_CFLAGS:+false} :
17716 then :
17717 if test ${PKG_CONFIG+y}
17718 then :
17719 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17722 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17723 if ${FONTCONFIG_LIBS:+false} :
17724 then :
17725 if test ${PKG_CONFIG+y}
17726 then :
17727 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17730 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17734 if test -s conftest.err; then
17735 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17736 cat conftest.err >&5
17738 rm -f conftest.err
17739 ac_save_CPPFLAGS=$CPPFLAGS
17740 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17741 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17742 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17743 then :
17744 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17748 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17749 then
17750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17751 printf %s "checking for -lfontconfig... " >&6; }
17752 if test ${ac_cv_lib_soname_fontconfig+y}
17753 then :
17754 printf %s "(cached) " >&6
17755 else $as_nop
17756 ac_check_soname_save_LIBS=$LIBS
17757 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17761 /* Override any GCC internal prototype to avoid an error.
17762 Use char because int might match the return type of a GCC
17763 builtin and then its argument prototype would still apply. */
17764 char FcInit ();
17766 main (void)
17768 return FcInit ();
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_link "$LINENO"
17774 then :
17775 case "$LIBEXT" in
17776 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17777 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'` ;;
17778 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17779 if ${ac_cv_lib_soname_fontconfig:+false} :
17780 then :
17781 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17782 fi ;;
17783 esac
17784 else $as_nop
17785 ac_cv_lib_soname_fontconfig=
17787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17788 conftest$ac_exeext conftest.$ac_ext
17789 LIBS=$ac_check_soname_save_LIBS
17791 if ${ac_cv_lib_soname_fontconfig:+false} :
17792 then :
17793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17794 printf "%s\n" "not found" >&6; }
17795 FONTCONFIG_CFLAGS=""
17796 else $as_nop
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17798 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17800 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17804 else
17805 FONTCONFIG_CFLAGS=""
17807 CPPFLAGS=$ac_save_CPPFLAGS
17810 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17811 then :
17812 case "x$with_fontconfig" in
17813 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17814 xno) ;;
17815 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17816 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17817 esac
17821 if test "x$with_krb5" != "xno"
17822 then
17823 rm -f conftest.err
17824 if ${KRB5_CFLAGS:+false} :
17825 then :
17826 if test ${PKG_CONFIG+y}
17827 then :
17828 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17831 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17832 if ${KRB5_LIBS:+false} :
17833 then :
17834 if test ${PKG_CONFIG+y}
17835 then :
17836 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17839 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17843 if test -s conftest.err; then
17844 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17845 cat conftest.err >&5
17847 rm -f conftest.err
17848 ac_save_CPPFLAGS=$CPPFLAGS
17849 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17850 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17851 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17852 then :
17853 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17857 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17858 then
17859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17860 printf %s "checking for -lkrb5... " >&6; }
17861 if test ${ac_cv_lib_soname_krb5+y}
17862 then :
17863 printf %s "(cached) " >&6
17864 else $as_nop
17865 ac_check_soname_save_LIBS=$LIBS
17866 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 /* Override any GCC internal prototype to avoid an error.
17871 Use char because int might match the return type of a GCC
17872 builtin and then its argument prototype would still apply. */
17873 char krb5_is_config_principal ();
17875 main (void)
17877 return krb5_is_config_principal ();
17879 return 0;
17881 _ACEOF
17882 if ac_fn_c_try_link "$LINENO"
17883 then :
17884 case "$LIBEXT" in
17885 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17886 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'` ;;
17887 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17888 if ${ac_cv_lib_soname_krb5:+false} :
17889 then :
17890 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17891 fi ;;
17892 esac
17893 else $as_nop
17894 ac_cv_lib_soname_krb5=
17896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17897 conftest$ac_exeext conftest.$ac_ext
17898 LIBS=$ac_check_soname_save_LIBS
17900 if ${ac_cv_lib_soname_krb5:+false} :
17901 then :
17902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17903 printf "%s\n" "not found" >&6; }
17904 KRB5_CFLAGS=""
17905 else $as_nop
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17907 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17909 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17913 else
17914 KRB5_CFLAGS=""
17916 CPPFLAGS=$ac_save_CPPFLAGS
17919 if test "x$ac_cv_lib_soname_krb5" = "x"
17920 then :
17921 case "x$with_krb5" in
17922 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17923 xno) ;;
17924 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17925 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17926 esac
17929 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17931 if test "x$with_gssapi" != "xno"
17932 then
17933 rm -f conftest.err
17934 if ${GSSAPI_CFLAGS:+false} :
17935 then :
17936 if test ${PKG_CONFIG+y}
17937 then :
17938 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17941 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17942 if ${GSSAPI_LIBS:+false} :
17943 then :
17944 if test ${PKG_CONFIG+y}
17945 then :
17946 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17949 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17953 if test -s conftest.err; then
17954 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17955 cat conftest.err >&5
17957 rm -f conftest.err
17958 ac_save_CPPFLAGS=$CPPFLAGS
17959 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17960 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17961 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17962 then :
17963 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17966 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17967 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17968 then :
17969 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17973 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17974 then
17975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17976 printf %s "checking for -lgssapi_krb5... " >&6; }
17977 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17978 then :
17979 printf %s "(cached) " >&6
17980 else $as_nop
17981 ac_check_soname_save_LIBS=$LIBS
17982 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 /* Override any GCC internal prototype to avoid an error.
17987 Use char because int might match the return type of a GCC
17988 builtin and then its argument prototype would still apply. */
17989 char gss_init_sec_context ();
17991 main (void)
17993 return gss_init_sec_context ();
17995 return 0;
17997 _ACEOF
17998 if ac_fn_c_try_link "$LINENO"
17999 then :
18000 case "$LIBEXT" in
18001 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18002 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'` ;;
18003 *) 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'`
18004 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18005 then :
18006 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18007 fi ;;
18008 esac
18009 else $as_nop
18010 ac_cv_lib_soname_gssapi_krb5=
18012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18013 conftest$ac_exeext conftest.$ac_ext
18014 LIBS=$ac_check_soname_save_LIBS
18016 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18017 then :
18018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18019 printf "%s\n" "not found" >&6; }
18020 GSSAPI_CFLAGS=""
18021 else $as_nop
18022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18023 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18025 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18029 else
18030 GSSAPI_CFLAGS=""
18032 CPPFLAGS=$ac_save_CPPFLAGS
18035 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18036 then :
18037 case "x$with_gssapi" in
18038 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18039 xno) ;;
18040 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18041 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18042 esac
18046 if test "$ac_cv_header_libprocstat_h" = "yes"
18047 then
18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18049 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18050 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18051 then :
18052 printf %s "(cached) " >&6
18053 else $as_nop
18054 ac_check_lib_save_LIBS=$LIBS
18055 LIBS="-lprocstat $LIBS"
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 /* Override any GCC internal prototype to avoid an error.
18060 Use char because int might match the return type of a GCC
18061 builtin and then its argument prototype would still apply. */
18062 char procstat_open_sysctl ();
18064 main (void)
18066 return procstat_open_sysctl ();
18068 return 0;
18070 _ACEOF
18071 if ac_fn_c_try_link "$LINENO"
18072 then :
18073 ac_cv_lib_procstat_procstat_open_sysctl=yes
18074 else $as_nop
18075 ac_cv_lib_procstat_procstat_open_sysctl=no
18077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18078 conftest$ac_exeext conftest.$ac_ext
18079 LIBS=$ac_check_lib_save_LIBS
18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18082 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18083 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18084 then :
18086 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18088 PROCSTAT_LIBS="-lprocstat"
18094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18095 printf %s "checking for -lodbc... " >&6; }
18096 if test ${ac_cv_lib_soname_odbc+y}
18097 then :
18098 printf %s "(cached) " >&6
18099 else $as_nop
18100 ac_check_soname_save_LIBS=$LIBS
18101 LIBS="-lodbc $LIBS"
18102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18103 /* end confdefs.h. */
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18108 char SQLConnect ();
18110 main (void)
18112 return SQLConnect ();
18114 return 0;
18116 _ACEOF
18117 if ac_fn_c_try_link "$LINENO"
18118 then :
18119 case "$LIBEXT" in
18120 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18121 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'` ;;
18122 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18123 if ${ac_cv_lib_soname_odbc:+false} :
18124 then :
18125 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18126 fi ;;
18127 esac
18128 else $as_nop
18129 ac_cv_lib_soname_odbc=
18131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18132 conftest$ac_exeext conftest.$ac_ext
18133 LIBS=$ac_check_soname_save_LIBS
18135 if ${ac_cv_lib_soname_odbc:+false} :
18136 then :
18137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18138 printf "%s\n" "not found" >&6; }
18139 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18141 else $as_nop
18142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18143 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18145 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18150 if test "x$with_netapi" != "xno"
18151 then
18152 rm -f conftest.err
18153 if ${NETAPI_CFLAGS:+false} :
18154 then :
18155 if test ${PKG_CONFIG+y}
18156 then :
18157 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18161 if ${NETAPI_LIBS:+false} :
18162 then :
18163 if test ${PKG_CONFIG+y}
18164 then :
18165 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18172 if test -s conftest.err; then
18173 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18174 cat conftest.err >&5
18176 rm -f conftest.err
18177 ac_save_CPPFLAGS=$CPPFLAGS
18178 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18180 printf %s "checking for -lnetapi... " >&6; }
18181 if test ${ac_cv_lib_soname_netapi+y}
18182 then :
18183 printf %s "(cached) " >&6
18184 else $as_nop
18185 ac_check_soname_save_LIBS=$LIBS
18186 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18193 char libnetapi_init ();
18195 main (void)
18197 return libnetapi_init ();
18199 return 0;
18201 _ACEOF
18202 if ac_fn_c_try_link "$LINENO"
18203 then :
18204 case "$LIBEXT" in
18205 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18206 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'` ;;
18207 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18208 if ${ac_cv_lib_soname_netapi:+false} :
18209 then :
18210 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18211 fi ;;
18212 esac
18213 else $as_nop
18214 ac_cv_lib_soname_netapi=
18216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18217 conftest$ac_exeext conftest.$ac_ext
18218 LIBS=$ac_check_soname_save_LIBS
18220 if ${ac_cv_lib_soname_netapi:+false} :
18221 then :
18222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18223 printf "%s\n" "not found" >&6; }
18224 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18226 else $as_nop
18227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18228 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18230 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18234 CPPFLAGS=$ac_save_CPPFLAGS
18237 if test "x$ac_cv_lib_soname_netapi" = "x"
18238 then :
18239 case "x$with_netapi" in
18240 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18241 xno) ;;
18242 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18243 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18244 esac
18245 enable_netapi=${enable_netapi:-no}
18249 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18250 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18251 then
18252 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18255 if test "x$with_vulkan" != "xno"
18256 then
18257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18258 printf %s "checking for -lvulkan... " >&6; }
18259 if test ${ac_cv_lib_soname_vulkan+y}
18260 then :
18261 printf %s "(cached) " >&6
18262 else $as_nop
18263 ac_check_soname_save_LIBS=$LIBS
18264 LIBS="-lvulkan $LIBS"
18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18268 /* Override any GCC internal prototype to avoid an error.
18269 Use char because int might match the return type of a GCC
18270 builtin and then its argument prototype would still apply. */
18271 char vkGetInstanceProcAddr ();
18273 main (void)
18275 return vkGetInstanceProcAddr ();
18277 return 0;
18279 _ACEOF
18280 if ac_fn_c_try_link "$LINENO"
18281 then :
18282 case "$LIBEXT" in
18283 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18284 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'` ;;
18285 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18286 if ${ac_cv_lib_soname_vulkan:+false} :
18287 then :
18288 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18289 fi ;;
18290 esac
18291 else $as_nop
18292 ac_cv_lib_soname_vulkan=
18294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18295 conftest$ac_exeext conftest.$ac_ext
18296 LIBS=$ac_check_soname_save_LIBS
18298 if ${ac_cv_lib_soname_vulkan:+false} :
18299 then :
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18301 printf "%s\n" "not found" >&6; }
18303 else $as_nop
18304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18305 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18307 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18311 if test "x$ac_cv_lib_soname_vulkan" = "x"
18312 then
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18314 printf %s "checking for -lMoltenVK... " >&6; }
18315 if test ${ac_cv_lib_soname_MoltenVK+y}
18316 then :
18317 printf %s "(cached) " >&6
18318 else $as_nop
18319 ac_check_soname_save_LIBS=$LIBS
18320 LIBS="-lMoltenVK $LIBS"
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 /* Override any GCC internal prototype to avoid an error.
18325 Use char because int might match the return type of a GCC
18326 builtin and then its argument prototype would still apply. */
18327 char vkGetInstanceProcAddr ();
18329 main (void)
18331 return vkGetInstanceProcAddr ();
18333 return 0;
18335 _ACEOF
18336 if ac_fn_c_try_link "$LINENO"
18337 then :
18338 case "$LIBEXT" in
18339 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18340 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'` ;;
18341 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18342 if ${ac_cv_lib_soname_MoltenVK:+false} :
18343 then :
18344 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18345 fi ;;
18346 esac
18347 else $as_nop
18348 ac_cv_lib_soname_MoltenVK=
18350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18351 conftest$ac_exeext conftest.$ac_ext
18352 LIBS=$ac_check_soname_save_LIBS
18354 if ${ac_cv_lib_soname_MoltenVK:+false} :
18355 then :
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18357 printf "%s\n" "not found" >&6; }
18359 else $as_nop
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18361 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18363 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18369 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18370 then :
18371 case "x$with_vulkan" in
18372 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18373 xno) ;;
18374 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18375 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18376 esac
18381 if test "x${GCC}" = "xyes"
18382 then
18383 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18385 saved_CFLAGS=$CFLAGS
18386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18387 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18388 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18389 then :
18390 printf %s "(cached) " >&6
18391 else $as_nop
18392 ac_wine_try_cflags_saved=$CFLAGS
18393 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18396 int main(int argc, char **argv) { return 0; }
18397 _ACEOF
18398 if ac_fn_c_try_link "$LINENO"
18399 then :
18400 ac_cv_cflags__Werror_unknown_warning_option=yes
18401 else $as_nop
18402 ac_cv_cflags__Werror_unknown_warning_option=no
18404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18405 conftest$ac_exeext conftest.$ac_ext
18406 CFLAGS=$ac_wine_try_cflags_saved
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18409 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18410 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18411 then :
18412 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18415 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18416 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18417 then :
18418 printf %s "(cached) " >&6
18419 else $as_nop
18420 ac_wine_try_cflags_saved=$CFLAGS
18421 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18424 int main(int argc, char **argv) { return 0; }
18425 _ACEOF
18426 if ac_fn_c_try_link "$LINENO"
18427 then :
18428 ac_cv_cflags__Werror_unused_command_line_argument=yes
18429 else $as_nop
18430 ac_cv_cflags__Werror_unused_command_line_argument=no
18432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18433 conftest$ac_exeext conftest.$ac_ext
18434 CFLAGS=$ac_wine_try_cflags_saved
18436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18437 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18438 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18439 then :
18440 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18443 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18444 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18445 then :
18446 printf %s "(cached) " >&6
18447 else $as_nop
18448 ac_wine_try_cflags_saved=$CFLAGS
18449 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18451 /* end confdefs.h. */
18452 int main(int argc, char **argv) { return 0; }
18453 _ACEOF
18454 if ac_fn_c_try_link "$LINENO"
18455 then :
18456 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18457 else $as_nop
18458 ac_cv_cflags__Werror_ignored_optimization_argument=no
18460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18461 conftest$ac_exeext conftest.$ac_ext
18462 CFLAGS=$ac_wine_try_cflags_saved
18464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18465 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18466 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18467 then :
18468 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18471 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18472 if test ${ac_cv_cflags__fcf_protection_none+y}
18473 then :
18474 printf %s "(cached) " >&6
18475 else $as_nop
18476 ac_wine_try_cflags_saved=$CFLAGS
18477 CFLAGS="$CFLAGS -fcf-protection=none"
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 int main(int argc, char **argv) { return 0; }
18481 _ACEOF
18482 if ac_fn_c_try_link "$LINENO"
18483 then :
18484 ac_cv_cflags__fcf_protection_none=yes
18485 else $as_nop
18486 ac_cv_cflags__fcf_protection_none=no
18488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18489 conftest$ac_exeext conftest.$ac_ext
18490 CFLAGS=$ac_wine_try_cflags_saved
18492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18493 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18494 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18495 then :
18496 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18499 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18500 if test ${ac_cv_cflags__fno_stack_protector+y}
18501 then :
18502 printf %s "(cached) " >&6
18503 else $as_nop
18504 ac_wine_try_cflags_saved=$CFLAGS
18505 CFLAGS="$CFLAGS -fno-stack-protector"
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 int main(int argc, char **argv) { return 0; }
18509 _ACEOF
18510 if ac_fn_c_try_link "$LINENO"
18511 then :
18512 ac_cv_cflags__fno_stack_protector=yes
18513 else $as_nop
18514 ac_cv_cflags__fno_stack_protector=no
18516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18517 conftest$ac_exeext conftest.$ac_ext
18518 CFLAGS=$ac_wine_try_cflags_saved
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18521 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18522 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18523 then :
18524 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18527 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18528 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18529 then :
18530 printf %s "(cached) " >&6
18531 else $as_nop
18532 ac_wine_try_cflags_saved=$CFLAGS
18533 CFLAGS="$CFLAGS -fno-strict-aliasing"
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 int main(int argc, char **argv) { return 0; }
18537 _ACEOF
18538 if ac_fn_c_try_link "$LINENO"
18539 then :
18540 ac_cv_cflags__fno_strict_aliasing=yes
18541 else $as_nop
18542 ac_cv_cflags__fno_strict_aliasing=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18545 conftest$ac_exeext conftest.$ac_ext
18546 CFLAGS=$ac_wine_try_cflags_saved
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18549 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18550 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18551 then :
18552 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18555 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18556 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18557 then :
18558 printf %s "(cached) " >&6
18559 else $as_nop
18560 ac_wine_try_cflags_saved=$CFLAGS
18561 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 int main(int argc, char **argv) { return 0; }
18565 _ACEOF
18566 if ac_fn_c_try_link "$LINENO"
18567 then :
18568 ac_cv_cflags__Wdeclaration_after_statement=yes
18569 else $as_nop
18570 ac_cv_cflags__Wdeclaration_after_statement=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18573 conftest$ac_exeext conftest.$ac_ext
18574 CFLAGS=$ac_wine_try_cflags_saved
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18577 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18578 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18579 then :
18580 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18583 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18584 if test ${ac_cv_cflags__Wempty_body+y}
18585 then :
18586 printf %s "(cached) " >&6
18587 else $as_nop
18588 ac_wine_try_cflags_saved=$CFLAGS
18589 CFLAGS="$CFLAGS -Wempty-body"
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18592 int main(int argc, char **argv) { return 0; }
18593 _ACEOF
18594 if ac_fn_c_try_link "$LINENO"
18595 then :
18596 ac_cv_cflags__Wempty_body=yes
18597 else $as_nop
18598 ac_cv_cflags__Wempty_body=no
18600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18601 conftest$ac_exeext conftest.$ac_ext
18602 CFLAGS=$ac_wine_try_cflags_saved
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18605 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18606 if test "x$ac_cv_cflags__Wempty_body" = xyes
18607 then :
18608 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18611 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18612 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18613 then :
18614 printf %s "(cached) " >&6
18615 else $as_nop
18616 ac_wine_try_cflags_saved=$CFLAGS
18617 CFLAGS="$CFLAGS -Wignored-qualifiers"
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 int main(int argc, char **argv) { return 0; }
18621 _ACEOF
18622 if ac_fn_c_try_link "$LINENO"
18623 then :
18624 ac_cv_cflags__Wignored_qualifiers=yes
18625 else $as_nop
18626 ac_cv_cflags__Wignored_qualifiers=no
18628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18629 conftest$ac_exeext conftest.$ac_ext
18630 CFLAGS=$ac_wine_try_cflags_saved
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18633 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18634 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18635 then :
18636 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18639 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18640 if test ${ac_cv_cflags__Winit_self+y}
18641 then :
18642 printf %s "(cached) " >&6
18643 else $as_nop
18644 ac_wine_try_cflags_saved=$CFLAGS
18645 CFLAGS="$CFLAGS -Winit-self"
18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 int main(int argc, char **argv) { return 0; }
18649 _ACEOF
18650 if ac_fn_c_try_link "$LINENO"
18651 then :
18652 ac_cv_cflags__Winit_self=yes
18653 else $as_nop
18654 ac_cv_cflags__Winit_self=no
18656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18657 conftest$ac_exeext conftest.$ac_ext
18658 CFLAGS=$ac_wine_try_cflags_saved
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18661 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18662 if test "x$ac_cv_cflags__Winit_self" = xyes
18663 then :
18664 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18667 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18668 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18669 then :
18670 printf %s "(cached) " >&6
18671 else $as_nop
18672 ac_wine_try_cflags_saved=$CFLAGS
18673 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 int main(int argc, char **argv) { return 0; }
18677 _ACEOF
18678 if ac_fn_c_try_link "$LINENO"
18679 then :
18680 ac_cv_cflags__Wpacked_not_aligned=yes
18681 else $as_nop
18682 ac_cv_cflags__Wpacked_not_aligned=no
18684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18685 conftest$ac_exeext conftest.$ac_ext
18686 CFLAGS=$ac_wine_try_cflags_saved
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18689 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18690 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18691 then :
18692 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18695 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18696 if test ${ac_cv_cflags__Wpragma_pack+y}
18697 then :
18698 printf %s "(cached) " >&6
18699 else $as_nop
18700 ac_wine_try_cflags_saved=$CFLAGS
18701 CFLAGS="$CFLAGS -Wpragma-pack"
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 int main(int argc, char **argv) { return 0; }
18705 _ACEOF
18706 if ac_fn_c_try_link "$LINENO"
18707 then :
18708 ac_cv_cflags__Wpragma_pack=yes
18709 else $as_nop
18710 ac_cv_cflags__Wpragma_pack=no
18712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18713 conftest$ac_exeext conftest.$ac_ext
18714 CFLAGS=$ac_wine_try_cflags_saved
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18717 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18718 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18719 then :
18720 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18723 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18724 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18725 then :
18726 printf %s "(cached) " >&6
18727 else $as_nop
18728 ac_wine_try_cflags_saved=$CFLAGS
18729 CFLAGS="$CFLAGS -Wshift-overflow=2"
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 int main(int argc, char **argv) { return 0; }
18733 _ACEOF
18734 if ac_fn_c_try_link "$LINENO"
18735 then :
18736 ac_cv_cflags__Wshift_overflow_2=yes
18737 else $as_nop
18738 ac_cv_cflags__Wshift_overflow_2=no
18740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18741 conftest$ac_exeext conftest.$ac_ext
18742 CFLAGS=$ac_wine_try_cflags_saved
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18745 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18746 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18747 then :
18748 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18751 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18752 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18753 then :
18754 printf %s "(cached) " >&6
18755 else $as_nop
18756 ac_wine_try_cflags_saved=$CFLAGS
18757 CFLAGS="$CFLAGS -Wstrict-prototypes"
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 int main(int argc, char **argv) { return 0; }
18761 _ACEOF
18762 if ac_fn_c_try_link "$LINENO"
18763 then :
18764 ac_cv_cflags__Wstrict_prototypes=yes
18765 else $as_nop
18766 ac_cv_cflags__Wstrict_prototypes=no
18768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18769 conftest$ac_exeext conftest.$ac_ext
18770 CFLAGS=$ac_wine_try_cflags_saved
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18773 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18774 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18775 then :
18776 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18779 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18780 if test ${ac_cv_cflags__Wtype_limits+y}
18781 then :
18782 printf %s "(cached) " >&6
18783 else $as_nop
18784 ac_wine_try_cflags_saved=$CFLAGS
18785 CFLAGS="$CFLAGS -Wtype-limits"
18786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18788 int main(int argc, char **argv) { return 0; }
18789 _ACEOF
18790 if ac_fn_c_try_link "$LINENO"
18791 then :
18792 ac_cv_cflags__Wtype_limits=yes
18793 else $as_nop
18794 ac_cv_cflags__Wtype_limits=no
18796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18797 conftest$ac_exeext conftest.$ac_ext
18798 CFLAGS=$ac_wine_try_cflags_saved
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18801 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18802 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18803 then :
18804 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18807 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18808 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18809 then :
18810 printf %s "(cached) " >&6
18811 else $as_nop
18812 ac_wine_try_cflags_saved=$CFLAGS
18813 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 int main(int argc, char **argv) { return 0; }
18817 _ACEOF
18818 if ac_fn_c_try_link "$LINENO"
18819 then :
18820 ac_cv_cflags__Wunused_but_set_parameter=yes
18821 else $as_nop
18822 ac_cv_cflags__Wunused_but_set_parameter=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18825 conftest$ac_exeext conftest.$ac_ext
18826 CFLAGS=$ac_wine_try_cflags_saved
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18829 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18830 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18831 then :
18832 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18835 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18836 if test ${ac_cv_cflags__Wvla+y}
18837 then :
18838 printf %s "(cached) " >&6
18839 else $as_nop
18840 ac_wine_try_cflags_saved=$CFLAGS
18841 CFLAGS="$CFLAGS -Wvla"
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 int main(int argc, char **argv) { return 0; }
18845 _ACEOF
18846 if ac_fn_c_try_link "$LINENO"
18847 then :
18848 ac_cv_cflags__Wvla=yes
18849 else $as_nop
18850 ac_cv_cflags__Wvla=no
18852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18853 conftest$ac_exeext conftest.$ac_ext
18854 CFLAGS=$ac_wine_try_cflags_saved
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18857 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18858 if test "x$ac_cv_cflags__Wvla" = xyes
18859 then :
18860 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18863 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18864 if test ${ac_cv_cflags__Wwrite_strings+y}
18865 then :
18866 printf %s "(cached) " >&6
18867 else $as_nop
18868 ac_wine_try_cflags_saved=$CFLAGS
18869 CFLAGS="$CFLAGS -Wwrite-strings"
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 int main(int argc, char **argv) { return 0; }
18873 _ACEOF
18874 if ac_fn_c_try_link "$LINENO"
18875 then :
18876 ac_cv_cflags__Wwrite_strings=yes
18877 else $as_nop
18878 ac_cv_cflags__Wwrite_strings=no
18880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18881 conftest$ac_exeext conftest.$ac_ext
18882 CFLAGS=$ac_wine_try_cflags_saved
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18885 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18886 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18887 then :
18888 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18892 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18893 if test ${ac_cv_cflags__Wpointer_arith+y}
18894 then :
18895 printf %s "(cached) " >&6
18896 else $as_nop
18897 ac_wine_try_cflags_saved=$CFLAGS
18898 CFLAGS="$CFLAGS -Wpointer-arith"
18899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18902 _ACEOF
18903 if ac_fn_c_try_link "$LINENO"
18904 then :
18905 ac_cv_cflags__Wpointer_arith=yes
18906 else $as_nop
18907 ac_cv_cflags__Wpointer_arith=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18910 conftest$ac_exeext conftest.$ac_ext
18911 CFLAGS=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18915 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18916 then :
18917 saved_string_h_CFLAGS=$CFLAGS
18918 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18920 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18921 if test ${ac_cv_c_string_h_warnings+y}
18922 then :
18923 printf %s "(cached) " >&6
18924 else $as_nop
18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 #include <string.h>
18929 main (void)
18933 return 0;
18935 _ACEOF
18936 if ac_fn_c_try_compile "$LINENO"
18937 then :
18938 ac_cv_c_string_h_warnings=no
18939 else $as_nop
18940 ac_cv_c_string_h_warnings=yes
18942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18945 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18946 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18947 CFLAGS=$saved_string_h_CFLAGS
18950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18951 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18952 if test ${ac_cv_cflags__Wlogical_op+y}
18953 then :
18954 printf %s "(cached) " >&6
18955 else $as_nop
18956 ac_wine_try_cflags_saved=$CFLAGS
18957 CFLAGS="$CFLAGS -Wlogical-op"
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18960 int main(int argc, char **argv) { return 0; }
18961 _ACEOF
18962 if ac_fn_c_try_link "$LINENO"
18963 then :
18964 ac_cv_cflags__Wlogical_op=yes
18965 else $as_nop
18966 ac_cv_cflags__Wlogical_op=no
18968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18969 conftest$ac_exeext conftest.$ac_ext
18970 CFLAGS=$ac_wine_try_cflags_saved
18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18973 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18974 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18975 then :
18976 saved_string_h_CFLAGS=$CFLAGS
18977 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18979 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18980 if test ${ac_cv_c_logicalop_noisy+y}
18981 then :
18982 printf %s "(cached) " >&6
18983 else $as_nop
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 #include <string.h>
18987 char*f(const char *h,char n) {return strchr(h,n);}
18989 main (void)
18993 return 0;
18995 _ACEOF
18996 if ac_fn_c_try_compile "$LINENO"
18997 then :
18998 ac_cv_c_logicalop_noisy=no
18999 else $as_nop
19000 ac_cv_c_logicalop_noisy=yes
19002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19005 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19006 CFLAGS=$saved_string_h_CFLAGS
19007 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19011 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19012 if test ${wine_cv_64bit_compare_swap+y}
19013 then :
19014 printf %s "(cached) " >&6
19015 else $as_nop
19016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19017 /* end confdefs.h. */
19018 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19019 #error no
19020 #endif
19022 main (void)
19026 return 0;
19028 _ACEOF
19029 if ac_fn_c_try_compile "$LINENO"
19030 then :
19031 wine_cv_64bit_compare_swap="none needed"
19032 else $as_nop
19033 case $host_cpu in
19034 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19035 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19036 *) wine_cv_64bit_compare_swap="unknown" ;;
19037 esac
19038 if test "x$wine_cv_64bit_compare_swap" != xunknown
19039 then
19040 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19043 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19044 #error no
19045 #endif
19047 main (void)
19051 return 0;
19053 _ACEOF
19054 if ac_fn_c_try_compile "$LINENO"
19055 then :
19057 else $as_nop
19058 wine_cv_64bit_compare_swap="unknown"
19060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19061 CFLAGS=$saved_CFLAGS
19064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19067 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19068 case "$wine_cv_64bit_compare_swap" in
19069 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19070 "none needed") ;;
19071 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19072 esac
19074 ac_debug_format_seen=""
19075 for ac_flag in $CFLAGS; do
19076 case $ac_flag in
19077 -gdwarf*) ac_debug_format_seen=yes ;;
19078 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19079 esac
19080 done
19081 if test "x$ac_debug_format_seen" = xdefault
19082 then
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19084 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19085 if test ${ac_cv_cflags__gdwarf_4+y}
19086 then :
19087 printf %s "(cached) " >&6
19088 else $as_nop
19089 ac_wine_try_cflags_saved=$CFLAGS
19090 CFLAGS="$CFLAGS -gdwarf-4"
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 int main(int argc, char **argv) { return 0; }
19094 _ACEOF
19095 if ac_fn_c_try_link "$LINENO"
19096 then :
19097 ac_cv_cflags__gdwarf_4=yes
19098 else $as_nop
19099 ac_cv_cflags__gdwarf_4=no
19101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19102 conftest$ac_exeext conftest.$ac_ext
19103 CFLAGS=$ac_wine_try_cflags_saved
19105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19106 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19107 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19108 then :
19109 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19113 MSVCRTFLAGS=""
19115 case $host_os in
19116 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19117 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19118 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19119 then :
19120 printf %s "(cached) " >&6
19121 else $as_nop
19122 ac_wine_try_cflags_saved=$CFLAGS
19123 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19126 int main(int argc, char **argv) { return 0; }
19127 _ACEOF
19128 if ac_fn_c_try_link "$LINENO"
19129 then :
19130 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19131 else $as_nop
19132 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19135 conftest$ac_exeext conftest.$ac_ext
19136 CFLAGS=$ac_wine_try_cflags_saved
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19139 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19140 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19141 then :
19142 DELAYLOADFLAG="-Wl,-delayload,"
19144 fi ;;
19145 *) MSVCRTFLAGS="-D_WIN32"
19146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19147 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19148 if test ${ac_cv_cflags__fno_builtin+y}
19149 then :
19150 printf %s "(cached) " >&6
19151 else $as_nop
19152 ac_wine_try_cflags_saved=$CFLAGS
19153 CFLAGS="$CFLAGS -fno-builtin"
19154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 int main(int argc, char **argv) { return 0; }
19157 _ACEOF
19158 if ac_fn_c_try_link "$LINENO"
19159 then :
19160 ac_cv_cflags__fno_builtin=yes
19161 else $as_nop
19162 ac_cv_cflags__fno_builtin=no
19164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19165 conftest$ac_exeext conftest.$ac_ext
19166 CFLAGS=$ac_wine_try_cflags_saved
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19169 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19170 if test "x$ac_cv_cflags__fno_builtin" = xyes
19171 then :
19172 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19175 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19176 if test ${ac_cv_cflags__fshort_wchar+y}
19177 then :
19178 printf %s "(cached) " >&6
19179 else $as_nop
19180 ac_wine_try_cflags_saved=$CFLAGS
19181 CFLAGS="$CFLAGS -fshort-wchar"
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 int main(int argc, char **argv) { return 0; }
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"
19187 then :
19188 ac_cv_cflags__fshort_wchar=yes
19189 else $as_nop
19190 ac_cv_cflags__fshort_wchar=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19193 conftest$ac_exeext conftest.$ac_ext
19194 CFLAGS=$ac_wine_try_cflags_saved
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19197 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19198 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19199 then :
19200 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19203 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19204 if test ${ac_cv_cflags__Wno_format+y}
19205 then :
19206 printf %s "(cached) " >&6
19207 else $as_nop
19208 ac_wine_try_cflags_saved=$CFLAGS
19209 CFLAGS="$CFLAGS -Wno-format"
19210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19212 int main(int argc, char **argv) { return 0; }
19213 _ACEOF
19214 if ac_fn_c_try_link "$LINENO"
19215 then :
19216 ac_cv_cflags__Wno_format=yes
19217 else $as_nop
19218 ac_cv_cflags__Wno_format=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19221 conftest$ac_exeext conftest.$ac_ext
19222 CFLAGS=$ac_wine_try_cflags_saved
19224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19225 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19226 if test "x$ac_cv_cflags__Wno_format" = xyes
19227 then :
19228 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19229 fi ;;
19230 esac
19232 case $host_cpu in
19233 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19234 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19235 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19236 then :
19237 printf %s "(cached) " >&6
19238 else $as_nop
19239 ac_wine_try_cflags_saved=$CFLAGS
19240 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 int main(int argc, char **argv) { return 0; }
19244 _ACEOF
19245 if ac_fn_c_try_link "$LINENO"
19246 then :
19247 ac_cv_cflags__fno_omit_frame_pointer=yes
19248 else $as_nop
19249 ac_cv_cflags__fno_omit_frame_pointer=no
19251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19252 conftest$ac_exeext conftest.$ac_ext
19253 CFLAGS=$ac_wine_try_cflags_saved
19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19256 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19257 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19258 then :
19259 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19260 fi ;;
19261 *x86_64*)
19262 case $host_os in
19263 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19264 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19265 if test ${ac_cv_cflags__Wno_format+y}
19266 then :
19267 printf %s "(cached) " >&6
19268 else $as_nop
19269 ac_wine_try_cflags_saved=$CFLAGS
19270 CFLAGS="$CFLAGS -Wno-format"
19271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19273 int main(int argc, char **argv) { return 0; }
19274 _ACEOF
19275 if ac_fn_c_try_link "$LINENO"
19276 then :
19277 ac_cv_cflags__Wno_format=yes
19278 else $as_nop
19279 ac_cv_cflags__Wno_format=no
19281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19282 conftest$ac_exeext conftest.$ac_ext
19283 CFLAGS=$ac_wine_try_cflags_saved
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19286 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19287 if test "x$ac_cv_cflags__Wno_format" = xyes
19288 then :
19289 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19290 fi ;;
19291 *) if test -z "$PE_ARCHS"
19292 then
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19294 printf %s "checking for working -mabi=ms... " >&6; }
19295 if test ${ac_cv_mabi_ms+y}
19296 then :
19297 printf %s "(cached) " >&6
19298 else $as_nop
19299 CFLAGS="$CFLAGS -mabi=ms"
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 #include <stdarg.h>
19303 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19305 main (void)
19309 return 0;
19311 _ACEOF
19312 if ac_fn_c_try_compile "$LINENO"
19313 then :
19314 ac_cv_mabi_ms=yes
19315 else $as_nop
19316 ac_cv_mabi_ms=no
19318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19319 CFLAGS=$saved_CFLAGS
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19322 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19323 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
19325 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19326 esac ;;
19327 arm*)
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19329 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19330 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19331 then :
19332 printf %s "(cached) " >&6
19333 else $as_nop
19334 ac_wine_try_cflags_saved=$CFLAGS
19335 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19338 int main(int argc, char **argv) { return 0; }
19339 _ACEOF
19340 if ac_fn_c_try_link "$LINENO"
19341 then :
19342 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19343 else $as_nop
19344 ac_cv_cflags__Wincompatible_function_pointer_types=no
19346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19347 conftest$ac_exeext conftest.$ac_ext
19348 CFLAGS=$ac_wine_try_cflags_saved
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19351 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19352 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19353 then :
19354 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19355 fi ;;
19356 esac
19358 CFLAGS=$saved_CFLAGS
19360 if test "x$enable_werror" = "xyes"
19361 then
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19363 printf %s "checking whether the compiler supports -Werror... " >&6; }
19364 if test ${ac_cv_cflags__Werror+y}
19365 then :
19366 printf %s "(cached) " >&6
19367 else $as_nop
19368 ac_wine_try_cflags_saved=$CFLAGS
19369 CFLAGS="$CFLAGS -Werror"
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19373 _ACEOF
19374 if ac_fn_c_try_link "$LINENO"
19375 then :
19376 ac_cv_cflags__Werror=yes
19377 else $as_nop
19378 ac_cv_cflags__Werror=no
19380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19381 conftest$ac_exeext conftest.$ac_ext
19382 CFLAGS=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19385 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19386 if test "x$ac_cv_cflags__Werror" = xyes
19387 then :
19388 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19391 if test "x$enable_build_id" = "xyes"
19392 then
19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19394 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19395 if test ${ac_cv_cflags__Wl___build_id+y}
19396 then :
19397 printf %s "(cached) " >&6
19398 else $as_nop
19399 ac_wine_try_cflags_saved=$CFLAGS
19400 CFLAGS="$CFLAGS -Wl,--build-id"
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 int main(int argc, char **argv) { return 0; }
19404 _ACEOF
19405 if ac_fn_c_try_link "$LINENO"
19406 then :
19407 ac_cv_cflags__Wl___build_id=yes
19408 else $as_nop
19409 ac_cv_cflags__Wl___build_id=no
19411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19412 conftest$ac_exeext conftest.$ac_ext
19413 CFLAGS=$ac_wine_try_cflags_saved
19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19416 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19417 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19418 then :
19419 CFLAGS="$CFLAGS -Wl,--build-id"
19420 LDFLAGS="$LDFLAGS -Wl,--build-id"
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19427 printf %s "checking for the need to disable Fortify... " >&6; }
19428 if test ${ac_cv_c_fortify_enabled+y}
19429 then :
19430 printf %s "(cached) " >&6
19431 else $as_nop
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #include <string.h>
19436 main (void)
19438 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19439 #error Fortify enabled
19440 #endif
19442 return 0;
19444 _ACEOF
19445 if ac_fn_c_try_compile "$LINENO"
19446 then :
19447 ac_cv_c_fortify_enabled=no
19448 else $as_nop
19449 ac_cv_c_fortify_enabled=yes
19451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19454 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19455 if test "$ac_cv_c_fortify_enabled" = yes
19456 then
19457 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19462 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19463 if test ${ac_cv_c_cfi_support+y}
19464 then :
19465 printf %s "(cached) " >&6
19466 else $as_nop
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19471 main (void)
19475 return 0;
19477 _ACEOF
19478 if ac_fn_c_try_compile "$LINENO"
19479 then :
19480 ac_cv_c_cfi_support="yes"
19481 else $as_nop
19482 ac_cv_c_cfi_support="no"
19484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19487 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19488 if test "$ac_cv_c_cfi_support" = "yes"
19489 then
19490 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19491 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19492 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19493 elif test $HOST_ARCH = x86_64
19494 then
19495 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19499 case "$HOST_ARCH,$PE_ARCHS" in
19500 x86_64,*i386*) wine_binary="wine" ;;
19501 x86_64,*) wine_binary="wine64" ;;
19502 *) wine_binary="wine" ;;
19503 esac
19504 WINELOADER_PROGRAMS="$wine_binary"
19507 case $host_os in
19508 linux*)
19509 case $host_cpu in
19510 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19511 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19512 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19514 esac
19516 darwin*|macosx*)
19517 if test "$wine_can_build_preloader" = "yes"
19518 then
19519 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19520 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19523 esac
19526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19527 printf %s "checking for library containing dlopen... " >&6; }
19528 if test ${ac_cv_search_dlopen+y}
19529 then :
19530 printf %s "(cached) " >&6
19531 else $as_nop
19532 ac_func_search_save_LIBS=$LIBS
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19536 /* Override any GCC internal prototype to avoid an error.
19537 Use char because int might match the return type of a GCC
19538 builtin and then its argument prototype would still apply. */
19539 char dlopen ();
19541 main (void)
19543 return dlopen ();
19545 return 0;
19547 _ACEOF
19548 for ac_lib in '' dl
19550 if test -z "$ac_lib"; then
19551 ac_res="none required"
19552 else
19553 ac_res=-l$ac_lib
19554 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19556 if ac_fn_c_try_link "$LINENO"
19557 then :
19558 ac_cv_search_dlopen=$ac_res
19560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19561 conftest$ac_exeext
19562 if test ${ac_cv_search_dlopen+y}
19563 then :
19564 break
19566 done
19567 if test ${ac_cv_search_dlopen+y}
19568 then :
19570 else $as_nop
19571 ac_cv_search_dlopen=no
19573 rm conftest.$ac_ext
19574 LIBS=$ac_func_search_save_LIBS
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19577 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19578 ac_res=$ac_cv_search_dlopen
19579 if test "$ac_res" != no
19580 then :
19581 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19587 printf %s "checking for library containing gethostbyname... " >&6; }
19588 if test ${ac_cv_search_gethostbyname+y}
19589 then :
19590 printf %s "(cached) " >&6
19591 else $as_nop
19592 ac_func_search_save_LIBS=$LIBS
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19596 /* Override any GCC internal prototype to avoid an error.
19597 Use char because int might match the return type of a GCC
19598 builtin and then its argument prototype would still apply. */
19599 char gethostbyname ();
19601 main (void)
19603 return gethostbyname ();
19605 return 0;
19607 _ACEOF
19608 for ac_lib in '' nsl
19610 if test -z "$ac_lib"; then
19611 ac_res="none required"
19612 else
19613 ac_res=-l$ac_lib
19614 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19616 if ac_fn_c_try_link "$LINENO"
19617 then :
19618 ac_cv_search_gethostbyname=$ac_res
19620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19621 conftest$ac_exeext
19622 if test ${ac_cv_search_gethostbyname+y}
19623 then :
19624 break
19626 done
19627 if test ${ac_cv_search_gethostbyname+y}
19628 then :
19630 else $as_nop
19631 ac_cv_search_gethostbyname=no
19633 rm conftest.$ac_ext
19634 LIBS=$ac_func_search_save_LIBS
19636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19637 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19638 ac_res=$ac_cv_search_gethostbyname
19639 if test "$ac_res" != no
19640 then :
19641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19647 printf %s "checking for library containing connect... " >&6; }
19648 if test ${ac_cv_search_connect+y}
19649 then :
19650 printf %s "(cached) " >&6
19651 else $as_nop
19652 ac_func_search_save_LIBS=$LIBS
19653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19656 /* Override any GCC internal prototype to avoid an error.
19657 Use char because int might match the return type of a GCC
19658 builtin and then its argument prototype would still apply. */
19659 char connect ();
19661 main (void)
19663 return connect ();
19665 return 0;
19667 _ACEOF
19668 for ac_lib in '' socket
19670 if test -z "$ac_lib"; then
19671 ac_res="none required"
19672 else
19673 ac_res=-l$ac_lib
19674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19676 if ac_fn_c_try_link "$LINENO"
19677 then :
19678 ac_cv_search_connect=$ac_res
19680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19681 conftest$ac_exeext
19682 if test ${ac_cv_search_connect+y}
19683 then :
19684 break
19686 done
19687 if test ${ac_cv_search_connect+y}
19688 then :
19690 else $as_nop
19691 ac_cv_search_connect=no
19693 rm conftest.$ac_ext
19694 LIBS=$ac_func_search_save_LIBS
19696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19697 printf "%s\n" "$ac_cv_search_connect" >&6; }
19698 ac_res=$ac_cv_search_connect
19699 if test "$ac_res" != no
19700 then :
19701 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19707 printf %s "checking for library containing inet_aton... " >&6; }
19708 if test ${ac_cv_search_inet_aton+y}
19709 then :
19710 printf %s "(cached) " >&6
19711 else $as_nop
19712 ac_func_search_save_LIBS=$LIBS
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19716 /* Override any GCC internal prototype to avoid an error.
19717 Use char because int might match the return type of a GCC
19718 builtin and then its argument prototype would still apply. */
19719 char inet_aton ();
19721 main (void)
19723 return inet_aton ();
19725 return 0;
19727 _ACEOF
19728 for ac_lib in '' resolv
19730 if test -z "$ac_lib"; then
19731 ac_res="none required"
19732 else
19733 ac_res=-l$ac_lib
19734 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19736 if ac_fn_c_try_link "$LINENO"
19737 then :
19738 ac_cv_search_inet_aton=$ac_res
19740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19741 conftest$ac_exeext
19742 if test ${ac_cv_search_inet_aton+y}
19743 then :
19744 break
19746 done
19747 if test ${ac_cv_search_inet_aton+y}
19748 then :
19750 else $as_nop
19751 ac_cv_search_inet_aton=no
19753 rm conftest.$ac_ext
19754 LIBS=$ac_func_search_save_LIBS
19756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19757 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19758 ac_res=$ac_cv_search_inet_aton
19759 if test "$ac_res" != no
19760 then :
19761 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19766 ac_save_CFLAGS="$CFLAGS"
19767 CFLAGS="$CFLAGS $BUILTINFLAG"
19768 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19769 if test "x$ac_cv_func_dladdr1" = xyes
19770 then :
19771 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19774 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19775 if test "x$ac_cv_func_dlinfo" = xyes
19776 then :
19777 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19780 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19781 if test "x$ac_cv_func_epoll_create" = xyes
19782 then :
19783 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19786 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19787 if test "x$ac_cv_func_fstatfs" = xyes
19788 then :
19789 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19792 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19793 if test "x$ac_cv_func_futimens" = xyes
19794 then :
19795 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19798 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19799 if test "x$ac_cv_func_futimes" = xyes
19800 then :
19801 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19804 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19805 if test "x$ac_cv_func_futimesat" = xyes
19806 then :
19807 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19810 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19811 if test "x$ac_cv_func_getaddrinfo" = xyes
19812 then :
19813 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19816 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19817 if test "x$ac_cv_func_getattrlist" = xyes
19818 then :
19819 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19822 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19823 if test "x$ac_cv_func_getauxval" = xyes
19824 then :
19825 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19828 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19829 if test "x$ac_cv_func_getifaddrs" = xyes
19830 then :
19831 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19834 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19835 if test "x$ac_cv_func_getrandom" = xyes
19836 then :
19837 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19840 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19841 if test "x$ac_cv_func_kqueue" = xyes
19842 then :
19843 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19846 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19847 if test "x$ac_cv_func_mach_continuous_time" = xyes
19848 then :
19849 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19852 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19853 if test "x$ac_cv_func_pipe2" = xyes
19854 then :
19855 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19858 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19859 if test "x$ac_cv_func_port_create" = xyes
19860 then :
19861 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19864 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19865 if test "x$ac_cv_func_posix_fadvise" = xyes
19866 then :
19867 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19870 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19871 if test "x$ac_cv_func_posix_fallocate" = xyes
19872 then :
19873 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19876 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19877 if test "x$ac_cv_func_prctl" = xyes
19878 then :
19879 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19882 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19883 if test "x$ac_cv_func_proc_pidinfo" = xyes
19884 then :
19885 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19888 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19889 if test "x$ac_cv_func_sched_yield" = xyes
19890 then :
19891 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19894 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19895 if test "x$ac_cv_func_setproctitle" = xyes
19896 then :
19897 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19900 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19901 if test "x$ac_cv_func_setprogname" = xyes
19902 then :
19903 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19906 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19907 if test "x$ac_cv_func_sigprocmask" = xyes
19908 then :
19909 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19912 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19913 if test "x$ac_cv_func_sysinfo" = xyes
19914 then :
19915 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19918 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19919 if test "x$ac_cv_func_tcdrain" = xyes
19920 then :
19921 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19924 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19925 if test "x$ac_cv_func_thr_kill2" = xyes
19926 then :
19927 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19931 CFLAGS="$ac_save_CFLAGS"
19933 case $host_os in
19934 darwin*|macosx*) ;;
19935 *) ac_save_LIBS=$LIBS
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19937 printf %s "checking for library containing clock_gettime... " >&6; }
19938 if test ${ac_cv_search_clock_gettime+y}
19939 then :
19940 printf %s "(cached) " >&6
19941 else $as_nop
19942 ac_func_search_save_LIBS=$LIBS
19943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19946 /* Override any GCC internal prototype to avoid an error.
19947 Use char because int might match the return type of a GCC
19948 builtin and then its argument prototype would still apply. */
19949 char clock_gettime ();
19951 main (void)
19953 return clock_gettime ();
19955 return 0;
19957 _ACEOF
19958 for ac_lib in '' rt
19960 if test -z "$ac_lib"; then
19961 ac_res="none required"
19962 else
19963 ac_res=-l$ac_lib
19964 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19966 if ac_fn_c_try_link "$LINENO"
19967 then :
19968 ac_cv_search_clock_gettime=$ac_res
19970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19971 conftest$ac_exeext
19972 if test ${ac_cv_search_clock_gettime+y}
19973 then :
19974 break
19976 done
19977 if test ${ac_cv_search_clock_gettime+y}
19978 then :
19980 else $as_nop
19981 ac_cv_search_clock_gettime=no
19983 rm conftest.$ac_ext
19984 LIBS=$ac_func_search_save_LIBS
19986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19987 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19988 ac_res=$ac_cv_search_clock_gettime
19989 if test "$ac_res" != no
19990 then :
19991 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19993 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19995 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19999 LIBS=$ac_save_LIBS
20001 esac
20003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20004 printf %s "checking for sched_setaffinity... " >&6; }
20005 if test ${wine_cv_have_sched_setaffinity+y}
20006 then :
20007 printf %s "(cached) " >&6
20008 else $as_nop
20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20011 #include <sched.h>
20013 main (void)
20015 sched_setaffinity(0, 0, 0);
20017 return 0;
20019 _ACEOF
20020 if ac_fn_c_try_link "$LINENO"
20021 then :
20022 wine_cv_have_sched_setaffinity=yes
20023 else $as_nop
20024 wine_cv_have_sched_setaffinity=no
20026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20027 conftest$ac_exeext conftest.$ac_ext
20029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20030 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20031 if test "$wine_cv_have_sched_setaffinity" = "yes"
20032 then
20034 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20040 printf %s "checking for inline... " >&6; }
20041 if test ${ac_cv_c_inline+y}
20042 then :
20043 printf %s "(cached) " >&6
20044 else $as_nop
20045 ac_cv_c_inline=no
20046 for ac_kw in inline __inline__ __inline; do
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20049 #ifndef __cplusplus
20050 typedef int foo_t;
20051 static $ac_kw foo_t static_foo (void) {return 0; }
20052 $ac_kw foo_t foo (void) {return 0; }
20053 #endif
20055 _ACEOF
20056 if ac_fn_c_try_compile "$LINENO"
20057 then :
20058 ac_cv_c_inline=$ac_kw
20060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20061 test "$ac_cv_c_inline" != no && break
20062 done
20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20066 printf "%s\n" "$ac_cv_c_inline" >&6; }
20068 case $ac_cv_c_inline in
20069 inline | yes) ;;
20071 case $ac_cv_c_inline in
20072 no) ac_val=;;
20073 *) ac_val=$ac_cv_c_inline;;
20074 esac
20075 cat >>confdefs.h <<_ACEOF
20076 #ifndef __cplusplus
20077 #define inline $ac_val
20078 #endif
20079 _ACEOF
20081 esac
20083 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20085 if test "x$ac_cv_type_request_sense" = xyes
20086 then :
20088 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20094 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20095 #include <sys/socket.h>
20096 #ifdef HAVE_SYS_SOCKETVAR_H
20097 #include <sys/socketvar.h>
20098 #endif
20099 #ifdef HAVE_NET_ROUTE_H
20100 #include <net/route.h>
20101 #endif
20102 #ifdef HAVE_NETINET_IN_H
20103 #include <netinet/in.h>
20104 #endif
20105 #ifdef HAVE_NETINET_IN_SYSTM_H
20106 #include <netinet/in_systm.h>
20107 #endif
20108 #ifdef HAVE_NETINET_IP_H
20109 #include <netinet/ip.h>
20110 #endif
20111 #ifdef HAVE_NETINET_IN_PCB_H
20112 #include <netinet/in_pcb.h>
20113 #endif
20115 if test "x$ac_cv_type_struct_xinpgen" = xyes
20116 then :
20118 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20125 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20126 if test ${wine_cv_linux_gethostbyname_r_6+y}
20127 then :
20128 printf %s "(cached) " >&6
20129 else $as_nop
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20132 #include <netdb.h>
20134 main (void)
20137 char *name=0;
20138 struct hostent he;
20139 struct hostent *result;
20140 char *buf=0;
20141 int bufsize=0;
20142 int errnr;
20143 char *addr=0;
20144 int addrlen=0;
20145 int addrtype=0;
20146 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20147 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20150 return 0;
20152 _ACEOF
20153 if ac_fn_c_try_link "$LINENO"
20154 then :
20155 wine_cv_linux_gethostbyname_r_6=yes
20156 else $as_nop
20157 wine_cv_linux_gethostbyname_r_6=no
20160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20161 conftest$ac_exeext conftest.$ac_ext
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20165 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20166 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20167 then
20169 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20173 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20174 #include <sys/socket.h>
20175 #ifdef HAVE_SYS_UN_H
20176 # include <sys/un.h>
20177 #endif
20179 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20180 then :
20182 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20186 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20187 #include <sys/socket.h>
20188 #ifdef HAVE_SYS_UN_H
20189 # include <sys/un.h>
20190 #endif
20192 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20193 then :
20195 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20201 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20202 #ifdef HAVE_SCSI_SG_H
20203 #include <scsi/sg.h>
20204 #endif
20206 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20207 then :
20209 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20213 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>
20214 #ifdef HAVE_SCSI_SG_H
20215 #include <scsi/sg.h>
20216 #endif
20218 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20219 then :
20221 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20227 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20229 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20230 then :
20232 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20238 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20239 #ifdef HAVE_SYS_MTIO_H
20240 #include <sys/mtio.h>
20241 #endif
20243 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20244 then :
20246 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20250 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20251 #ifdef HAVE_SYS_MTIO_H
20252 #include <sys/mtio.h>
20253 #endif
20255 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20256 then :
20258 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20262 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20263 #ifdef HAVE_SYS_MTIO_H
20264 #include <sys/mtio.h>
20265 #endif
20267 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20268 then :
20270 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20276 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20277 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20278 then :
20280 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20284 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20285 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20286 then :
20288 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20292 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20293 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20294 then :
20296 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20300 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20301 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20302 then :
20304 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20308 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20309 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20310 then :
20312 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20316 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20317 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20318 then :
20320 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20324 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20325 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20326 then :
20328 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20332 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20333 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20334 then :
20336 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20340 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20341 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20342 then :
20344 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20348 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20349 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20350 then :
20352 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20356 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20357 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20358 then :
20360 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20366 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>
20367 #ifdef HAVE_NETINET_IN_H
20368 #include <netinet/in.h>
20369 #endif
20371 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20372 then :
20374 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20380 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
20381 #include <resolv.h>
20382 #endif
20384 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20385 then :
20387 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20393 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20394 #include <netinet/in.h>
20395 #endif
20397 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20398 then :
20400 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20406 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20407 #ifdef HAVE_SYS_SOCKETVAR_H
20408 #include <sys/socketvar.h>
20409 #endif
20410 #ifdef HAVE_NETINET_IN_H
20411 #include <netinet/in.h>
20412 #endif
20413 #ifdef HAVE_NETINET_IP_VAR_H
20414 #include <netinet/ip_var.h>
20415 #endif
20417 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20418 then :
20420 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20426 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
20427 #include <netinet/ip_var.h>
20428 #endif
20430 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20431 then :
20433 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20439 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20440 #ifdef HAVE_SYS_SOCKETVAR_H
20441 #include <sys/socketvar.h>
20442 #endif
20443 #ifdef HAVE_NETINET_IN_H
20444 #include <netinet/in.h>
20445 #endif
20446 #ifdef HAVE_NETINET6_IP6_VAR_H
20447 #include <netinet6/ip6_var.h>
20448 #endif
20450 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20451 then :
20453 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20459 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20460 #ifdef HAVE_SYS_SOCKETVAR_H
20461 #include <sys/socketvar.h>
20462 #endif
20463 #ifdef HAVE_NETINET_IN_H
20464 #include <netinet/in.h>
20465 #endif
20466 #ifdef HAVE_NETINET_IP_H
20467 #include <netinet/ip.h>
20468 #endif
20469 #ifdef HAVE_NETINET_IP_ICMP_H
20470 #include <netinet/ip_icmp.h>
20471 #endif
20472 #ifdef HAVE_NETINET_ICMP_VAR_H
20473 #include <netinet/icmp_var.h>
20474 #endif
20476 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20477 then :
20479 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20485 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20486 #ifdef HAVE_SYS_SOCKETVAR_H
20487 #include <sys/socketvar.h>
20488 #endif
20489 #ifdef HAVE_NETINET_IN_H
20490 #include <netinet/in.h>
20491 #endif
20492 #ifdef HAVE_NETINET_ICMP6_H
20493 #include <netinet/icmp6.h>
20494 #endif
20496 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20497 then :
20499 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20505 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20506 #ifdef HAVE_SYS_SOCKETVAR_H
20507 #include <sys/socketvar.h>
20508 #endif
20509 #ifdef HAVE_NETINET_IN_H
20510 #include <netinet/in.h>
20511 #endif
20512 #ifdef HAVE_NETINET_TCP_H
20513 #include <netinet/tcp.h>
20514 #endif
20515 #ifdef HAVE_NETINET_TCP_VAR_H
20516 #include <netinet/tcp_var.h>
20517 #endif
20519 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20520 then :
20522 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20528 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
20529 #include <netinet/tcp_var.h>
20530 #endif
20532 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20533 then :
20535 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20541 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20542 #ifdef HAVE_NETINET_IN_H
20543 #include <netinet/in.h>
20544 #endif
20545 #ifdef HAVE_NETINET_IP_VAR_H
20546 #include <netinet/ip_var.h>
20547 #endif
20548 #ifdef HAVE_NETINET_UDP_H
20549 #include <netinet/udp.h>
20550 #endif
20551 #ifdef HAVE_NETINET_UDP_VAR_H
20552 #include <netinet/udp_var.h>
20553 #endif
20555 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20556 then :
20558 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20564 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20565 #ifdef HAVE_NET_IF_H
20566 # include <net/if.h>
20567 #endif
20569 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20570 then :
20572 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20578 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20579 # include <sys/sysinfo.h>
20580 #endif
20582 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20583 then :
20585 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20589 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20590 # include <sys/sysinfo.h>
20591 #endif
20593 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20594 then :
20596 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20602 LIBS="$ac_save_LIBS"
20604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20605 printf %s "checking for __builtin_popcount... " >&6; }
20606 if test ${ac_cv_have___builtin_popcount+y}
20607 then :
20608 printf %s "(cached) " >&6
20609 else $as_nop
20610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h. */
20614 main (void)
20616 return __builtin_popcount(1)
20618 return 0;
20620 _ACEOF
20621 if ac_fn_c_try_link "$LINENO"
20622 then :
20623 ac_cv_have___builtin_popcount="yes"
20624 else $as_nop
20625 ac_cv_have___builtin_popcount="no"
20627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20628 conftest$ac_exeext conftest.$ac_ext
20630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20631 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20632 if test "$ac_cv_have___builtin_popcount" = "yes"
20633 then
20635 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20640 printf %s "checking for __clear_cache... " >&6; }
20641 if test ${ac_cv_have___clear_cache+y}
20642 then :
20643 printf %s "(cached) " >&6
20644 else $as_nop
20645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20646 /* end confdefs.h. */
20649 main (void)
20651 __clear_cache((void*)0, (void*)0); return 0;
20653 return 0;
20655 _ACEOF
20656 if ac_fn_c_try_link "$LINENO"
20657 then :
20658 ac_cv_have___clear_cache="yes"
20659 else $as_nop
20660 ac_cv_have___clear_cache="no"
20662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20663 conftest$ac_exeext conftest.$ac_ext
20665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20666 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20667 if test "$ac_cv_have___clear_cache" = "yes"
20668 then
20670 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20675 case $host_cpu in
20676 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20677 printf %s "checking whether we need to define __i386__... " >&6; }
20678 if test ${ac_cv_cpp_def___i386__+y}
20679 then :
20680 printf %s "(cached) " >&6
20681 else $as_nop
20682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20684 #ifndef __i386__
20686 #endif
20687 _ACEOF
20688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20689 $EGREP "yes" >/dev/null 2>&1
20690 then :
20691 ac_cv_cpp_def___i386__=yes
20692 else $as_nop
20693 ac_cv_cpp_def___i386__=no
20695 rm -rf conftest*
20698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20699 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20700 if test "x$ac_cv_cpp_def___i386__" = xyes
20701 then :
20702 CFLAGS="$CFLAGS -D__i386__"
20703 LINTFLAGS="$LINTFLAGS -D__i386__"
20704 fi ;;
20705 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20706 printf %s "checking whether we need to define __x86_64__... " >&6; }
20707 if test ${ac_cv_cpp_def___x86_64__+y}
20708 then :
20709 printf %s "(cached) " >&6
20710 else $as_nop
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20713 #ifndef __x86_64__
20715 #endif
20716 _ACEOF
20717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20718 $EGREP "yes" >/dev/null 2>&1
20719 then :
20720 ac_cv_cpp_def___x86_64__=yes
20721 else $as_nop
20722 ac_cv_cpp_def___x86_64__=no
20724 rm -rf conftest*
20727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20728 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20729 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20730 then :
20731 CFLAGS="$CFLAGS -D__x86_64__"
20732 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20733 fi ;;
20734 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20735 printf %s "checking whether we need to define __sparc64__... " >&6; }
20736 if test ${ac_cv_cpp_def___sparc64__+y}
20737 then :
20738 printf %s "(cached) " >&6
20739 else $as_nop
20740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20741 /* end confdefs.h. */
20742 #ifndef __sparc64__
20744 #endif
20745 _ACEOF
20746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20747 $EGREP "yes" >/dev/null 2>&1
20748 then :
20749 ac_cv_cpp_def___sparc64__=yes
20750 else $as_nop
20751 ac_cv_cpp_def___sparc64__=no
20753 rm -rf conftest*
20756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20757 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20758 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20759 then :
20760 CFLAGS="$CFLAGS -D__sparc64__"
20761 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20762 fi ;;
20763 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20764 printf %s "checking whether we need to define __sparc__... " >&6; }
20765 if test ${ac_cv_cpp_def___sparc__+y}
20766 then :
20767 printf %s "(cached) " >&6
20768 else $as_nop
20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h. */
20771 #ifndef __sparc__
20773 #endif
20774 _ACEOF
20775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20776 $EGREP "yes" >/dev/null 2>&1
20777 then :
20778 ac_cv_cpp_def___sparc__=yes
20779 else $as_nop
20780 ac_cv_cpp_def___sparc__=no
20782 rm -rf conftest*
20785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20786 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20787 if test "x$ac_cv_cpp_def___sparc__" = xyes
20788 then :
20789 CFLAGS="$CFLAGS -D__sparc__"
20790 LINTFLAGS="$LINTFLAGS -D__sparc__"
20791 fi ;;
20792 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20793 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20794 if test ${ac_cv_cpp_def___powerpc64__+y}
20795 then :
20796 printf %s "(cached) " >&6
20797 else $as_nop
20798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20800 #ifndef __powerpc64__
20802 #endif
20803 _ACEOF
20804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20805 $EGREP "yes" >/dev/null 2>&1
20806 then :
20807 ac_cv_cpp_def___powerpc64__=yes
20808 else $as_nop
20809 ac_cv_cpp_def___powerpc64__=no
20811 rm -rf conftest*
20814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20815 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20816 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20817 then :
20818 CFLAGS="$CFLAGS -D__powerpc64__"
20819 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20820 fi ;;
20821 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20822 printf %s "checking whether we need to define __powerpc__... " >&6; }
20823 if test ${ac_cv_cpp_def___powerpc__+y}
20824 then :
20825 printf %s "(cached) " >&6
20826 else $as_nop
20827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20829 #ifndef __powerpc__
20831 #endif
20832 _ACEOF
20833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20834 $EGREP "yes" >/dev/null 2>&1
20835 then :
20836 ac_cv_cpp_def___powerpc__=yes
20837 else $as_nop
20838 ac_cv_cpp_def___powerpc__=no
20840 rm -rf conftest*
20843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20844 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20845 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20846 then :
20847 CFLAGS="$CFLAGS -D__powerpc__"
20848 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20849 fi ;;
20850 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20851 printf %s "checking whether we need to define __aarch64__... " >&6; }
20852 if test ${ac_cv_cpp_def___aarch64__+y}
20853 then :
20854 printf %s "(cached) " >&6
20855 else $as_nop
20856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20858 #ifndef __aarch64__
20860 #endif
20861 _ACEOF
20862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20863 $EGREP "yes" >/dev/null 2>&1
20864 then :
20865 ac_cv_cpp_def___aarch64__=yes
20866 else $as_nop
20867 ac_cv_cpp_def___aarch64__=no
20869 rm -rf conftest*
20872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20873 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20874 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20875 then :
20876 CFLAGS="$CFLAGS -D__aarch64__"
20877 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20878 fi ;;
20879 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20880 printf %s "checking whether we need to define __arm__... " >&6; }
20881 if test ${ac_cv_cpp_def___arm__+y}
20882 then :
20883 printf %s "(cached) " >&6
20884 else $as_nop
20885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20886 /* end confdefs.h. */
20887 #ifndef __arm__
20889 #endif
20890 _ACEOF
20891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20892 $EGREP "yes" >/dev/null 2>&1
20893 then :
20894 ac_cv_cpp_def___arm__=yes
20895 else $as_nop
20896 ac_cv_cpp_def___arm__=no
20898 rm -rf conftest*
20901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20902 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20903 if test "x$ac_cv_cpp_def___arm__" = xyes
20904 then :
20905 CFLAGS="$CFLAGS -D__arm__"
20906 LINTFLAGS="$LINTFLAGS -D__arm__"
20907 fi ;;
20908 esac
20910 case $host_vendor in
20911 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20912 printf %s "checking whether we need to define __sun__... " >&6; }
20913 if test ${ac_cv_cpp_def___sun__+y}
20914 then :
20915 printf %s "(cached) " >&6
20916 else $as_nop
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 #ifndef __sun__
20921 #endif
20922 _ACEOF
20923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20924 $EGREP "yes" >/dev/null 2>&1
20925 then :
20926 ac_cv_cpp_def___sun__=yes
20927 else $as_nop
20928 ac_cv_cpp_def___sun__=no
20930 rm -rf conftest*
20933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20934 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20935 if test "x$ac_cv_cpp_def___sun__" = xyes
20936 then :
20937 CFLAGS="$CFLAGS -D__sun__"
20938 LINTFLAGS="$LINTFLAGS -D__sun__"
20939 fi ;;
20940 esac
20946 ac_config_commands="$ac_config_commands include/stamp-h"
20948 printf %s "creating Makefile rules..." >&6
20950 makedep_flags=""
20951 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20953 wine_srcdir=
20954 test "$srcdir" = . || wine_srcdir="$srcdir/"
20956 ac_config_links="$ac_config_links wine:tools/winewrapper"
20957 wine_fn_config_symlink wine
20958 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20959 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20960 wine_fn_config_symlink wine64
20963 wine_fn_config_makefile dlls/acledit enable_acledit
20964 wine_fn_config_makefile dlls/aclui enable_aclui
20965 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20966 wine_fn_config_makefile dlls/activeds enable_activeds
20967 wine_fn_config_makefile dlls/activeds/tests enable_tests
20968 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20969 wine_fn_config_makefile dlls/adsldp enable_adsldp
20970 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20971 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20972 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20973 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20974 wine_fn_config_makefile dlls/advpack enable_advpack
20975 wine_fn_config_makefile dlls/advpack/tests enable_tests
20976 wine_fn_config_makefile dlls/amsi enable_amsi
20977 wine_fn_config_makefile dlls/amstream enable_amstream
20978 wine_fn_config_makefile dlls/amstream/tests enable_tests
20979 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20980 wine_fn_config_makefile dlls/apphelp enable_apphelp
20981 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20982 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20983 wine_fn_config_makefile dlls/atl enable_atl
20984 wine_fn_config_makefile dlls/atl/tests enable_tests
20985 wine_fn_config_makefile dlls/atl100 enable_atl100
20986 wine_fn_config_makefile dlls/atl100/tests enable_tests
20987 wine_fn_config_makefile dlls/atl110 enable_atl110
20988 wine_fn_config_makefile dlls/atl110/tests enable_tests
20989 wine_fn_config_makefile dlls/atl80 enable_atl80
20990 wine_fn_config_makefile dlls/atl80/tests enable_tests
20991 wine_fn_config_makefile dlls/atl90 enable_atl90
20992 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20993 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20994 wine_fn_config_makefile dlls/atmlib enable_atmlib
20995 wine_fn_config_makefile dlls/authz enable_authz
20996 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20997 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20998 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20999 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21000 wine_fn_config_makefile dlls/avrt enable_avrt
21001 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21002 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21003 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21004 wine_fn_config_makefile dlls/browseui enable_browseui
21005 wine_fn_config_makefile dlls/browseui/tests enable_tests
21006 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21007 wine_fn_config_makefile dlls/cabinet enable_cabinet
21008 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21009 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21010 wine_fn_config_makefile dlls/cards enable_cards
21011 wine_fn_config_makefile dlls/cdosys enable_cdosys
21012 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21013 wine_fn_config_makefile dlls/clusapi enable_clusapi
21014 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21015 wine_fn_config_makefile dlls/combase enable_combase
21016 wine_fn_config_makefile dlls/combase/tests enable_tests
21017 wine_fn_config_makefile dlls/comcat enable_comcat
21018 wine_fn_config_makefile dlls/comcat/tests enable_tests
21019 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21020 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21021 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21022 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21023 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21024 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21025 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21026 wine_fn_config_makefile dlls/compstui enable_compstui
21027 wine_fn_config_makefile dlls/compstui/tests enable_tests
21028 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21029 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21030 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21031 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21032 wine_fn_config_makefile dlls/connect enable_connect
21033 wine_fn_config_makefile dlls/credui enable_credui
21034 wine_fn_config_makefile dlls/credui/tests enable_tests
21035 wine_fn_config_makefile dlls/crtdll enable_crtdll
21036 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21037 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21038 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21039 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21040 wine_fn_config_makefile dlls/cryptext enable_cryptext
21041 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21042 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21043 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21044 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21045 wine_fn_config_makefile dlls/cryptui enable_cryptui
21046 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21047 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21048 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21049 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21050 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21051 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21052 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21053 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21054 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21055 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21056 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21057 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21058 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21059 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21060 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21061 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21062 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21063 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21064 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21065 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21066 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21067 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21068 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21069 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21070 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21071 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21072 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21073 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21074 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21075 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21076 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21077 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21078 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21079 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21080 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21081 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21082 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21083 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21084 wine_fn_config_makefile dlls/d3dim enable_d3dim
21085 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21086 wine_fn_config_makefile dlls/d3drm enable_d3drm
21087 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21088 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21089 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21090 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21091 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21092 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21093 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21094 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21095 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21096 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21097 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21098 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21099 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21100 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21101 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21102 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21103 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21104 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21105 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21106 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21107 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21108 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21109 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21110 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21111 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21112 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21113 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21114 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21115 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21116 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21117 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21118 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21119 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21120 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21121 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21122 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21123 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21124 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21125 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21126 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21127 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21128 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21129 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21130 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21131 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21132 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21133 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21134 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21135 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21136 wine_fn_config_makefile dlls/davclnt enable_davclnt
21137 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21138 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21139 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21140 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21141 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21142 wine_fn_config_makefile dlls/dcomp enable_dcomp
21143 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21144 wine_fn_config_makefile dlls/ddraw enable_ddraw
21145 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21146 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21147 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21148 wine_fn_config_makefile dlls/devenum enable_devenum
21149 wine_fn_config_makefile dlls/devenum/tests enable_tests
21150 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21151 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21152 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21153 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21154 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21155 wine_fn_config_makefile dlls/difxapi enable_difxapi
21156 wine_fn_config_makefile dlls/dinput enable_dinput
21157 wine_fn_config_makefile dlls/dinput/tests enable_tests
21158 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21159 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21160 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21161 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21162 wine_fn_config_makefile dlls/dispex enable_dispex
21163 wine_fn_config_makefile dlls/dispex/tests enable_tests
21164 wine_fn_config_makefile dlls/display.drv16 enable_win16
21165 wine_fn_config_makefile dlls/dmband enable_dmband
21166 wine_fn_config_makefile dlls/dmband/tests enable_tests
21167 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21168 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21169 wine_fn_config_makefile dlls/dmime enable_dmime
21170 wine_fn_config_makefile dlls/dmime/tests enable_tests
21171 wine_fn_config_makefile dlls/dmloader enable_dmloader
21172 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21173 wine_fn_config_makefile dlls/dmscript enable_dmscript
21174 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21175 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21176 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21177 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21178 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21179 wine_fn_config_makefile dlls/dmusic enable_dmusic
21180 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21181 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21182 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21183 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21184 wine_fn_config_makefile dlls/dplay enable_dplay
21185 wine_fn_config_makefile dlls/dplayx enable_dplayx
21186 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21187 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21188 wine_fn_config_makefile dlls/dpnet enable_dpnet
21189 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21190 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21191 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21192 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21193 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21194 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21195 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21196 wine_fn_config_makefile dlls/drmclien enable_drmclien
21197 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21198 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21199 wine_fn_config_makefile dlls/dsound enable_dsound
21200 wine_fn_config_makefile dlls/dsound/tests enable_tests
21201 wine_fn_config_makefile dlls/dsquery enable_dsquery
21202 wine_fn_config_makefile dlls/dssenh enable_dssenh
21203 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21204 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21205 wine_fn_config_makefile dlls/dswave enable_dswave
21206 wine_fn_config_makefile dlls/dswave/tests enable_tests
21207 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21208 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21209 wine_fn_config_makefile dlls/dwrite enable_dwrite
21210 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21211 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21212 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21213 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21214 wine_fn_config_makefile dlls/dxgi enable_dxgi
21215 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21216 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21217 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21218 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21219 wine_fn_config_makefile dlls/esent enable_esent
21220 wine_fn_config_makefile dlls/evr enable_evr
21221 wine_fn_config_makefile dlls/evr/tests enable_tests
21222 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21223 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21224 wine_fn_config_makefile dlls/faultrep enable_faultrep
21225 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21226 wine_fn_config_makefile dlls/feclient enable_feclient
21227 wine_fn_config_makefile dlls/fltlib enable_fltlib
21228 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21229 wine_fn_config_makefile dlls/fntcache enable_fntcache
21230 wine_fn_config_makefile dlls/fontsub enable_fontsub
21231 wine_fn_config_makefile dlls/fusion enable_fusion
21232 wine_fn_config_makefile dlls/fusion/tests enable_tests
21233 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21234 wine_fn_config_makefile dlls/gameux enable_gameux
21235 wine_fn_config_makefile dlls/gameux/tests enable_tests
21236 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21237 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21238 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21239 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21240 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21241 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21242 wine_fn_config_makefile dlls/glu32 enable_glu32
21243 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21244 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21245 wine_fn_config_makefile dlls/hal enable_hal
21246 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21247 wine_fn_config_makefile dlls/hid enable_hid
21248 wine_fn_config_makefile dlls/hid/tests enable_tests
21249 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21250 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21251 wine_fn_config_makefile dlls/hlink enable_hlink
21252 wine_fn_config_makefile dlls/hlink/tests enable_tests
21253 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21254 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21255 wine_fn_config_makefile dlls/http.sys enable_http_sys
21256 wine_fn_config_makefile dlls/httpapi enable_httpapi
21257 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21258 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21259 wine_fn_config_makefile dlls/iccvid enable_iccvid
21260 wine_fn_config_makefile dlls/icmp enable_icmp
21261 wine_fn_config_makefile dlls/ieframe enable_ieframe
21262 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21263 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21264 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21265 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21266 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21267 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21268 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21269 wine_fn_config_makefile dlls/imm32 enable_imm32
21270 wine_fn_config_makefile dlls/imm32/tests enable_tests
21271 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21272 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21273 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21274 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21275 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21276 wine_fn_config_makefile dlls/infosoft enable_infosoft
21277 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21278 wine_fn_config_makefile dlls/initpki enable_initpki
21279 wine_fn_config_makefile dlls/inkobj enable_inkobj
21280 wine_fn_config_makefile dlls/inseng enable_inseng
21281 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21282 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21283 wine_fn_config_makefile dlls/iprop enable_iprop
21284 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21285 wine_fn_config_makefile dlls/itircl enable_itircl
21286 wine_fn_config_makefile dlls/itss enable_itss
21287 wine_fn_config_makefile dlls/itss/tests enable_tests
21288 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21289 wine_fn_config_makefile dlls/jscript enable_jscript
21290 wine_fn_config_makefile dlls/jscript/tests enable_tests
21291 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21292 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21293 wine_fn_config_makefile dlls/kerberos enable_kerberos
21294 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21295 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21296 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21297 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21298 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21299 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21300 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21301 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21302 wine_fn_config_makefile dlls/ksuser enable_ksuser
21303 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21304 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21305 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21306 wine_fn_config_makefile dlls/loadperf enable_loadperf
21307 wine_fn_config_makefile dlls/localspl enable_localspl
21308 wine_fn_config_makefile dlls/localspl/tests enable_tests
21309 wine_fn_config_makefile dlls/localui enable_localui
21310 wine_fn_config_makefile dlls/localui/tests enable_tests
21311 wine_fn_config_makefile dlls/lz32 enable_lz32
21312 wine_fn_config_makefile dlls/lz32/tests enable_tests
21313 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21314 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21315 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21316 wine_fn_config_makefile dlls/mapistub enable_mapistub
21317 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21318 wine_fn_config_makefile dlls/mcicda enable_mcicda
21319 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21320 wine_fn_config_makefile dlls/mciseq enable_mciseq
21321 wine_fn_config_makefile dlls/mciwave enable_mciwave
21322 wine_fn_config_makefile dlls/mf enable_mf
21323 wine_fn_config_makefile dlls/mf/tests enable_tests
21324 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21325 wine_fn_config_makefile dlls/mferror enable_mferror
21326 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21327 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21328 wine_fn_config_makefile dlls/mfplat enable_mfplat
21329 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21330 wine_fn_config_makefile dlls/mfplay enable_mfplay
21331 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21332 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21333 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21334 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21335 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21336 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21337 wine_fn_config_makefile dlls/midimap enable_midimap
21338 wine_fn_config_makefile dlls/mlang enable_mlang
21339 wine_fn_config_makefile dlls/mlang/tests enable_tests
21340 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21341 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21342 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21343 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21344 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21345 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21346 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21347 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21348 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21349 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21350 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21351 wine_fn_config_makefile dlls/mpr enable_mpr
21352 wine_fn_config_makefile dlls/mpr/tests enable_tests
21353 wine_fn_config_makefile dlls/mprapi enable_mprapi
21354 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21355 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21356 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21357 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21358 wine_fn_config_makefile dlls/msado15 enable_msado15
21359 wine_fn_config_makefile dlls/msado15/tests enable_tests
21360 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21361 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21362 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21363 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21364 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21365 wine_fn_config_makefile dlls/mscms enable_mscms
21366 wine_fn_config_makefile dlls/mscms/tests enable_tests
21367 wine_fn_config_makefile dlls/mscoree enable_mscoree
21368 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21369 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21370 wine_fn_config_makefile dlls/msctf enable_msctf
21371 wine_fn_config_makefile dlls/msctf/tests enable_tests
21372 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21373 wine_fn_config_makefile dlls/msctfp enable_msctfp
21374 wine_fn_config_makefile dlls/msdaps enable_msdaps
21375 wine_fn_config_makefile dlls/msdasql enable_msdasql
21376 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21377 wine_fn_config_makefile dlls/msdelta enable_msdelta
21378 wine_fn_config_makefile dlls/msdmo enable_msdmo
21379 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21380 wine_fn_config_makefile dlls/msdrm enable_msdrm
21381 wine_fn_config_makefile dlls/msftedit enable_msftedit
21382 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21383 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21384 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21385 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21386 wine_fn_config_makefile dlls/mshtml enable_mshtml
21387 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21388 wine_fn_config_makefile dlls/msi enable_msi
21389 wine_fn_config_makefile dlls/msi/tests enable_tests
21390 wine_fn_config_makefile dlls/msident enable_msident
21391 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21392 wine_fn_config_makefile dlls/msimsg enable_msimsg
21393 wine_fn_config_makefile dlls/msimtf enable_msimtf
21394 wine_fn_config_makefile dlls/msisip enable_msisip
21395 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21396 wine_fn_config_makefile dlls/msls31 enable_msls31
21397 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21398 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21399 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21400 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21401 wine_fn_config_makefile dlls/msports enable_msports
21402 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21403 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21404 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21405 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21406 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21407 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21408 wine_fn_config_makefile dlls/mstask enable_mstask
21409 wine_fn_config_makefile dlls/mstask/tests enable_tests
21410 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21411 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21412 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21413 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21414 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21415 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21416 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21417 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21418 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21419 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21420 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21421 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21422 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21423 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21424 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21425 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21426 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21427 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21428 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21429 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21430 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21431 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21432 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21433 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21434 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21435 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21436 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21437 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21438 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21439 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21440 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21441 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21442 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21443 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21444 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21445 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21446 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21447 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21448 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21449 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21450 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21451 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21452 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21453 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21454 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21455 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21456 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21457 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21458 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21459 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21460 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21461 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21462 wine_fn_config_makefile dlls/mswsock enable_mswsock
21463 wine_fn_config_makefile dlls/msxml enable_msxml
21464 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21465 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21466 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21467 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21468 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21469 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21470 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21471 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21472 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21473 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21474 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21475 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21476 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21477 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21478 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21479 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21480 wine_fn_config_makefile dlls/netprofm enable_netprofm
21481 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21482 wine_fn_config_makefile dlls/netutils enable_netutils
21483 wine_fn_config_makefile dlls/newdev enable_newdev
21484 wine_fn_config_makefile dlls/ninput enable_ninput
21485 wine_fn_config_makefile dlls/ninput/tests enable_tests
21486 wine_fn_config_makefile dlls/normaliz enable_normaliz
21487 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21488 wine_fn_config_makefile dlls/npptools enable_npptools
21489 wine_fn_config_makefile dlls/nsi enable_nsi
21490 wine_fn_config_makefile dlls/nsi/tests enable_tests
21491 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21492 wine_fn_config_makefile dlls/ntdll enable_ntdll
21493 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21494 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21495 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21496 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21497 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21498 wine_fn_config_makefile dlls/ntprint enable_ntprint
21499 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21500 wine_fn_config_makefile dlls/objsel enable_objsel
21501 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21502 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21503 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21504 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21505 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21506 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21507 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21508 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21509 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21510 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21511 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21512 wine_fn_config_makefile dlls/ole32 enable_ole32
21513 wine_fn_config_makefile dlls/ole32/tests enable_tests
21514 wine_fn_config_makefile dlls/oleacc enable_oleacc
21515 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21516 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21517 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21518 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21519 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21520 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21521 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21522 wine_fn_config_makefile dlls/oledlg enable_oledlg
21523 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21524 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21525 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21526 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21527 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21528 wine_fn_config_makefile dlls/opcservices enable_opcservices
21529 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21530 wine_fn_config_makefile dlls/opencl enable_opencl
21531 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21532 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21533 wine_fn_config_makefile dlls/packager enable_packager
21534 wine_fn_config_makefile dlls/packager/tests enable_tests
21535 wine_fn_config_makefile dlls/pdh enable_pdh
21536 wine_fn_config_makefile dlls/pdh/tests enable_tests
21537 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21538 wine_fn_config_makefile dlls/pidgen enable_pidgen
21539 wine_fn_config_makefile dlls/powrprof enable_powrprof
21540 wine_fn_config_makefile dlls/printui enable_printui
21541 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21542 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21543 wine_fn_config_makefile dlls/propsys enable_propsys
21544 wine_fn_config_makefile dlls/propsys/tests enable_tests
21545 wine_fn_config_makefile dlls/psapi enable_psapi
21546 wine_fn_config_makefile dlls/psapi/tests enable_tests
21547 wine_fn_config_makefile dlls/pstorec enable_pstorec
21548 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21549 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21550 wine_fn_config_makefile dlls/qasf enable_qasf
21551 wine_fn_config_makefile dlls/qasf/tests enable_tests
21552 wine_fn_config_makefile dlls/qcap enable_qcap
21553 wine_fn_config_makefile dlls/qcap/tests enable_tests
21554 wine_fn_config_makefile dlls/qdvd enable_qdvd
21555 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21556 wine_fn_config_makefile dlls/qedit enable_qedit
21557 wine_fn_config_makefile dlls/qedit/tests enable_tests
21558 wine_fn_config_makefile dlls/qmgr enable_qmgr
21559 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21560 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21561 wine_fn_config_makefile dlls/quartz enable_quartz
21562 wine_fn_config_makefile dlls/quartz/tests enable_tests
21563 wine_fn_config_makefile dlls/query enable_query
21564 wine_fn_config_makefile dlls/qwave enable_qwave
21565 wine_fn_config_makefile dlls/qwave/tests enable_tests
21566 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21567 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21568 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21569 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21570 wine_fn_config_makefile dlls/regapi enable_regapi
21571 wine_fn_config_makefile dlls/resutils enable_resutils
21572 wine_fn_config_makefile dlls/riched20 enable_riched20
21573 wine_fn_config_makefile dlls/riched20/tests enable_tests
21574 wine_fn_config_makefile dlls/riched32 enable_riched32
21575 wine_fn_config_makefile dlls/riched32/tests enable_tests
21576 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21577 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21578 wine_fn_config_makefile dlls/rsabase enable_rsabase
21579 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21580 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21581 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21582 wine_fn_config_makefile dlls/rtutils enable_rtutils
21583 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21584 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21585 wine_fn_config_makefile dlls/samlib enable_samlib
21586 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21587 wine_fn_config_makefile dlls/sapi enable_sapi
21588 wine_fn_config_makefile dlls/sapi/tests enable_tests
21589 wine_fn_config_makefile dlls/sas enable_sas
21590 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21591 wine_fn_config_makefile dlls/sccbase enable_sccbase
21592 wine_fn_config_makefile dlls/schannel enable_schannel
21593 wine_fn_config_makefile dlls/schannel/tests enable_tests
21594 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21595 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21596 wine_fn_config_makefile dlls/scrobj enable_scrobj
21597 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21598 wine_fn_config_makefile dlls/scrrun enable_scrrun
21599 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21600 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21601 wine_fn_config_makefile dlls/sechost enable_sechost
21602 wine_fn_config_makefile dlls/secur32 enable_secur32
21603 wine_fn_config_makefile dlls/secur32/tests enable_tests
21604 wine_fn_config_makefile dlls/security enable_security
21605 wine_fn_config_makefile dlls/sensapi enable_sensapi
21606 wine_fn_config_makefile dlls/serialui enable_serialui
21607 wine_fn_config_makefile dlls/serialui/tests enable_tests
21608 wine_fn_config_makefile dlls/setupapi enable_setupapi
21609 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21610 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21611 wine_fn_config_makefile dlls/sfc enable_sfc
21612 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21613 wine_fn_config_makefile dlls/shcore enable_shcore
21614 wine_fn_config_makefile dlls/shcore/tests enable_tests
21615 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21616 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21617 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21618 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21619 wine_fn_config_makefile dlls/shell32 enable_shell32
21620 wine_fn_config_makefile dlls/shell32/tests enable_tests
21621 wine_fn_config_makefile dlls/shfolder enable_shfolder
21622 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21623 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21624 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21625 wine_fn_config_makefile dlls/slc enable_slc
21626 wine_fn_config_makefile dlls/slc/tests enable_tests
21627 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21628 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21629 wine_fn_config_makefile dlls/softpub enable_softpub
21630 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21631 wine_fn_config_makefile dlls/spoolss enable_spoolss
21632 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21633 wine_fn_config_makefile dlls/sppc enable_sppc
21634 wine_fn_config_makefile dlls/srclient enable_srclient
21635 wine_fn_config_makefile dlls/srvcli enable_srvcli
21636 wine_fn_config_makefile dlls/sspicli enable_sspicli
21637 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21638 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21639 wine_fn_config_makefile dlls/sti enable_sti
21640 wine_fn_config_makefile dlls/sti/tests enable_tests
21641 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21642 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21643 wine_fn_config_makefile dlls/strmdll enable_strmdll
21644 wine_fn_config_makefile dlls/svrapi enable_svrapi
21645 wine_fn_config_makefile dlls/sxs enable_sxs
21646 wine_fn_config_makefile dlls/sxs/tests enable_tests
21647 wine_fn_config_makefile dlls/system.drv16 enable_win16
21648 wine_fn_config_makefile dlls/t2embed enable_t2embed
21649 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21650 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21651 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21652 wine_fn_config_makefile dlls/taskschd enable_taskschd
21653 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21654 wine_fn_config_makefile dlls/tbs enable_tbs
21655 wine_fn_config_makefile dlls/tdh enable_tdh
21656 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21657 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21658 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21659 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21660 wine_fn_config_makefile dlls/traffic enable_traffic
21661 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21662 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21663 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21664 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21665 wine_fn_config_makefile dlls/tzres enable_tzres
21666 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21667 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21668 wine_fn_config_makefile dlls/uianimation enable_uianimation
21669 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21670 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21671 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21672 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21673 wine_fn_config_makefile dlls/unicows enable_unicows
21674 wine_fn_config_makefile dlls/updspapi enable_updspapi
21675 wine_fn_config_makefile dlls/url enable_url
21676 wine_fn_config_makefile dlls/urlmon enable_urlmon
21677 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21678 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21679 wine_fn_config_makefile dlls/user.exe16 enable_win16
21680 wine_fn_config_makefile dlls/user32 enable_user32
21681 wine_fn_config_makefile dlls/user32/tests enable_tests
21682 wine_fn_config_makefile dlls/userenv enable_userenv
21683 wine_fn_config_makefile dlls/userenv/tests enable_tests
21684 wine_fn_config_makefile dlls/usp10 enable_usp10
21685 wine_fn_config_makefile dlls/usp10/tests enable_tests
21686 wine_fn_config_makefile dlls/utildll enable_utildll
21687 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21688 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21689 wine_fn_config_makefile dlls/vbscript enable_vbscript
21690 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21691 wine_fn_config_makefile dlls/vcomp enable_vcomp
21692 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21693 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21694 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21695 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21696 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21697 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21698 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21699 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21700 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21701 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21702 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21703 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21704 wine_fn_config_makefile dlls/version enable_version
21705 wine_fn_config_makefile dlls/version/tests enable_tests
21706 wine_fn_config_makefile dlls/vga enable_vga
21707 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21708 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21709 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21710 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21711 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21712 wine_fn_config_makefile dlls/vssapi enable_vssapi
21713 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21714 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21715 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21716 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21717 wine_fn_config_makefile dlls/w32skrnl enable_win16
21718 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21719 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21720 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21721 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21722 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21723 wine_fn_config_makefile dlls/wdscore enable_wdscore
21724 wine_fn_config_makefile dlls/webservices enable_webservices
21725 wine_fn_config_makefile dlls/webservices/tests enable_tests
21726 wine_fn_config_makefile dlls/websocket enable_websocket
21727 wine_fn_config_makefile dlls/wer enable_wer
21728 wine_fn_config_makefile dlls/wer/tests enable_tests
21729 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21730 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21731 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21732 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21733 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21734 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21735 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21736 wine_fn_config_makefile dlls/win32u enable_win32u
21737 wine_fn_config_makefile dlls/win32u/tests enable_tests
21738 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21739 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21740 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21741 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21742 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21743 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21744 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21745 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21746 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21747 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21748 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21749 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21750 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21751 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21752 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21753 wine_fn_config_makefile dlls/windows.media enable_windows_media
21754 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21755 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21756 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21757 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21758 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21759 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21760 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21761 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21762 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21763 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21764 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21765 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21766 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21767 wine_fn_config_makefile dlls/wined3d enable_wined3d
21768 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21769 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21770 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21771 wine_fn_config_makefile dlls/winemapi enable_winemapi
21772 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21773 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21774 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21775 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21776 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21777 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21778 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21779 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21780 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21781 wine_fn_config_makefile dlls/wing32 enable_wing32
21782 wine_fn_config_makefile dlls/winhttp enable_winhttp
21783 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21784 wine_fn_config_makefile dlls/wininet enable_wininet
21785 wine_fn_config_makefile dlls/wininet/tests enable_tests
21786 wine_fn_config_makefile dlls/winmm enable_winmm
21787 wine_fn_config_makefile dlls/winmm/tests enable_tests
21788 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21789 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21790 wine_fn_config_makefile dlls/winprint enable_winprint
21791 wine_fn_config_makefile dlls/winscard enable_winscard
21792 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21793 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21794 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21795 wine_fn_config_makefile dlls/winsta enable_winsta
21796 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21797 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21798 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21799 wine_fn_config_makefile dlls/wintrust enable_wintrust
21800 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21801 wine_fn_config_makefile dlls/wintypes enable_wintypes
21802 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21803 wine_fn_config_makefile dlls/winusb enable_winusb
21804 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21805 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21806 wine_fn_config_makefile dlls/wlanui enable_wlanui
21807 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21808 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21809 wine_fn_config_makefile dlls/wmasf enable_wmasf
21810 wine_fn_config_makefile dlls/wmi enable_wmi
21811 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21812 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21813 wine_fn_config_makefile dlls/wmp enable_wmp
21814 wine_fn_config_makefile dlls/wmp/tests enable_tests
21815 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21816 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21817 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21818 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21819 wine_fn_config_makefile dlls/wofutil enable_wofutil
21820 wine_fn_config_makefile dlls/wow32 enable_win16
21821 wine_fn_config_makefile dlls/wow64 enable_wow64
21822 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21823 wine_fn_config_makefile dlls/wow64win enable_wow64win
21824 wine_fn_config_makefile dlls/wpc enable_wpc
21825 wine_fn_config_makefile dlls/wpc/tests enable_tests
21826 wine_fn_config_makefile dlls/wpcap enable_wpcap
21827 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21828 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21829 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21830 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21831 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21832 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21833 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21834 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21835 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21836 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21837 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21838 wine_fn_config_makefile dlls/wuapi enable_wuapi
21839 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21840 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21841 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21842 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21843 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21844 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21845 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21846 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21847 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21848 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21849 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21850 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21851 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21852 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21853 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21854 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21855 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21856 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21857 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21858 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21859 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21860 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21861 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21862 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21863 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21864 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21865 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21866 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21867 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21868 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21869 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21870 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21871 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21872 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21873 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21874 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21875 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21876 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21877 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21878 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21879 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21880 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21881 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21882 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21883 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21884 wine_fn_config_makefile dlls/xmllite enable_xmllite
21885 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21886 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21887 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21888 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21889 wine_fn_config_makefile fonts enable_fonts
21890 wine_fn_config_makefile include enable_include
21891 wine_fn_config_makefile libs/adsiid enable_adsiid
21892 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21893 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21894 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21895 wine_fn_config_makefile libs/dxguid enable_dxguid
21896 wine_fn_config_makefile libs/faudio enable_faudio
21897 wine_fn_config_makefile libs/gsm enable_gsm
21898 wine_fn_config_makefile libs/jpeg enable_jpeg
21899 wine_fn_config_makefile libs/jxr enable_jxr
21900 wine_fn_config_makefile libs/lcms2 enable_lcms2
21901 wine_fn_config_makefile libs/ldap enable_ldap
21902 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21903 wine_fn_config_makefile libs/mpg123 enable_mpg123
21904 wine_fn_config_makefile libs/png enable_png
21905 wine_fn_config_makefile libs/strmbase enable_strmbase
21906 wine_fn_config_makefile libs/strmiids enable_strmiids
21907 wine_fn_config_makefile libs/tiff enable_tiff
21908 wine_fn_config_makefile libs/uuid enable_uuid
21909 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21910 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21911 wine_fn_config_makefile libs/wine enable_wine
21912 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21913 wine_fn_config_makefile libs/xml2 enable_xml2
21914 wine_fn_config_makefile libs/xslt enable_xslt
21915 wine_fn_config_makefile libs/zlib enable_zlib
21916 wine_fn_config_makefile loader enable_loader
21917 wine_fn_config_makefile nls enable_nls
21918 wine_fn_config_makefile po enable_po
21919 wine_fn_config_makefile programs/arp enable_arp
21920 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21921 wine_fn_config_makefile programs/attrib enable_attrib
21922 wine_fn_config_makefile programs/cabarc enable_cabarc
21923 wine_fn_config_makefile programs/cacls enable_cacls
21924 wine_fn_config_makefile programs/certutil enable_certutil
21925 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21926 wine_fn_config_makefile programs/clock enable_clock
21927 wine_fn_config_makefile programs/cmd enable_cmd
21928 wine_fn_config_makefile programs/cmd/tests enable_tests
21929 wine_fn_config_makefile programs/conhost enable_conhost
21930 wine_fn_config_makefile programs/conhost/tests enable_tests
21931 wine_fn_config_makefile programs/control enable_control
21932 wine_fn_config_makefile programs/cscript enable_cscript
21933 wine_fn_config_makefile programs/dism enable_dism
21934 wine_fn_config_makefile programs/dllhost enable_dllhost
21935 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21936 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21937 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21938 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21939 wine_fn_config_makefile programs/eject enable_eject
21940 wine_fn_config_makefile programs/expand enable_expand
21941 wine_fn_config_makefile programs/explorer enable_explorer
21942 wine_fn_config_makefile programs/explorer/tests enable_tests
21943 wine_fn_config_makefile programs/extrac32 enable_extrac32
21944 wine_fn_config_makefile programs/fc enable_fc
21945 wine_fn_config_makefile programs/find enable_find
21946 wine_fn_config_makefile programs/find/tests enable_tests
21947 wine_fn_config_makefile programs/findstr enable_findstr
21948 wine_fn_config_makefile programs/fsutil enable_fsutil
21949 wine_fn_config_makefile programs/fsutil/tests enable_tests
21950 wine_fn_config_makefile programs/hh enable_hh
21951 wine_fn_config_makefile programs/hostname enable_hostname
21952 wine_fn_config_makefile programs/icacls enable_icacls
21953 wine_fn_config_makefile programs/icinfo enable_icinfo
21954 wine_fn_config_makefile programs/iexplore enable_iexplore
21955 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21956 wine_fn_config_makefile programs/lodctr enable_lodctr
21957 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21958 wine_fn_config_makefile programs/mshta enable_mshta
21959 wine_fn_config_makefile programs/msidb enable_msidb
21960 wine_fn_config_makefile programs/msiexec enable_msiexec
21961 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21962 wine_fn_config_makefile programs/net enable_net
21963 wine_fn_config_makefile programs/netsh enable_netsh
21964 wine_fn_config_makefile programs/netstat enable_netstat
21965 wine_fn_config_makefile programs/ngen enable_ngen
21966 wine_fn_config_makefile programs/notepad enable_notepad
21967 wine_fn_config_makefile programs/oleview enable_oleview
21968 wine_fn_config_makefile programs/ping enable_ping
21969 wine_fn_config_makefile programs/plugplay enable_plugplay
21970 wine_fn_config_makefile programs/powershell enable_powershell
21971 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21972 wine_fn_config_makefile programs/progman enable_progman
21973 wine_fn_config_makefile programs/reg enable_reg
21974 wine_fn_config_makefile programs/reg/tests enable_tests
21975 wine_fn_config_makefile programs/regasm enable_regasm
21976 wine_fn_config_makefile programs/regedit enable_regedit
21977 wine_fn_config_makefile programs/regedit/tests enable_tests
21978 wine_fn_config_makefile programs/regini enable_regini
21979 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21980 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21981 wine_fn_config_makefile programs/robocopy enable_robocopy
21982 wine_fn_config_makefile programs/rpcss enable_rpcss
21983 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21984 wine_fn_config_makefile programs/rundll32 enable_rundll32
21985 wine_fn_config_makefile programs/sc enable_sc
21986 wine_fn_config_makefile programs/sc/tests enable_tests
21987 wine_fn_config_makefile programs/schtasks enable_schtasks
21988 wine_fn_config_makefile programs/schtasks/tests enable_tests
21989 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21990 wine_fn_config_makefile programs/secedit enable_secedit
21991 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21992 wine_fn_config_makefile programs/services enable_services
21993 wine_fn_config_makefile programs/services/tests enable_tests
21994 wine_fn_config_makefile programs/setx enable_setx
21995 wine_fn_config_makefile programs/shutdown enable_shutdown
21996 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21997 wine_fn_config_makefile programs/start enable_start
21998 wine_fn_config_makefile programs/subst enable_subst
21999 wine_fn_config_makefile programs/svchost enable_svchost
22000 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22001 wine_fn_config_makefile programs/taskkill enable_taskkill
22002 wine_fn_config_makefile programs/tasklist enable_tasklist
22003 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22004 wine_fn_config_makefile programs/termsv enable_termsv
22005 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22006 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22007 wine_fn_config_makefile programs/view enable_view
22008 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22009 wine_fn_config_makefile programs/where enable_where
22010 wine_fn_config_makefile programs/whoami enable_whoami
22011 wine_fn_config_makefile programs/wineboot enable_wineboot
22012 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22013 wine_fn_config_makefile programs/winecfg enable_winecfg
22014 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22015 wine_fn_config_makefile programs/winedbg enable_winedbg
22016 wine_fn_config_makefile programs/winedevice enable_winedevice
22017 wine_fn_config_makefile programs/winefile enable_winefile
22018 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22019 wine_fn_config_makefile programs/winemine enable_winemine
22020 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22021 wine_fn_config_makefile programs/winepath enable_winepath
22022 wine_fn_config_makefile programs/winetest enable_winetest
22023 wine_fn_config_makefile programs/winevdm enable_win16
22024 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22025 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22026 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22027 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22028 wine_fn_config_makefile programs/winver enable_winver
22029 wine_fn_config_makefile programs/wmic enable_wmic
22030 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22031 wine_fn_config_makefile programs/wordpad enable_wordpad
22032 wine_fn_config_makefile programs/write enable_write
22033 wine_fn_config_makefile programs/wscript enable_wscript
22034 wine_fn_config_makefile programs/wscript/tests enable_tests
22035 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22036 wine_fn_config_makefile programs/wusa enable_wusa
22037 wine_fn_config_makefile programs/xcopy enable_xcopy
22038 wine_fn_config_makefile programs/xcopy/tests enable_tests
22039 wine_fn_config_makefile server enable_server
22040 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22041 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22042 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22043 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22044 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22045 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22051 as_fn_append CONFIGURE_TARGETS " TAGS"
22052 as_fn_append CONFIGURE_TARGETS " tags"
22053 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22054 as_fn_append CONFIGURE_TARGETS " config.log"
22055 as_fn_append CONFIGURE_TARGETS " config.status"
22056 as_fn_append CONFIGURE_TARGETS " include/config.h"
22057 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22058 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22060 if test "x$enable_tools" != xno
22061 then
22062 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22063 ac_config_commands="$ac_config_commands tools/makedep"
22067 ac_config_commands="$ac_config_commands Makefile"
22071 SHELL=/bin/sh
22074 as_fn_append wine_rules "
22075 all: wine
22076 @echo \"Wine build complete.\"
22077 .INIT: Makefile
22078 .MAKEFILEDEPS:
22079 all: Makefile
22080 Makefile: config.status \$(MAKEDEP)
22081 @./config.status Makefile
22082 depend: \$(MAKEDEP)
22083 \$(MAKEDEP)$makedep_flags"
22086 as_fn_append wine_rules "
22087 config.status: ${wine_srcdir}configure
22088 @./config.status --recheck
22089 include/config.h: include/stamp-h
22090 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22091 @./config.status include/config.h include/stamp-h"
22093 if test "x$enable_maintainer_mode" = xyes
22094 then
22095 as_fn_append wine_rules "
22096 configure: configure.ac aclocal.m4
22097 autoconf --warnings=all
22098 include/config.h.in: include/stamp-h.in
22099 include/stamp-h.in: configure.ac aclocal.m4
22100 autoheader --warnings=all
22101 @echo timestamp > \$@"
22104 if test "x$enable_tools" != xno
22105 then
22106 as_fn_append wine_rules "
22107 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22108 @./config.status tools/makedep
22109 Makefile: tools/makedep$ac_exeext"
22110 else
22111 as_fn_append wine_rules "
22112 \$(MAKEDEP):
22113 @echo \"You need to run make in $toolsdir first\" && false"
22117 if test -n "$with_wine64"
22118 then
22119 case "$with_wine64" in
22120 /*) reldir="" ;;
22121 *) reldir="../" ;;
22122 esac
22123 rm -f fonts server 2>/dev/null
22124 as_fn_append wine_rules "
22125 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22126 loader/wine64 loader/wine64-preloader:
22127 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22128 $with_wine64/loader/wine:
22129 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22130 $with_wine64/loader/wine-preloader:
22131 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22132 clean::
22133 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22134 else
22135 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22136 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22137 fonts \
22138 loader/wine.inf \
22139 nls \
22140 programs/msidb/msidb \
22141 programs/msiexec/msiexec \
22142 programs/notepad/notepad \
22143 programs/regedit/regedit \
22144 programs/regsvr32/regsvr32 \
22145 programs/wineboot/wineboot \
22146 programs/winecfg/winecfg \
22147 programs/wineconsole/wineconsole \
22148 programs/winedbg/winedbg \
22149 programs/winefile/winefile \
22150 programs/winemine/winemine \
22151 programs/winepath/winepath \
22152 server/wineserver"
22154 case $host_os in
22155 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22156 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22157 esac
22161 as_fn_append wine_rules "
22162 distclean:: clean
22163 rm -rf autom4te.cache
22164 maintainer-clean::
22165 rm -f configure include/config.h.in"
22168 as_fn_append wine_rules "
22169 dlls/ntdll/unix/version.c: dummy
22170 @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)
22171 programs/winetest/build.rc: dummy
22172 @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)
22173 programs/winetest/build.nfo:
22174 @-\$(CC) -v 2>\$@
22175 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
22176 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22177 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22180 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22182 as_fn_append wine_rules "
22183 TAGS etags:
22184 rm -f TAGS
22185 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22186 tags ctags:
22187 rm -f tags
22188 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22189 dummy:
22190 .PHONY: depend dummy install-manpages"
22192 printf "%s\n" " done" >&6
22193 cat >confcache <<\_ACEOF
22194 # This file is a shell script that caches the results of configure
22195 # tests run on this system so they can be shared between configure
22196 # scripts and configure runs, see configure's option --config-cache.
22197 # It is not useful on other systems. If it contains results you don't
22198 # want to keep, you may remove or edit it.
22200 # config.status only pays attention to the cache file if you give it
22201 # the --recheck option to rerun configure.
22203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22205 # following values.
22207 _ACEOF
22209 # The following way of writing the cache mishandles newlines in values,
22210 # but we know of no workaround that is simple, portable, and efficient.
22211 # So, we kill variables containing newlines.
22212 # Ultrix sh set writes to stderr and can't be redirected directly,
22213 # and sets the high bit in the cache file unless we assign to the vars.
22215 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22216 eval ac_val=\$$ac_var
22217 case $ac_val in #(
22218 *${as_nl}*)
22219 case $ac_var in #(
22220 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22221 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22222 esac
22223 case $ac_var in #(
22224 _ | IFS | as_nl) ;; #(
22225 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22226 *) { eval $ac_var=; unset $ac_var;} ;;
22227 esac ;;
22228 esac
22229 done
22231 (set) 2>&1 |
22232 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22233 *${as_nl}ac_space=\ *)
22234 # `set' does not quote correctly, so add quotes: double-quote
22235 # substitution turns \\\\ into \\, and sed turns \\ into \.
22236 sed -n \
22237 "s/'/'\\\\''/g;
22238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22239 ;; #(
22241 # `set' quotes correctly as required by POSIX, so do not add quotes.
22242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22244 esac |
22245 sort
22247 sed '
22248 /^ac_cv_env_/b end
22249 t clear
22250 :clear
22251 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22252 t end
22253 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22254 :end' >>confcache
22255 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22256 if test -w "$cache_file"; then
22257 if test "x$cache_file" != "x/dev/null"; then
22258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22259 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22260 if test ! -f "$cache_file" || test -h "$cache_file"; then
22261 cat confcache >"$cache_file"
22262 else
22263 case $cache_file in #(
22264 */* | ?:*)
22265 mv -f confcache "$cache_file"$$ &&
22266 mv -f "$cache_file"$$ "$cache_file" ;; #(
22268 mv -f confcache "$cache_file" ;;
22269 esac
22272 else
22273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22274 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22277 rm -f confcache
22279 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22280 # Let make expand exec_prefix.
22281 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22283 DEFS=-DHAVE_CONFIG_H
22285 ac_libobjs=
22286 ac_ltlibobjs=
22288 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22289 # 1. Remove the extension, and $U if already installed.
22290 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22291 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22292 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22293 # will be set to the directory where LIBOBJS objects are built.
22294 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22295 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22296 done
22297 LIBOBJS=$ac_libobjs
22299 LTLIBOBJS=$ac_ltlibobjs
22303 : "${CONFIG_STATUS=./config.status}"
22304 ac_write_fail=0
22305 ac_clean_files_save=$ac_clean_files
22306 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22308 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22309 as_write_fail=0
22310 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22311 #! $SHELL
22312 # Generated by $as_me.
22313 # Run this file to recreate the current configuration.
22314 # Compiler output produced by configure, useful for debugging
22315 # configure, is in config.log if it exists.
22317 debug=false
22318 ac_cs_recheck=false
22319 ac_cs_silent=false
22321 SHELL=\${CONFIG_SHELL-$SHELL}
22322 export SHELL
22323 _ASEOF
22324 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22325 ## -------------------- ##
22326 ## M4sh Initialization. ##
22327 ## -------------------- ##
22329 # Be more Bourne compatible
22330 DUALCASE=1; export DUALCASE # for MKS sh
22331 as_nop=:
22332 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22333 then :
22334 emulate sh
22335 NULLCMD=:
22336 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22337 # is contrary to our usage. Disable this feature.
22338 alias -g '${1+"$@"}'='"$@"'
22339 setopt NO_GLOB_SUBST
22340 else $as_nop
22341 case `(set -o) 2>/dev/null` in #(
22342 *posix*) :
22343 set -o posix ;; #(
22344 *) :
22346 esac
22351 # Reset variables that may have inherited troublesome values from
22352 # the environment.
22354 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22355 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22356 # side effect of setting IFS to empty, thus disabling word splitting.)
22357 # Quoting is to prevent editors from complaining about space-tab.
22358 as_nl='
22360 export as_nl
22361 IFS=" "" $as_nl"
22363 PS1='$ '
22364 PS2='> '
22365 PS4='+ '
22367 # Ensure predictable behavior from utilities with locale-dependent output.
22368 LC_ALL=C
22369 export LC_ALL
22370 LANGUAGE=C
22371 export LANGUAGE
22373 # We cannot yet rely on "unset" to work, but we need these variables
22374 # to be unset--not just set to an empty or harmless value--now, to
22375 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22376 # also avoids known problems related to "unset" and subshell syntax
22377 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22378 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22379 do eval test \${$as_var+y} \
22380 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22381 done
22383 # Ensure that fds 0, 1, and 2 are open.
22384 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22385 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22386 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22388 # The user is always right.
22389 if ${PATH_SEPARATOR+false} :; then
22390 PATH_SEPARATOR=:
22391 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22392 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22393 PATH_SEPARATOR=';'
22398 # Find who we are. Look in the path if we contain no directory separator.
22399 as_myself=
22400 case $0 in #((
22401 *[\\/]* ) as_myself=$0 ;;
22402 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22403 for as_dir in $PATH
22405 IFS=$as_save_IFS
22406 case $as_dir in #(((
22407 '') as_dir=./ ;;
22408 */) ;;
22409 *) as_dir=$as_dir/ ;;
22410 esac
22411 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22412 done
22413 IFS=$as_save_IFS
22416 esac
22417 # We did not find ourselves, most probably we were run as `sh COMMAND'
22418 # in which case we are not to be found in the path.
22419 if test "x$as_myself" = x; then
22420 as_myself=$0
22422 if test ! -f "$as_myself"; then
22423 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22424 exit 1
22429 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22430 # ----------------------------------------
22431 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22432 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22433 # script with STATUS, using 1 if that was 0.
22434 as_fn_error ()
22436 as_status=$1; test $as_status -eq 0 && as_status=1
22437 if test "$4"; then
22438 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22441 printf "%s\n" "$as_me: error: $2" >&2
22442 as_fn_exit $as_status
22443 } # as_fn_error
22447 # as_fn_set_status STATUS
22448 # -----------------------
22449 # Set $? to STATUS, without forking.
22450 as_fn_set_status ()
22452 return $1
22453 } # as_fn_set_status
22455 # as_fn_exit STATUS
22456 # -----------------
22457 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22458 as_fn_exit ()
22460 set +e
22461 as_fn_set_status $1
22462 exit $1
22463 } # as_fn_exit
22465 # as_fn_unset VAR
22466 # ---------------
22467 # Portably unset VAR.
22468 as_fn_unset ()
22470 { eval $1=; unset $1;}
22472 as_unset=as_fn_unset
22474 # as_fn_append VAR VALUE
22475 # ----------------------
22476 # Append the text in VALUE to the end of the definition contained in VAR. Take
22477 # advantage of any shell optimizations that allow amortized linear growth over
22478 # repeated appends, instead of the typical quadratic growth present in naive
22479 # implementations.
22480 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22481 then :
22482 eval 'as_fn_append ()
22484 eval $1+=\$2
22486 else $as_nop
22487 as_fn_append ()
22489 eval $1=\$$1\$2
22491 fi # as_fn_append
22493 # as_fn_arith ARG...
22494 # ------------------
22495 # Perform arithmetic evaluation on the ARGs, and store the result in the
22496 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22497 # must be portable across $(()) and expr.
22498 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22499 then :
22500 eval 'as_fn_arith ()
22502 as_val=$(( $* ))
22504 else $as_nop
22505 as_fn_arith ()
22507 as_val=`expr "$@" || test $? -eq 1`
22509 fi # as_fn_arith
22512 if expr a : '\(a\)' >/dev/null 2>&1 &&
22513 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22514 as_expr=expr
22515 else
22516 as_expr=false
22519 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22520 as_basename=basename
22521 else
22522 as_basename=false
22525 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22526 as_dirname=dirname
22527 else
22528 as_dirname=false
22531 as_me=`$as_basename -- "$0" ||
22532 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22533 X"$0" : 'X\(//\)$' \| \
22534 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22535 printf "%s\n" X/"$0" |
22536 sed '/^.*\/\([^/][^/]*\)\/*$/{
22537 s//\1/
22540 /^X\/\(\/\/\)$/{
22541 s//\1/
22544 /^X\/\(\/\).*/{
22545 s//\1/
22548 s/.*/./; q'`
22550 # Avoid depending upon Character Ranges.
22551 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22552 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22553 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22554 as_cr_digits='0123456789'
22555 as_cr_alnum=$as_cr_Letters$as_cr_digits
22558 # Determine whether it's possible to make 'echo' print without a newline.
22559 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22560 # for compatibility with existing Makefiles.
22561 ECHO_C= ECHO_N= ECHO_T=
22562 case `echo -n x` in #(((((
22563 -n*)
22564 case `echo 'xy\c'` in
22565 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22566 xy) ECHO_C='\c';;
22567 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22568 ECHO_T=' ';;
22569 esac;;
22571 ECHO_N='-n';;
22572 esac
22574 # For backward compatibility with old third-party macros, we provide
22575 # the shell variables $as_echo and $as_echo_n. New code should use
22576 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22577 as_echo='printf %s\n'
22578 as_echo_n='printf %s'
22580 rm -f conf$$ conf$$.exe conf$$.file
22581 if test -d conf$$.dir; then
22582 rm -f conf$$.dir/conf$$.file
22583 else
22584 rm -f conf$$.dir
22585 mkdir conf$$.dir 2>/dev/null
22587 if (echo >conf$$.file) 2>/dev/null; then
22588 if ln -s conf$$.file conf$$ 2>/dev/null; then
22589 as_ln_s='ln -s'
22590 # ... but there are two gotchas:
22591 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22592 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22593 # In both cases, we have to default to `cp -pR'.
22594 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22595 as_ln_s='cp -pR'
22596 elif ln conf$$.file conf$$ 2>/dev/null; then
22597 as_ln_s=ln
22598 else
22599 as_ln_s='cp -pR'
22601 else
22602 as_ln_s='cp -pR'
22604 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22605 rmdir conf$$.dir 2>/dev/null
22608 # as_fn_mkdir_p
22609 # -------------
22610 # Create "$as_dir" as a directory, including parents if necessary.
22611 as_fn_mkdir_p ()
22614 case $as_dir in #(
22615 -*) as_dir=./$as_dir;;
22616 esac
22617 test -d "$as_dir" || eval $as_mkdir_p || {
22618 as_dirs=
22619 while :; do
22620 case $as_dir in #(
22621 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22622 *) as_qdir=$as_dir;;
22623 esac
22624 as_dirs="'$as_qdir' $as_dirs"
22625 as_dir=`$as_dirname -- "$as_dir" ||
22626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22627 X"$as_dir" : 'X\(//\)[^/]' \| \
22628 X"$as_dir" : 'X\(//\)$' \| \
22629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22630 printf "%s\n" X"$as_dir" |
22631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22632 s//\1/
22635 /^X\(\/\/\)[^/].*/{
22636 s//\1/
22639 /^X\(\/\/\)$/{
22640 s//\1/
22643 /^X\(\/\).*/{
22644 s//\1/
22647 s/.*/./; q'`
22648 test -d "$as_dir" && break
22649 done
22650 test -z "$as_dirs" || eval "mkdir $as_dirs"
22651 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22654 } # as_fn_mkdir_p
22655 if mkdir -p . 2>/dev/null; then
22656 as_mkdir_p='mkdir -p "$as_dir"'
22657 else
22658 test -d ./-p && rmdir ./-p
22659 as_mkdir_p=false
22663 # as_fn_executable_p FILE
22664 # -----------------------
22665 # Test if FILE is an executable regular file.
22666 as_fn_executable_p ()
22668 test -f "$1" && test -x "$1"
22669 } # as_fn_executable_p
22670 as_test_x='test -x'
22671 as_executable_p=as_fn_executable_p
22673 # Sed expression to map a string onto a valid CPP name.
22674 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22676 # Sed expression to map a string onto a valid variable name.
22677 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22680 exec 6>&1
22681 ## ----------------------------------- ##
22682 ## Main body of $CONFIG_STATUS script. ##
22683 ## ----------------------------------- ##
22684 _ASEOF
22685 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22688 # Save the log message, to keep $0 and so on meaningful, and to
22689 # report actual input values of CONFIG_FILES etc. instead of their
22690 # values after options handling.
22691 ac_log="
22692 This file was extended by Wine $as_me 8.1, which was
22693 generated by GNU Autoconf 2.71. Invocation command line was
22695 CONFIG_FILES = $CONFIG_FILES
22696 CONFIG_HEADERS = $CONFIG_HEADERS
22697 CONFIG_LINKS = $CONFIG_LINKS
22698 CONFIG_COMMANDS = $CONFIG_COMMANDS
22699 $ $0 $@
22701 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22704 _ACEOF
22707 case $ac_config_headers in *"
22708 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22709 esac
22712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22713 # Files that config.status was made for.
22714 config_headers="$ac_config_headers"
22715 config_links="$ac_config_links"
22716 config_commands="$ac_config_commands"
22718 _ACEOF
22720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22721 ac_cs_usage="\
22722 \`$as_me' instantiates files and other configuration actions
22723 from templates according to the current configuration. Unless the files
22724 and actions are specified as TAGs, all are instantiated by default.
22726 Usage: $0 [OPTION]... [TAG]...
22728 -h, --help print this help, then exit
22729 -V, --version print version number and configuration settings, then exit
22730 --config print configuration, then exit
22731 -q, --quiet, --silent
22732 do not print progress messages
22733 -d, --debug don't remove temporary files
22734 --recheck update $as_me by reconfiguring in the same conditions
22735 --header=FILE[:TEMPLATE]
22736 instantiate the configuration header FILE
22738 Configuration headers:
22739 $config_headers
22741 Configuration links:
22742 $config_links
22744 Configuration commands:
22745 $config_commands
22747 Report bugs to <wine-devel@winehq.org>.
22748 Wine home page: <https://www.winehq.org>."
22750 _ACEOF
22751 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22752 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22754 ac_cs_config='$ac_cs_config_escaped'
22755 ac_cs_version="\\
22756 Wine config.status 8.1
22757 configured by $0, generated by GNU Autoconf 2.71,
22758 with options \\"\$ac_cs_config\\"
22760 Copyright (C) 2021 Free Software Foundation, Inc.
22761 This config.status script is free software; the Free Software Foundation
22762 gives unlimited permission to copy, distribute and modify it."
22764 ac_pwd='$ac_pwd'
22765 srcdir='$srcdir'
22766 test -n "\$AWK" || AWK=awk
22767 _ACEOF
22769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22770 # The default lists apply if the user does not specify any file.
22771 ac_need_defaults=:
22772 while test $# != 0
22774 case $1 in
22775 --*=?*)
22776 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22777 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22778 ac_shift=:
22780 --*=)
22781 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22782 ac_optarg=
22783 ac_shift=:
22786 ac_option=$1
22787 ac_optarg=$2
22788 ac_shift=shift
22790 esac
22792 case $ac_option in
22793 # Handling of the options.
22794 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22795 ac_cs_recheck=: ;;
22796 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22797 printf "%s\n" "$ac_cs_version"; exit ;;
22798 --config | --confi | --conf | --con | --co | --c )
22799 printf "%s\n" "$ac_cs_config"; exit ;;
22800 --debug | --debu | --deb | --de | --d | -d )
22801 debug=: ;;
22802 --header | --heade | --head | --hea )
22803 $ac_shift
22804 case $ac_optarg in
22805 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22806 esac
22807 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22808 ac_need_defaults=false;;
22809 --he | --h)
22810 # Conflict between --help and --header
22811 as_fn_error $? "ambiguous option: \`$1'
22812 Try \`$0 --help' for more information.";;
22813 --help | --hel | -h )
22814 printf "%s\n" "$ac_cs_usage"; exit ;;
22815 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22816 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22817 ac_cs_silent=: ;;
22819 # This is an error.
22820 -*) as_fn_error $? "unrecognized option: \`$1'
22821 Try \`$0 --help' for more information." ;;
22823 *) as_fn_append ac_config_targets " $1"
22824 ac_need_defaults=false ;;
22826 esac
22827 shift
22828 done
22830 ac_configure_extra_args=
22832 if $ac_cs_silent; then
22833 exec 6>/dev/null
22834 ac_configure_extra_args="$ac_configure_extra_args --silent"
22837 _ACEOF
22838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22839 if \$ac_cs_recheck; then
22840 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22841 shift
22842 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22843 CONFIG_SHELL='$SHELL'
22844 export CONFIG_SHELL
22845 exec "\$@"
22848 _ACEOF
22849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22850 exec 5>>config.log
22852 echo
22853 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22854 ## Running $as_me. ##
22855 _ASBOX
22856 printf "%s\n" "$ac_log"
22857 } >&5
22859 _ACEOF
22860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22862 # INIT-COMMANDS
22864 wine_fn_output_makedep ()
22866 as_dir=tools; as_fn_mkdir_p
22867 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22869 wine_fn_output_makefile ()
22871 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22872 # This Makefile understands the following targets:
22874 # all (default): build wine
22875 # clean: remove all intermediate files
22876 # distclean: also remove all files created by configure
22877 # test: run tests
22878 # testclean: clean test results to force running all tests again
22879 # install-lib: install libraries needed to run applications
22880 # install-dev: install development environment
22881 # install: install everything
22882 # uninstall: uninstall everything
22883 # ctags: create a tags file for vim and others.
22884 # etags: create a TAGS file for Emacs.
22886 SHELL = $SHELL
22887 PATH_SEPARATOR = $PATH_SEPARATOR
22888 PACKAGE_NAME = $PACKAGE_NAME
22889 PACKAGE_TARNAME = $PACKAGE_TARNAME
22890 PACKAGE_VERSION = $PACKAGE_VERSION
22891 PACKAGE_STRING = $PACKAGE_STRING
22892 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22893 PACKAGE_URL = $PACKAGE_URL
22894 exec_prefix = $exec_prefix
22895 prefix = $prefix
22896 program_transform_name = $program_transform_name
22897 bindir = $bindir
22898 sbindir = $sbindir
22899 libexecdir = $libexecdir
22900 datarootdir = $datarootdir
22901 datadir = $datadir
22902 sysconfdir = $sysconfdir
22903 sharedstatedir = $sharedstatedir
22904 localstatedir = $localstatedir
22905 runstatedir = $runstatedir
22906 includedir = $includedir
22907 oldincludedir = $oldincludedir
22908 docdir = $docdir
22909 infodir = $infodir
22910 htmldir = $htmldir
22911 dvidir = $dvidir
22912 pdfdir = $pdfdir
22913 psdir = $psdir
22914 libdir = $libdir
22915 localedir = $localedir
22916 mandir = $mandir
22917 DEFS = $DEFS
22918 ECHO_C = $ECHO_C
22919 ECHO_N = $ECHO_N
22920 ECHO_T = $ECHO_T
22921 LIBS = $LIBS
22922 build_alias = $build_alias
22923 host_alias = $host_alias
22924 target_alias = $target_alias
22925 system_dllpath = $system_dllpath
22926 build = $build
22927 build_cpu = $build_cpu
22928 build_vendor = $build_vendor
22929 build_os = $build_os
22930 host = $host
22931 host_cpu = $host_cpu
22932 host_vendor = $host_vendor
22933 host_os = $host_os
22934 dlldir = $dlldir
22935 fontdir = $fontdir
22936 nlsdir = $nlsdir
22937 srcdir = $srcdir
22938 SET_MAKE = $SET_MAKE
22939 CC = $CC
22940 CFLAGS = $CFLAGS
22941 LDFLAGS = $LDFLAGS
22942 CPPFLAGS = $CPPFLAGS
22943 ac_ct_CC = $ac_ct_CC
22944 EXEEXT = $EXEEXT
22945 OBJEXT = $OBJEXT
22946 CXX = $CXX
22947 CXXFLAGS = $CXXFLAGS
22948 ac_ct_CXX = $ac_ct_CXX
22949 CPPBIN = $CPPBIN
22950 LD = $LD
22951 TARGETFLAGS = $TARGETFLAGS
22952 toolsext = $toolsext
22953 HOST_ARCH = $HOST_ARCH
22954 aarch64_CC = $aarch64_CC
22955 aarch64_CFLAGS = $aarch64_CFLAGS
22956 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22957 aarch64_LDFLAGS = $aarch64_LDFLAGS
22958 aarch64_DEBUG = $aarch64_DEBUG
22959 aarch64_TARGET = $aarch64_TARGET
22960 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22961 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22962 arm_CC = $arm_CC
22963 arm_CFLAGS = $arm_CFLAGS
22964 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22965 arm_LDFLAGS = $arm_LDFLAGS
22966 arm_DEBUG = $arm_DEBUG
22967 arm_TARGET = $arm_TARGET
22968 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22969 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22970 i386_CC = $i386_CC
22971 i386_CFLAGS = $i386_CFLAGS
22972 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22973 i386_LDFLAGS = $i386_LDFLAGS
22974 i386_DEBUG = $i386_DEBUG
22975 i386_TARGET = $i386_TARGET
22976 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22977 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22978 x86_64_CC = $x86_64_CC
22979 x86_64_CFLAGS = $x86_64_CFLAGS
22980 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22981 x86_64_LDFLAGS = $x86_64_LDFLAGS
22982 x86_64_DEBUG = $x86_64_DEBUG
22983 x86_64_TARGET = $x86_64_TARGET
22984 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22985 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22986 toolsdir = $toolsdir
22987 MAKEDEP = $MAKEDEP
22988 RUNTESTFLAGS = $RUNTESTFLAGS
22989 SED_CMD = $SED_CMD
22990 FLEX = $FLEX
22991 BISON = $BISON
22992 AR = $AR
22993 ac_ct_AR = $ac_ct_AR
22994 STRIP = $STRIP
22995 RANLIB = $RANLIB
22996 LN_S = $LN_S
22997 GREP = $GREP
22998 EGREP = $EGREP
22999 LDCONFIG = $LDCONFIG
23000 MSGFMT = $MSGFMT
23001 PKG_CONFIG = $PKG_CONFIG
23002 FONTFORGE = $FONTFORGE
23003 RSVG = $RSVG
23004 CONVERT = $CONVERT
23005 ICOTOOL = $ICOTOOL
23006 I386_LIBS = $I386_LIBS
23007 OPENGL_LIBS = $OPENGL_LIBS
23008 DLLFLAGS = $DLLFLAGS
23009 LDDLLFLAGS = $LDDLLFLAGS
23010 LDEXECFLAGS = $LDEXECFLAGS
23011 EXTRACFLAGS = $EXTRACFLAGS
23012 UNIXDLLFLAGS = $UNIXDLLFLAGS
23013 UNIXLDFLAGS = $UNIXLDFLAGS
23014 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23015 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23016 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23017 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23018 LDD = $LDD
23019 OTOOL = $OTOOL
23020 READELF = $READELF
23021 SUBDIRS = $SUBDIRS
23022 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23023 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23024 CARBON_LIBS = $CARBON_LIBS
23025 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23026 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23027 IOKIT_LIBS = $IOKIT_LIBS
23028 METAL_LIBS = $METAL_LIBS
23029 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23030 CORESERVICES_LIBS = $CORESERVICES_LIBS
23031 APPKIT_LIBS = $APPKIT_LIBS
23032 SECURITY_LIBS = $SECURITY_LIBS
23033 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23034 COREAUDIO_LIBS = $COREAUDIO_LIBS
23035 OPENCL_LIBS = $OPENCL_LIBS
23036 OBJC = $OBJC
23037 OBJCFLAGS = $OBJCFLAGS
23038 ac_ct_OBJC = $ac_ct_OBJC
23039 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23040 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23041 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23042 PRELINK = $PRELINK
23043 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23044 PE_ARCHS = $PE_ARCHS
23045 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23046 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23047 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23048 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23049 GSM_PE_LIBS = $GSM_PE_LIBS
23050 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23051 JPEG_PE_LIBS = $JPEG_PE_LIBS
23052 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23053 JXR_PE_LIBS = $JXR_PE_LIBS
23054 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23055 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23056 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23057 LDAP_PE_LIBS = $LDAP_PE_LIBS
23058 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23059 MPG123_PE_LIBS = $MPG123_PE_LIBS
23060 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23061 PNG_PE_LIBS = $PNG_PE_LIBS
23062 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23063 TIFF_PE_LIBS = $TIFF_PE_LIBS
23064 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23065 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23066 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23067 XML2_PE_LIBS = $XML2_PE_LIBS
23068 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23069 XSLT_PE_LIBS = $XSLT_PE_LIBS
23070 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23071 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23072 PTHREAD_LIBS = $PTHREAD_LIBS
23073 XMKMF = $XMKMF
23074 CPP = $CPP
23075 X_CFLAGS = $X_CFLAGS
23076 X_PRE_LIBS = $X_PRE_LIBS
23077 X_LIBS = $X_LIBS
23078 X_EXTRA_LIBS = $X_EXTRA_LIBS
23079 PCAP_LIBS = $PCAP_LIBS
23080 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23081 INOTIFY_LIBS = $INOTIFY_LIBS
23082 DBUS_CFLAGS = $DBUS_CFLAGS
23083 DBUS_LIBS = $DBUS_LIBS
23084 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23085 GNUTLS_LIBS = $GNUTLS_LIBS
23086 SANE_CFLAGS = $SANE_CFLAGS
23087 SANE_LIBS = $SANE_LIBS
23088 USB_CFLAGS = $USB_CFLAGS
23089 USB_LIBS = $USB_LIBS
23090 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23091 GPHOTO2_LIBS = $GPHOTO2_LIBS
23092 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23093 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23094 RESOLV_LIBS = $RESOLV_LIBS
23095 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23096 FREETYPE_LIBS = $FREETYPE_LIBS
23097 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23098 PULSE_CFLAGS = $PULSE_CFLAGS
23099 PULSE_LIBS = $PULSE_LIBS
23100 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23101 GSTREAMER_LIBS = $GSTREAMER_LIBS
23102 ALSA_LIBS = $ALSA_LIBS
23103 OSS4_CFLAGS = $OSS4_CFLAGS
23104 OSS4_LIBS = $OSS4_LIBS
23105 UDEV_CFLAGS = $UDEV_CFLAGS
23106 UDEV_LIBS = $UDEV_LIBS
23107 UNWIND_CFLAGS = $UNWIND_CFLAGS
23108 UNWIND_LIBS = $UNWIND_LIBS
23109 SDL2_CFLAGS = $SDL2_CFLAGS
23110 SDL2_LIBS = $SDL2_LIBS
23111 CAPI20_CFLAGS = $CAPI20_CFLAGS
23112 CAPI20_LIBS = $CAPI20_LIBS
23113 CUPS_CFLAGS = $CUPS_CFLAGS
23114 CUPS_LIBS = $CUPS_LIBS
23115 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23116 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23117 KRB5_CFLAGS = $KRB5_CFLAGS
23118 KRB5_LIBS = $KRB5_LIBS
23119 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23120 GSSAPI_LIBS = $GSSAPI_LIBS
23121 PROCSTAT_LIBS = $PROCSTAT_LIBS
23122 NETAPI_CFLAGS = $NETAPI_CFLAGS
23123 NETAPI_LIBS = $NETAPI_LIBS
23124 MSVCRTFLAGS = $MSVCRTFLAGS
23125 DELAYLOADFLAG = $DELAYLOADFLAG
23126 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23127 RT_LIBS = $RT_LIBS
23128 TAGSFLAGS = $TAGSFLAGS
23129 LIBOBJS = $LIBOBJS
23130 LTLIBOBJS = $LTLIBOBJS
23131 $SET_MAKE
23132 $wine_rules
23133 _WINE_EOF
23134 as_fn_error $? "could not create Makefile" "$LINENO" 5
23137 _ACEOF
23139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23141 # Handling of arguments.
23142 for ac_config_target in $ac_config_targets
23144 case $ac_config_target in
23145 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23146 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23147 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23148 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23149 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23150 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23152 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23153 esac
23154 done
23157 # If the user did not use the arguments to specify the items to instantiate,
23158 # then the envvar interface is used. Set only those that are not.
23159 # We use the long form for the default assignment because of an extremely
23160 # bizarre bug on SunOS 4.1.3.
23161 if $ac_need_defaults; then
23162 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23163 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23164 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23167 # Have a temporary directory for convenience. Make it in the build tree
23168 # simply because there is no reason against having it here, and in addition,
23169 # creating and moving files from /tmp can sometimes cause problems.
23170 # Hook for its removal unless debugging.
23171 # Note that there is a small window in which the directory will not be cleaned:
23172 # after its creation but before its name has been assigned to `$tmp'.
23173 $debug ||
23175 tmp= ac_tmp=
23176 trap 'exit_status=$?
23177 : "${ac_tmp:=$tmp}"
23178 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23180 trap 'as_fn_exit 1' 1 2 13 15
23182 # Create a (secure) tmp directory for tmp files.
23185 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23186 test -d "$tmp"
23187 } ||
23189 tmp=./conf$$-$RANDOM
23190 (umask 077 && mkdir "$tmp")
23191 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23192 ac_tmp=$tmp
23194 # Set up the scripts for CONFIG_HEADERS section.
23195 # No need to generate them if there are no CONFIG_HEADERS.
23196 # This happens for instance with `./config.status Makefile'.
23197 if test -n "$CONFIG_HEADERS"; then
23198 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23199 BEGIN {
23200 _ACEOF
23202 # Transform confdefs.h into an awk script `defines.awk', embedded as
23203 # here-document in config.status, that substitutes the proper values into
23204 # config.h.in to produce config.h.
23206 # Create a delimiter string that does not exist in confdefs.h, to ease
23207 # handling of long lines.
23208 ac_delim='%!_!# '
23209 for ac_last_try in false false :; do
23210 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23211 if test -z "$ac_tt"; then
23212 break
23213 elif $ac_last_try; then
23214 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23215 else
23216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23218 done
23220 # For the awk script, D is an array of macro values keyed by name,
23221 # likewise P contains macro parameters if any. Preserve backslash
23222 # newline sequences.
23224 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23225 sed -n '
23226 s/.\{148\}/&'"$ac_delim"'/g
23227 t rset
23228 :rset
23229 s/^[ ]*#[ ]*define[ ][ ]*/ /
23230 t def
23232 :def
23233 s/\\$//
23234 t bsnl
23235 s/["\\]/\\&/g
23236 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23237 D["\1"]=" \3"/p
23238 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23240 :bsnl
23241 s/["\\]/\\&/g
23242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23243 D["\1"]=" \3\\\\\\n"\\/p
23244 t cont
23245 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23246 t cont
23248 :cont
23250 s/.\{148\}/&'"$ac_delim"'/g
23251 t clear
23252 :clear
23253 s/\\$//
23254 t bsnlc
23255 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23257 :bsnlc
23258 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23259 b cont
23260 ' <confdefs.h | sed '
23261 s/'"$ac_delim"'/"\\\
23262 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23265 for (key in D) D_is_set[key] = 1
23266 FS = "\a"
23268 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23269 line = \$ 0
23270 split(line, arg, " ")
23271 if (arg[1] == "#") {
23272 defundef = arg[2]
23273 mac1 = arg[3]
23274 } else {
23275 defundef = substr(arg[1], 2)
23276 mac1 = arg[2]
23278 split(mac1, mac2, "(") #)
23279 macro = mac2[1]
23280 prefix = substr(line, 1, index(line, defundef) - 1)
23281 if (D_is_set[macro]) {
23282 # Preserve the white space surrounding the "#".
23283 print prefix "define", macro P[macro] D[macro]
23284 next
23285 } else {
23286 # Replace #undef with comments. This is necessary, for example,
23287 # in the case of _POSIX_SOURCE, which is predefined and required
23288 # on some systems where configure will not decide to define it.
23289 if (defundef == "undef") {
23290 print "/*", prefix defundef, macro, "*/"
23291 next
23295 { print }
23296 _ACAWK
23297 _ACEOF
23298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23299 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23300 fi # test -n "$CONFIG_HEADERS"
23303 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23304 shift
23305 for ac_tag
23307 case $ac_tag in
23308 :[FHLC]) ac_mode=$ac_tag; continue;;
23309 esac
23310 case $ac_mode$ac_tag in
23311 :[FHL]*:*);;
23312 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23313 :[FH]-) ac_tag=-:-;;
23314 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23315 esac
23316 ac_save_IFS=$IFS
23317 IFS=:
23318 set x $ac_tag
23319 IFS=$ac_save_IFS
23320 shift
23321 ac_file=$1
23322 shift
23324 case $ac_mode in
23325 :L) ac_source=$1;;
23326 :[FH])
23327 ac_file_inputs=
23328 for ac_f
23330 case $ac_f in
23331 -) ac_f="$ac_tmp/stdin";;
23332 *) # Look for the file first in the build tree, then in the source tree
23333 # (if the path is not absolute). The absolute path cannot be DOS-style,
23334 # because $ac_f cannot contain `:'.
23335 test -f "$ac_f" ||
23336 case $ac_f in
23337 [\\/$]*) false;;
23338 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23339 esac ||
23340 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23341 esac
23342 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23343 as_fn_append ac_file_inputs " '$ac_f'"
23344 done
23346 # Let's still pretend it is `configure' which instantiates (i.e., don't
23347 # use $as_me), people would be surprised to read:
23348 # /* config.h. Generated by config.status. */
23349 configure_input='Generated from '`
23350 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23351 `' by configure.'
23352 if test x"$ac_file" != x-; then
23353 configure_input="$ac_file. $configure_input"
23354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23355 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23357 # Neutralize special characters interpreted by sed in replacement strings.
23358 case $configure_input in #(
23359 *\&* | *\|* | *\\* )
23360 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23361 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23362 *) ac_sed_conf_input=$configure_input;;
23363 esac
23365 case $ac_tag in
23366 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23367 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23368 esac
23370 esac
23372 ac_dir=`$as_dirname -- "$ac_file" ||
23373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23374 X"$ac_file" : 'X\(//\)[^/]' \| \
23375 X"$ac_file" : 'X\(//\)$' \| \
23376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23377 printf "%s\n" X"$ac_file" |
23378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23379 s//\1/
23382 /^X\(\/\/\)[^/].*/{
23383 s//\1/
23386 /^X\(\/\/\)$/{
23387 s//\1/
23390 /^X\(\/\).*/{
23391 s//\1/
23394 s/.*/./; q'`
23395 as_dir="$ac_dir"; as_fn_mkdir_p
23396 ac_builddir=.
23398 case "$ac_dir" in
23399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23401 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23402 # A ".." for each directory in $ac_dir_suffix.
23403 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23404 case $ac_top_builddir_sub in
23405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23407 esac ;;
23408 esac
23409 ac_abs_top_builddir=$ac_pwd
23410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23411 # for backward compatibility:
23412 ac_top_builddir=$ac_top_build_prefix
23414 case $srcdir in
23415 .) # We are building in place.
23416 ac_srcdir=.
23417 ac_top_srcdir=$ac_top_builddir_sub
23418 ac_abs_top_srcdir=$ac_pwd ;;
23419 [\\/]* | ?:[\\/]* ) # Absolute name.
23420 ac_srcdir=$srcdir$ac_dir_suffix;
23421 ac_top_srcdir=$srcdir
23422 ac_abs_top_srcdir=$srcdir ;;
23423 *) # Relative name.
23424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23425 ac_top_srcdir=$ac_top_build_prefix$srcdir
23426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23427 esac
23428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23431 case $ac_mode in
23435 # CONFIG_HEADER
23437 if test x"$ac_file" != x-; then
23439 printf "%s\n" "/* $configure_input */" >&1 \
23440 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23441 } >"$ac_tmp/config.h" \
23442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23443 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23445 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23446 else
23447 rm -f "$ac_file"
23448 mv "$ac_tmp/config.h" "$ac_file" \
23449 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23451 else
23452 printf "%s\n" "/* $configure_input */" >&1 \
23453 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23454 || as_fn_error $? "could not create -" "$LINENO" 5
23459 # CONFIG_LINK
23462 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23464 else
23465 # Prefer the file from the source tree if names are identical.
23466 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23467 ac_source=$srcdir/$ac_source
23470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23471 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23473 if test ! -r "$ac_source"; then
23474 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23476 rm -f "$ac_file"
23478 # Try a relative symlink, then a hard link, then a copy.
23479 case $ac_source in
23480 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23481 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23482 esac
23483 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23484 ln "$ac_source" "$ac_file" 2>/dev/null ||
23485 cp -p "$ac_source" "$ac_file" ||
23486 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23489 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23490 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23492 esac
23495 case $ac_file$ac_mode in
23496 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23497 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23498 "Makefile":C) wine_fn_output_makefile Makefile ;;
23500 esac
23501 done # for ac_tag
23504 as_fn_exit 0
23505 _ACEOF
23506 ac_clean_files=$ac_clean_files_save
23508 test $ac_write_fail = 0 ||
23509 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23512 # configure is writing to config.log, and then calls config.status.
23513 # config.status does its own redirection, appending to config.log.
23514 # Unfortunately, on DOS this fails, as config.log is still kept open
23515 # by configure, so config.status won't be able to write to it; its
23516 # output is simply discarded. So we exec the FD to /dev/null,
23517 # effectively closing config.log, so it can be properly (re)opened and
23518 # appended to by config.status. When coming back to configure, we
23519 # need to make the FD available again.
23520 if test "$no_create" != yes; then
23521 ac_cs_success=:
23522 ac_config_status_args=
23523 test "$silent" = yes &&
23524 ac_config_status_args="$ac_config_status_args --quiet"
23525 exec 5>/dev/null
23526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23527 exec 5>>config.log
23528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23529 # would make configure fail if this is the last instruction.
23530 $ac_cs_success || as_fn_exit 1
23532 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23534 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23538 if test "$no_create" = "yes"
23539 then
23540 exit 0
23543 ac_save_IFS="$IFS"
23544 if test "x$wine_notices" != x; then
23545 echo >&6
23546 IFS="|"
23547 for msg in $wine_notices; do
23548 IFS="$ac_save_IFS"
23549 if ${msg:+false} :
23550 then :
23552 else $as_nop
23553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23554 printf "%s\n" "$as_me: $msg" >&6;}
23556 done
23558 IFS="|"
23559 for msg in $wine_warnings; do
23560 IFS="$ac_save_IFS"
23561 if ${msg:+false} :
23562 then :
23564 else $as_nop
23565 echo >&2
23566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23567 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23569 done
23570 IFS="$ac_save_IFS"
23572 printf "%s\n" "
23573 $as_me: Finished. Do '${ac_make}' to compile Wine.
23574 " >&6