msi: Annotate memory allocation functions with __WINE_(DEALLOC|MALLOC).
[wine.git] / configure
blob25bffe3c8ebd9fbee48f9fe87b17e4144cde9f6f
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_ir50_32
1166 enable_irprops_cpl
1167 enable_itircl
1168 enable_itss
1169 enable_joy_cpl
1170 enable_jscript
1171 enable_jsproxy
1172 enable_kerberos
1173 enable_kernel32
1174 enable_kernelbase
1175 enable_ksecdd_sys
1176 enable_ksproxy_ax
1177 enable_ksuser
1178 enable_ktmw32
1179 enable_l3codeca_acm
1180 enable_light_msstyles
1181 enable_loadperf
1182 enable_localspl
1183 enable_localui
1184 enable_lz32
1185 enable_mapi32
1186 enable_mapistub
1187 enable_mciavi32
1188 enable_mcicda
1189 enable_mciqtz32
1190 enable_mciseq
1191 enable_mciwave
1192 enable_mf
1193 enable_mf3216
1194 enable_mferror
1195 enable_mfmediaengine
1196 enable_mfplat
1197 enable_mfplay
1198 enable_mfreadwrite
1199 enable_mfsrcsnk
1200 enable_mgmtapi
1201 enable_midimap
1202 enable_mlang
1203 enable_mmcndmgr
1204 enable_mmdevapi
1205 enable_mountmgr_sys
1206 enable_mp3dmod
1207 enable_mpr
1208 enable_mprapi
1209 enable_msacm32_drv
1210 enable_msacm32
1211 enable_msado15
1212 enable_msadp32_acm
1213 enable_msasn1
1214 enable_msauddecmft
1215 enable_mscat32
1216 enable_mscms
1217 enable_mscoree
1218 enable_mscorwks
1219 enable_msctf
1220 enable_msctfmonitor
1221 enable_msctfp
1222 enable_msdaps
1223 enable_msdasql
1224 enable_msdelta
1225 enable_msdmo
1226 enable_msdrm
1227 enable_msftedit
1228 enable_msg711_acm
1229 enable_msgsm32_acm
1230 enable_mshtml_tlb
1231 enable_mshtml
1232 enable_msi
1233 enable_msident
1234 enable_msimg32
1235 enable_msimsg
1236 enable_msimtf
1237 enable_msisip
1238 enable_msisys_ocx
1239 enable_msls31
1240 enable_msmpeg2vdec
1241 enable_msnet32
1242 enable_mspatcha
1243 enable_msports
1244 enable_msrle32
1245 enable_msscript_ocx
1246 enable_mssign32
1247 enable_mssip32
1248 enable_mstask
1249 enable_msv1_0
1250 enable_msvcirt
1251 enable_msvcm80
1252 enable_msvcm90
1253 enable_msvcp100
1254 enable_msvcp110
1255 enable_msvcp120
1256 enable_msvcp120_app
1257 enable_msvcp140
1258 enable_msvcp140_1
1259 enable_msvcp140_2
1260 enable_msvcp140_atomic_wait
1261 enable_msvcp60
1262 enable_msvcp70
1263 enable_msvcp71
1264 enable_msvcp80
1265 enable_msvcp90
1266 enable_msvcp_win
1267 enable_msvcr100
1268 enable_msvcr110
1269 enable_msvcr120
1270 enable_msvcr120_app
1271 enable_msvcr70
1272 enable_msvcr71
1273 enable_msvcr80
1274 enable_msvcr90
1275 enable_msvcrt
1276 enable_msvcrt20
1277 enable_msvcrt40
1278 enable_msvcrtd
1279 enable_msvfw32
1280 enable_msvidc32
1281 enable_mswsock
1282 enable_msxml
1283 enable_msxml2
1284 enable_msxml3
1285 enable_msxml4
1286 enable_msxml6
1287 enable_mtxdm
1288 enable_ncrypt
1289 enable_nddeapi
1290 enable_ndis_sys
1291 enable_netapi32
1292 enable_netcfgx
1293 enable_netio_sys
1294 enable_netprofm
1295 enable_netutils
1296 enable_newdev
1297 enable_ninput
1298 enable_normaliz
1299 enable_npmshtml
1300 enable_npptools
1301 enable_nsi
1302 enable_nsiproxy_sys
1303 enable_ntdll
1304 enable_ntdsapi
1305 enable_ntoskrnl_exe
1306 enable_ntprint
1307 enable_objsel
1308 enable_odbc32
1309 enable_odbcbcp
1310 enable_odbccp32
1311 enable_odbccu32
1312 enable_ole32
1313 enable_oleacc
1314 enable_oleaut32
1315 enable_olecli32
1316 enable_oledb32
1317 enable_oledlg
1318 enable_olepro32
1319 enable_olesvr32
1320 enable_olethk32
1321 enable_opcservices
1322 enable_opencl
1323 enable_opengl32
1324 enable_packager
1325 enable_pdh
1326 enable_photometadatahandler
1327 enable_pidgen
1328 enable_powrprof
1329 enable_printui
1330 enable_prntvpt
1331 enable_propsys
1332 enable_psapi
1333 enable_pstorec
1334 enable_pwrshplugin
1335 enable_qasf
1336 enable_qcap
1337 enable_qdvd
1338 enable_qedit
1339 enable_qmgr
1340 enable_qmgrprxy
1341 enable_quartz
1342 enable_query
1343 enable_qwave
1344 enable_rasapi32
1345 enable_rasdlg
1346 enable_regapi
1347 enable_resutils
1348 enable_riched20
1349 enable_riched32
1350 enable_rpcrt4
1351 enable_rsabase
1352 enable_rsaenh
1353 enable_rstrtmgr
1354 enable_rtutils
1355 enable_rtworkq
1356 enable_samlib
1357 enable_sane_ds
1358 enable_sapi
1359 enable_sas
1360 enable_scarddlg
1361 enable_scardsvr
1362 enable_sccbase
1363 enable_schannel
1364 enable_schedsvc
1365 enable_scrobj
1366 enable_scrrun
1367 enable_scsiport_sys
1368 enable_sechost
1369 enable_secur32
1370 enable_security
1371 enable_sensapi
1372 enable_serialui
1373 enable_setupapi
1374 enable_sfc
1375 enable_sfc_os
1376 enable_shcore
1377 enable_shdoclc
1378 enable_shdocvw
1379 enable_shell32
1380 enable_shfolder
1381 enable_shlwapi
1382 enable_slbcsp
1383 enable_slc
1384 enable_snmpapi
1385 enable_softpub
1386 enable_spoolss
1387 enable_sppc
1388 enable_srclient
1389 enable_srvcli
1390 enable_sspicli
1391 enable_stdole2_tlb
1392 enable_stdole32_tlb
1393 enable_sti
1394 enable_strmdll
1395 enable_svrapi
1396 enable_sxs
1397 enable_t2embed
1398 enable_tapi32
1399 enable_taskschd
1400 enable_tbs
1401 enable_tdh
1402 enable_tdi_sys
1403 enable_threadpoolwinrt
1404 enable_traffic
1405 enable_twain_32
1406 enable_tzres
1407 enable_ucrtbase
1408 enable_uianimation
1409 enable_uiautomationcore
1410 enable_uiribbon
1411 enable_unicows
1412 enable_updspapi
1413 enable_url
1414 enable_urlmon
1415 enable_usbd_sys
1416 enable_user32
1417 enable_userenv
1418 enable_usp10
1419 enable_utildll
1420 enable_uxtheme
1421 enable_vbscript
1422 enable_vcomp
1423 enable_vcomp100
1424 enable_vcomp110
1425 enable_vcomp120
1426 enable_vcomp140
1427 enable_vcomp90
1428 enable_vcruntime140
1429 enable_vcruntime140_1
1430 enable_vdmdbg
1431 enable_version
1432 enable_vga
1433 enable_virtdisk
1434 enable_vssapi
1435 enable_vulkan_1
1436 enable_wbemdisp
1437 enable_wbemprox
1438 enable_wdscore
1439 enable_webservices
1440 enable_websocket
1441 enable_wer
1442 enable_wevtapi
1443 enable_wevtsvc
1444 enable_wiaservc
1445 enable_wimgapi
1446 enable_win32u
1447 enable_windows_devices_enumeration
1448 enable_windows_gaming_input
1449 enable_windows_gaming_ui_gamebar
1450 enable_windows_globalization
1451 enable_windows_media_devices
1452 enable_windows_media_speech
1453 enable_windows_media
1454 enable_windows_networking
1455 enable_windows_system_profile_systemmanufacturers
1456 enable_windowscodecs
1457 enable_windowscodecsext
1458 enable_winealsa_drv
1459 enable_wineandroid_drv
1460 enable_winebus_sys
1461 enable_winecoreaudio_drv
1462 enable_winecrt0
1463 enable_wined3d
1464 enable_winegstreamer
1465 enable_winehid_sys
1466 enable_winemac_drv
1467 enable_winemapi
1468 enable_wineoss_drv
1469 enable_wineps_drv
1470 enable_winepulse_drv
1471 enable_wineusb_sys
1472 enable_winevulkan
1473 enable_winex11_drv
1474 enable_winexinput_sys
1475 enable_wing32
1476 enable_winhttp
1477 enable_wininet
1478 enable_winmm
1479 enable_winnls32
1480 enable_winprint
1481 enable_winscard
1482 enable_winspool_drv
1483 enable_winsta
1484 enable_wintab32
1485 enable_wintrust
1486 enable_wintypes
1487 enable_winusb
1488 enable_wlanapi
1489 enable_wlanui
1490 enable_wldap32
1491 enable_wmasf
1492 enable_wmi
1493 enable_wmiutils
1494 enable_wmp
1495 enable_wmphoto
1496 enable_wmvcore
1497 enable_wnaspi32
1498 enable_wofutil
1499 enable_wow64
1500 enable_wow64cpu
1501 enable_wow64win
1502 enable_wpc
1503 enable_wpcap
1504 enable_ws2_32
1505 enable_wsdapi
1506 enable_wshom_ocx
1507 enable_wsnmp32
1508 enable_wsock32
1509 enable_wtsapi32
1510 enable_wuapi
1511 enable_wuaueng
1512 enable_x3daudio1_0
1513 enable_x3daudio1_1
1514 enable_x3daudio1_2
1515 enable_x3daudio1_3
1516 enable_x3daudio1_4
1517 enable_x3daudio1_5
1518 enable_x3daudio1_6
1519 enable_x3daudio1_7
1520 enable_xactengine2_0
1521 enable_xactengine2_4
1522 enable_xactengine2_7
1523 enable_xactengine2_9
1524 enable_xactengine3_0
1525 enable_xactengine3_1
1526 enable_xactengine3_2
1527 enable_xactengine3_3
1528 enable_xactengine3_4
1529 enable_xactengine3_5
1530 enable_xactengine3_6
1531 enable_xactengine3_7
1532 enable_xapofx1_1
1533 enable_xapofx1_2
1534 enable_xapofx1_3
1535 enable_xapofx1_4
1536 enable_xapofx1_5
1537 enable_xaudio2_0
1538 enable_xaudio2_1
1539 enable_xaudio2_2
1540 enable_xaudio2_3
1541 enable_xaudio2_4
1542 enable_xaudio2_5
1543 enable_xaudio2_6
1544 enable_xaudio2_7
1545 enable_xaudio2_8
1546 enable_xaudio2_9
1547 enable_xinput1_1
1548 enable_xinput1_2
1549 enable_xinput1_3
1550 enable_xinput1_4
1551 enable_xinput9_1_0
1552 enable_xinputuap
1553 enable_xmllite
1554 enable_xolehlp
1555 enable_xpsprint
1556 enable_xpssvcs
1557 enable_fonts
1558 enable_include
1559 enable_adsiid
1560 enable_dmoguids
1561 enable_dxerr8
1562 enable_dxerr9
1563 enable_dxguid
1564 enable_faudio
1565 enable_gsm
1566 enable_jpeg
1567 enable_jxr
1568 enable_lcms2
1569 enable_ldap
1570 enable_mfuuid
1571 enable_mpg123
1572 enable_png
1573 enable_strmbase
1574 enable_strmiids
1575 enable_tiff
1576 enable_uuid
1577 enable_vkd3d
1578 enable_wbemuuid
1579 enable_wine
1580 enable_wmcodecdspuuid
1581 enable_xml2
1582 enable_xslt
1583 enable_zlib
1584 enable_loader
1585 enable_nls
1586 enable_po
1587 enable_arp
1588 enable_aspnet_regiis
1589 enable_attrib
1590 enable_cabarc
1591 enable_cacls
1592 enable_certutil
1593 enable_chcp_com
1594 enable_clock
1595 enable_cmd
1596 enable_conhost
1597 enable_control
1598 enable_cscript
1599 enable_dism
1600 enable_dllhost
1601 enable_dplaysvr
1602 enable_dpnsvr
1603 enable_dpvsetup
1604 enable_dxdiag
1605 enable_eject
1606 enable_expand
1607 enable_explorer
1608 enable_extrac32
1609 enable_fc
1610 enable_find
1611 enable_findstr
1612 enable_fsutil
1613 enable_hh
1614 enable_hostname
1615 enable_icacls
1616 enable_icinfo
1617 enable_iexplore
1618 enable_ipconfig
1619 enable_lodctr
1620 enable_mofcomp
1621 enable_mshta
1622 enable_msidb
1623 enable_msiexec
1624 enable_msinfo32
1625 enable_net
1626 enable_netsh
1627 enable_netstat
1628 enable_ngen
1629 enable_notepad
1630 enable_oleview
1631 enable_ping
1632 enable_plugplay
1633 enable_powershell
1634 enable_presentationfontcache
1635 enable_progman
1636 enable_reg
1637 enable_regasm
1638 enable_regedit
1639 enable_regini
1640 enable_regsvcs
1641 enable_regsvr32
1642 enable_robocopy
1643 enable_rpcss
1644 enable_rundll32
1645 enable_sc
1646 enable_schtasks
1647 enable_sdbinst
1648 enable_secedit
1649 enable_servicemodelreg
1650 enable_services
1651 enable_setx
1652 enable_shutdown
1653 enable_spoolsv
1654 enable_start
1655 enable_subst
1656 enable_svchost
1657 enable_systeminfo
1658 enable_taskkill
1659 enable_tasklist
1660 enable_taskmgr
1661 enable_termsv
1662 enable_uninstaller
1663 enable_unlodctr
1664 enable_view
1665 enable_wevtutil
1666 enable_where
1667 enable_whoami
1668 enable_wineboot
1669 enable_winebrowser
1670 enable_winecfg
1671 enable_wineconsole
1672 enable_winedbg
1673 enable_winedevice
1674 enable_winefile
1675 enable_winemenubuilder
1676 enable_winemine
1677 enable_winemsibuilder
1678 enable_winepath
1679 enable_winetest
1680 enable_winhlp32
1681 enable_winmgmt
1682 enable_winver
1683 enable_wmic
1684 enable_wmplayer
1685 enable_wordpad
1686 enable_write
1687 enable_wscript
1688 enable_wuauserv
1689 enable_wusa
1690 enable_xcopy
1691 enable_server
1692 enable_tools
1693 enable_sfnt2fon
1694 enable_widl
1695 enable_winebuild
1696 enable_winedump
1697 enable_winegcc
1698 enable_winemaker
1699 enable_wmc
1700 enable_wrc
1702 ac_precious_vars='build_alias
1703 host_alias
1704 target_alias
1706 CFLAGS
1707 LDFLAGS
1708 LIBS
1709 CPPFLAGS
1711 CXXFLAGS
1713 OBJC
1714 OBJCFLAGS
1715 FAUDIO_PE_CFLAGS
1716 FAUDIO_PE_LIBS
1717 GSM_PE_CFLAGS
1718 GSM_PE_LIBS
1719 JPEG_PE_CFLAGS
1720 JPEG_PE_LIBS
1721 JXR_PE_CFLAGS
1722 JXR_PE_LIBS
1723 LCMS2_PE_CFLAGS
1724 LCMS2_PE_LIBS
1725 LDAP_PE_CFLAGS
1726 LDAP_PE_LIBS
1727 MPG123_PE_CFLAGS
1728 MPG123_PE_LIBS
1729 PNG_PE_CFLAGS
1730 PNG_PE_LIBS
1731 TIFF_PE_CFLAGS
1732 TIFF_PE_LIBS
1733 VKD3D_PE_CFLAGS
1734 VKD3D_PE_LIBS
1735 XML2_PE_CFLAGS
1736 XML2_PE_LIBS
1737 XSLT_PE_CFLAGS
1738 XSLT_PE_LIBS
1739 ZLIB_PE_CFLAGS
1740 ZLIB_PE_LIBS
1741 XMKMF
1743 INOTIFY_CFLAGS
1744 INOTIFY_LIBS
1745 DBUS_CFLAGS
1746 DBUS_LIBS
1747 GNUTLS_CFLAGS
1748 GNUTLS_LIBS
1749 SANE_CFLAGS
1750 SANE_LIBS
1751 USB_CFLAGS
1752 USB_LIBS
1753 GPHOTO2_CFLAGS
1754 GPHOTO2_LIBS
1755 GPHOTO2_PORT_CFLAGS
1756 GPHOTO2_PORT_LIBS
1757 FREETYPE_CFLAGS
1758 FREETYPE_LIBS
1759 PULSE_CFLAGS
1760 PULSE_LIBS
1761 GSTREAMER_CFLAGS
1762 GSTREAMER_LIBS
1763 UDEV_CFLAGS
1764 UDEV_LIBS
1765 UNWIND_CFLAGS
1766 UNWIND_LIBS
1767 SDL2_CFLAGS
1768 SDL2_LIBS
1769 CAPI20_CFLAGS
1770 CAPI20_LIBS
1771 CUPS_CFLAGS
1772 CUPS_LIBS
1773 FONTCONFIG_CFLAGS
1774 FONTCONFIG_LIBS
1775 KRB5_CFLAGS
1776 KRB5_LIBS
1777 GSSAPI_CFLAGS
1778 GSSAPI_LIBS
1779 NETAPI_CFLAGS
1780 NETAPI_LIBS'
1783 # Initialize some variables set by options.
1784 ac_init_help=
1785 ac_init_version=false
1786 ac_unrecognized_opts=
1787 ac_unrecognized_sep=
1788 # The variables have the same names as the options, with
1789 # dashes changed to underlines.
1790 cache_file=/dev/null
1791 exec_prefix=NONE
1792 no_create=
1793 no_recursion=
1794 prefix=NONE
1795 program_prefix=NONE
1796 program_suffix=NONE
1797 program_transform_name=s,x,x,
1798 silent=
1799 site=
1800 srcdir=
1801 verbose=
1802 x_includes=NONE
1803 x_libraries=NONE
1805 # Installation directory options.
1806 # These are left unexpanded so users can "make install exec_prefix=/foo"
1807 # and all the variables that are supposed to be based on exec_prefix
1808 # by default will actually change.
1809 # Use braces instead of parens because sh, perl, etc. also accept them.
1810 # (The list follows the same order as the GNU Coding Standards.)
1811 bindir='${exec_prefix}/bin'
1812 sbindir='${exec_prefix}/sbin'
1813 libexecdir='${exec_prefix}/libexec'
1814 datarootdir='${prefix}/share'
1815 datadir='${datarootdir}'
1816 sysconfdir='${prefix}/etc'
1817 sharedstatedir='${prefix}/com'
1818 localstatedir='${prefix}/var'
1819 runstatedir='${localstatedir}/run'
1820 includedir='${prefix}/include'
1821 oldincludedir='/usr/include'
1822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1823 infodir='${datarootdir}/info'
1824 htmldir='${docdir}'
1825 dvidir='${docdir}'
1826 pdfdir='${docdir}'
1827 psdir='${docdir}'
1828 libdir='${exec_prefix}/lib'
1829 localedir='${datarootdir}/locale'
1830 mandir='${datarootdir}/man'
1832 ac_prev=
1833 ac_dashdash=
1834 for ac_option
1836 # If the previous option needs an argument, assign it.
1837 if test -n "$ac_prev"; then
1838 eval $ac_prev=\$ac_option
1839 ac_prev=
1840 continue
1843 case $ac_option in
1844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1845 *=) ac_optarg= ;;
1846 *) ac_optarg=yes ;;
1847 esac
1849 case $ac_dashdash$ac_option in
1851 ac_dashdash=yes ;;
1853 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1854 ac_prev=bindir ;;
1855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1856 bindir=$ac_optarg ;;
1858 -build | --build | --buil | --bui | --bu)
1859 ac_prev=build_alias ;;
1860 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1861 build_alias=$ac_optarg ;;
1863 -cache-file | --cache-file | --cache-fil | --cache-fi \
1864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1865 ac_prev=cache_file ;;
1866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1868 cache_file=$ac_optarg ;;
1870 --config-cache | -C)
1871 cache_file=config.cache ;;
1873 -datadir | --datadir | --datadi | --datad)
1874 ac_prev=datadir ;;
1875 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1876 datadir=$ac_optarg ;;
1878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1879 | --dataroo | --dataro | --datar)
1880 ac_prev=datarootdir ;;
1881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1883 datarootdir=$ac_optarg ;;
1885 -disable-* | --disable-*)
1886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1887 # Reject names that are not valid shell variable names.
1888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1889 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1890 ac_useropt_orig=$ac_useropt
1891 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1892 case $ac_user_opts in
1894 "enable_$ac_useropt"
1895 "*) ;;
1896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1897 ac_unrecognized_sep=', ';;
1898 esac
1899 eval enable_$ac_useropt=no ;;
1901 -docdir | --docdir | --docdi | --doc | --do)
1902 ac_prev=docdir ;;
1903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1904 docdir=$ac_optarg ;;
1906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1907 ac_prev=dvidir ;;
1908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1909 dvidir=$ac_optarg ;;
1911 -enable-* | --enable-*)
1912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1913 # Reject names that are not valid shell variable names.
1914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1915 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1916 ac_useropt_orig=$ac_useropt
1917 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1918 case $ac_user_opts in
1920 "enable_$ac_useropt"
1921 "*) ;;
1922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1923 ac_unrecognized_sep=', ';;
1924 esac
1925 eval enable_$ac_useropt=\$ac_optarg ;;
1927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1929 | --exec | --exe | --ex)
1930 ac_prev=exec_prefix ;;
1931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1933 | --exec=* | --exe=* | --ex=*)
1934 exec_prefix=$ac_optarg ;;
1936 -gas | --gas | --ga | --g)
1937 # Obsolete; use --with-gas.
1938 with_gas=yes ;;
1940 -help | --help | --hel | --he | -h)
1941 ac_init_help=long ;;
1942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1943 ac_init_help=recursive ;;
1944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1945 ac_init_help=short ;;
1947 -host | --host | --hos | --ho)
1948 ac_prev=host_alias ;;
1949 -host=* | --host=* | --hos=* | --ho=*)
1950 host_alias=$ac_optarg ;;
1952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1953 ac_prev=htmldir ;;
1954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1955 | --ht=*)
1956 htmldir=$ac_optarg ;;
1958 -includedir | --includedir | --includedi | --included | --include \
1959 | --includ | --inclu | --incl | --inc)
1960 ac_prev=includedir ;;
1961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1962 | --includ=* | --inclu=* | --incl=* | --inc=*)
1963 includedir=$ac_optarg ;;
1965 -infodir | --infodir | --infodi | --infod | --info | --inf)
1966 ac_prev=infodir ;;
1967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1968 infodir=$ac_optarg ;;
1970 -libdir | --libdir | --libdi | --libd)
1971 ac_prev=libdir ;;
1972 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1973 libdir=$ac_optarg ;;
1975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1976 | --libexe | --libex | --libe)
1977 ac_prev=libexecdir ;;
1978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1979 | --libexe=* | --libex=* | --libe=*)
1980 libexecdir=$ac_optarg ;;
1982 -localedir | --localedir | --localedi | --localed | --locale)
1983 ac_prev=localedir ;;
1984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1985 localedir=$ac_optarg ;;
1987 -localstatedir | --localstatedir | --localstatedi | --localstated \
1988 | --localstate | --localstat | --localsta | --localst | --locals)
1989 ac_prev=localstatedir ;;
1990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1992 localstatedir=$ac_optarg ;;
1994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1995 ac_prev=mandir ;;
1996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1997 mandir=$ac_optarg ;;
1999 -nfp | --nfp | --nf)
2000 # Obsolete; use --without-fp.
2001 with_fp=no ;;
2003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2004 | --no-cr | --no-c | -n)
2005 no_create=yes ;;
2007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2009 no_recursion=yes ;;
2011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2013 | --oldin | --oldi | --old | --ol | --o)
2014 ac_prev=oldincludedir ;;
2015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2018 oldincludedir=$ac_optarg ;;
2020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2021 ac_prev=prefix ;;
2022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2023 prefix=$ac_optarg ;;
2025 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2026 | --program-pre | --program-pr | --program-p)
2027 ac_prev=program_prefix ;;
2028 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2030 program_prefix=$ac_optarg ;;
2032 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2033 | --program-suf | --program-su | --program-s)
2034 ac_prev=program_suffix ;;
2035 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2037 program_suffix=$ac_optarg ;;
2039 -program-transform-name | --program-transform-name \
2040 | --program-transform-nam | --program-transform-na \
2041 | --program-transform-n | --program-transform- \
2042 | --program-transform | --program-transfor \
2043 | --program-transfo | --program-transf \
2044 | --program-trans | --program-tran \
2045 | --progr-tra | --program-tr | --program-t)
2046 ac_prev=program_transform_name ;;
2047 -program-transform-name=* | --program-transform-name=* \
2048 | --program-transform-nam=* | --program-transform-na=* \
2049 | --program-transform-n=* | --program-transform-=* \
2050 | --program-transform=* | --program-transfor=* \
2051 | --program-transfo=* | --program-transf=* \
2052 | --program-trans=* | --program-tran=* \
2053 | --progr-tra=* | --program-tr=* | --program-t=*)
2054 program_transform_name=$ac_optarg ;;
2056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2057 ac_prev=pdfdir ;;
2058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2059 pdfdir=$ac_optarg ;;
2061 -psdir | --psdir | --psdi | --psd | --ps)
2062 ac_prev=psdir ;;
2063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2064 psdir=$ac_optarg ;;
2066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2067 | -silent | --silent | --silen | --sile | --sil)
2068 silent=yes ;;
2070 -runstatedir | --runstatedir | --runstatedi | --runstated \
2071 | --runstate | --runstat | --runsta | --runst | --runs \
2072 | --run | --ru | --r)
2073 ac_prev=runstatedir ;;
2074 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2075 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2076 | --run=* | --ru=* | --r=*)
2077 runstatedir=$ac_optarg ;;
2079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2080 ac_prev=sbindir ;;
2081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2082 | --sbi=* | --sb=*)
2083 sbindir=$ac_optarg ;;
2085 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2087 | --sharedst | --shareds | --shared | --share | --shar \
2088 | --sha | --sh)
2089 ac_prev=sharedstatedir ;;
2090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2093 | --sha=* | --sh=*)
2094 sharedstatedir=$ac_optarg ;;
2096 -site | --site | --sit)
2097 ac_prev=site ;;
2098 -site=* | --site=* | --sit=*)
2099 site=$ac_optarg ;;
2101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2102 ac_prev=srcdir ;;
2103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2104 srcdir=$ac_optarg ;;
2106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2107 | --syscon | --sysco | --sysc | --sys | --sy)
2108 ac_prev=sysconfdir ;;
2109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2111 sysconfdir=$ac_optarg ;;
2113 -target | --target | --targe | --targ | --tar | --ta | --t)
2114 ac_prev=target_alias ;;
2115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2116 target_alias=$ac_optarg ;;
2118 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2119 verbose=yes ;;
2121 -version | --version | --versio | --versi | --vers | -V)
2122 ac_init_version=: ;;
2124 -with-* | --with-*)
2125 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2126 # Reject names that are not valid shell variable names.
2127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2128 as_fn_error $? "invalid package name: \`$ac_useropt'"
2129 ac_useropt_orig=$ac_useropt
2130 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2131 case $ac_user_opts in
2133 "with_$ac_useropt"
2134 "*) ;;
2135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2136 ac_unrecognized_sep=', ';;
2137 esac
2138 eval with_$ac_useropt=\$ac_optarg ;;
2140 -without-* | --without-*)
2141 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2142 # Reject names that are not valid shell variable names.
2143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2144 as_fn_error $? "invalid package name: \`$ac_useropt'"
2145 ac_useropt_orig=$ac_useropt
2146 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2147 case $ac_user_opts in
2149 "with_$ac_useropt"
2150 "*) ;;
2151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2152 ac_unrecognized_sep=', ';;
2153 esac
2154 eval with_$ac_useropt=no ;;
2156 --x)
2157 # Obsolete; use --with-x.
2158 with_x=yes ;;
2160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2161 | --x-incl | --x-inc | --x-in | --x-i)
2162 ac_prev=x_includes ;;
2163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2165 x_includes=$ac_optarg ;;
2167 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2169 ac_prev=x_libraries ;;
2170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2172 x_libraries=$ac_optarg ;;
2174 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2175 Try \`$0 --help' for more information"
2178 *=*)
2179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2180 # Reject names that are not valid shell variable names.
2181 case $ac_envvar in #(
2182 '' | [0-9]* | *[!_$as_cr_alnum]* )
2183 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2184 esac
2185 eval $ac_envvar=\$ac_optarg
2186 export $ac_envvar ;;
2189 # FIXME: should be removed in autoconf 3.0.
2190 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2192 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2196 esac
2197 done
2199 if test -n "$ac_prev"; then
2200 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2201 as_fn_error $? "missing argument to $ac_option"
2204 if test -n "$ac_unrecognized_opts"; then
2205 case $enable_option_checking in
2206 no) ;;
2207 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2208 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2209 esac
2212 # Check all directory arguments for consistency.
2213 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2214 datadir sysconfdir sharedstatedir localstatedir includedir \
2215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2216 libdir localedir mandir runstatedir
2218 eval ac_val=\$$ac_var
2219 # Remove trailing slashes.
2220 case $ac_val in
2221 */ )
2222 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2223 eval $ac_var=\$ac_val;;
2224 esac
2225 # Be sure to have absolute directory names.
2226 case $ac_val in
2227 [\\/$]* | ?:[\\/]* ) continue;;
2228 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2229 esac
2230 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2231 done
2233 # There might be people who depend on the old broken behavior: `$host'
2234 # used to hold the argument of --host etc.
2235 # FIXME: To remove some day.
2236 build=$build_alias
2237 host=$host_alias
2238 target=$target_alias
2240 # FIXME: To remove some day.
2241 if test "x$host_alias" != x; then
2242 if test "x$build_alias" = x; then
2243 cross_compiling=maybe
2244 elif test "x$build_alias" != "x$host_alias"; then
2245 cross_compiling=yes
2249 ac_tool_prefix=
2250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2252 test "$silent" = yes && exec 6>/dev/null
2255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2256 ac_ls_di=`ls -di .` &&
2257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2258 as_fn_error $? "working directory cannot be determined"
2259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2260 as_fn_error $? "pwd does not report name of working directory"
2263 # Find the source files, if location was not specified.
2264 if test -z "$srcdir"; then
2265 ac_srcdir_defaulted=yes
2266 # Try the directory containing this script, then the parent directory.
2267 ac_confdir=`$as_dirname -- "$as_myself" ||
2268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2269 X"$as_myself" : 'X\(//\)[^/]' \| \
2270 X"$as_myself" : 'X\(//\)$' \| \
2271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2272 printf "%s\n" X"$as_myself" |
2273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2274 s//\1/
2277 /^X\(\/\/\)[^/].*/{
2278 s//\1/
2281 /^X\(\/\/\)$/{
2282 s//\1/
2285 /^X\(\/\).*/{
2286 s//\1/
2289 s/.*/./; q'`
2290 srcdir=$ac_confdir
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2292 srcdir=..
2294 else
2295 ac_srcdir_defaulted=no
2297 if test ! -r "$srcdir/$ac_unique_file"; then
2298 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2299 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2302 ac_abs_confdir=`(
2303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2304 pwd)`
2305 # When building in place, set srcdir=.
2306 if test "$ac_abs_confdir" = "$ac_pwd"; then
2307 srcdir=.
2309 # Remove unnecessary trailing slashes from srcdir.
2310 # Double slashes in file names in object file debugging info
2311 # mess up M-x gdb in Emacs.
2312 case $srcdir in
2313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2314 esac
2315 for ac_var in $ac_precious_vars; do
2316 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2317 eval ac_env_${ac_var}_value=\$${ac_var}
2318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2319 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2320 done
2323 # Report the --help message.
2325 if test "$ac_init_help" = "long"; then
2326 # Omit some internal or obsolete options to make the list less imposing.
2327 # This message is too long to be a string in the A/UX 3.1 sh.
2328 cat <<_ACEOF
2329 \`configure' configures Wine 8.1 to adapt to many kinds of systems.
2331 Usage: $0 [OPTION]... [VAR=VALUE]...
2333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2334 VAR=VALUE. See below for descriptions of some of the useful variables.
2336 Defaults for the options are specified in brackets.
2338 Configuration:
2339 -h, --help display this help and exit
2340 --help=short display options specific to this package
2341 --help=recursive display the short help of all the included packages
2342 -V, --version display version information and exit
2343 -q, --quiet, --silent do not print \`checking ...' messages
2344 --cache-file=FILE cache test results in FILE [disabled]
2345 -C, --config-cache alias for \`--cache-file=config.cache'
2346 -n, --no-create do not create output files
2347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2349 Installation directories:
2350 --prefix=PREFIX install architecture-independent files in PREFIX
2351 [$ac_default_prefix]
2352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2353 [PREFIX]
2355 By default, \`make install' will install all the files in
2356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2358 for instance \`--prefix=\$HOME'.
2360 For better control, use the options below.
2362 Fine tuning of the installation directories:
2363 --bindir=DIR user executables [EPREFIX/bin]
2364 --sbindir=DIR system admin executables [EPREFIX/sbin]
2365 --libexecdir=DIR program executables [EPREFIX/libexec]
2366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2369 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2370 --libdir=DIR object code libraries [EPREFIX/lib]
2371 --includedir=DIR C header files [PREFIX/include]
2372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2375 --infodir=DIR info documentation [DATAROOTDIR/info]
2376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2377 --mandir=DIR man documentation [DATAROOTDIR/man]
2378 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2379 --htmldir=DIR html documentation [DOCDIR]
2380 --dvidir=DIR dvi documentation [DOCDIR]
2381 --pdfdir=DIR pdf documentation [DOCDIR]
2382 --psdir=DIR ps documentation [DOCDIR]
2383 _ACEOF
2385 cat <<\_ACEOF
2387 X features:
2388 --x-includes=DIR X include files are in DIR
2389 --x-libraries=DIR X library files are in DIR
2391 System types:
2392 --build=BUILD configure for building on BUILD [guessed]
2393 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2394 _ACEOF
2397 if test -n "$ac_init_help"; then
2398 case $ac_init_help in
2399 short | recursive ) echo "Configuration of Wine 8.1:";;
2400 esac
2401 cat <<\_ACEOF
2403 Optional Features:
2404 --disable-option-checking ignore unrecognized --enable/--with options
2405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2407 --enable-archs={i386,x86_64,arm,aarch64}
2408 enable multiple architectures for PE compilation
2409 --disable-win16 do not include Win16 support
2410 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2411 binaries)
2412 --disable-tests do not build the regression tests
2413 --enable-build-id include .buildid section in output objects
2414 --enable-maintainer-mode
2415 enable maintainer-specific build rules
2416 --enable-silent-rules use silent build rules (override: "make V=1")
2417 --enable-werror treat compilation warnings as errors
2418 --disable-largefile omit support for large files
2420 Optional Packages:
2421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2423 --without-alsa do not use the Alsa sound support
2424 --without-capi do not use CAPI (ISDN support)
2425 --without-coreaudio do not use the CoreAudio sound support
2426 --without-cups do not use CUPS
2427 --without-dbus do not use DBus (dynamic device support)
2428 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2429 --without-fontconfig do not use fontconfig
2430 --without-freetype do not use the FreeType library
2431 --without-gettext do not use gettext
2432 --with-gettextpo use the GetTextPO library to rebuild po files
2433 --without-gphoto do not use gphoto (Digital Camera support)
2434 --without-gnutls do not use GnuTLS (schannel support)
2435 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2436 --without-gstreamer do not use GStreamer (codecs support)
2437 --without-inotify do not use inotify (filesystem change notifications)
2438 --without-krb5 do not use krb5 (Kerberos)
2439 --without-mingw do not use the MinGW cross-compiler
2440 --without-netapi do not use the Samba NetAPI library
2441 --without-opencl do not use OpenCL
2442 --without-opengl do not use OpenGL
2443 --without-osmesa do not use the OSMesa library
2444 --without-oss do not use the OSS sound support
2445 --without-pcap do not use the Packet Capture library
2446 --without-pthread do not use the pthread library
2447 --without-pulse do not use PulseAudio sound support
2448 --without-sane do not use SANE (scanner support)
2449 --without-sdl do not use SDL
2450 --without-udev do not use udev (plug and play support)
2451 --without-unwind do not use the libunwind library (exception
2452 handling)
2453 --without-usb do not use the libusb library
2454 --without-v4l2 do not use v4l2 (video capture)
2455 --without-vulkan do not use Vulkan
2456 --without-xcomposite do not use the Xcomposite extension
2457 --without-xcursor do not use the Xcursor extension
2458 --without-xfixes do not use Xfixes for clipboard change notifications
2459 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2460 --without-xinput do not use the Xinput extension
2461 --without-xinput2 do not use the Xinput 2 extension
2462 --without-xrandr do not use Xrandr (multi-monitor support)
2463 --without-xrender do not use the Xrender extension
2464 --without-xshape do not use the Xshape extension
2465 --without-xshm do not use XShm (shared memory extension)
2466 --without-xxf86vm do not use XFree video mode extension
2467 --with-system-dllpath=PATH
2468 load external PE dependencies from colon-separated
2469 path PATH
2470 --with-wine-tools=DIR use Wine tools from directory DIR
2471 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2472 --with-x use the X Window System
2474 Some influential environment variables:
2475 CC C compiler command
2476 CFLAGS C compiler flags
2477 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2478 nonstandard directory <lib dir>
2479 LIBS libraries to pass to the linker, e.g. -l<library>
2480 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2481 you have headers in a nonstandard directory <include dir>
2482 CXX C++ compiler command
2483 CXXFLAGS C++ compiler flags
2484 OBJC Objective C compiler command
2485 OBJCFLAGS Objective C compiler flags
2486 FAUDIO_PE_CFLAGS
2487 C compiler flags for the PE faudio, overriding the bundled
2488 version
2489 FAUDIO_PE_LIBS
2490 Linker flags for the PE faudio, overriding the bundled version
2491 GSM_PE_CFLAGS
2492 C compiler flags for the PE gsm, overriding the bundled version
2493 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2494 JPEG_PE_CFLAGS
2495 C compiler flags for the PE jpeg, overriding the bundled version
2496 JPEG_PE_LIBS
2497 Linker flags for the PE jpeg, overriding the bundled version
2498 JXR_PE_CFLAGS
2499 C compiler flags for the PE jxr, overriding the bundled version
2500 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2501 LCMS2_PE_CFLAGS
2502 C compiler flags for the PE lcms2, overriding the bundled
2503 version
2504 LCMS2_PE_LIBS
2505 Linker flags for the PE lcms2, overriding the bundled version
2506 LDAP_PE_CFLAGS
2507 C compiler flags for the PE ldap, overriding the bundled version
2508 LDAP_PE_LIBS
2509 Linker flags for the PE ldap, overriding the bundled version
2510 MPG123_PE_CFLAGS
2511 C compiler flags for the PE mpg123, overriding the bundled
2512 version
2513 MPG123_PE_LIBS
2514 Linker flags for the PE mpg123, overriding the bundled version
2515 PNG_PE_CFLAGS
2516 C compiler flags for the PE png, overriding the bundled version
2517 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2518 TIFF_PE_CFLAGS
2519 C compiler flags for the PE tiff, overriding the bundled version
2520 TIFF_PE_LIBS
2521 Linker flags for the PE tiff, overriding the bundled version
2522 VKD3D_PE_CFLAGS
2523 C compiler flags for the PE vkd3d, overriding the bundled
2524 version
2525 VKD3D_PE_LIBS
2526 Linker flags for the PE vkd3d, overriding the bundled version
2527 XML2_PE_CFLAGS
2528 C compiler flags for the PE xml2, overriding the bundled version
2529 XML2_PE_LIBS
2530 Linker flags for the PE xml2, overriding the bundled version
2531 XSLT_PE_CFLAGS
2532 C compiler flags for the PE xslt, overriding the bundled version
2533 XSLT_PE_LIBS
2534 Linker flags for the PE xslt, overriding the bundled version
2535 ZLIB_PE_CFLAGS
2536 C compiler flags for the PE zlib, overriding the bundled version
2537 ZLIB_PE_LIBS
2538 Linker flags for the PE zlib, overriding the bundled version
2539 XMKMF Path to xmkmf, Makefile generator for X Window System
2540 CPP C preprocessor
2541 INOTIFY_CFLAGS
2542 C compiler flags for libinotify, overriding pkg-config
2543 INOTIFY_LIBS
2544 Linker flags for libinotify, overriding pkg-config
2545 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2546 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2547 GNUTLS_CFLAGS
2548 C compiler flags for gnutls, overriding pkg-config
2549 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2550 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2551 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2552 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2553 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2554 GPHOTO2_CFLAGS
2555 C compiler flags for libgphoto2, overriding pkg-config
2556 GPHOTO2_LIBS
2557 Linker flags for libgphoto2, overriding pkg-config
2558 GPHOTO2_PORT_CFLAGS
2559 C compiler flags for libgphoto2_port, overriding pkg-config
2560 GPHOTO2_PORT_LIBS
2561 Linker flags for libgphoto2_port, overriding pkg-config
2562 FREETYPE_CFLAGS
2563 C compiler flags for freetype2, overriding pkg-config
2564 FREETYPE_LIBS
2565 Linker flags for freetype2, overriding pkg-config
2566 PULSE_CFLAGS
2567 C compiler flags for libpulse, overriding pkg-config
2568 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2569 GSTREAMER_CFLAGS
2570 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2571 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2572 GSTREAMER_LIBS
2573 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2574 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2575 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2576 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2577 UNWIND_CFLAGS
2578 C compiler flags for libunwind, overriding pkg-config
2579 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2580 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2581 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2582 CAPI20_CFLAGS
2583 C compiler flags for capi20, overriding pkg-config
2584 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2585 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2586 CUPS_LIBS Linker flags for cups, overriding pkg-config
2587 FONTCONFIG_CFLAGS
2588 C compiler flags for fontconfig, overriding pkg-config
2589 FONTCONFIG_LIBS
2590 Linker flags for fontconfig, overriding pkg-config
2591 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2592 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2593 GSSAPI_CFLAGS
2594 C compiler flags for krb5-gssapi, overriding pkg-config
2595 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2596 NETAPI_CFLAGS
2597 C compiler flags for netapi, overriding pkg-config
2598 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2600 Use these variables to override the choices made by `configure' or to help
2601 it to find libraries and programs with nonstandard names/locations.
2603 Report bugs to <wine-devel@winehq.org>.
2604 Wine home page: <https://www.winehq.org>.
2605 _ACEOF
2606 ac_status=$?
2609 if test "$ac_init_help" = "recursive"; then
2610 # If there are subdirs, report their specific --help.
2611 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2612 test -d "$ac_dir" ||
2613 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2614 continue
2615 ac_builddir=.
2617 case "$ac_dir" in
2618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2620 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2621 # A ".." for each directory in $ac_dir_suffix.
2622 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2623 case $ac_top_builddir_sub in
2624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2626 esac ;;
2627 esac
2628 ac_abs_top_builddir=$ac_pwd
2629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2630 # for backward compatibility:
2631 ac_top_builddir=$ac_top_build_prefix
2633 case $srcdir in
2634 .) # We are building in place.
2635 ac_srcdir=.
2636 ac_top_srcdir=$ac_top_builddir_sub
2637 ac_abs_top_srcdir=$ac_pwd ;;
2638 [\\/]* | ?:[\\/]* ) # Absolute name.
2639 ac_srcdir=$srcdir$ac_dir_suffix;
2640 ac_top_srcdir=$srcdir
2641 ac_abs_top_srcdir=$srcdir ;;
2642 *) # Relative name.
2643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2644 ac_top_srcdir=$ac_top_build_prefix$srcdir
2645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2646 esac
2647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2649 cd "$ac_dir" || { ac_status=$?; continue; }
2650 # Check for configure.gnu first; this name is used for a wrapper for
2651 # Metaconfig's "Configure" on case-insensitive file systems.
2652 if test -f "$ac_srcdir/configure.gnu"; then
2653 echo &&
2654 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2655 elif test -f "$ac_srcdir/configure"; then
2656 echo &&
2657 $SHELL "$ac_srcdir/configure" --help=recursive
2658 else
2659 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2660 fi || ac_status=$?
2661 cd "$ac_pwd" || { ac_status=$?; break; }
2662 done
2665 test -n "$ac_init_help" && exit $ac_status
2666 if $ac_init_version; then
2667 cat <<\_ACEOF
2668 Wine configure 8.1
2669 generated by GNU Autoconf 2.71
2671 Copyright (C) 2021 Free Software Foundation, Inc.
2672 This configure script is free software; the Free Software Foundation
2673 gives unlimited permission to copy, distribute and modify it.
2674 _ACEOF
2675 exit
2678 ## ------------------------ ##
2679 ## Autoconf initialization. ##
2680 ## ------------------------ ##
2682 # ac_fn_c_try_compile LINENO
2683 # --------------------------
2684 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_c_try_compile ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 rm -f conftest.$ac_objext conftest.beam
2689 if { { ac_try="$ac_compile"
2690 case "(($ac_try" in
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 printf "%s\n" "$ac_try_echo"; } >&5
2696 (eval "$ac_compile") 2>conftest.err
2697 ac_status=$?
2698 if test -s conftest.err; then
2699 grep -v '^ *+' conftest.err >conftest.er1
2700 cat conftest.er1 >&5
2701 mv -f conftest.er1 conftest.err
2703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } && {
2705 test -z "$ac_c_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest.$ac_objext
2708 then :
2709 ac_retval=0
2710 else $as_nop
2711 printf "%s\n" "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2714 ac_retval=1
2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 as_fn_set_status $ac_retval
2719 } # ac_fn_c_try_compile
2721 # ac_fn_cxx_try_compile LINENO
2722 # ----------------------------
2723 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2724 ac_fn_cxx_try_compile ()
2726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2727 rm -f conftest.$ac_objext conftest.beam
2728 if { { ac_try="$ac_compile"
2729 case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732 esac
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 printf "%s\n" "$ac_try_echo"; } >&5
2735 (eval "$ac_compile") 2>conftest.err
2736 ac_status=$?
2737 if test -s conftest.err; then
2738 grep -v '^ *+' conftest.err >conftest.er1
2739 cat conftest.er1 >&5
2740 mv -f conftest.er1 conftest.err
2742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; } && {
2744 test -z "$ac_cxx_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext
2747 then :
2748 ac_retval=0
2749 else $as_nop
2750 printf "%s\n" "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2753 ac_retval=1
2755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2756 as_fn_set_status $ac_retval
2758 } # ac_fn_cxx_try_compile
2760 # ac_fn_c_try_link LINENO
2761 # -----------------------
2762 # Try to link conftest.$ac_ext, and return whether this succeeded.
2763 ac_fn_c_try_link ()
2765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2766 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2767 if { { ac_try="$ac_link"
2768 case "(($ac_try" in
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2771 esac
2772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773 printf "%s\n" "$ac_try_echo"; } >&5
2774 (eval "$ac_link") 2>conftest.err
2775 ac_status=$?
2776 if test -s conftest.err; then
2777 grep -v '^ *+' conftest.err >conftest.er1
2778 cat conftest.er1 >&5
2779 mv -f conftest.er1 conftest.err
2781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2782 test $ac_status = 0; } && {
2783 test -z "$ac_c_werror_flag" ||
2784 test ! -s conftest.err
2785 } && test -s conftest$ac_exeext && {
2786 test "$cross_compiling" = yes ||
2787 test -x conftest$ac_exeext
2789 then :
2790 ac_retval=0
2791 else $as_nop
2792 printf "%s\n" "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.$ac_ext >&5
2795 ac_retval=1
2797 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2798 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2799 # interfere with the next link command; also delete a directory that is
2800 # left behind by Apple's compiler. We do this before executing the actions.
2801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2803 as_fn_set_status $ac_retval
2805 } # ac_fn_c_try_link
2807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2808 # -------------------------------------------------------
2809 # Tests whether HEADER exists and can be compiled using the include files in
2810 # INCLUDES, setting the cache variable VAR accordingly.
2811 ac_fn_c_check_header_compile ()
2813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2815 printf %s "checking for $2... " >&6; }
2816 if eval test \${$3+y}
2817 then :
2818 printf %s "(cached) " >&6
2819 else $as_nop
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2823 #include <$2>
2824 _ACEOF
2825 if ac_fn_c_try_compile "$LINENO"
2826 then :
2827 eval "$3=yes"
2828 else $as_nop
2829 eval "$3=no"
2831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2833 eval ac_res=\$$3
2834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2835 printf "%s\n" "$ac_res" >&6; }
2836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 } # ac_fn_c_check_header_compile
2840 # ac_fn_objc_try_compile LINENO
2841 # -----------------------------
2842 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2843 ac_fn_objc_try_compile ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 rm -f conftest.$ac_objext conftest.beam
2847 if { { ac_try="$ac_compile"
2848 case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2851 esac
2852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2853 printf "%s\n" "$ac_try_echo"; } >&5
2854 (eval "$ac_compile") 2>conftest.err
2855 ac_status=$?
2856 if test -s conftest.err; then
2857 grep -v '^ *+' conftest.err >conftest.er1
2858 cat conftest.er1 >&5
2859 mv -f conftest.er1 conftest.err
2861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; } && {
2863 test -z "$ac_objc_werror_flag" ||
2864 test ! -s conftest.err
2865 } && test -s conftest.$ac_objext
2866 then :
2867 ac_retval=0
2868 else $as_nop
2869 printf "%s\n" "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2872 ac_retval=1
2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 as_fn_set_status $ac_retval
2877 } # ac_fn_objc_try_compile
2879 # ac_fn_c_check_func LINENO FUNC VAR
2880 # ----------------------------------
2881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2882 ac_fn_c_check_func ()
2884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2886 printf %s "checking for $2... " >&6; }
2887 if eval test \${$3+y}
2888 then :
2889 printf %s "(cached) " >&6
2890 else $as_nop
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2895 #define $2 innocuous_$2
2897 /* System header to define __stub macros and hopefully few prototypes,
2898 which can conflict with char $2 (); below. */
2900 #include <limits.h>
2901 #undef $2
2903 /* Override any GCC internal prototype to avoid an error.
2904 Use char because int might match the return type of a GCC
2905 builtin and then its argument prototype would still apply. */
2906 #ifdef __cplusplus
2907 extern "C"
2908 #endif
2909 char $2 ();
2910 /* The GNU C library defines this for functions which it implements
2911 to always fail with ENOSYS. Some functions are actually named
2912 something starting with __ and the normal name is an alias. */
2913 #if defined __stub_$2 || defined __stub___$2
2914 choke me
2915 #endif
2918 main (void)
2920 return $2 ();
2922 return 0;
2924 _ACEOF
2925 if ac_fn_c_try_link "$LINENO"
2926 then :
2927 eval "$3=yes"
2928 else $as_nop
2929 eval "$3=no"
2931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2932 conftest$ac_exeext conftest.$ac_ext
2934 eval ac_res=\$$3
2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2936 printf "%s\n" "$ac_res" >&6; }
2937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 } # ac_fn_c_check_func
2941 # ac_fn_c_try_cpp LINENO
2942 # ----------------------
2943 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2944 ac_fn_c_try_cpp ()
2946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2947 if { { ac_try="$ac_cpp conftest.$ac_ext"
2948 case "(($ac_try" in
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2951 esac
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 printf "%s\n" "$ac_try_echo"; } >&5
2954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2955 ac_status=$?
2956 if test -s conftest.err; then
2957 grep -v '^ *+' conftest.err >conftest.er1
2958 cat conftest.er1 >&5
2959 mv -f conftest.er1 conftest.err
2961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; } > conftest.i && {
2963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2966 then :
2967 ac_retval=0
2968 else $as_nop
2969 printf "%s\n" "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2972 ac_retval=1
2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 as_fn_set_status $ac_retval
2977 } # ac_fn_c_try_cpp
2979 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2980 # ----------------------------------------------------
2981 # Tries to find if the field MEMBER exists in type AGGR, after including
2982 # INCLUDES, setting cache variable VAR accordingly.
2983 ac_fn_c_check_member ()
2985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2987 printf %s "checking for $2.$3... " >&6; }
2988 if eval test \${$4+y}
2989 then :
2990 printf %s "(cached) " >&6
2991 else $as_nop
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2996 main (void)
2998 static $2 ac_aggr;
2999 if (ac_aggr.$3)
3000 return 0;
3002 return 0;
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"
3006 then :
3007 eval "$4=yes"
3008 else $as_nop
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3013 main (void)
3015 static $2 ac_aggr;
3016 if (sizeof ac_aggr.$3)
3017 return 0;
3019 return 0;
3021 _ACEOF
3022 if ac_fn_c_try_compile "$LINENO"
3023 then :
3024 eval "$4=yes"
3025 else $as_nop
3026 eval "$4=no"
3028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3032 eval ac_res=\$$4
3033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3034 printf "%s\n" "$ac_res" >&6; }
3035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3037 } # ac_fn_c_check_member
3039 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3040 # -------------------------------------------
3041 # Tests whether TYPE exists after having included INCLUDES, setting cache
3042 # variable VAR accordingly.
3043 ac_fn_c_check_type ()
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3047 printf %s "checking for $2... " >&6; }
3048 if eval test \${$3+y}
3049 then :
3050 printf %s "(cached) " >&6
3051 else $as_nop
3052 eval "$3=no"
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3057 main (void)
3059 if (sizeof ($2))
3060 return 0;
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"
3066 then :
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3071 main (void)
3073 if (sizeof (($2)))
3074 return 0;
3076 return 0;
3078 _ACEOF
3079 if ac_fn_c_try_compile "$LINENO"
3080 then :
3082 else $as_nop
3083 eval "$3=yes"
3085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3089 eval ac_res=\$$3
3090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3091 printf "%s\n" "$ac_res" >&6; }
3092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 } # ac_fn_c_check_type
3095 ac_configure_args_raw=
3096 for ac_arg
3098 case $ac_arg in
3099 *\'*)
3100 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3101 esac
3102 as_fn_append ac_configure_args_raw " '$ac_arg'"
3103 done
3105 case $ac_configure_args_raw in
3106 *$as_nl*)
3107 ac_safe_unquote= ;;
3109 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3110 ac_unsafe_a="$ac_unsafe_z#~"
3111 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3112 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3113 esac
3115 cat >config.log <<_ACEOF
3116 This file contains any messages produced by compilers while
3117 running configure, to aid debugging if configure makes a mistake.
3119 It was created by Wine $as_me 8.1, which was
3120 generated by GNU Autoconf 2.71. Invocation command line was
3122 $ $0$ac_configure_args_raw
3124 _ACEOF
3125 exec 5>>config.log
3127 cat <<_ASUNAME
3128 ## --------- ##
3129 ## Platform. ##
3130 ## --------- ##
3132 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3133 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3134 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3135 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3136 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3138 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3139 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3141 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3142 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3143 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3144 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3145 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3146 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3147 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3149 _ASUNAME
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152 for as_dir in $PATH
3154 IFS=$as_save_IFS
3155 case $as_dir in #(((
3156 '') as_dir=./ ;;
3157 */) ;;
3158 *) as_dir=$as_dir/ ;;
3159 esac
3160 printf "%s\n" "PATH: $as_dir"
3161 done
3162 IFS=$as_save_IFS
3164 } >&5
3166 cat >&5 <<_ACEOF
3169 ## ----------- ##
3170 ## Core tests. ##
3171 ## ----------- ##
3173 _ACEOF
3176 # Keep a trace of the command line.
3177 # Strip out --no-create and --no-recursion so they do not pile up.
3178 # Strip out --silent because we don't want to record it for future runs.
3179 # Also quote any args containing shell meta-characters.
3180 # Make two passes to allow for proper duplicate-argument suppression.
3181 ac_configure_args=
3182 ac_configure_args0=
3183 ac_configure_args1=
3184 ac_must_keep_next=false
3185 for ac_pass in 1 2
3187 for ac_arg
3189 case $ac_arg in
3190 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3191 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3192 | -silent | --silent | --silen | --sile | --sil)
3193 continue ;;
3194 *\'*)
3195 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3196 esac
3197 case $ac_pass in
3198 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3200 as_fn_append ac_configure_args1 " '$ac_arg'"
3201 if test $ac_must_keep_next = true; then
3202 ac_must_keep_next=false # Got value, back to normal.
3203 else
3204 case $ac_arg in
3205 *=* | --config-cache | -C | -disable-* | --disable-* \
3206 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3207 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3208 | -with-* | --with-* | -without-* | --without-* | --x)
3209 case "$ac_configure_args0 " in
3210 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3211 esac
3213 -* ) ac_must_keep_next=true ;;
3214 esac
3216 as_fn_append ac_configure_args " '$ac_arg'"
3218 esac
3219 done
3220 done
3221 { ac_configure_args0=; unset ac_configure_args0;}
3222 { ac_configure_args1=; unset ac_configure_args1;}
3224 # When interrupted or exit'd, cleanup temporary files, and complete
3225 # config.log. We remove comments because anyway the quotes in there
3226 # would cause problems or look ugly.
3227 # WARNING: Use '\'' to represent an apostrophe within the trap.
3228 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3229 trap 'exit_status=$?
3230 # Sanitize IFS.
3231 IFS=" "" $as_nl"
3232 # Save into config.log some information that might help in debugging.
3234 echo
3236 printf "%s\n" "## ---------------- ##
3237 ## Cache variables. ##
3238 ## ---------------- ##"
3239 echo
3240 # The following way of writing the cache mishandles newlines in values,
3242 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3243 eval ac_val=\$$ac_var
3244 case $ac_val in #(
3245 *${as_nl}*)
3246 case $ac_var in #(
3247 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3248 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3249 esac
3250 case $ac_var in #(
3251 _ | IFS | as_nl) ;; #(
3252 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3253 *) { eval $ac_var=; unset $ac_var;} ;;
3254 esac ;;
3255 esac
3256 done
3257 (set) 2>&1 |
3258 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3259 *${as_nl}ac_space=\ *)
3260 sed -n \
3261 "s/'\''/'\''\\\\'\'''\''/g;
3262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3263 ;; #(
3265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3267 esac |
3268 sort
3270 echo
3272 printf "%s\n" "## ----------------- ##
3273 ## Output variables. ##
3274 ## ----------------- ##"
3275 echo
3276 for ac_var in $ac_subst_vars
3278 eval ac_val=\$$ac_var
3279 case $ac_val in
3280 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3281 esac
3282 printf "%s\n" "$ac_var='\''$ac_val'\''"
3283 done | sort
3284 echo
3286 if test -n "$ac_subst_files"; then
3287 printf "%s\n" "## ------------------- ##
3288 ## File substitutions. ##
3289 ## ------------------- ##"
3290 echo
3291 for ac_var in $ac_subst_files
3293 eval ac_val=\$$ac_var
3294 case $ac_val in
3295 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3296 esac
3297 printf "%s\n" "$ac_var='\''$ac_val'\''"
3298 done | sort
3299 echo
3302 if test -s confdefs.h; then
3303 printf "%s\n" "## ----------- ##
3304 ## confdefs.h. ##
3305 ## ----------- ##"
3306 echo
3307 cat confdefs.h
3308 echo
3310 test "$ac_signal" != 0 &&
3311 printf "%s\n" "$as_me: caught signal $ac_signal"
3312 printf "%s\n" "$as_me: exit $exit_status"
3313 } >&5
3314 rm -f core *.core core.conftest.* &&
3315 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3316 exit $exit_status
3318 for ac_signal in 1 2 13 15; do
3319 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3320 done
3321 ac_signal=0
3323 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3324 rm -f -r conftest* confdefs.h
3326 printf "%s\n" "/* confdefs.h */" > confdefs.h
3328 # Predefined preprocessor variables.
3330 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3332 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3334 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3336 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3338 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3340 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3343 # Let the site file select an alternate cache file if it wants to.
3344 # Prefer an explicitly selected file to automatically selected ones.
3345 if test -n "$CONFIG_SITE"; then
3346 ac_site_files="$CONFIG_SITE"
3347 elif test "x$prefix" != xNONE; then
3348 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3349 else
3350 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3353 for ac_site_file in $ac_site_files
3355 case $ac_site_file in #(
3356 */*) :
3357 ;; #(
3358 *) :
3359 ac_site_file=./$ac_site_file ;;
3360 esac
3361 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3363 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3364 sed 's/^/| /' "$ac_site_file" >&5
3365 . "$ac_site_file" \
3366 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3368 as_fn_error $? "failed to load site script $ac_site_file
3369 See \`config.log' for more details" "$LINENO" 5; }
3371 done
3373 if test -r "$cache_file"; then
3374 # Some versions of bash will fail to source /dev/null (special files
3375 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3376 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3378 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3379 case $cache_file in
3380 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3381 *) . "./$cache_file";;
3382 esac
3384 else
3385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3386 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3387 >$cache_file
3390 # Test code for whether the C compiler supports C89 (global declarations)
3391 ac_c_conftest_c89_globals='
3392 /* Does the compiler advertise C89 conformance?
3393 Do not test the value of __STDC__, because some compilers set it to 0
3394 while being otherwise adequately conformant. */
3395 #if !defined __STDC__
3396 # error "Compiler does not advertise C89 conformance"
3397 #endif
3399 #include <stddef.h>
3400 #include <stdarg.h>
3401 struct stat;
3402 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3403 struct buf { int x; };
3404 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3405 static char *e (p, i)
3406 char **p;
3407 int i;
3409 return p[i];
3411 static char *f (char * (*g) (char **, int), char **p, ...)
3413 char *s;
3414 va_list v;
3415 va_start (v,p);
3416 s = g (p, va_arg (v,int));
3417 va_end (v);
3418 return s;
3421 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3422 function prototypes and stuff, but not \xHH hex character constants.
3423 These do not provoke an error unfortunately, instead are silently treated
3424 as an "x". The following induces an error, until -std is added to get
3425 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3426 array size at least. It is necessary to write \x00 == 0 to get something
3427 that is true only with -std. */
3428 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3430 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3431 inside strings and character constants. */
3432 #define FOO(x) '\''x'\''
3433 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3435 int test (int i, double x);
3436 struct s1 {int (*f) (int a);};
3437 struct s2 {int (*f) (double a);};
3438 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3439 int, int);'
3441 # Test code for whether the C compiler supports C89 (body of main).
3442 ac_c_conftest_c89_main='
3443 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3446 # Test code for whether the C compiler supports C99 (global declarations)
3447 ac_c_conftest_c99_globals='
3448 // Does the compiler advertise C99 conformance?
3449 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3450 # error "Compiler does not advertise C99 conformance"
3451 #endif
3453 #include <stdbool.h>
3454 extern int puts (const char *);
3455 extern int printf (const char *, ...);
3456 extern int dprintf (int, const char *, ...);
3457 extern void *malloc (size_t);
3459 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3460 // dprintf is used instead of fprintf to avoid needing to declare
3461 // FILE and stderr.
3462 #define debug(...) dprintf (2, __VA_ARGS__)
3463 #define showlist(...) puts (#__VA_ARGS__)
3464 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3465 static void
3466 test_varargs_macros (void)
3468 int x = 1234;
3469 int y = 5678;
3470 debug ("Flag");
3471 debug ("X = %d\n", x);
3472 showlist (The first, second, and third items.);
3473 report (x>y, "x is %d but y is %d", x, y);
3476 // Check long long types.
3477 #define BIG64 18446744073709551615ull
3478 #define BIG32 4294967295ul
3479 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3480 #if !BIG_OK
3481 #error "your preprocessor is broken"
3482 #endif
3483 #if BIG_OK
3484 #else
3485 #error "your preprocessor is broken"
3486 #endif
3487 static long long int bignum = -9223372036854775807LL;
3488 static unsigned long long int ubignum = BIG64;
3490 struct incomplete_array
3492 int datasize;
3493 double data[];
3496 struct named_init {
3497 int number;
3498 const wchar_t *name;
3499 double average;
3502 typedef const char *ccp;
3504 static inline int
3505 test_restrict (ccp restrict text)
3507 // See if C++-style comments work.
3508 // Iterate through items via the restricted pointer.
3509 // Also check for declarations in for loops.
3510 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3511 continue;
3512 return 0;
3515 // Check varargs and va_copy.
3516 static bool
3517 test_varargs (const char *format, ...)
3519 va_list args;
3520 va_start (args, format);
3521 va_list args_copy;
3522 va_copy (args_copy, args);
3524 const char *str = "";
3525 int number = 0;
3526 float fnumber = 0;
3528 while (*format)
3530 switch (*format++)
3532 case '\''s'\'': // string
3533 str = va_arg (args_copy, const char *);
3534 break;
3535 case '\''d'\'': // int
3536 number = va_arg (args_copy, int);
3537 break;
3538 case '\''f'\'': // float
3539 fnumber = va_arg (args_copy, double);
3540 break;
3541 default:
3542 break;
3545 va_end (args_copy);
3546 va_end (args);
3548 return *str && number && fnumber;
3552 # Test code for whether the C compiler supports C99 (body of main).
3553 ac_c_conftest_c99_main='
3554 // Check bool.
3555 _Bool success = false;
3556 success |= (argc != 0);
3558 // Check restrict.
3559 if (test_restrict ("String literal") == 0)
3560 success = true;
3561 char *restrict newvar = "Another string";
3563 // Check varargs.
3564 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3565 test_varargs_macros ();
3567 // Check flexible array members.
3568 struct incomplete_array *ia =
3569 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3570 ia->datasize = 10;
3571 for (int i = 0; i < ia->datasize; ++i)
3572 ia->data[i] = i * 1.234;
3574 // Check named initializers.
3575 struct named_init ni = {
3576 .number = 34,
3577 .name = L"Test wide string",
3578 .average = 543.34343,
3581 ni.number = 58;
3583 int dynamic_array[ni.number];
3584 dynamic_array[0] = argv[0][0];
3585 dynamic_array[ni.number - 1] = 543;
3587 // work around unused variable warnings
3588 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3589 || dynamic_array[ni.number - 1] != 543);
3592 # Test code for whether the C compiler supports C11 (global declarations)
3593 ac_c_conftest_c11_globals='
3594 // Does the compiler advertise C11 conformance?
3595 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3596 # error "Compiler does not advertise C11 conformance"
3597 #endif
3599 // Check _Alignas.
3600 char _Alignas (double) aligned_as_double;
3601 char _Alignas (0) no_special_alignment;
3602 extern char aligned_as_int;
3603 char _Alignas (0) _Alignas (int) aligned_as_int;
3605 // Check _Alignof.
3606 enum
3608 int_alignment = _Alignof (int),
3609 int_array_alignment = _Alignof (int[100]),
3610 char_alignment = _Alignof (char)
3612 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3614 // Check _Noreturn.
3615 int _Noreturn does_not_return (void) { for (;;) continue; }
3617 // Check _Static_assert.
3618 struct test_static_assert
3620 int x;
3621 _Static_assert (sizeof (int) <= sizeof (long int),
3622 "_Static_assert does not work in struct");
3623 long int y;
3626 // Check UTF-8 literals.
3627 #define u8 syntax error!
3628 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3630 // Check duplicate typedefs.
3631 typedef long *long_ptr;
3632 typedef long int *long_ptr;
3633 typedef long_ptr long_ptr;
3635 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3636 struct anonymous
3638 union {
3639 struct { int i; int j; };
3640 struct { int k; long int l; } w;
3642 int m;
3643 } v1;
3646 # Test code for whether the C compiler supports C11 (body of main).
3647 ac_c_conftest_c11_main='
3648 _Static_assert ((offsetof (struct anonymous, i)
3649 == offsetof (struct anonymous, w.k)),
3650 "Anonymous union alignment botch");
3651 v1.i = 2;
3652 v1.w.k = 5;
3653 ok |= v1.i != 5;
3656 # Test code for whether the C compiler supports C11 (complete).
3657 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3658 ${ac_c_conftest_c99_globals}
3659 ${ac_c_conftest_c11_globals}
3662 main (int argc, char **argv)
3664 int ok = 0;
3665 ${ac_c_conftest_c89_main}
3666 ${ac_c_conftest_c99_main}
3667 ${ac_c_conftest_c11_main}
3668 return ok;
3672 # Test code for whether the C compiler supports C99 (complete).
3673 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3674 ${ac_c_conftest_c99_globals}
3677 main (int argc, char **argv)
3679 int ok = 0;
3680 ${ac_c_conftest_c89_main}
3681 ${ac_c_conftest_c99_main}
3682 return ok;
3686 # Test code for whether the C compiler supports C89 (complete).
3687 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3690 main (int argc, char **argv)
3692 int ok = 0;
3693 ${ac_c_conftest_c89_main}
3694 return ok;
3698 # Test code for whether the C++ compiler supports C++98 (global declarations)
3699 ac_cxx_conftest_cxx98_globals='
3700 // Does the compiler advertise C++98 conformance?
3701 #if !defined __cplusplus || __cplusplus < 199711L
3702 # error "Compiler does not advertise C++98 conformance"
3703 #endif
3705 // These inclusions are to reject old compilers that
3706 // lack the unsuffixed header files.
3707 #include <cstdlib>
3708 #include <exception>
3710 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3711 extern void assert (int);
3712 namespace std {
3713 extern int strcmp (const char *, const char *);
3716 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3717 using std::exception;
3718 using std::strcmp;
3720 namespace {
3722 void test_exception_syntax()
3724 try {
3725 throw "test";
3726 } catch (const char *s) {
3727 // Extra parentheses suppress a warning when building autoconf itself,
3728 // due to lint rules shared with more typical C programs.
3729 assert (!(strcmp) (s, "test"));
3733 template <typename T> struct test_template
3735 T const val;
3736 explicit test_template(T t) : val(t) {}
3737 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3740 } // anonymous namespace
3743 # Test code for whether the C++ compiler supports C++98 (body of main)
3744 ac_cxx_conftest_cxx98_main='
3745 assert (argc);
3746 assert (! argv[0]);
3748 test_exception_syntax ();
3749 test_template<double> tt (2.0);
3750 assert (tt.add (4) == 6.0);
3751 assert (true && !false);
3755 # Test code for whether the C++ compiler supports C++11 (global declarations)
3756 ac_cxx_conftest_cxx11_globals='
3757 // Does the compiler advertise C++ 2011 conformance?
3758 #if !defined __cplusplus || __cplusplus < 201103L
3759 # error "Compiler does not advertise C++11 conformance"
3760 #endif
3762 namespace cxx11test
3764 constexpr int get_val() { return 20; }
3766 struct testinit
3768 int i;
3769 double d;
3772 class delegate
3774 public:
3775 delegate(int n) : n(n) {}
3776 delegate(): delegate(2354) {}
3778 virtual int getval() { return this->n; };
3779 protected:
3780 int n;
3783 class overridden : public delegate
3785 public:
3786 overridden(int n): delegate(n) {}
3787 virtual int getval() override final { return this->n * 2; }
3790 class nocopy
3792 public:
3793 nocopy(int i): i(i) {}
3794 nocopy() = default;
3795 nocopy(const nocopy&) = delete;
3796 nocopy & operator=(const nocopy&) = delete;
3797 private:
3798 int i;
3801 // for testing lambda expressions
3802 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3804 return f(v);
3807 // for testing variadic templates and trailing return types
3808 template <typename V> auto sum(V first) -> V
3810 return first;
3812 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3814 return first + sum(rest...);
3819 # Test code for whether the C++ compiler supports C++11 (body of main)
3820 ac_cxx_conftest_cxx11_main='
3822 // Test auto and decltype
3823 auto a1 = 6538;
3824 auto a2 = 48573953.4;
3825 auto a3 = "String literal";
3827 int total = 0;
3828 for (auto i = a3; *i; ++i) { total += *i; }
3830 decltype(a2) a4 = 34895.034;
3833 // Test constexpr
3834 short sa[cxx11test::get_val()] = { 0 };
3837 // Test initializer lists
3838 cxx11test::testinit il = { 4323, 435234.23544 };
3841 // Test range-based for
3842 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3843 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3844 for (auto &x : array) { x += 23; }
3847 // Test lambda expressions
3848 using cxx11test::eval;
3849 assert (eval ([](int x) { return x*2; }, 21) == 42);
3850 double d = 2.0;
3851 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3852 assert (d == 5.0);
3853 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3854 assert (d == 5.0);
3857 // Test use of variadic templates
3858 using cxx11test::sum;
3859 auto a = sum(1);
3860 auto b = sum(1, 2);
3861 auto c = sum(1.0, 2.0, 3.0);
3864 // Test constructor delegation
3865 cxx11test::delegate d1;
3866 cxx11test::delegate d2();
3867 cxx11test::delegate d3(45);
3870 // Test override and final
3871 cxx11test::overridden o1(55464);
3874 // Test nullptr
3875 char *c = nullptr;
3878 // Test template brackets
3879 test_template<::test_template<int>> v(test_template<int>(12));
3882 // Unicode literals
3883 char const *utf8 = u8"UTF-8 string \u2500";
3884 char16_t const *utf16 = u"UTF-8 string \u2500";
3885 char32_t const *utf32 = U"UTF-32 string \u2500";
3889 # Test code for whether the C compiler supports C++11 (complete).
3890 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3891 ${ac_cxx_conftest_cxx11_globals}
3894 main (int argc, char **argv)
3896 int ok = 0;
3897 ${ac_cxx_conftest_cxx98_main}
3898 ${ac_cxx_conftest_cxx11_main}
3899 return ok;
3903 # Test code for whether the C compiler supports C++98 (complete).
3904 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3906 main (int argc, char **argv)
3908 int ok = 0;
3909 ${ac_cxx_conftest_cxx98_main}
3910 return ok;
3914 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3915 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3916 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3917 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3918 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3919 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3920 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3921 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3922 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3924 # Auxiliary files required by this configure script.
3925 ac_aux_files="config.guess config.sub"
3927 # Locations in which to look for auxiliary files.
3928 ac_aux_dir_candidates="${srcdir}/tools"
3930 # Search for a directory containing all of the required auxiliary files,
3931 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3932 # If we don't find one directory that contains all the files we need,
3933 # we report the set of missing files from the *first* directory in
3934 # $ac_aux_dir_candidates and give up.
3935 ac_missing_aux_files=""
3936 ac_first_candidate=:
3937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 as_found=false
3940 for as_dir in $ac_aux_dir_candidates
3942 IFS=$as_save_IFS
3943 case $as_dir in #(((
3944 '') as_dir=./ ;;
3945 */) ;;
3946 *) as_dir=$as_dir/ ;;
3947 esac
3948 as_found=:
3950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3951 ac_aux_dir_found=yes
3952 ac_install_sh=
3953 for ac_aux in $ac_aux_files
3955 # As a special case, if "install-sh" is required, that requirement
3956 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3957 # and $ac_install_sh is set appropriately for whichever one is found.
3958 if test x"$ac_aux" = x"install-sh"
3959 then
3960 if test -f "${as_dir}install-sh"; then
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3962 ac_install_sh="${as_dir}install-sh -c"
3963 elif test -f "${as_dir}install.sh"; then
3964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3965 ac_install_sh="${as_dir}install.sh -c"
3966 elif test -f "${as_dir}shtool"; then
3967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3968 ac_install_sh="${as_dir}shtool install -c"
3969 else
3970 ac_aux_dir_found=no
3971 if $ac_first_candidate; then
3972 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3973 else
3974 break
3977 else
3978 if test -f "${as_dir}${ac_aux}"; then
3979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3980 else
3981 ac_aux_dir_found=no
3982 if $ac_first_candidate; then
3983 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3984 else
3985 break
3989 done
3990 if test "$ac_aux_dir_found" = yes; then
3991 ac_aux_dir="$as_dir"
3992 break
3994 ac_first_candidate=false
3996 as_found=false
3997 done
3998 IFS=$as_save_IFS
3999 if $as_found
4000 then :
4002 else $as_nop
4003 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4007 # These three variables are undocumented and unsupported,
4008 # and are intended to be withdrawn in a future Autoconf release.
4009 # They can cause serious problems if a builder's source tree is in a directory
4010 # whose full name contains unusual characters.
4011 if test -f "${ac_aux_dir}config.guess"; then
4012 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4014 if test -f "${ac_aux_dir}config.sub"; then
4015 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4017 if test -f "$ac_aux_dir/configure"; then
4018 ac_configure="$SHELL ${ac_aux_dir}configure"
4021 # Check that the precious variables saved in the cache have kept the same
4022 # value.
4023 ac_cache_corrupted=false
4024 for ac_var in $ac_precious_vars; do
4025 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4026 eval ac_new_set=\$ac_env_${ac_var}_set
4027 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4028 eval ac_new_val=\$ac_env_${ac_var}_value
4029 case $ac_old_set,$ac_new_set in
4030 set,)
4031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4032 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4033 ac_cache_corrupted=: ;;
4034 ,set)
4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4036 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4037 ac_cache_corrupted=: ;;
4038 ,);;
4040 if test "x$ac_old_val" != "x$ac_new_val"; then
4041 # differences in whitespace do not lead to failure.
4042 ac_old_val_w=`echo x $ac_old_val`
4043 ac_new_val_w=`echo x $ac_new_val`
4044 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4046 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4047 ac_cache_corrupted=:
4048 else
4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4050 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4051 eval $ac_var=\$ac_old_val
4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4054 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4056 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4057 fi;;
4058 esac
4059 # Pass precious variables to config.status.
4060 if test "$ac_new_set" = set; then
4061 case $ac_new_val in
4062 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4063 *) ac_arg=$ac_var=$ac_new_val ;;
4064 esac
4065 case " $ac_configure_args " in
4066 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4067 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4068 esac
4070 done
4071 if $ac_cache_corrupted; then
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4075 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4076 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4077 and start over" "$LINENO" 5
4079 ## -------------------- ##
4080 ## Main body of script. ##
4081 ## -------------------- ##
4083 ac_ext=c
4084 ac_cpp='$CPP $CPPFLAGS'
4085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4091 ac_config_headers="$ac_config_headers include/config.h"
4095 libwine_version="1.0"
4098 # Check whether --enable-archs was given.
4099 if test ${enable_archs+y}
4100 then :
4101 enableval=$enable_archs;
4104 # Check whether --enable-win16 was given.
4105 if test ${enable_win16+y}
4106 then :
4107 enableval=$enable_win16;
4110 # Check whether --enable-win64 was given.
4111 if test ${enable_win64+y}
4112 then :
4113 enableval=$enable_win64;
4116 # Check whether --enable-tests was given.
4117 if test ${enable_tests+y}
4118 then :
4119 enableval=$enable_tests;
4122 # Check whether --enable-build-id was given.
4123 if test ${enable_build_id+y}
4124 then :
4125 enableval=$enable_build_id;
4128 # Check whether --enable-maintainer-mode was given.
4129 if test ${enable_maintainer_mode+y}
4130 then :
4131 enableval=$enable_maintainer_mode;
4134 # Check whether --enable-silent-rules was given.
4135 if test ${enable_silent_rules+y}
4136 then :
4137 enableval=$enable_silent_rules;
4140 # Check whether --enable-werror was given.
4141 if test ${enable_werror+y}
4142 then :
4143 enableval=$enable_werror;
4148 # Check whether --with-alsa was given.
4149 if test ${with_alsa+y}
4150 then :
4151 withval=$with_alsa;
4155 # Check whether --with-capi was given.
4156 if test ${with_capi+y}
4157 then :
4158 withval=$with_capi;
4162 # Check whether --with-coreaudio was given.
4163 if test ${with_coreaudio+y}
4164 then :
4165 withval=$with_coreaudio;
4169 # Check whether --with-cups was given.
4170 if test ${with_cups+y}
4171 then :
4172 withval=$with_cups;
4176 # Check whether --with-dbus was given.
4177 if test ${with_dbus+y}
4178 then :
4179 withval=$with_dbus;
4183 # Check whether --with-float-abi was given.
4184 if test ${with_float_abi+y}
4185 then :
4186 withval=$with_float_abi;
4190 # Check whether --with-fontconfig was given.
4191 if test ${with_fontconfig+y}
4192 then :
4193 withval=$with_fontconfig;
4197 # Check whether --with-freetype was given.
4198 if test ${with_freetype+y}
4199 then :
4200 withval=$with_freetype;
4204 # Check whether --with-gettext was given.
4205 if test ${with_gettext+y}
4206 then :
4207 withval=$with_gettext;
4211 # Check whether --with-gettextpo was given.
4212 if test ${with_gettextpo+y}
4213 then :
4214 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4218 # Check whether --with-gphoto was given.
4219 if test ${with_gphoto+y}
4220 then :
4221 withval=$with_gphoto;
4225 # Check whether --with-gnutls was given.
4226 if test ${with_gnutls+y}
4227 then :
4228 withval=$with_gnutls;
4232 # Check whether --with-gssapi was given.
4233 if test ${with_gssapi+y}
4234 then :
4235 withval=$with_gssapi;
4239 # Check whether --with-gstreamer was given.
4240 if test ${with_gstreamer+y}
4241 then :
4242 withval=$with_gstreamer;
4246 # Check whether --with-inotify was given.
4247 if test ${with_inotify+y}
4248 then :
4249 withval=$with_inotify;
4253 # Check whether --with-krb5 was given.
4254 if test ${with_krb5+y}
4255 then :
4256 withval=$with_krb5;
4260 # Check whether --with-mingw was given.
4261 if test ${with_mingw+y}
4262 then :
4263 withval=$with_mingw;
4267 # Check whether --with-netapi was given.
4268 if test ${with_netapi+y}
4269 then :
4270 withval=$with_netapi;
4274 # Check whether --with-opencl was given.
4275 if test ${with_opencl+y}
4276 then :
4277 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4281 # Check whether --with-opengl was given.
4282 if test ${with_opengl+y}
4283 then :
4284 withval=$with_opengl;
4288 # Check whether --with-osmesa was given.
4289 if test ${with_osmesa+y}
4290 then :
4291 withval=$with_osmesa;
4295 # Check whether --with-oss was given.
4296 if test ${with_oss+y}
4297 then :
4298 withval=$with_oss;
4302 # Check whether --with-pcap was given.
4303 if test ${with_pcap+y}
4304 then :
4305 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4309 # Check whether --with-pthread was given.
4310 if test ${with_pthread+y}
4311 then :
4312 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4316 # Check whether --with-pulse was given.
4317 if test ${with_pulse+y}
4318 then :
4319 withval=$with_pulse;
4323 # Check whether --with-sane was given.
4324 if test ${with_sane+y}
4325 then :
4326 withval=$with_sane;
4330 # Check whether --with-sdl was given.
4331 if test ${with_sdl+y}
4332 then :
4333 withval=$with_sdl;
4337 # Check whether --with-udev was given.
4338 if test ${with_udev+y}
4339 then :
4340 withval=$with_udev;
4344 # Check whether --with-unwind was given.
4345 if test ${with_unwind+y}
4346 then :
4347 withval=$with_unwind;
4351 # Check whether --with-usb was given.
4352 if test ${with_usb+y}
4353 then :
4354 withval=$with_usb;
4358 # Check whether --with-v4l2 was given.
4359 if test ${with_v4l2+y}
4360 then :
4361 withval=$with_v4l2;
4365 # Check whether --with-vulkan was given.
4366 if test ${with_vulkan+y}
4367 then :
4368 withval=$with_vulkan;
4372 # Check whether --with-xcomposite was given.
4373 if test ${with_xcomposite+y}
4374 then :
4375 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4379 # Check whether --with-xcursor was given.
4380 if test ${with_xcursor+y}
4381 then :
4382 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4386 # Check whether --with-xfixes was given.
4387 if test ${with_xfixes+y}
4388 then :
4389 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4393 # Check whether --with-xinerama was given.
4394 if test ${with_xinerama+y}
4395 then :
4396 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4400 # Check whether --with-xinput was given.
4401 if test ${with_xinput+y}
4402 then :
4403 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4407 # Check whether --with-xinput2 was given.
4408 if test ${with_xinput2+y}
4409 then :
4410 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4414 # Check whether --with-xrandr was given.
4415 if test ${with_xrandr+y}
4416 then :
4417 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4421 # Check whether --with-xrender was given.
4422 if test ${with_xrender+y}
4423 then :
4424 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4428 # Check whether --with-xshape was given.
4429 if test ${with_xshape+y}
4430 then :
4431 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4435 # Check whether --with-xshm was given.
4436 if test ${with_xshm+y}
4437 then :
4438 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4442 # Check whether --with-xxf86vm was given.
4443 if test ${with_xxf86vm+y}
4444 then :
4445 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
4450 # Check whether --with-system-dllpath was given.
4451 if test ${with_system_dllpath+y}
4452 then :
4453 withval=$with_system_dllpath; system_dllpath=$withval
4458 # Check whether --with-wine-tools was given.
4459 if test ${with_wine_tools+y}
4460 then :
4461 withval=$with_wine_tools;
4465 # Check whether --with-wine64 was given.
4466 if test ${with_wine64+y}
4467 then :
4468 withval=$with_wine64;
4475 # Make sure we can run config.sub.
4476 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4477 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4480 printf %s "checking build system type... " >&6; }
4481 if test ${ac_cv_build+y}
4482 then :
4483 printf %s "(cached) " >&6
4484 else $as_nop
4485 ac_build_alias=$build_alias
4486 test "x$ac_build_alias" = x &&
4487 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4488 test "x$ac_build_alias" = x &&
4489 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4490 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4491 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4495 printf "%s\n" "$ac_cv_build" >&6; }
4496 case $ac_cv_build in
4497 *-*-*) ;;
4498 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4499 esac
4500 build=$ac_cv_build
4501 ac_save_IFS=$IFS; IFS='-'
4502 set x $ac_cv_build
4503 shift
4504 build_cpu=$1
4505 build_vendor=$2
4506 shift; shift
4507 # Remember, the first character of IFS is used to create $*,
4508 # except with old shells:
4509 build_os=$*
4510 IFS=$ac_save_IFS
4511 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4515 printf %s "checking host system type... " >&6; }
4516 if test ${ac_cv_host+y}
4517 then :
4518 printf %s "(cached) " >&6
4519 else $as_nop
4520 if test "x$host_alias" = x; then
4521 ac_cv_host=$ac_cv_build
4522 else
4523 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4524 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4529 printf "%s\n" "$ac_cv_host" >&6; }
4530 case $ac_cv_host in
4531 *-*-*) ;;
4532 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4533 esac
4534 host=$ac_cv_host
4535 ac_save_IFS=$IFS; IFS='-'
4536 set x $ac_cv_host
4537 shift
4538 host_cpu=$1
4539 host_vendor=$2
4540 shift; shift
4541 # Remember, the first character of IFS is used to create $*,
4542 # except with old shells:
4543 host_os=$*
4544 IFS=$ac_save_IFS
4545 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4549 dlldir=\${libdir}/wine
4551 fontdir=\${datadir}/wine/fonts
4553 nlsdir=\${datadir}/wine/nls
4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4559 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4560 set x ${MAKE-make}
4561 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4562 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4563 then :
4564 printf %s "(cached) " >&6
4565 else $as_nop
4566 cat >conftest.make <<\_ACEOF
4567 SHELL = /bin/sh
4568 all:
4569 @echo '@@@%%%=$(MAKE)=@@@%%%'
4570 _ACEOF
4571 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4572 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4573 *@@@%%%=?*=@@@%%%*)
4574 eval ac_cv_prog_make_${ac_make}_set=yes;;
4576 eval ac_cv_prog_make_${ac_make}_set=no;;
4577 esac
4578 rm -f conftest.make
4580 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4582 printf "%s\n" "yes" >&6; }
4583 SET_MAKE=
4584 else
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 printf "%s\n" "no" >&6; }
4587 SET_MAKE="MAKE=${MAKE-make}"
4599 ac_ext=c
4600 ac_cpp='$CPP $CPPFLAGS'
4601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4604 if test -n "$ac_tool_prefix"; then
4605 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4606 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 printf %s "checking for $ac_word... " >&6; }
4609 if test ${ac_cv_prog_CC+y}
4610 then :
4611 printf %s "(cached) " >&6
4612 else $as_nop
4613 if test -n "$CC"; then
4614 ac_cv_prog_CC="$CC" # Let the user override the test.
4615 else
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 for as_dir in $PATH
4619 IFS=$as_save_IFS
4620 case $as_dir in #(((
4621 '') as_dir=./ ;;
4622 */) ;;
4623 *) as_dir=$as_dir/ ;;
4624 esac
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4627 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4629 break 2
4631 done
4632 done
4633 IFS=$as_save_IFS
4637 CC=$ac_cv_prog_CC
4638 if test -n "$CC"; then
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4640 printf "%s\n" "$CC" >&6; }
4641 else
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 printf "%s\n" "no" >&6; }
4648 if test -z "$ac_cv_prog_CC"; then
4649 ac_ct_CC=$CC
4650 # Extract the first word of "gcc", so it can be a program name with args.
4651 set dummy gcc; ac_word=$2
4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 printf %s "checking for $ac_word... " >&6; }
4654 if test ${ac_cv_prog_ac_ct_CC+y}
4655 then :
4656 printf %s "(cached) " >&6
4657 else $as_nop
4658 if test -n "$ac_ct_CC"; then
4659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4660 else
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH
4664 IFS=$as_save_IFS
4665 case $as_dir in #(((
4666 '') as_dir=./ ;;
4667 */) ;;
4668 *) as_dir=$as_dir/ ;;
4669 esac
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4672 ac_cv_prog_ac_ct_CC="gcc"
4673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4674 break 2
4676 done
4677 done
4678 IFS=$as_save_IFS
4682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4683 if test -n "$ac_ct_CC"; then
4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4685 printf "%s\n" "$ac_ct_CC" >&6; }
4686 else
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 printf "%s\n" "no" >&6; }
4691 if test "x$ac_ct_CC" = x; then
4692 CC=""
4693 else
4694 case $cross_compiling:$ac_tool_warned in
4695 yes:)
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned=yes ;;
4699 esac
4700 CC=$ac_ct_CC
4702 else
4703 CC="$ac_cv_prog_CC"
4706 if test -z "$CC"; then
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4709 set dummy ${ac_tool_prefix}cc; ac_word=$2
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 printf %s "checking for $ac_word... " >&6; }
4712 if test ${ac_cv_prog_CC+y}
4713 then :
4714 printf %s "(cached) " >&6
4715 else $as_nop
4716 if test -n "$CC"; then
4717 ac_cv_prog_CC="$CC" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 case $as_dir in #(((
4724 '') as_dir=./ ;;
4725 */) ;;
4726 *) as_dir=$as_dir/ ;;
4727 esac
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_CC="${ac_tool_prefix}cc"
4731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4732 break 2
4734 done
4735 done
4736 IFS=$as_save_IFS
4740 CC=$ac_cv_prog_CC
4741 if test -n "$CC"; then
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4743 printf "%s\n" "$CC" >&6; }
4744 else
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 printf "%s\n" "no" >&6; }
4752 if test -z "$CC"; then
4753 # Extract the first word of "cc", so it can be a program name with args.
4754 set dummy cc; ac_word=$2
4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 printf %s "checking for $ac_word... " >&6; }
4757 if test ${ac_cv_prog_CC+y}
4758 then :
4759 printf %s "(cached) " >&6
4760 else $as_nop
4761 if test -n "$CC"; then
4762 ac_cv_prog_CC="$CC" # Let the user override the test.
4763 else
4764 ac_prog_rejected=no
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH
4768 IFS=$as_save_IFS
4769 case $as_dir in #(((
4770 '') as_dir=./ ;;
4771 */) ;;
4772 *) as_dir=$as_dir/ ;;
4773 esac
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4776 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4777 ac_prog_rejected=yes
4778 continue
4780 ac_cv_prog_CC="cc"
4781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4782 break 2
4784 done
4785 done
4786 IFS=$as_save_IFS
4788 if test $ac_prog_rejected = yes; then
4789 # We found a bogon in the path, so make sure we never use it.
4790 set dummy $ac_cv_prog_CC
4791 shift
4792 if test $# != 0; then
4793 # We chose a different compiler from the bogus one.
4794 # However, it has the same basename, so the bogon will be chosen
4795 # first if we set CC to just the basename; use the full file name.
4796 shift
4797 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4802 CC=$ac_cv_prog_CC
4803 if test -n "$CC"; then
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4805 printf "%s\n" "$CC" >&6; }
4806 else
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 printf "%s\n" "no" >&6; }
4813 if test -z "$CC"; then
4814 if test -n "$ac_tool_prefix"; then
4815 for ac_prog in cl.exe
4817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 printf %s "checking for $ac_word... " >&6; }
4821 if test ${ac_cv_prog_CC+y}
4822 then :
4823 printf %s "(cached) " >&6
4824 else $as_nop
4825 if test -n "$CC"; then
4826 ac_cv_prog_CC="$CC" # Let the user override the test.
4827 else
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 case $as_dir in #(((
4833 '') as_dir=./ ;;
4834 */) ;;
4835 *) as_dir=$as_dir/ ;;
4836 esac
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4841 break 2
4843 done
4844 done
4845 IFS=$as_save_IFS
4849 CC=$ac_cv_prog_CC
4850 if test -n "$CC"; then
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4852 printf "%s\n" "$CC" >&6; }
4853 else
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 printf "%s\n" "no" >&6; }
4859 test -n "$CC" && break
4860 done
4862 if test -z "$CC"; then
4863 ac_ct_CC=$CC
4864 for ac_prog in cl.exe
4866 # Extract the first word of "$ac_prog", so it can be a program name with args.
4867 set dummy $ac_prog; ac_word=$2
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 printf %s "checking for $ac_word... " >&6; }
4870 if test ${ac_cv_prog_ac_ct_CC+y}
4871 then :
4872 printf %s "(cached) " >&6
4873 else $as_nop
4874 if test -n "$ac_ct_CC"; then
4875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4876 else
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 for as_dir in $PATH
4880 IFS=$as_save_IFS
4881 case $as_dir in #(((
4882 '') as_dir=./ ;;
4883 */) ;;
4884 *) as_dir=$as_dir/ ;;
4885 esac
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4888 ac_cv_prog_ac_ct_CC="$ac_prog"
4889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4890 break 2
4892 done
4893 done
4894 IFS=$as_save_IFS
4898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4899 if test -n "$ac_ct_CC"; then
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4901 printf "%s\n" "$ac_ct_CC" >&6; }
4902 else
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 printf "%s\n" "no" >&6; }
4908 test -n "$ac_ct_CC" && break
4909 done
4911 if test "x$ac_ct_CC" = x; then
4912 CC=""
4913 else
4914 case $cross_compiling:$ac_tool_warned in
4915 yes:)
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4918 ac_tool_warned=yes ;;
4919 esac
4920 CC=$ac_ct_CC
4925 if test -z "$CC"; then
4926 if test -n "$ac_tool_prefix"; then
4927 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4928 set dummy ${ac_tool_prefix}clang; ac_word=$2
4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 printf %s "checking for $ac_word... " >&6; }
4931 if test ${ac_cv_prog_CC+y}
4932 then :
4933 printf %s "(cached) " >&6
4934 else $as_nop
4935 if test -n "$CC"; then
4936 ac_cv_prog_CC="$CC" # Let the user override the test.
4937 else
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH
4941 IFS=$as_save_IFS
4942 case $as_dir in #(((
4943 '') as_dir=./ ;;
4944 */) ;;
4945 *) as_dir=$as_dir/ ;;
4946 esac
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_CC="${ac_tool_prefix}clang"
4950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 CC=$ac_cv_prog_CC
4960 if test -n "$CC"; then
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4962 printf "%s\n" "$CC" >&6; }
4963 else
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 printf "%s\n" "no" >&6; }
4970 if test -z "$ac_cv_prog_CC"; then
4971 ac_ct_CC=$CC
4972 # Extract the first word of "clang", so it can be a program name with args.
4973 set dummy clang; ac_word=$2
4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 printf %s "checking for $ac_word... " >&6; }
4976 if test ${ac_cv_prog_ac_ct_CC+y}
4977 then :
4978 printf %s "(cached) " >&6
4979 else $as_nop
4980 if test -n "$ac_ct_CC"; then
4981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4986 IFS=$as_save_IFS
4987 case $as_dir in #(((
4988 '') as_dir=./ ;;
4989 */) ;;
4990 *) as_dir=$as_dir/ ;;
4991 esac
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_ac_ct_CC="clang"
4995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4996 break 2
4998 done
4999 done
5000 IFS=$as_save_IFS
5004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5005 if test -n "$ac_ct_CC"; then
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5007 printf "%s\n" "$ac_ct_CC" >&6; }
5008 else
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 printf "%s\n" "no" >&6; }
5013 if test "x$ac_ct_CC" = x; then
5014 CC=""
5015 else
5016 case $cross_compiling:$ac_tool_warned in
5017 yes:)
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5021 esac
5022 CC=$ac_ct_CC
5024 else
5025 CC="$ac_cv_prog_CC"
5031 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5032 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5033 as_fn_error $? "no acceptable C compiler found in \$PATH
5034 See \`config.log' for more details" "$LINENO" 5; }
5036 # Provide some information about the compiler.
5037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5038 set X $ac_compile
5039 ac_compiler=$2
5040 for ac_option in --version -v -V -qversion -version; do
5041 { { ac_try="$ac_compiler $ac_option >&5"
5042 case "(($ac_try" in
5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5045 esac
5046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5047 printf "%s\n" "$ac_try_echo"; } >&5
5048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5049 ac_status=$?
5050 if test -s conftest.err; then
5051 sed '10a\
5052 ... rest of stderr output deleted ...
5053 10q' conftest.err >conftest.er1
5054 cat conftest.er1 >&5
5056 rm -f conftest.er1 conftest.err
5057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5058 test $ac_status = 0; }
5059 done
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5065 main (void)
5069 return 0;
5071 _ACEOF
5072 ac_clean_files_save=$ac_clean_files
5073 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5074 # Try to create an executable without -o first, disregard a.out.
5075 # It will help us diagnose broken compilers, and finding out an intuition
5076 # of exeext.
5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5078 printf %s "checking whether the C compiler works... " >&6; }
5079 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5081 # The possible output files:
5082 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5084 ac_rmfiles=
5085 for ac_file in $ac_files
5087 case $ac_file in
5088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5089 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5090 esac
5091 done
5092 rm -f $ac_rmfiles
5094 if { { ac_try="$ac_link_default"
5095 case "(($ac_try" in
5096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097 *) ac_try_echo=$ac_try;;
5098 esac
5099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5100 printf "%s\n" "$ac_try_echo"; } >&5
5101 (eval "$ac_link_default") 2>&5
5102 ac_status=$?
5103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5104 test $ac_status = 0; }
5105 then :
5106 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5107 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5108 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5109 # so that the user can short-circuit this test for compilers unknown to
5110 # Autoconf.
5111 for ac_file in $ac_files ''
5113 test -f "$ac_file" || continue
5114 case $ac_file in
5115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5117 [ab].out )
5118 # We found the default executable, but exeext='' is most
5119 # certainly right.
5120 break;;
5121 *.* )
5122 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5123 then :; else
5124 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5126 # We set ac_cv_exeext here because the later test for it is not
5127 # safe: cross compilers may not add the suffix if given an `-o'
5128 # argument, so we may need to know it at that point already.
5129 # Even if this section looks crufty: it has the advantage of
5130 # actually working.
5131 break;;
5133 break;;
5134 esac
5135 done
5136 test "$ac_cv_exeext" = no && ac_cv_exeext=
5138 else $as_nop
5139 ac_file=''
5141 if test -z "$ac_file"
5142 then :
5143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 printf "%s\n" "no" >&6; }
5145 printf "%s\n" "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.$ac_ext >&5
5148 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5149 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5150 as_fn_error 77 "C compiler cannot create executables
5151 See \`config.log' for more details" "$LINENO" 5; }
5152 else $as_nop
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5154 printf "%s\n" "yes" >&6; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5157 printf %s "checking for C compiler default output file name... " >&6; }
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5159 printf "%s\n" "$ac_file" >&6; }
5160 ac_exeext=$ac_cv_exeext
5162 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5163 ac_clean_files=$ac_clean_files_save
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5165 printf %s "checking for suffix of executables... " >&6; }
5166 if { { ac_try="$ac_link"
5167 case "(($ac_try" in
5168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5169 *) ac_try_echo=$ac_try;;
5170 esac
5171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5172 printf "%s\n" "$ac_try_echo"; } >&5
5173 (eval "$ac_link") 2>&5
5174 ac_status=$?
5175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5176 test $ac_status = 0; }
5177 then :
5178 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5179 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5180 # work properly (i.e., refer to `conftest.exe'), while it won't with
5181 # `rm'.
5182 for ac_file in conftest.exe conftest conftest.*; do
5183 test -f "$ac_file" || continue
5184 case $ac_file in
5185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5186 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5187 break;;
5188 * ) break;;
5189 esac
5190 done
5191 else $as_nop
5192 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5193 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5194 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5195 See \`config.log' for more details" "$LINENO" 5; }
5197 rm -f conftest conftest$ac_cv_exeext
5198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5199 printf "%s\n" "$ac_cv_exeext" >&6; }
5201 rm -f conftest.$ac_ext
5202 EXEEXT=$ac_cv_exeext
5203 ac_exeext=$EXEEXT
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5206 #include <stdio.h>
5208 main (void)
5210 FILE *f = fopen ("conftest.out", "w");
5211 return ferror (f) || fclose (f) != 0;
5214 return 0;
5216 _ACEOF
5217 ac_clean_files="$ac_clean_files conftest.out"
5218 # Check that the compiler produces executables we can run. If not, either
5219 # the compiler is broken, or we cross compile.
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5221 printf %s "checking whether we are cross compiling... " >&6; }
5222 if test "$cross_compiling" != yes; then
5223 { { ac_try="$ac_link"
5224 case "(($ac_try" in
5225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5227 esac
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 printf "%s\n" "$ac_try_echo"; } >&5
5230 (eval "$ac_link") 2>&5
5231 ac_status=$?
5232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5233 test $ac_status = 0; }
5234 if { ac_try='./conftest$ac_cv_exeext'
5235 { { case "(($ac_try" in
5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237 *) ac_try_echo=$ac_try;;
5238 esac
5239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5240 printf "%s\n" "$ac_try_echo"; } >&5
5241 (eval "$ac_try") 2>&5
5242 ac_status=$?
5243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5244 test $ac_status = 0; }; }; then
5245 cross_compiling=no
5246 else
5247 if test "$cross_compiling" = maybe; then
5248 cross_compiling=yes
5249 else
5250 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5251 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5252 as_fn_error 77 "cannot run C compiled programs.
5253 If you meant to cross compile, use \`--host'.
5254 See \`config.log' for more details" "$LINENO" 5; }
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5259 printf "%s\n" "$cross_compiling" >&6; }
5261 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5262 ac_clean_files=$ac_clean_files_save
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5264 printf %s "checking for suffix of object files... " >&6; }
5265 if test ${ac_cv_objext+y}
5266 then :
5267 printf %s "(cached) " >&6
5268 else $as_nop
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5273 main (void)
5277 return 0;
5279 _ACEOF
5280 rm -f conftest.o conftest.obj
5281 if { { ac_try="$ac_compile"
5282 case "(($ac_try" in
5283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284 *) ac_try_echo=$ac_try;;
5285 esac
5286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5287 printf "%s\n" "$ac_try_echo"; } >&5
5288 (eval "$ac_compile") 2>&5
5289 ac_status=$?
5290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5291 test $ac_status = 0; }
5292 then :
5293 for ac_file in conftest.o conftest.obj conftest.*; do
5294 test -f "$ac_file" || continue;
5295 case $ac_file in
5296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5297 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5298 break;;
5299 esac
5300 done
5301 else $as_nop
5302 printf "%s\n" "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5305 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5306 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5307 as_fn_error $? "cannot compute suffix of object files: cannot compile
5308 See \`config.log' for more details" "$LINENO" 5; }
5310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5313 printf "%s\n" "$ac_cv_objext" >&6; }
5314 OBJEXT=$ac_cv_objext
5315 ac_objext=$OBJEXT
5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5317 printf %s "checking whether the compiler supports GNU C... " >&6; }
5318 if test ${ac_cv_c_compiler_gnu+y}
5319 then :
5320 printf %s "(cached) " >&6
5321 else $as_nop
5322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5326 main (void)
5328 #ifndef __GNUC__
5329 choke me
5330 #endif
5333 return 0;
5335 _ACEOF
5336 if ac_fn_c_try_compile "$LINENO"
5337 then :
5338 ac_compiler_gnu=yes
5339 else $as_nop
5340 ac_compiler_gnu=no
5342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5347 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5350 if test $ac_compiler_gnu = yes; then
5351 GCC=yes
5352 else
5353 GCC=
5355 ac_test_CFLAGS=${CFLAGS+y}
5356 ac_save_CFLAGS=$CFLAGS
5357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5358 printf %s "checking whether $CC accepts -g... " >&6; }
5359 if test ${ac_cv_prog_cc_g+y}
5360 then :
5361 printf %s "(cached) " >&6
5362 else $as_nop
5363 ac_save_c_werror_flag=$ac_c_werror_flag
5364 ac_c_werror_flag=yes
5365 ac_cv_prog_cc_g=no
5366 CFLAGS="-g"
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5371 main (void)
5375 return 0;
5377 _ACEOF
5378 if ac_fn_c_try_compile "$LINENO"
5379 then :
5380 ac_cv_prog_cc_g=yes
5381 else $as_nop
5382 CFLAGS=""
5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5384 /* end confdefs.h. */
5387 main (void)
5391 return 0;
5393 _ACEOF
5394 if ac_fn_c_try_compile "$LINENO"
5395 then :
5397 else $as_nop
5398 ac_c_werror_flag=$ac_save_c_werror_flag
5399 CFLAGS="-g"
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5404 main (void)
5408 return 0;
5410 _ACEOF
5411 if ac_fn_c_try_compile "$LINENO"
5412 then :
5413 ac_cv_prog_cc_g=yes
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
5419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5420 ac_c_werror_flag=$ac_save_c_werror_flag
5422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5423 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5424 if test $ac_test_CFLAGS; then
5425 CFLAGS=$ac_save_CFLAGS
5426 elif test $ac_cv_prog_cc_g = yes; then
5427 if test "$GCC" = yes; then
5428 CFLAGS="-g -O2"
5429 else
5430 CFLAGS="-g"
5432 else
5433 if test "$GCC" = yes; then
5434 CFLAGS="-O2"
5435 else
5436 CFLAGS=
5439 ac_prog_cc_stdc=no
5440 if test x$ac_prog_cc_stdc = xno
5441 then :
5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5443 printf %s "checking for $CC option to enable C11 features... " >&6; }
5444 if test ${ac_cv_prog_cc_c11+y}
5445 then :
5446 printf %s "(cached) " >&6
5447 else $as_nop
5448 ac_cv_prog_cc_c11=no
5449 ac_save_CC=$CC
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5452 $ac_c_conftest_c11_program
5453 _ACEOF
5454 for ac_arg in '' -std=gnu11
5456 CC="$ac_save_CC $ac_arg"
5457 if ac_fn_c_try_compile "$LINENO"
5458 then :
5459 ac_cv_prog_cc_c11=$ac_arg
5461 rm -f core conftest.err conftest.$ac_objext conftest.beam
5462 test "x$ac_cv_prog_cc_c11" != "xno" && break
5463 done
5464 rm -f conftest.$ac_ext
5465 CC=$ac_save_CC
5468 if test "x$ac_cv_prog_cc_c11" = xno
5469 then :
5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5471 printf "%s\n" "unsupported" >&6; }
5472 else $as_nop
5473 if test "x$ac_cv_prog_cc_c11" = x
5474 then :
5475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5476 printf "%s\n" "none needed" >&6; }
5477 else $as_nop
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5479 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5480 CC="$CC $ac_cv_prog_cc_c11"
5482 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5483 ac_prog_cc_stdc=c11
5486 if test x$ac_prog_cc_stdc = xno
5487 then :
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5489 printf %s "checking for $CC option to enable C99 features... " >&6; }
5490 if test ${ac_cv_prog_cc_c99+y}
5491 then :
5492 printf %s "(cached) " >&6
5493 else $as_nop
5494 ac_cv_prog_cc_c99=no
5495 ac_save_CC=$CC
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5498 $ac_c_conftest_c99_program
5499 _ACEOF
5500 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5502 CC="$ac_save_CC $ac_arg"
5503 if ac_fn_c_try_compile "$LINENO"
5504 then :
5505 ac_cv_prog_cc_c99=$ac_arg
5507 rm -f core conftest.err conftest.$ac_objext conftest.beam
5508 test "x$ac_cv_prog_cc_c99" != "xno" && break
5509 done
5510 rm -f conftest.$ac_ext
5511 CC=$ac_save_CC
5514 if test "x$ac_cv_prog_cc_c99" = xno
5515 then :
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5517 printf "%s\n" "unsupported" >&6; }
5518 else $as_nop
5519 if test "x$ac_cv_prog_cc_c99" = x
5520 then :
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5522 printf "%s\n" "none needed" >&6; }
5523 else $as_nop
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5525 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5526 CC="$CC $ac_cv_prog_cc_c99"
5528 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5529 ac_prog_cc_stdc=c99
5532 if test x$ac_prog_cc_stdc = xno
5533 then :
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5535 printf %s "checking for $CC option to enable C89 features... " >&6; }
5536 if test ${ac_cv_prog_cc_c89+y}
5537 then :
5538 printf %s "(cached) " >&6
5539 else $as_nop
5540 ac_cv_prog_cc_c89=no
5541 ac_save_CC=$CC
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 /* end confdefs.h. */
5544 $ac_c_conftest_c89_program
5545 _ACEOF
5546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5548 CC="$ac_save_CC $ac_arg"
5549 if ac_fn_c_try_compile "$LINENO"
5550 then :
5551 ac_cv_prog_cc_c89=$ac_arg
5553 rm -f core conftest.err conftest.$ac_objext conftest.beam
5554 test "x$ac_cv_prog_cc_c89" != "xno" && break
5555 done
5556 rm -f conftest.$ac_ext
5557 CC=$ac_save_CC
5560 if test "x$ac_cv_prog_cc_c89" = xno
5561 then :
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5563 printf "%s\n" "unsupported" >&6; }
5564 else $as_nop
5565 if test "x$ac_cv_prog_cc_c89" = x
5566 then :
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5568 printf "%s\n" "none needed" >&6; }
5569 else $as_nop
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5571 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5572 CC="$CC $ac_cv_prog_cc_c89"
5574 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5575 ac_prog_cc_stdc=c89
5579 ac_ext=c
5580 ac_cpp='$CPP $CPPFLAGS'
5581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5591 ac_ext=cpp
5592 ac_cpp='$CXXCPP $CPPFLAGS'
5593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5596 if test -z "$CXX"; then
5597 if test -n "$CCC"; then
5598 CXX=$CCC
5599 else
5600 if test -n "$ac_tool_prefix"; then
5601 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 printf %s "checking for $ac_word... " >&6; }
5607 if test ${ac_cv_prog_CXX+y}
5608 then :
5609 printf %s "(cached) " >&6
5610 else $as_nop
5611 if test -n "$CXX"; then
5612 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 case $as_dir in #(((
5619 '') as_dir=./ ;;
5620 */) ;;
5621 *) as_dir=$as_dir/ ;;
5622 esac
5623 for ac_exec_ext in '' $ac_executable_extensions; do
5624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5625 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5627 break 2
5629 done
5630 done
5631 IFS=$as_save_IFS
5635 CXX=$ac_cv_prog_CXX
5636 if test -n "$CXX"; then
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5638 printf "%s\n" "$CXX" >&6; }
5639 else
5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 printf "%s\n" "no" >&6; }
5645 test -n "$CXX" && break
5646 done
5648 if test -z "$CXX"; then
5649 ac_ct_CXX=$CXX
5650 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5652 # Extract the first word of "$ac_prog", so it can be a program name with args.
5653 set dummy $ac_prog; ac_word=$2
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 printf %s "checking for $ac_word... " >&6; }
5656 if test ${ac_cv_prog_ac_ct_CXX+y}
5657 then :
5658 printf %s "(cached) " >&6
5659 else $as_nop
5660 if test -n "$ac_ct_CXX"; then
5661 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5662 else
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH
5666 IFS=$as_save_IFS
5667 case $as_dir in #(((
5668 '') as_dir=./ ;;
5669 */) ;;
5670 *) as_dir=$as_dir/ ;;
5671 esac
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_ac_ct_CXX="$ac_prog"
5675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5685 if test -n "$ac_ct_CXX"; then
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5687 printf "%s\n" "$ac_ct_CXX" >&6; }
5688 else
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 printf "%s\n" "no" >&6; }
5694 test -n "$ac_ct_CXX" && break
5695 done
5697 if test "x$ac_ct_CXX" = x; then
5698 CXX="g++"
5699 else
5700 case $cross_compiling:$ac_tool_warned in
5701 yes:)
5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5703 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5704 ac_tool_warned=yes ;;
5705 esac
5706 CXX=$ac_ct_CXX
5712 # Provide some information about the compiler.
5713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5714 set X $ac_compile
5715 ac_compiler=$2
5716 for ac_option in --version -v -V -qversion; do
5717 { { ac_try="$ac_compiler $ac_option >&5"
5718 case "(($ac_try" in
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5721 esac
5722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5723 printf "%s\n" "$ac_try_echo"; } >&5
5724 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5725 ac_status=$?
5726 if test -s conftest.err; then
5727 sed '10a\
5728 ... rest of stderr output deleted ...
5729 10q' conftest.err >conftest.er1
5730 cat conftest.er1 >&5
5732 rm -f conftest.er1 conftest.err
5733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5734 test $ac_status = 0; }
5735 done
5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5738 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5739 if test ${ac_cv_cxx_compiler_gnu+y}
5740 then :
5741 printf %s "(cached) " >&6
5742 else $as_nop
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5747 main (void)
5749 #ifndef __GNUC__
5750 choke me
5751 #endif
5754 return 0;
5756 _ACEOF
5757 if ac_fn_cxx_try_compile "$LINENO"
5758 then :
5759 ac_compiler_gnu=yes
5760 else $as_nop
5761 ac_compiler_gnu=no
5763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5764 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5768 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5771 if test $ac_compiler_gnu = yes; then
5772 GXX=yes
5773 else
5774 GXX=
5776 ac_test_CXXFLAGS=${CXXFLAGS+y}
5777 ac_save_CXXFLAGS=$CXXFLAGS
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5779 printf %s "checking whether $CXX accepts -g... " >&6; }
5780 if test ${ac_cv_prog_cxx_g+y}
5781 then :
5782 printf %s "(cached) " >&6
5783 else $as_nop
5784 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5785 ac_cxx_werror_flag=yes
5786 ac_cv_prog_cxx_g=no
5787 CXXFLAGS="-g"
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5789 /* end confdefs.h. */
5792 main (void)
5796 return 0;
5798 _ACEOF
5799 if ac_fn_cxx_try_compile "$LINENO"
5800 then :
5801 ac_cv_prog_cxx_g=yes
5802 else $as_nop
5803 CXXFLAGS=""
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5808 main (void)
5812 return 0;
5814 _ACEOF
5815 if ac_fn_cxx_try_compile "$LINENO"
5816 then :
5818 else $as_nop
5819 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5820 CXXFLAGS="-g"
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5825 main (void)
5829 return 0;
5831 _ACEOF
5832 if ac_fn_cxx_try_compile "$LINENO"
5833 then :
5834 ac_cv_prog_cxx_g=yes
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
5840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5841 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5844 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5845 if test $ac_test_CXXFLAGS; then
5846 CXXFLAGS=$ac_save_CXXFLAGS
5847 elif test $ac_cv_prog_cxx_g = yes; then
5848 if test "$GXX" = yes; then
5849 CXXFLAGS="-g -O2"
5850 else
5851 CXXFLAGS="-g"
5853 else
5854 if test "$GXX" = yes; then
5855 CXXFLAGS="-O2"
5856 else
5857 CXXFLAGS=
5860 ac_prog_cxx_stdcxx=no
5861 if test x$ac_prog_cxx_stdcxx = xno
5862 then :
5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5864 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5865 if test ${ac_cv_prog_cxx_11+y}
5866 then :
5867 printf %s "(cached) " >&6
5868 else $as_nop
5869 ac_cv_prog_cxx_11=no
5870 ac_save_CXX=$CXX
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5873 $ac_cxx_conftest_cxx11_program
5874 _ACEOF
5875 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5877 CXX="$ac_save_CXX $ac_arg"
5878 if ac_fn_cxx_try_compile "$LINENO"
5879 then :
5880 ac_cv_prog_cxx_cxx11=$ac_arg
5882 rm -f core conftest.err conftest.$ac_objext conftest.beam
5883 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5884 done
5885 rm -f conftest.$ac_ext
5886 CXX=$ac_save_CXX
5889 if test "x$ac_cv_prog_cxx_cxx11" = xno
5890 then :
5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5892 printf "%s\n" "unsupported" >&6; }
5893 else $as_nop
5894 if test "x$ac_cv_prog_cxx_cxx11" = x
5895 then :
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5897 printf "%s\n" "none needed" >&6; }
5898 else $as_nop
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5900 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5901 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5903 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5904 ac_prog_cxx_stdcxx=cxx11
5907 if test x$ac_prog_cxx_stdcxx = xno
5908 then :
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5910 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5911 if test ${ac_cv_prog_cxx_98+y}
5912 then :
5913 printf %s "(cached) " >&6
5914 else $as_nop
5915 ac_cv_prog_cxx_98=no
5916 ac_save_CXX=$CXX
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5919 $ac_cxx_conftest_cxx98_program
5920 _ACEOF
5921 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5923 CXX="$ac_save_CXX $ac_arg"
5924 if ac_fn_cxx_try_compile "$LINENO"
5925 then :
5926 ac_cv_prog_cxx_cxx98=$ac_arg
5928 rm -f core conftest.err conftest.$ac_objext conftest.beam
5929 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5930 done
5931 rm -f conftest.$ac_ext
5932 CXX=$ac_save_CXX
5935 if test "x$ac_cv_prog_cxx_cxx98" = xno
5936 then :
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5938 printf "%s\n" "unsupported" >&6; }
5939 else $as_nop
5940 if test "x$ac_cv_prog_cxx_cxx98" = x
5941 then :
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5943 printf "%s\n" "none needed" >&6; }
5944 else $as_nop
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5946 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5947 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5949 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5950 ac_prog_cxx_stdcxx=cxx98
5954 ac_ext=c
5955 ac_cpp='$CPP $CPPFLAGS'
5956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5960 if test -n "$ac_tool_prefix"; then
5961 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5962 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 printf %s "checking for $ac_word... " >&6; }
5965 if test ${ac_cv_prog_CPPBIN+y}
5966 then :
5967 printf %s "(cached) " >&6
5968 else $as_nop
5969 if test -n "$CPPBIN"; then
5970 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 case $as_dir in #(((
5977 '') as_dir=./ ;;
5978 */) ;;
5979 *) as_dir=$as_dir/ ;;
5980 esac
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 CPPBIN=$ac_cv_prog_CPPBIN
5994 if test -n "$CPPBIN"; then
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5996 printf "%s\n" "$CPPBIN" >&6; }
5997 else
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 printf "%s\n" "no" >&6; }
6004 if test -z "$ac_cv_prog_CPPBIN"; then
6005 ac_ct_CPPBIN=$CPPBIN
6006 # Extract the first word of "cpp", so it can be a program name with args.
6007 set dummy cpp; ac_word=$2
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 printf %s "checking for $ac_word... " >&6; }
6010 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6011 then :
6012 printf %s "(cached) " >&6
6013 else $as_nop
6014 if test -n "$ac_ct_CPPBIN"; then
6015 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6016 else
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018 for as_dir in $PATH
6020 IFS=$as_save_IFS
6021 case $as_dir in #(((
6022 '') as_dir=./ ;;
6023 */) ;;
6024 *) as_dir=$as_dir/ ;;
6025 esac
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_ac_ct_CPPBIN="cpp"
6029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6030 break 2
6032 done
6033 done
6034 IFS=$as_save_IFS
6038 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6039 if test -n "$ac_ct_CPPBIN"; then
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6041 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6042 else
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 printf "%s\n" "no" >&6; }
6047 if test "x$ac_ct_CPPBIN" = x; then
6048 CPPBIN="cpp"
6049 else
6050 case $cross_compiling:$ac_tool_warned in
6051 yes:)
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned=yes ;;
6055 esac
6056 CPPBIN=$ac_ct_CPPBIN
6058 else
6059 CPPBIN="$ac_cv_prog_CPPBIN"
6063 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6065 if test -n "$ac_tool_prefix"; then
6066 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6067 set dummy ${ac_tool_prefix}ld; ac_word=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s "checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_LD+y}
6071 then :
6072 printf %s "(cached) " >&6
6073 else $as_nop
6074 if test -n "$LD"; then
6075 ac_cv_prog_LD="$LD" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 case $as_dir in #(((
6082 '') as_dir=./ ;;
6083 */) ;;
6084 *) as_dir=$as_dir/ ;;
6085 esac
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_LD="${ac_tool_prefix}ld"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 LD=$ac_cv_prog_LD
6099 if test -n "$LD"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6101 printf "%s\n" "$LD" >&6; }
6102 else
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6109 if test -z "$ac_cv_prog_LD"; then
6110 ac_ct_LD=$LD
6111 # Extract the first word of "ld", so it can be a program name with args.
6112 set dummy ld; ac_word=$2
6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 printf %s "checking for $ac_word... " >&6; }
6115 if test ${ac_cv_prog_ac_ct_LD+y}
6116 then :
6117 printf %s "(cached) " >&6
6118 else $as_nop
6119 if test -n "$ac_ct_LD"; then
6120 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 case $as_dir in #(((
6127 '') as_dir=./ ;;
6128 */) ;;
6129 *) as_dir=$as_dir/ ;;
6130 esac
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ac_ct_LD="ld"
6134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6139 IFS=$as_save_IFS
6143 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6144 if test -n "$ac_ct_LD"; then
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6146 printf "%s\n" "$ac_ct_LD" >&6; }
6147 else
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 printf "%s\n" "no" >&6; }
6152 if test "x$ac_ct_LD" = x; then
6153 LD=""
6154 else
6155 case $cross_compiling:$ac_tool_warned in
6156 yes:)
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned=yes ;;
6160 esac
6161 LD=$ac_ct_LD
6163 else
6164 LD="$ac_cv_prog_LD"
6168 case $host in
6169 *-darwin*)
6170 with_fontconfig=${with_fontconfig:-no}
6172 *-mingw32*|*-cygwin*)
6173 enable_win16=${enable_win16:-no}
6174 with_mingw=${with_mingw:-no}
6176 esac
6179 case $host in
6180 x86_64*|amd64*)
6181 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6182 then
6183 CC="$CC -m32"
6184 CXX="$CXX -m32"
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6187 printf %s "checking whether $CC works... " >&6; }
6188 if test ${wine_cv_cc_m32+y}
6189 then :
6190 printf %s "(cached) " >&6
6191 else $as_nop
6192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6196 main (void)
6200 return 0;
6202 _ACEOF
6203 if ac_fn_c_try_link "$LINENO"
6204 then :
6205 wine_cv_cc_m32=yes
6206 else $as_nop
6207 wine_cv_cc_m32=no
6209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6210 conftest$ac_exeext conftest.$ac_ext
6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6213 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6214 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
6215 host_cpu="i386"
6216 notice_platform="32-bit "
6217 TARGETFLAGS="$TARGETFLAGS -m32"
6218 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6219 export PKG_CONFIG_LIBDIR
6220 with_unwind=${with_unwind:-no}
6221 else
6222 if test "x${GCC}" = "xyes"
6223 then
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6225 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6226 if test ${wine_cv_builtin_ms_va_list+y}
6227 then :
6228 printf %s "(cached) " >&6
6229 else $as_nop
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <stdarg.h>
6234 main (void)
6236 void func(__builtin_ms_va_list *args);
6238 return 0;
6240 _ACEOF
6241 if ac_fn_c_try_compile "$LINENO"
6242 then :
6243 wine_cv_builtin_ms_va_list=yes
6244 else $as_nop
6245 wine_cv_builtin_ms_va_list=no
6247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6250 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6251 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
6253 CC="$CC -m64"
6254 CXX="$CXX -m64"
6255 host_cpu="x86_64"
6256 notice_platform="64-bit "
6257 TARGETFLAGS="$TARGETFLAGS -m64"
6260 arm*)
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6262 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6263 if test ${wine_cv_thumb2+y}
6264 then :
6265 printf %s "(cached) " >&6
6266 else $as_nop
6267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6268 /* end confdefs.h. */
6271 main (void)
6273 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6275 return 0;
6277 _ACEOF
6278 if ac_fn_c_try_link "$LINENO"
6279 then :
6280 wine_cv_thumb2=yes
6281 else $as_nop
6282 wine_cv_thumb2=no
6284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6285 conftest$ac_exeext conftest.$ac_ext
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6288 printf "%s\n" "$wine_cv_thumb2" >&6; }
6289 if test x"$wine_cv_thumb2" = xyes
6290 then
6291 CFLAGS="$CFLAGS -mthumb"
6292 TARGETFLAGS="$TARGETFLAGS -mthumb"
6293 else
6294 CFLAGS="$CFLAGS -marm"
6295 TARGETFLAGS="$TARGETFLAGS -marm"
6297 case $with_float_abi in
6298 soft|softfp|hard)
6299 float_abi=$with_float_abi ;;
6301 case $host_os in
6302 *eabihf)
6303 float_abi=hard ;;
6305 float_abi=softfp
6306 saved_CFLAGS=$CFLAGS
6307 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6309 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6310 if test ${wine_cv_float_abi+y}
6311 then :
6312 printf %s "(cached) " >&6
6313 else $as_nop
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6318 main (void)
6320 asm("vmrs r2,fpscr");
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_link "$LINENO"
6326 then :
6327 wine_cv_float_abi=yes
6328 else $as_nop
6329 wine_cv_float_abi=no
6331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6332 conftest$ac_exeext conftest.$ac_ext
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6335 printf "%s\n" "$wine_cv_float_abi" >&6; }
6336 if test $wine_cv_float_abi = no
6337 then
6338 float_abi=soft
6339 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6341 CFLAGS=$saved_CFLAGS
6342 esac
6344 esac
6345 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6346 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6348 i[3456789]86*)
6349 with_unwind=${with_unwind:-no}
6351 esac
6353 enable_win16=${enable_win16:-i386}
6354 enable_win64=${enable_win64:-no}
6355 enable_wow64=${enable_wow64:-aarch64,x86_64}
6356 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6357 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6359 enable_winetest=${enable_winetest:-$enable_tests}
6361 if test "x$enable_win64" = "xyes"
6362 then
6363 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6364 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6367 case $build_os in
6368 cygwin*|mingw32*) toolsext=".exe"
6370 *) toolsext=""
6372 esac
6374 HOST_ARCH=unknown
6375 case "$host_cpu" in
6376 aarch64*) HOST_ARCH=aarch64 ;;
6377 arm*) HOST_ARCH=arm ;;
6378 i[3456789]86*) HOST_ARCH=i386 ;;
6379 x86_64) HOST_ARCH=x86_64 ;;
6380 esac
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6384 printf %s "checking for the directory containing the Wine tools... " >&6; }
6385 if test ${wine_cv_toolsdir+y}
6386 then :
6387 printf %s "(cached) " >&6
6388 else $as_nop
6389 wine_cv_toolsdir="$with_wine_tools"
6390 if test -z "$with_wine_tools"; then
6391 if test "$cross_compiling" = "yes"; then
6392 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6393 elif test -n "$with_wine64"; then
6394 wine_cv_toolsdir="$with_wine64"
6398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6399 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6400 if test -z "$wine_cv_toolsdir"; then
6401 wine_makedep=tools/makedep$toolsext
6402 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6403 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6404 enable_tools=${enable_tools:-no}
6405 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6406 else
6407 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6409 toolsdir=$wine_cv_toolsdir
6411 MAKEDEP=$wine_makedep
6413 RUNTESTFLAGS="-q -P wine"
6415 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'"
6418 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6419 then
6420 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6423 for ac_prog in flex
6425 # Extract the first word of "$ac_prog", so it can be a program name with args.
6426 set dummy $ac_prog; ac_word=$2
6427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 printf %s "checking for $ac_word... " >&6; }
6429 if test ${ac_cv_prog_FLEX+y}
6430 then :
6431 printf %s "(cached) " >&6
6432 else $as_nop
6433 if test -n "$FLEX"; then
6434 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 case $as_dir in #(((
6441 '') as_dir=./ ;;
6442 */) ;;
6443 *) as_dir=$as_dir/ ;;
6444 esac
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_FLEX="$ac_prog"
6448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6449 break 2
6451 done
6452 done
6453 IFS=$as_save_IFS
6457 FLEX=$ac_cv_prog_FLEX
6458 if test -n "$FLEX"; then
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6460 printf "%s\n" "$FLEX" >&6; }
6461 else
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 printf "%s\n" "no" >&6; }
6467 test -n "$FLEX" && break
6468 done
6469 test -n "$FLEX" || FLEX="none"
6471 if test "$FLEX" = "none"
6472 then
6473 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6476 printf %s "checking whether flex is recent enough... " >&6; }
6477 if test ${wine_cv_recent_flex+y}
6478 then :
6479 printf %s "(cached) " >&6
6480 else $as_nop
6481 cat >conftest.l <<EOF
6482 %top{
6483 #include "prediluvian.h"
6487 if $FLEX -t conftest.l >/dev/null 2>&5
6488 then
6489 wine_cv_recent_flex=yes
6490 else
6491 wine_cv_recent_flex=no
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6495 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6496 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
6498 for ac_prog in bison
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy $ac_prog; ac_word=$2
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 printf %s "checking for $ac_word... " >&6; }
6504 if test ${ac_cv_prog_BISON+y}
6505 then :
6506 printf %s "(cached) " >&6
6507 else $as_nop
6508 if test -n "$BISON"; then
6509 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6514 IFS=$as_save_IFS
6515 case $as_dir in #(((
6516 '') as_dir=./ ;;
6517 */) ;;
6518 *) as_dir=$as_dir/ ;;
6519 esac
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_BISON="$ac_prog"
6523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 BISON=$ac_cv_prog_BISON
6533 if test -n "$BISON"; then
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6535 printf "%s\n" "$BISON" >&6; }
6536 else
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 printf "%s\n" "no" >&6; }
6542 test -n "$BISON" && break
6543 done
6544 test -n "$BISON" || BISON="none"
6546 if test "$BISON" = "none"
6547 then
6548 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6551 printf %s "checking whether bison is recent enough... " >&6; }
6552 if test ${wine_cv_recent_bison+y}
6553 then :
6554 printf %s "(cached) " >&6
6555 else $as_nop
6556 cat >conftest.y <<EOF
6557 %define parse.error verbose
6559 empty: ;
6561 if $BISON conftest.y >/dev/null 2>&5
6562 then
6563 wine_cv_recent_bison=yes
6564 else
6565 wine_cv_recent_bison=no
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6569 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6570 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
6572 if test -n "$ac_tool_prefix"; then
6573 for ac_prog in ar gar
6575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 printf %s "checking for $ac_word... " >&6; }
6579 if test ${ac_cv_prog_AR+y}
6580 then :
6581 printf %s "(cached) " >&6
6582 else $as_nop
6583 if test -n "$AR"; then
6584 ac_cv_prog_AR="$AR" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 case $as_dir in #(((
6591 '') as_dir=./ ;;
6592 */) ;;
6593 *) as_dir=$as_dir/ ;;
6594 esac
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6597 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6599 break 2
6601 done
6602 done
6603 IFS=$as_save_IFS
6607 AR=$ac_cv_prog_AR
6608 if test -n "$AR"; then
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6610 printf "%s\n" "$AR" >&6; }
6611 else
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6613 printf "%s\n" "no" >&6; }
6617 test -n "$AR" && break
6618 done
6620 if test -z "$AR"; then
6621 ac_ct_AR=$AR
6622 for ac_prog in ar gar
6624 # Extract the first word of "$ac_prog", so it can be a program name with args.
6625 set dummy $ac_prog; ac_word=$2
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 printf %s "checking for $ac_word... " >&6; }
6628 if test ${ac_cv_prog_ac_ct_AR+y}
6629 then :
6630 printf %s "(cached) " >&6
6631 else $as_nop
6632 if test -n "$ac_ct_AR"; then
6633 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6634 else
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 for as_dir in $PATH
6638 IFS=$as_save_IFS
6639 case $as_dir in #(((
6640 '') as_dir=./ ;;
6641 */) ;;
6642 *) as_dir=$as_dir/ ;;
6643 esac
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_ac_ct_AR="$ac_prog"
6647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6657 if test -n "$ac_ct_AR"; then
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6659 printf "%s\n" "$ac_ct_AR" >&6; }
6660 else
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 printf "%s\n" "no" >&6; }
6666 test -n "$ac_ct_AR" && break
6667 done
6669 if test "x$ac_ct_AR" = x; then
6670 AR="ar"
6671 else
6672 case $cross_compiling:$ac_tool_warned in
6673 yes:)
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6675 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6676 ac_tool_warned=yes ;;
6677 esac
6678 AR=$ac_ct_AR
6682 if test -n "$ac_tool_prefix"; then
6683 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6684 set dummy ${ac_tool_prefix}strip; ac_word=$2
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 printf %s "checking for $ac_word... " >&6; }
6687 if test ${ac_cv_prog_STRIP+y}
6688 then :
6689 printf %s "(cached) " >&6
6690 else $as_nop
6691 if test -n "$STRIP"; then
6692 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6693 else
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 for as_dir in $PATH
6697 IFS=$as_save_IFS
6698 case $as_dir in #(((
6699 '') as_dir=./ ;;
6700 */) ;;
6701 *) as_dir=$as_dir/ ;;
6702 esac
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6705 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6707 break 2
6709 done
6710 done
6711 IFS=$as_save_IFS
6715 STRIP=$ac_cv_prog_STRIP
6716 if test -n "$STRIP"; then
6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6718 printf "%s\n" "$STRIP" >&6; }
6719 else
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 printf "%s\n" "no" >&6; }
6726 if test -z "$ac_cv_prog_STRIP"; then
6727 ac_ct_STRIP=$STRIP
6728 # Extract the first word of "strip", so it can be a program name with args.
6729 set dummy strip; ac_word=$2
6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 printf %s "checking for $ac_word... " >&6; }
6732 if test ${ac_cv_prog_ac_ct_STRIP+y}
6733 then :
6734 printf %s "(cached) " >&6
6735 else $as_nop
6736 if test -n "$ac_ct_STRIP"; then
6737 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 case $as_dir in #(((
6744 '') as_dir=./ ;;
6745 */) ;;
6746 *) as_dir=$as_dir/ ;;
6747 esac
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_ac_ct_STRIP="strip"
6751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6752 break 2
6754 done
6755 done
6756 IFS=$as_save_IFS
6760 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6761 if test -n "$ac_ct_STRIP"; then
6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6763 printf "%s\n" "$ac_ct_STRIP" >&6; }
6764 else
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 printf "%s\n" "no" >&6; }
6769 if test "x$ac_ct_STRIP" = x; then
6770 STRIP="strip"
6771 else
6772 case $cross_compiling:$ac_tool_warned in
6773 yes:)
6774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6775 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6776 ac_tool_warned=yes ;;
6777 esac
6778 STRIP=$ac_ct_STRIP
6780 else
6781 STRIP="$ac_cv_prog_STRIP"
6784 if test -n "$ac_tool_prefix"; then
6785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6786 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788 printf %s "checking for $ac_word... " >&6; }
6789 if test ${ac_cv_prog_RANLIB+y}
6790 then :
6791 printf %s "(cached) " >&6
6792 else $as_nop
6793 if test -n "$RANLIB"; then
6794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6795 else
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 for as_dir in $PATH
6799 IFS=$as_save_IFS
6800 case $as_dir in #(((
6801 '') as_dir=./ ;;
6802 */) ;;
6803 *) as_dir=$as_dir/ ;;
6804 esac
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6807 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6809 break 2
6811 done
6812 done
6813 IFS=$as_save_IFS
6817 RANLIB=$ac_cv_prog_RANLIB
6818 if test -n "$RANLIB"; then
6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6820 printf "%s\n" "$RANLIB" >&6; }
6821 else
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6823 printf "%s\n" "no" >&6; }
6828 if test -z "$ac_cv_prog_RANLIB"; then
6829 ac_ct_RANLIB=$RANLIB
6830 # Extract the first word of "ranlib", so it can be a program name with args.
6831 set dummy ranlib; ac_word=$2
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6833 printf %s "checking for $ac_word... " >&6; }
6834 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6835 then :
6836 printf %s "(cached) " >&6
6837 else $as_nop
6838 if test -n "$ac_ct_RANLIB"; then
6839 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6840 else
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 for as_dir in $PATH
6844 IFS=$as_save_IFS
6845 case $as_dir in #(((
6846 '') as_dir=./ ;;
6847 */) ;;
6848 *) as_dir=$as_dir/ ;;
6849 esac
6850 for ac_exec_ext in '' $ac_executable_extensions; do
6851 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6852 ac_cv_prog_ac_ct_RANLIB="ranlib"
6853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6854 break 2
6856 done
6857 done
6858 IFS=$as_save_IFS
6862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6863 if test -n "$ac_ct_RANLIB"; then
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6865 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6866 else
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 printf "%s\n" "no" >&6; }
6871 if test "x$ac_ct_RANLIB" = x; then
6872 RANLIB=":"
6873 else
6874 case $cross_compiling:$ac_tool_warned in
6875 yes:)
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6877 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6878 ac_tool_warned=yes ;;
6879 esac
6880 RANLIB=$ac_ct_RANLIB
6882 else
6883 RANLIB="$ac_cv_prog_RANLIB"
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6887 printf %s "checking whether ln -s works... " >&6; }
6888 LN_S=$as_ln_s
6889 if test "$LN_S" = "ln -s"; then
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6891 printf "%s\n" "yes" >&6; }
6892 else
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6894 printf "%s\n" "no, using $LN_S" >&6; }
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6898 printf %s "checking for grep that handles long lines and -e... " >&6; }
6899 if test ${ac_cv_path_GREP+y}
6900 then :
6901 printf %s "(cached) " >&6
6902 else $as_nop
6903 if test -z "$GREP"; then
6904 ac_path_GREP_found=false
6905 # Loop through the user's path and test for each of PROGNAME-LIST
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6909 IFS=$as_save_IFS
6910 case $as_dir in #(((
6911 '') as_dir=./ ;;
6912 */) ;;
6913 *) as_dir=$as_dir/ ;;
6914 esac
6915 for ac_prog in grep ggrep
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6919 as_fn_executable_p "$ac_path_GREP" || continue
6920 # Check for GNU ac_path_GREP and select it if it is found.
6921 # Check for GNU $ac_path_GREP
6922 case `"$ac_path_GREP" --version 2>&1` in
6923 *GNU*)
6924 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6926 ac_count=0
6927 printf %s 0123456789 >"conftest.in"
6928 while :
6930 cat "conftest.in" "conftest.in" >"conftest.tmp"
6931 mv "conftest.tmp" "conftest.in"
6932 cp "conftest.in" "conftest.nl"
6933 printf "%s\n" 'GREP' >> "conftest.nl"
6934 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6935 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6936 as_fn_arith $ac_count + 1 && ac_count=$as_val
6937 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6938 # Best one so far, save it but keep looking for a better one
6939 ac_cv_path_GREP="$ac_path_GREP"
6940 ac_path_GREP_max=$ac_count
6942 # 10*(2^10) chars as input seems more than enough
6943 test $ac_count -gt 10 && break
6944 done
6945 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6946 esac
6948 $ac_path_GREP_found && break 3
6949 done
6950 done
6951 done
6952 IFS=$as_save_IFS
6953 if test -z "$ac_cv_path_GREP"; then
6954 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6956 else
6957 ac_cv_path_GREP=$GREP
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6962 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6963 GREP="$ac_cv_path_GREP"
6966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6967 printf %s "checking for egrep... " >&6; }
6968 if test ${ac_cv_path_EGREP+y}
6969 then :
6970 printf %s "(cached) " >&6
6971 else $as_nop
6972 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6973 then ac_cv_path_EGREP="$GREP -E"
6974 else
6975 if test -z "$EGREP"; then
6976 ac_path_EGREP_found=false
6977 # Loop through the user's path and test for each of PROGNAME-LIST
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6981 IFS=$as_save_IFS
6982 case $as_dir in #(((
6983 '') as_dir=./ ;;
6984 */) ;;
6985 *) as_dir=$as_dir/ ;;
6986 esac
6987 for ac_prog in egrep
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6991 as_fn_executable_p "$ac_path_EGREP" || continue
6992 # Check for GNU ac_path_EGREP and select it if it is found.
6993 # Check for GNU $ac_path_EGREP
6994 case `"$ac_path_EGREP" --version 2>&1` in
6995 *GNU*)
6996 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6998 ac_count=0
6999 printf %s 0123456789 >"conftest.in"
7000 while :
7002 cat "conftest.in" "conftest.in" >"conftest.tmp"
7003 mv "conftest.tmp" "conftest.in"
7004 cp "conftest.in" "conftest.nl"
7005 printf "%s\n" 'EGREP' >> "conftest.nl"
7006 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7007 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7008 as_fn_arith $ac_count + 1 && ac_count=$as_val
7009 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7010 # Best one so far, save it but keep looking for a better one
7011 ac_cv_path_EGREP="$ac_path_EGREP"
7012 ac_path_EGREP_max=$ac_count
7014 # 10*(2^10) chars as input seems more than enough
7015 test $ac_count -gt 10 && break
7016 done
7017 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7018 esac
7020 $ac_path_EGREP_found && break 3
7021 done
7022 done
7023 done
7024 IFS=$as_save_IFS
7025 if test -z "$ac_cv_path_EGREP"; then
7026 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7028 else
7029 ac_cv_path_EGREP=$EGREP
7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7035 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7036 EGREP="$ac_cv_path_EGREP"
7039 # Extract the first word of "ldconfig", so it can be a program name with args.
7040 set dummy ldconfig; ac_word=$2
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7042 printf %s "checking for $ac_word... " >&6; }
7043 if test ${ac_cv_path_LDCONFIG+y}
7044 then :
7045 printf %s "(cached) " >&6
7046 else $as_nop
7047 case $LDCONFIG in
7048 [\\/]* | ?:[\\/]*)
7049 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 for as_dir in /sbin /usr/sbin $PATH
7055 IFS=$as_save_IFS
7056 case $as_dir in #(((
7057 '') as_dir=./ ;;
7058 */) ;;
7059 *) as_dir=$as_dir/ ;;
7060 esac
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7063 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7065 break 2
7067 done
7068 done
7069 IFS=$as_save_IFS
7071 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7073 esac
7075 LDCONFIG=$ac_cv_path_LDCONFIG
7076 if test -n "$LDCONFIG"; then
7077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7078 printf "%s\n" "$LDCONFIG" >&6; }
7079 else
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 printf "%s\n" "no" >&6; }
7085 for ac_prog in msgfmt
7087 # Extract the first word of "$ac_prog", so it can be a program name with args.
7088 set dummy $ac_prog; ac_word=$2
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 printf %s "checking for $ac_word... " >&6; }
7091 if test ${ac_cv_prog_MSGFMT+y}
7092 then :
7093 printf %s "(cached) " >&6
7094 else $as_nop
7095 if test -n "$MSGFMT"; then
7096 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7097 else
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in $PATH
7101 IFS=$as_save_IFS
7102 case $as_dir in #(((
7103 '') as_dir=./ ;;
7104 */) ;;
7105 *) as_dir=$as_dir/ ;;
7106 esac
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7109 ac_cv_prog_MSGFMT="$ac_prog"
7110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7111 break 2
7113 done
7114 done
7115 IFS=$as_save_IFS
7119 MSGFMT=$ac_cv_prog_MSGFMT
7120 if test -n "$MSGFMT"; then
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7122 printf "%s\n" "$MSGFMT" >&6; }
7123 else
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 printf "%s\n" "no" >&6; }
7129 test -n "$MSGFMT" && break
7130 done
7131 test -n "$MSGFMT" || MSGFMT="false"
7133 if test ${ac_tool_prefix+y}
7134 then :
7135 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7136 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 printf %s "checking for $ac_word... " >&6; }
7139 if test ${ac_cv_prog_PKG_CONFIG+y}
7140 then :
7141 printf %s "(cached) " >&6
7142 else $as_nop
7143 if test -n "$PKG_CONFIG"; then
7144 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7145 else
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 for as_dir in $PATH
7149 IFS=$as_save_IFS
7150 case $as_dir in #(((
7151 '') as_dir=./ ;;
7152 */) ;;
7153 *) as_dir=$as_dir/ ;;
7154 esac
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7159 break 2
7161 done
7162 done
7163 IFS=$as_save_IFS
7167 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7168 if test -n "$PKG_CONFIG"; then
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7170 printf "%s\n" "$PKG_CONFIG" >&6; }
7171 else
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 printf "%s\n" "no" >&6; }
7178 if ${ac_cv_prog_PKG_CONFIG:+false} :
7179 then :
7180 if test "x$cross_compiling" = xyes
7181 then :
7183 else $as_nop
7184 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7185 # Extract the first word of "pkg-config", so it can be a program name with args.
7186 set dummy pkg-config; ac_word=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s "checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 then :
7191 printf %s "(cached) " >&6
7192 else $as_nop
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 case $as_dir in #(((
7201 '') as_dir=./ ;;
7202 */) ;;
7203 *) as_dir=$as_dir/ ;;
7204 esac
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG="pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 else $as_nop
7229 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7232 if test "x$enable_maintainer_mode" != "xyes"
7233 then
7234 FONTFORGE=""
7235 RSVG=""
7236 CONVERT=""
7237 ICOTOOL=""
7238 else
7239 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7240 for ac_prog in fontforge
7242 # Extract the first word of "$ac_prog", so it can be a program name with args.
7243 set dummy $ac_prog; ac_word=$2
7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 printf %s "checking for $ac_word... " >&6; }
7246 if test ${ac_cv_prog_FONTFORGE+y}
7247 then :
7248 printf %s "(cached) " >&6
7249 else $as_nop
7250 if test -n "$FONTFORGE"; then
7251 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7256 IFS=$as_save_IFS
7257 case $as_dir in #(((
7258 '') as_dir=./ ;;
7259 */) ;;
7260 *) as_dir=$as_dir/ ;;
7261 esac
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7264 ac_cv_prog_FONTFORGE="$ac_prog"
7265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7266 break 2
7268 done
7269 done
7270 IFS=$as_save_IFS
7274 FONTFORGE=$ac_cv_prog_FONTFORGE
7275 if test -n "$FONTFORGE"; then
7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7277 printf "%s\n" "$FONTFORGE" >&6; }
7278 else
7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 printf "%s\n" "no" >&6; }
7284 test -n "$FONTFORGE" && break
7285 done
7286 test -n "$FONTFORGE" || FONTFORGE="false"
7288 for ac_prog in rsvg-convert rsvg
7290 # Extract the first word of "$ac_prog", so it can be a program name with args.
7291 set dummy $ac_prog; ac_word=$2
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 printf %s "checking for $ac_word... " >&6; }
7294 if test ${ac_cv_prog_RSVG+y}
7295 then :
7296 printf %s "(cached) " >&6
7297 else $as_nop
7298 if test -n "$RSVG"; then
7299 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7300 else
7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 for as_dir in $PATH
7304 IFS=$as_save_IFS
7305 case $as_dir in #(((
7306 '') as_dir=./ ;;
7307 */) ;;
7308 *) as_dir=$as_dir/ ;;
7309 esac
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_RSVG="$ac_prog"
7313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 RSVG=$ac_cv_prog_RSVG
7323 if test -n "$RSVG"; then
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7325 printf "%s\n" "$RSVG" >&6; }
7326 else
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 printf "%s\n" "no" >&6; }
7332 test -n "$RSVG" && break
7333 done
7334 test -n "$RSVG" || RSVG="false"
7336 for ac_prog in convert
7338 # Extract the first word of "$ac_prog", so it can be a program name with args.
7339 set dummy $ac_prog; ac_word=$2
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 printf %s "checking for $ac_word... " >&6; }
7342 if test ${ac_cv_prog_CONVERT+y}
7343 then :
7344 printf %s "(cached) " >&6
7345 else $as_nop
7346 if test -n "$CONVERT"; then
7347 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 case $as_dir in #(((
7354 '') as_dir=./ ;;
7355 */) ;;
7356 *) as_dir=$as_dir/ ;;
7357 esac
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7360 ac_cv_prog_CONVERT="$ac_prog"
7361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7362 break 2
7364 done
7365 done
7366 IFS=$as_save_IFS
7370 CONVERT=$ac_cv_prog_CONVERT
7371 if test -n "$CONVERT"; then
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7373 printf "%s\n" "$CONVERT" >&6; }
7374 else
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 printf "%s\n" "no" >&6; }
7380 test -n "$CONVERT" && break
7381 done
7382 test -n "$CONVERT" || CONVERT="false"
7384 for ac_prog in icotool
7386 # Extract the first word of "$ac_prog", so it can be a program name with args.
7387 set dummy $ac_prog; ac_word=$2
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 printf %s "checking for $ac_word... " >&6; }
7390 if test ${ac_cv_prog_ICOTOOL+y}
7391 then :
7392 printf %s "(cached) " >&6
7393 else $as_nop
7394 if test -n "$ICOTOOL"; then
7395 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 case $as_dir in #(((
7402 '') as_dir=./ ;;
7403 */) ;;
7404 *) as_dir=$as_dir/ ;;
7405 esac
7406 for ac_exec_ext in '' $ac_executable_extensions; do
7407 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_ICOTOOL="$ac_prog"
7409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7410 break 2
7412 done
7413 done
7414 IFS=$as_save_IFS
7418 ICOTOOL=$ac_cv_prog_ICOTOOL
7419 if test -n "$ICOTOOL"; then
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7421 printf "%s\n" "$ICOTOOL" >&6; }
7422 else
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 printf "%s\n" "no" >&6; }
7428 test -n "$ICOTOOL" && break
7429 done
7430 test -n "$ICOTOOL" || ICOTOOL="false"
7432 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7433 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7435 if test "$CONVERT" = false
7436 then
7437 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7438 else
7439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7440 printf %s "checking for recent enough imagemagick... " >&6; }
7441 convert_version=`convert --version | head -n1`
7442 if test "x$convert_version" != "x"
7443 then
7444 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7445 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7446 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7447 then
7448 CONVERT=false
7451 if test "$CONVERT" = false
7452 then
7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7454 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7455 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7456 else
7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7458 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7462 if test "$ICOTOOL" = false
7463 then
7464 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7465 else
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7467 printf %s "checking for recent enough icotool... " >&6; }
7468 icotool_version=`icotool --version | head -n1`
7469 if test "x$icotool_version" != "x"
7470 then
7471 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7472 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7473 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7474 then
7475 ICOTOOL=false
7476 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7479 if test "$ICOTOOL" = false
7480 then
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7482 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7483 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7484 else
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7486 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7490 with_gettext=yes
7491 with_gettextpo=yes
7493 enable_werror=yes
7496 test "x$with_gettext" != xno || MSGFMT=false
7497 if test "$MSGFMT" != "false"
7498 then
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7500 printf %s "checking whether msgfmt supports contexts... " >&6; }
7501 if test ${wine_cv_msgfmt_contexts+y}
7502 then :
7503 printf %s "(cached) " >&6
7504 else $as_nop
7505 cat >conftest.po <<EOF
7506 # comment
7507 msgctxt "ctxt"
7508 msgid "id"
7509 msgstr "str"
7511 if $MSGFMT -o /dev/null conftest.po 2>&5
7512 then
7513 wine_cv_msgfmt_contexts=yes
7514 else
7515 wine_cv_msgfmt_contexts=no
7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7519 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7520 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7522 if test "$MSGFMT" = false
7523 then :
7524 case "x$with_gettext" in
7525 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7526 xno) ;;
7527 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7528 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7529 esac
7530 enable_po=${enable_po:-no}
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7535 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7536 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7537 then :
7538 printf %s "(cached) " >&6
7539 else $as_nop
7540 ac_check_lib_save_LIBS=$LIBS
7541 LIBS="-li386 $LIBS"
7542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7548 char i386_set_ldt ();
7550 main (void)
7552 return i386_set_ldt ();
7554 return 0;
7556 _ACEOF
7557 if ac_fn_c_try_link "$LINENO"
7558 then :
7559 ac_cv_lib_i386_i386_set_ldt=yes
7560 else $as_nop
7561 ac_cv_lib_i386_i386_set_ldt=no
7563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7564 conftest$ac_exeext conftest.$ac_ext
7565 LIBS=$ac_check_lib_save_LIBS
7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7568 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7569 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7570 then :
7571 I386_LIBS="-li386"
7576 OPENGL_LIBS=""
7580 # Check whether --enable-largefile was given.
7581 if test ${enable_largefile+y}
7582 then :
7583 enableval=$enable_largefile;
7586 if test "$enable_largefile" != no; then
7588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7589 printf %s "checking for special C compiler options needed for large files... " >&6; }
7590 if test ${ac_cv_sys_largefile_CC+y}
7591 then :
7592 printf %s "(cached) " >&6
7593 else $as_nop
7594 ac_cv_sys_largefile_CC=no
7595 if test "$GCC" != yes; then
7596 ac_save_CC=$CC
7597 while :; do
7598 # IRIX 6.2 and later do not support large files by default,
7599 # so use the C compiler's -n32 option if that helps.
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7602 #include <sys/types.h>
7603 /* Check that off_t can represent 2**63 - 1 correctly.
7604 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7605 since some C++ compilers masquerading as C compilers
7606 incorrectly reject 9223372036854775807. */
7607 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7608 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7609 && LARGE_OFF_T % 2147483647 == 1)
7610 ? 1 : -1];
7612 main (void)
7616 return 0;
7618 _ACEOF
7619 if ac_fn_c_try_compile "$LINENO"
7620 then :
7621 break
7623 rm -f core conftest.err conftest.$ac_objext conftest.beam
7624 CC="$CC -n32"
7625 if ac_fn_c_try_compile "$LINENO"
7626 then :
7627 ac_cv_sys_largefile_CC=' -n32'; break
7629 rm -f core conftest.err conftest.$ac_objext conftest.beam
7630 break
7631 done
7632 CC=$ac_save_CC
7633 rm -f conftest.$ac_ext
7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7637 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7638 if test "$ac_cv_sys_largefile_CC" != no; then
7639 CC=$CC$ac_cv_sys_largefile_CC
7642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7643 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7644 if test ${ac_cv_sys_file_offset_bits+y}
7645 then :
7646 printf %s "(cached) " >&6
7647 else $as_nop
7648 while :; do
7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7651 #include <sys/types.h>
7652 /* Check that off_t can represent 2**63 - 1 correctly.
7653 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7654 since some C++ compilers masquerading as C compilers
7655 incorrectly reject 9223372036854775807. */
7656 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7657 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7658 && LARGE_OFF_T % 2147483647 == 1)
7659 ? 1 : -1];
7661 main (void)
7665 return 0;
7667 _ACEOF
7668 if ac_fn_c_try_compile "$LINENO"
7669 then :
7670 ac_cv_sys_file_offset_bits=no; break
7672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #define _FILE_OFFSET_BITS 64
7676 #include <sys/types.h>
7677 /* Check that off_t can represent 2**63 - 1 correctly.
7678 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7679 since some C++ compilers masquerading as C compilers
7680 incorrectly reject 9223372036854775807. */
7681 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7682 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7683 && LARGE_OFF_T % 2147483647 == 1)
7684 ? 1 : -1];
7686 main (void)
7690 return 0;
7692 _ACEOF
7693 if ac_fn_c_try_compile "$LINENO"
7694 then :
7695 ac_cv_sys_file_offset_bits=64; break
7697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7698 ac_cv_sys_file_offset_bits=unknown
7699 break
7700 done
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7703 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7704 case $ac_cv_sys_file_offset_bits in #(
7705 no | unknown) ;;
7707 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7709 esac
7710 rm -rf conftest*
7711 if test $ac_cv_sys_file_offset_bits = unknown; then
7712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7713 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7714 if test ${ac_cv_sys_large_files+y}
7715 then :
7716 printf %s "(cached) " >&6
7717 else $as_nop
7718 while :; do
7719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 /* end confdefs.h. */
7721 #include <sys/types.h>
7722 /* Check that off_t can represent 2**63 - 1 correctly.
7723 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7724 since some C++ compilers masquerading as C compilers
7725 incorrectly reject 9223372036854775807. */
7726 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7727 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7728 && LARGE_OFF_T % 2147483647 == 1)
7729 ? 1 : -1];
7731 main (void)
7735 return 0;
7737 _ACEOF
7738 if ac_fn_c_try_compile "$LINENO"
7739 then :
7740 ac_cv_sys_large_files=no; break
7742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 #define _LARGE_FILES 1
7746 #include <sys/types.h>
7747 /* Check that off_t can represent 2**63 - 1 correctly.
7748 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7749 since some C++ compilers masquerading as C compilers
7750 incorrectly reject 9223372036854775807. */
7751 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7752 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7753 && LARGE_OFF_T % 2147483647 == 1)
7754 ? 1 : -1];
7756 main (void)
7760 return 0;
7762 _ACEOF
7763 if ac_fn_c_try_compile "$LINENO"
7764 then :
7765 ac_cv_sys_large_files=1; break
7767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7768 ac_cv_sys_large_files=unknown
7769 break
7770 done
7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7773 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7774 case $ac_cv_sys_large_files in #(
7775 no | unknown) ;;
7777 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7779 esac
7780 rm -rf conftest*
7785 ac_header= ac_cache=
7786 for ac_item in $ac_header_c_list
7788 if test $ac_cache; then
7789 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7790 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7791 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7793 ac_header= ac_cache=
7794 elif test $ac_header; then
7795 ac_cache=$ac_item
7796 else
7797 ac_header=$ac_item
7799 done
7808 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7809 then :
7811 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7814 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7815 if test "x$ac_cv_header_CL_cl_h" = xyes
7816 then :
7817 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7820 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7821 if test "x$ac_cv_header_EGL_egl_h" = xyes
7822 then :
7823 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7826 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7827 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7828 then :
7829 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7832 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7833 if test "x$ac_cv_header_arpa_inet_h" = xyes
7834 then :
7835 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_asm_types_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_asm_user_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_elf_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_float_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_gettext_po_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_libproc_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_link_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_linux_filter_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_input_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_major_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_param_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_serial_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_types_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_lwp_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_mach_mach_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_machine_cpu_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_mntent_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_netdb_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_netinet_in_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_port_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_pthread_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_pwd_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_sched_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_scsi_sg_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_stdint_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_sys_attr_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_sys_auxv_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_sys_cdio_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sys_epoll_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_event_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_extattr_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_filio_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_ipc_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_link_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_modem_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_mtio_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_param_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_prctl_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_queue_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_random_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_resource_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_shm_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_signal_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_sockio_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_strtio_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_syscall_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_times_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_uio_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_user_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_utsname_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_vnode_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_xattr_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_syscall_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_utime_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8291 then :
8293 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8297 if test $ac_cv_header_sys_mkdev_h = no; then
8298 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8300 then :
8302 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8308 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8309 if test ${ac_cv_header_stat_broken+y}
8310 then :
8311 printf %s "(cached) " >&6
8312 else $as_nop
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 #include <sys/types.h>
8316 #include <sys/stat.h>
8318 #if defined S_ISBLK && defined S_IFDIR
8319 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8320 #endif
8322 #if defined S_ISBLK && defined S_IFCHR
8323 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8324 #endif
8326 #if defined S_ISLNK && defined S_IFREG
8327 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8328 #endif
8330 #if defined S_ISSOCK && defined S_IFREG
8331 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8332 #endif
8334 _ACEOF
8335 if ac_fn_c_try_compile "$LINENO"
8336 then :
8337 ac_cv_header_stat_broken=no
8338 else $as_nop
8339 ac_cv_header_stat_broken=yes
8341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8344 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8345 if test $ac_cv_header_stat_broken = yes; then
8347 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8353 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8354 #ifdef HAVE_SYS_PARAM_H
8355 # include <sys/param.h>
8356 #endif
8358 if test "x$ac_cv_header_sys_conf_h" = xyes
8359 then :
8360 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8363 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8364 #ifdef HAVE_SYS_PARAM_H
8365 # include <sys/param.h>
8366 #endif
8368 if test "x$ac_cv_header_sys_mount_h" = xyes
8369 then :
8370 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8373 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8374 #ifdef HAVE_SYS_PARAM_H
8375 # include <sys/param.h>
8376 #endif
8378 if test "x$ac_cv_header_sys_statfs_h" = xyes
8379 then :
8380 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8383 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8384 #ifdef HAVE_SYS_PARAM_H
8385 # include <sys/param.h>
8386 #endif
8388 if test "x$ac_cv_header_sys_user_h" = xyes
8389 then :
8390 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8393 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8394 #ifdef HAVE_SYS_PARAM_H
8395 # include <sys/param.h>
8396 #endif
8398 if test "x$ac_cv_header_sys_vfs_h" = xyes
8399 then :
8400 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8405 saved_sysctl_h_CFLAGS=$CFLAGS
8406 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8407 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8408 #ifdef HAVE_SYS_PARAM_H
8409 # include <sys/param.h>
8410 #endif
8412 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8413 then :
8414 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8418 CFLAGS=$saved_sysctl_h_CFLAGS
8420 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8421 #include <sys/socket.h>
8422 #ifdef HAVE_SYS_SOCKETVAR_H
8423 # include <sys/socketvar.h>
8424 #endif
8425 #ifdef HAVE_NET_ROUTE_H
8426 # include <net/route.h>
8427 #endif
8428 #ifdef HAVE_NETINET_IN_H
8429 # include <netinet/in.h>
8430 #endif
8431 #ifdef HAVE_NETINET_IN_SYSTM_H
8432 # include <netinet/in_systm.h>
8433 #endif
8434 #ifdef HAVE_NET_IF_H
8435 # include <net/if.h>
8436 #endif
8437 #ifdef HAVE_NETINET_IP_H
8438 # include <netinet/ip.h>
8439 #endif
8441 if test "x$ac_cv_header_netinet_ip_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8447 #include <sys/socket.h>
8448 #ifdef HAVE_SYS_SOCKETVAR_H
8449 # include <sys/socketvar.h>
8450 #endif
8451 #ifdef HAVE_NET_ROUTE_H
8452 # include <net/route.h>
8453 #endif
8454 #ifdef HAVE_NETINET_IN_H
8455 # include <netinet/in.h>
8456 #endif
8457 #ifdef HAVE_NETINET_IN_SYSTM_H
8458 # include <netinet/in_systm.h>
8459 #endif
8460 #ifdef HAVE_NET_IF_H
8461 # include <net/if.h>
8462 #endif
8463 #ifdef HAVE_NETINET_IP_H
8464 # include <netinet/ip.h>
8465 #endif
8467 if test "x$ac_cv_header_net_if_h" = xyes
8468 then :
8469 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8472 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8473 #include <sys/socket.h>
8474 #ifdef HAVE_SYS_SOCKETVAR_H
8475 # include <sys/socketvar.h>
8476 #endif
8477 #ifdef HAVE_NET_ROUTE_H
8478 # include <net/route.h>
8479 #endif
8480 #ifdef HAVE_NETINET_IN_H
8481 # include <netinet/in.h>
8482 #endif
8483 #ifdef HAVE_NETINET_IN_SYSTM_H
8484 # include <netinet/in_systm.h>
8485 #endif
8486 #ifdef HAVE_NET_IF_H
8487 # include <net/if.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IP_H
8490 # include <netinet/ip.h>
8491 #endif
8493 if test "x$ac_cv_header_net_if_arp_h" = xyes
8494 then :
8495 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8498 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8499 #include <sys/socket.h>
8500 #ifdef HAVE_SYS_SOCKETVAR_H
8501 # include <sys/socketvar.h>
8502 #endif
8503 #ifdef HAVE_NET_ROUTE_H
8504 # include <net/route.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IN_H
8507 # include <netinet/in.h>
8508 #endif
8509 #ifdef HAVE_NETINET_IN_SYSTM_H
8510 # include <netinet/in_systm.h>
8511 #endif
8512 #ifdef HAVE_NET_IF_H
8513 # include <net/if.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IP_H
8516 # include <netinet/ip.h>
8517 #endif
8519 if test "x$ac_cv_header_net_if_dl_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8524 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8525 #include <sys/socket.h>
8526 #ifdef HAVE_SYS_SOCKETVAR_H
8527 # include <sys/socketvar.h>
8528 #endif
8529 #ifdef HAVE_NET_ROUTE_H
8530 # include <net/route.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_H
8533 # include <netinet/in.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IN_SYSTM_H
8536 # include <netinet/in_systm.h>
8537 #endif
8538 #ifdef HAVE_NET_IF_H
8539 # include <net/if.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IP_H
8542 # include <netinet/ip.h>
8543 #endif
8545 if test "x$ac_cv_header_net_if_types_h" = xyes
8546 then :
8547 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8551 #include <sys/socket.h>
8552 #ifdef HAVE_SYS_SOCKETVAR_H
8553 # include <sys/socketvar.h>
8554 #endif
8555 #ifdef HAVE_NET_ROUTE_H
8556 # include <net/route.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_H
8559 # include <netinet/in.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IN_SYSTM_H
8562 # include <netinet/in_systm.h>
8563 #endif
8564 #ifdef HAVE_NET_IF_H
8565 # include <net/if.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IP_H
8568 # include <netinet/ip.h>
8569 #endif
8571 if test "x$ac_cv_header_net_route_h" = xyes
8572 then :
8573 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8576 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8577 #include <sys/socket.h>
8578 #ifdef HAVE_SYS_SOCKETVAR_H
8579 # include <sys/socketvar.h>
8580 #endif
8581 #ifdef HAVE_NET_ROUTE_H
8582 # include <net/route.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_H
8585 # include <netinet/in.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IN_SYSTM_H
8588 # include <netinet/in_systm.h>
8589 #endif
8590 #ifdef HAVE_NET_IF_H
8591 # include <net/if.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IP_H
8594 # include <netinet/ip.h>
8595 #endif
8597 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8603 #include <sys/socket.h>
8604 #ifdef HAVE_SYS_SOCKETVAR_H
8605 # include <sys/socketvar.h>
8606 #endif
8607 #ifdef HAVE_NET_ROUTE_H
8608 # include <net/route.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_H
8611 # include <netinet/in.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IN_SYSTM_H
8614 # include <netinet/in_systm.h>
8615 #endif
8616 #ifdef HAVE_NET_IF_H
8617 # include <net/if.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IP_H
8620 # include <netinet/ip.h>
8621 #endif
8623 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8624 then :
8625 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8629 #include <sys/socket.h>
8630 #ifdef HAVE_SYS_SOCKETVAR_H
8631 # include <sys/socketvar.h>
8632 #endif
8633 #ifdef HAVE_NET_ROUTE_H
8634 # include <net/route.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_H
8637 # include <netinet/in.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IN_SYSTM_H
8640 # include <netinet/in_systm.h>
8641 #endif
8642 #ifdef HAVE_NET_IF_H
8643 # include <net/if.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IP_H
8646 # include <netinet/ip.h>
8647 #endif
8649 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8650 then :
8651 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8654 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8655 #include <sys/socket.h>
8656 #ifdef HAVE_SYS_SOCKETVAR_H
8657 # include <sys/socketvar.h>
8658 #endif
8659 #ifdef HAVE_NET_ROUTE_H
8660 # include <net/route.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_H
8663 # include <netinet/in.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IN_SYSTM_H
8666 # include <netinet/in_systm.h>
8667 #endif
8668 #ifdef HAVE_NET_IF_H
8669 # include <net/if.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IP_H
8672 # include <netinet/ip.h>
8673 #endif
8675 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8681 #include <sys/socket.h>
8682 #ifdef HAVE_SYS_SOCKETVAR_H
8683 # include <sys/socketvar.h>
8684 #endif
8685 #ifdef HAVE_NET_ROUTE_H
8686 # include <net/route.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_H
8689 # include <netinet/in.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IN_SYSTM_H
8692 # include <netinet/in_systm.h>
8693 #endif
8694 #ifdef HAVE_NET_IF_H
8695 # include <net/if.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IP_H
8698 # include <netinet/ip.h>
8699 #endif
8701 if test "x$ac_cv_header_netinet_udp_h" = xyes
8702 then :
8703 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8706 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8707 #include <sys/socket.h>
8708 #ifdef HAVE_SYS_SOCKETVAR_H
8709 # include <sys/socketvar.h>
8710 #endif
8711 #ifdef HAVE_NET_ROUTE_H
8712 # include <net/route.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_H
8715 # include <netinet/in.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IN_SYSTM_H
8718 # include <netinet/in_systm.h>
8719 #endif
8720 #ifdef HAVE_NET_IF_H
8721 # include <net/if.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IP_H
8724 # include <netinet/ip.h>
8725 #endif
8727 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8728 then :
8729 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8732 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8733 #include <sys/socket.h>
8734 #ifdef HAVE_SYS_SOCKETVAR_H
8735 # include <sys/socketvar.h>
8736 #endif
8737 #ifdef HAVE_NET_ROUTE_H
8738 # include <net/route.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_H
8741 # include <netinet/in.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IN_SYSTM_H
8744 # include <netinet/in_systm.h>
8745 #endif
8746 #ifdef HAVE_NET_IF_H
8747 # include <net/if.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IP_H
8750 # include <netinet/ip.h>
8751 #endif
8753 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8759 #include <sys/socket.h>
8760 #ifdef HAVE_SYS_SOCKETVAR_H
8761 # include <sys/socketvar.h>
8762 #endif
8763 #ifdef HAVE_NET_ROUTE_H
8764 # include <net/route.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_H
8767 # include <netinet/in.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IN_SYSTM_H
8770 # include <netinet/in_systm.h>
8771 #endif
8772 #ifdef HAVE_NET_IF_H
8773 # include <net/if.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IP_H
8776 # include <netinet/ip.h>
8777 #endif
8779 if test "x$ac_cv_header_sys_un_h" = xyes
8780 then :
8781 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8786 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8787 #include <sys/socket.h>
8788 #ifdef HAVE_SYS_SOCKETVAR_H
8789 # include <sys/socketvar.h>
8790 #endif
8791 #ifdef HAVE_NETINET_IN_H
8792 # include <netinet/in.h>
8793 #endif
8794 #ifdef HAVE_NETINET_IN_SYSTM_H
8795 # include <netinet/in_systm.h>
8796 #endif
8797 #ifdef HAVE_NETINET_IP_H
8798 # include <netinet/ip.h>
8799 #endif
8800 #ifdef HAVE_NETINET_IP_VAR_H
8801 # include <netinet/ip_var.h>
8802 #endif
8803 #ifdef HAVE_NETINET_IP_ICMP_H
8804 # include <netinet/ip_icmp.h>
8805 #endif
8806 #ifdef HAVE_NETINET_UDP_H
8807 # include <netinet/udp.h>
8808 #endif
8809 #ifdef HAVE_NETINET_TCP_H
8810 # include <netinet/tcp.h>
8811 #endif
8813 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8814 then :
8815 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8818 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8819 #include <sys/socket.h>
8820 #ifdef HAVE_SYS_SOCKETVAR_H
8821 # include <sys/socketvar.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IN_H
8824 # include <netinet/in.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IN_SYSTM_H
8827 # include <netinet/in_systm.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IP_H
8830 # include <netinet/ip.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IP_VAR_H
8833 # include <netinet/ip_var.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IP_ICMP_H
8836 # include <netinet/ip_icmp.h>
8837 #endif
8838 #ifdef HAVE_NETINET_UDP_H
8839 # include <netinet/udp.h>
8840 #endif
8841 #ifdef HAVE_NETINET_TCP_H
8842 # include <netinet/tcp.h>
8843 #endif
8845 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8846 then :
8847 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8850 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8851 #include <sys/socket.h>
8852 #ifdef HAVE_SYS_SOCKETVAR_H
8853 # include <sys/socketvar.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IN_H
8856 # include <netinet/in.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IN_SYSTM_H
8859 # include <netinet/in_systm.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_H
8862 # include <netinet/ip.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_VAR_H
8865 # include <netinet/ip_var.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_ICMP_H
8868 # include <netinet/ip_icmp.h>
8869 #endif
8870 #ifdef HAVE_NETINET_UDP_H
8871 # include <netinet/udp.h>
8872 #endif
8873 #ifdef HAVE_NETINET_TCP_H
8874 # include <netinet/tcp.h>
8875 #endif
8877 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8878 then :
8879 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8882 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef HAVE_SYS_SOCKETVAR_H
8885 # include <sys/socketvar.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IN_H
8888 # include <netinet/in.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IN_SYSTM_H
8891 # include <netinet/in_systm.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_H
8894 # include <netinet/ip.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_VAR_H
8897 # include <netinet/ip_var.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_ICMP_H
8900 # include <netinet/ip_icmp.h>
8901 #endif
8902 #ifdef HAVE_NETINET_UDP_H
8903 # include <netinet/udp.h>
8904 #endif
8905 #ifdef HAVE_NETINET_TCP_H
8906 # include <netinet/tcp.h>
8907 #endif
8909 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8910 then :
8911 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8916 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8917 #include <sys/socket.h>
8918 #ifdef HAVE_ASM_TYPES_H
8919 # include <asm/types.h>
8920 #endif
8921 #ifdef HAVE_LINUX_TYPES_H
8922 # include <linux/types.h>
8923 #endif
8925 if test "x$ac_cv_header_linux_ipx_h" = xyes
8926 then :
8927 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8930 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8931 #include <sys/socket.h>
8932 #ifdef HAVE_ASM_TYPES_H
8933 # include <asm/types.h>
8934 #endif
8935 #ifdef HAVE_LINUX_TYPES_H
8936 # include <linux/types.h>
8937 #endif
8939 if test "x$ac_cv_header_linux_irda_h" = xyes
8940 then :
8941 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8944 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8945 #include <sys/socket.h>
8946 #ifdef HAVE_ASM_TYPES_H
8947 # include <asm/types.h>
8948 #endif
8949 #ifdef HAVE_LINUX_TYPES_H
8950 # include <linux/types.h>
8951 #endif
8953 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8954 then :
8955 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8960 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8961 #include <sys/socket.h>
8962 #ifdef HAVE_NETINET_IN_H
8963 # include <netinet/in.h>
8964 #endif
8965 #ifdef HAVE_ARPA_NAMESER_H
8966 # include <arpa/nameser.h>
8967 #endif
8969 if test "x$ac_cv_header_resolv_h" = xyes
8970 then :
8971 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8978 if test "x$ac_cv_header_ifaddrs_h" = xyes
8979 then :
8980 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8985 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8987 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8988 then :
8989 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8995 #ifdef HAVE_SYS_UCONTEXT_H
8996 #include <sys/ucontext.h>
8997 #endif
8999 if test "x$ac_cv_header_sys_thr_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9007 #include <pthread.h>
9008 #endif
9010 if test "x$ac_cv_header_pthread_np_h" = xyes
9011 then :
9012 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9018 #include <sys/types.h>
9019 #ifdef HAVE_ASM_TYPES_H
9020 #include <asm/types.h>
9021 #endif
9023 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9031 #include <sys/param.h>
9032 #endif
9033 #include <sys/socket.h>
9034 #ifdef HAVE_SYS_QUEUE_H
9035 #include <sys/queue.h>
9036 #endif
9038 if test "x$ac_cv_header_libprocstat_h" = xyes
9039 then :
9040 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9045 if test "x$ac_cv_header_sys_xattr_h" = xyes
9046 then
9047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9048 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9049 if test ${wine_cv_xattr_extra_args+y}
9050 then :
9051 printf %s "(cached) " >&6
9052 else $as_nop
9053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9054 /* end confdefs.h. */
9055 #include <sys/xattr.h>
9057 main (void)
9059 getxattr("", "", "", 0, 0, 0);
9061 return 0;
9063 _ACEOF
9064 if ac_fn_c_try_compile "$LINENO"
9065 then :
9066 wine_cv_xattr_extra_args=yes
9067 else $as_nop
9068 wine_cv_xattr_extra_args=no
9070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9073 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9074 test $wine_cv_xattr_extra_args != yes ||
9075 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9080 DLLFLAGS=""
9082 LDDLLFLAGS=""
9084 LDEXECFLAGS=""
9086 EXTRACFLAGS=""
9088 UNIXDLLFLAGS="-fPIC"
9090 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9092 TOP_INSTALL_LIB=""
9094 TOP_INSTALL_DEV=""
9096 WINELOADER_LDFLAGS=""
9098 WINEPRELOADER_LDFLAGS=""
9100 LIBEXT="so"
9101 # Extract the first word of "ldd", so it can be a program name with args.
9102 set dummy ldd; ac_word=$2
9103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9104 printf %s "checking for $ac_word... " >&6; }
9105 if test ${ac_cv_path_LDD+y}
9106 then :
9107 printf %s "(cached) " >&6
9108 else $as_nop
9109 case $LDD in
9110 [\\/]* | ?:[\\/]*)
9111 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9115 as_dummy="/sbin:/usr/sbin:$PATH"
9116 for as_dir in $as_dummy
9118 IFS=$as_save_IFS
9119 case $as_dir in #(((
9120 '') as_dir=./ ;;
9121 */) ;;
9122 *) as_dir=$as_dir/ ;;
9123 esac
9124 for ac_exec_ext in '' $ac_executable_extensions; do
9125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9126 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9128 break 2
9130 done
9131 done
9132 IFS=$as_save_IFS
9134 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9136 esac
9138 LDD=$ac_cv_path_LDD
9139 if test -n "$LDD"; then
9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9141 printf "%s\n" "$LDD" >&6; }
9142 else
9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9144 printf "%s\n" "no" >&6; }
9148 if test -n "$ac_tool_prefix"; then
9149 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9150 set dummy ${ac_tool_prefix}otool; ac_word=$2
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9152 printf %s "checking for $ac_word... " >&6; }
9153 if test ${ac_cv_prog_OTOOL+y}
9154 then :
9155 printf %s "(cached) " >&6
9156 else $as_nop
9157 if test -n "$OTOOL"; then
9158 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9159 else
9160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9161 for as_dir in $PATH
9163 IFS=$as_save_IFS
9164 case $as_dir in #(((
9165 '') as_dir=./ ;;
9166 */) ;;
9167 *) as_dir=$as_dir/ ;;
9168 esac
9169 for ac_exec_ext in '' $ac_executable_extensions; do
9170 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9171 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9173 break 2
9175 done
9176 done
9177 IFS=$as_save_IFS
9181 OTOOL=$ac_cv_prog_OTOOL
9182 if test -n "$OTOOL"; then
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9184 printf "%s\n" "$OTOOL" >&6; }
9185 else
9186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9187 printf "%s\n" "no" >&6; }
9192 if test -z "$ac_cv_prog_OTOOL"; then
9193 ac_ct_OTOOL=$OTOOL
9194 # Extract the first word of "otool", so it can be a program name with args.
9195 set dummy otool; ac_word=$2
9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9197 printf %s "checking for $ac_word... " >&6; }
9198 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9199 then :
9200 printf %s "(cached) " >&6
9201 else $as_nop
9202 if test -n "$ac_ct_OTOOL"; then
9203 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9204 else
9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9206 for as_dir in $PATH
9208 IFS=$as_save_IFS
9209 case $as_dir in #(((
9210 '') as_dir=./ ;;
9211 */) ;;
9212 *) as_dir=$as_dir/ ;;
9213 esac
9214 for ac_exec_ext in '' $ac_executable_extensions; do
9215 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9216 ac_cv_prog_ac_ct_OTOOL="otool"
9217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9218 break 2
9220 done
9221 done
9222 IFS=$as_save_IFS
9226 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9227 if test -n "$ac_ct_OTOOL"; then
9228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9229 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9230 else
9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9232 printf "%s\n" "no" >&6; }
9235 if test "x$ac_ct_OTOOL" = x; then
9236 OTOOL="otool"
9237 else
9238 case $cross_compiling:$ac_tool_warned in
9239 yes:)
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9241 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9242 ac_tool_warned=yes ;;
9243 esac
9244 OTOOL=$ac_ct_OTOOL
9246 else
9247 OTOOL="$ac_cv_prog_OTOOL"
9250 if test -n "$ac_tool_prefix"; then
9251 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9252 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9254 printf %s "checking for $ac_word... " >&6; }
9255 if test ${ac_cv_prog_READELF+y}
9256 then :
9257 printf %s "(cached) " >&6
9258 else $as_nop
9259 if test -n "$READELF"; then
9260 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9261 else
9262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9263 for as_dir in $PATH
9265 IFS=$as_save_IFS
9266 case $as_dir in #(((
9267 '') as_dir=./ ;;
9268 */) ;;
9269 *) as_dir=$as_dir/ ;;
9270 esac
9271 for ac_exec_ext in '' $ac_executable_extensions; do
9272 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9273 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9275 break 2
9277 done
9278 done
9279 IFS=$as_save_IFS
9283 READELF=$ac_cv_prog_READELF
9284 if test -n "$READELF"; then
9285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9286 printf "%s\n" "$READELF" >&6; }
9287 else
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9289 printf "%s\n" "no" >&6; }
9294 if test -z "$ac_cv_prog_READELF"; then
9295 ac_ct_READELF=$READELF
9296 # Extract the first word of "readelf", so it can be a program name with args.
9297 set dummy readelf; ac_word=$2
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9299 printf %s "checking for $ac_word... " >&6; }
9300 if test ${ac_cv_prog_ac_ct_READELF+y}
9301 then :
9302 printf %s "(cached) " >&6
9303 else $as_nop
9304 if test -n "$ac_ct_READELF"; then
9305 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9306 else
9307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9308 for as_dir in $PATH
9310 IFS=$as_save_IFS
9311 case $as_dir in #(((
9312 '') as_dir=./ ;;
9313 */) ;;
9314 *) as_dir=$as_dir/ ;;
9315 esac
9316 for ac_exec_ext in '' $ac_executable_extensions; do
9317 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9318 ac_cv_prog_ac_ct_READELF="readelf"
9319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9320 break 2
9322 done
9323 done
9324 IFS=$as_save_IFS
9328 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9329 if test -n "$ac_ct_READELF"; then
9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9331 printf "%s\n" "$ac_ct_READELF" >&6; }
9332 else
9333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9334 printf "%s\n" "no" >&6; }
9337 if test "x$ac_ct_READELF" = x; then
9338 READELF="true"
9339 else
9340 case $cross_compiling:$ac_tool_warned in
9341 yes:)
9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9343 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9344 ac_tool_warned=yes ;;
9345 esac
9346 READELF=$ac_ct_READELF
9348 else
9349 READELF="$ac_cv_prog_READELF"
9352 wine_rules="all:"
9353 SUBDIRS=""
9355 DISABLED_SUBDIRS=""
9357 CONFIGURE_TARGETS=""
9360 wine_fn_config_makefile ()
9362 as_fn_append SUBDIRS " \\$as_nl $1"
9363 eval enable=\$$2
9364 case "$enable" in
9365 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9366 *aarch64*|*arm*|*i386*|*x86_64*)
9367 if test -n "$PE_ARCHS"
9368 then
9369 for i in $PE_ARCHS
9371 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9372 done
9373 else
9374 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9375 fi;;
9376 esac
9379 wine_fn_config_symlink ()
9381 ac_links=$@
9382 as_fn_append wine_rules "
9383 $ac_links:
9384 @./config.status \$@"
9385 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9388 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9390 case $host_os in
9391 cygwin*|mingw32*)
9392 LIBEXT="dll"
9393 EXTRACFLAGS="-D__WINE_PE_BUILD"
9394 case $host_cpu in
9395 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9396 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9397 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9398 then :
9399 printf %s "(cached) " >&6
9400 else $as_nop
9401 ac_wine_try_cflags_saved=$CFLAGS
9402 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9405 int main(int argc, char **argv) { return 0; }
9406 _ACEOF
9407 if ac_fn_c_try_link "$LINENO"
9408 then :
9409 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9410 else $as_nop
9411 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9414 conftest$ac_exeext conftest.$ac_ext
9415 CFLAGS=$ac_wine_try_cflags_saved
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9418 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9419 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9420 then :
9421 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9422 fi ;;
9423 esac
9424 enable_loader=${enable_loader:-no}
9425 enable_server=${enable_server:-no}
9426 with_x=${with_x:-no}
9427 with_pthread=${with_pthread:-no}
9430 darwin*|macosx*)
9431 LIBEXT="dylib"
9432 DLLFLAGS="$DLLFLAGS -fPIC"
9433 LDDLLFLAGS="-fPIC"
9434 enable_winemac_drv=${enable_winemac_drv:-yes}
9435 CARBON_LIBS="-framework Carbon"
9437 COREFOUNDATION_LIBS="-framework CoreFoundation"
9439 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9441 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9443 METAL_LIBS="-framework Metal"
9445 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9447 CORESERVICES_LIBS="-framework CoreServices"
9449 APPKIT_LIBS="-framework AppKit"
9451 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9453 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9456 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9458 wine_can_build_preloader=yes
9459 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"
9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9461 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9462 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9463 then :
9464 printf %s "(cached) " >&6
9465 else $as_nop
9466 ac_wine_try_cflags_saved=$CFLAGS
9467 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9470 int main(int argc, char **argv) { return 0; }
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"
9473 then :
9474 ac_cv_cflags__Wl__no_new_main__e__main=yes
9475 else $as_nop
9476 ac_cv_cflags__Wl__no_new_main__e__main=no
9478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9479 conftest$ac_exeext conftest.$ac_ext
9480 CFLAGS=$ac_wine_try_cflags_saved
9482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9483 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9484 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9485 then :
9486 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9487 { 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
9488 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9489 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9490 then :
9491 printf %s "(cached) " >&6
9492 else $as_nop
9493 ac_wine_try_cflags_saved=$CFLAGS
9494 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9497 int main(int argc, char **argv) { return 0; }
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"
9500 then :
9501 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9502 else $as_nop
9503 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9506 conftest$ac_exeext conftest.$ac_ext
9507 CFLAGS=$ac_wine_try_cflags_saved
9509 { 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
9510 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9511 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9512 then :
9513 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9514 else $as_nop
9515 wine_can_build_preloader=no
9517 else $as_nop
9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9519 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9520 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9521 then :
9522 printf %s "(cached) " >&6
9523 else $as_nop
9524 ac_wine_try_cflags_saved=$CFLAGS
9525 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9528 int main(int argc, char **argv) { return 0; }
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"
9531 then :
9532 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9533 else $as_nop
9534 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9537 conftest$ac_exeext conftest.$ac_ext
9538 CFLAGS=$ac_wine_try_cflags_saved
9540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9541 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9542 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9543 then :
9544 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9545 else $as_nop
9546 wine_can_build_preloader=no
9549 if test "$wine_can_build_preloader" = "yes"
9550 then
9551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9552 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9553 if test ${ac_cv_cflags__Wl__no_pie+y}
9554 then :
9555 printf %s "(cached) " >&6
9556 else $as_nop
9557 ac_wine_try_cflags_saved=$CFLAGS
9558 CFLAGS="$CFLAGS -Wl,-no_pie"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9561 int main(int argc, char **argv) { return 0; }
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"
9564 then :
9565 ac_cv_cflags__Wl__no_pie=yes
9566 else $as_nop
9567 ac_cv_cflags__Wl__no_pie=no
9569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9570 conftest$ac_exeext conftest.$ac_ext
9571 CFLAGS=$ac_wine_try_cflags_saved
9573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9574 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9575 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9576 then :
9577 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9579 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9580 else
9581 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9584 if test "x$with_coreaudio" != "xno";
9585 then
9586 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9588 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9590 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9591 then
9592 OPENCL_LIBS="-framework OpenCL"
9594 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9598 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9599 ac_ext=m
9600 ac_cpp='$OBJCPP $CPPFLAGS'
9601 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9602 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9603 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9605 ac_ext=m
9606 ac_cpp='$OBJCPP $CPPFLAGS'
9607 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9610 if test -n "$ac_tool_prefix"; then
9611 for ac_prog in gcc objcc objc cc CC clang
9613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9616 printf %s "checking for $ac_word... " >&6; }
9617 if test ${ac_cv_prog_OBJC+y}
9618 then :
9619 printf %s "(cached) " >&6
9620 else $as_nop
9621 if test -n "$OBJC"; then
9622 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9623 else
9624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9625 for as_dir in $PATH
9627 IFS=$as_save_IFS
9628 case $as_dir in #(((
9629 '') as_dir=./ ;;
9630 */) ;;
9631 *) as_dir=$as_dir/ ;;
9632 esac
9633 for ac_exec_ext in '' $ac_executable_extensions; do
9634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9635 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9637 break 2
9639 done
9640 done
9641 IFS=$as_save_IFS
9645 OBJC=$ac_cv_prog_OBJC
9646 if test -n "$OBJC"; then
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9648 printf "%s\n" "$OBJC" >&6; }
9649 else
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9651 printf "%s\n" "no" >&6; }
9655 test -n "$OBJC" && break
9656 done
9658 if test -z "$OBJC"; then
9659 ac_ct_OBJC=$OBJC
9660 for ac_prog in gcc objcc objc cc CC clang
9662 # Extract the first word of "$ac_prog", so it can be a program name with args.
9663 set dummy $ac_prog; ac_word=$2
9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9665 printf %s "checking for $ac_word... " >&6; }
9666 if test ${ac_cv_prog_ac_ct_OBJC+y}
9667 then :
9668 printf %s "(cached) " >&6
9669 else $as_nop
9670 if test -n "$ac_ct_OBJC"; then
9671 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9672 else
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9674 for as_dir in $PATH
9676 IFS=$as_save_IFS
9677 case $as_dir in #(((
9678 '') as_dir=./ ;;
9679 */) ;;
9680 *) as_dir=$as_dir/ ;;
9681 esac
9682 for ac_exec_ext in '' $ac_executable_extensions; do
9683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9684 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9686 break 2
9688 done
9689 done
9690 IFS=$as_save_IFS
9694 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9695 if test -n "$ac_ct_OBJC"; then
9696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9697 printf "%s\n" "$ac_ct_OBJC" >&6; }
9698 else
9699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9700 printf "%s\n" "no" >&6; }
9704 test -n "$ac_ct_OBJC" && break
9705 done
9707 if test "x$ac_ct_OBJC" = x; then
9708 OBJC="gcc"
9709 else
9710 case $cross_compiling:$ac_tool_warned in
9711 yes:)
9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9713 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9714 ac_tool_warned=yes ;;
9715 esac
9716 OBJC=$ac_ct_OBJC
9720 # Provide some information about the compiler.
9721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9722 set X $ac_compile
9723 ac_compiler=$2
9724 for ac_option in --version -v -V -qversion; do
9725 { { ac_try="$ac_compiler $ac_option >&5"
9726 case "(($ac_try" in
9727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9728 *) ac_try_echo=$ac_try;;
9729 esac
9730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9731 printf "%s\n" "$ac_try_echo"; } >&5
9732 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9733 ac_status=$?
9734 if test -s conftest.err; then
9735 sed '10a\
9736 ... rest of stderr output deleted ...
9737 10q' conftest.err >conftest.er1
9738 cat conftest.er1 >&5
9740 rm -f conftest.er1 conftest.err
9741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9742 test $ac_status = 0; }
9743 done
9745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9746 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9747 if test ${ac_cv_objc_compiler_gnu+y}
9748 then :
9749 printf %s "(cached) " >&6
9750 else $as_nop
9751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9752 /* end confdefs.h. */
9755 main (void)
9757 #ifndef __GNUC__
9758 choke me
9759 #endif
9762 return 0;
9764 _ACEOF
9765 if ac_fn_objc_try_compile "$LINENO"
9766 then :
9767 ac_compiler_gnu=yes
9768 else $as_nop
9769 ac_compiler_gnu=no
9771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9772 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9776 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9777 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9779 if test $ac_compiler_gnu = yes; then
9780 GOBJC=yes
9781 else
9782 GOBJC=
9784 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9785 ac_save_OBJCFLAGS=$OBJCFLAGS
9786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9787 printf %s "checking whether $OBJC accepts -g... " >&6; }
9788 if test ${ac_cv_prog_objc_g+y}
9789 then :
9790 printf %s "(cached) " >&6
9791 else $as_nop
9792 ac_save_objc_werror_flag=$ac_objc_werror_flag
9793 ac_objc_werror_flag=yes
9794 ac_cv_prog_objc_g=no
9795 OBJCFLAGS="-g"
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9800 main (void)
9804 return 0;
9806 _ACEOF
9807 if ac_fn_objc_try_compile "$LINENO"
9808 then :
9809 ac_cv_prog_objc_g=yes
9810 else $as_nop
9811 OBJCFLAGS=""
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9816 main (void)
9820 return 0;
9822 _ACEOF
9823 if ac_fn_objc_try_compile "$LINENO"
9824 then :
9826 else $as_nop
9827 ac_objc_werror_flag=$ac_save_objc_werror_flag
9828 OBJCFLAGS="-g"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9833 main (void)
9837 return 0;
9839 _ACEOF
9840 if ac_fn_objc_try_compile "$LINENO"
9841 then :
9842 ac_cv_prog_objc_g=yes
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
9848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9849 ac_objc_werror_flag=$ac_save_objc_werror_flag
9851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9852 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9853 if test $ac_test_OBJCFLAGS; then
9854 OBJCFLAGS=$ac_save_OBJCFLAGS
9855 elif test $ac_cv_prog_objc_g = yes; then
9856 if test "$GOBJC" = yes; then
9857 OBJCFLAGS="-g -O2"
9858 else
9859 OBJCFLAGS="-g"
9861 else
9862 if test "$GOBJC" = yes; then
9863 OBJCFLAGS="-O2"
9864 else
9865 OBJCFLAGS=
9868 ac_ext=m
9869 ac_cpp='$OBJCPP $CPPFLAGS'
9870 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9871 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9872 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 #include <Metal/Metal.h>
9879 main (void)
9881 id<MTLDevice> device; device.registryID;
9883 return 0;
9885 _ACEOF
9886 if ac_fn_objc_try_compile "$LINENO"
9887 then :
9888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9889 printf "%s\n" "yes" >&6; }
9891 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9893 else $as_nop
9894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9895 printf "%s\n" "no" >&6; }
9897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9898 ac_ext=c
9899 ac_cpp='$CPP $CPPFLAGS'
9900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9905 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9906 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9908 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9910 WINELOADER_DEPENDS="wine_info.plist"
9912 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9915 linux-android*)
9917 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9919 DLLFLAGS="$DLLFLAGS -fPIC"
9920 LDDLLFLAGS="-fPIC"
9921 LDEXECFLAGS="-Wl,-pie"
9922 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9924 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9925 if test ${ac_cv_cflags__Wl__z_defs+y}
9926 then :
9927 printf %s "(cached) " >&6
9928 else $as_nop
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 CFLAGS="$CFLAGS -Wl,-z,defs"
9931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9933 int main(int argc, char **argv) { return 0; }
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"
9936 then :
9937 ac_cv_cflags__Wl__z_defs=yes
9938 else $as_nop
9939 ac_cv_cflags__Wl__z_defs=no
9941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9942 conftest$ac_exeext conftest.$ac_ext
9943 CFLAGS=$ac_wine_try_cflags_saved
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9946 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9947 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9948 then :
9949 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9952 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9953 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9954 then :
9955 printf %s "(cached) " >&6
9956 else $as_nop
9957 ac_wine_try_cflags_saved=$CFLAGS
9958 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int main(int argc, char **argv) { return 0; }
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"
9964 then :
9965 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9966 else $as_nop
9967 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9970 conftest$ac_exeext conftest.$ac_ext
9971 CFLAGS=$ac_wine_try_cflags_saved
9973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9974 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9975 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9976 then :
9977 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9979 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9982 printf %s "checking for -lEGL... " >&6; }
9983 if test ${ac_cv_lib_soname_EGL+y}
9984 then :
9985 printf %s "(cached) " >&6
9986 else $as_nop
9987 ac_check_soname_save_LIBS=$LIBS
9988 LIBS="-lEGL $LIBS"
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9992 /* Override any GCC internal prototype to avoid an error.
9993 Use char because int might match the return type of a GCC
9994 builtin and then its argument prototype would still apply. */
9995 char eglGetProcAddress ();
9997 main (void)
9999 return eglGetProcAddress ();
10001 return 0;
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"
10005 then :
10006 case "$LIBEXT" in
10007 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10008 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'` ;;
10009 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10010 if ${ac_cv_lib_soname_EGL:+false} :
10011 then :
10012 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10013 fi ;;
10014 esac
10015 else $as_nop
10016 ac_cv_lib_soname_EGL=
10018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10019 conftest$ac_exeext conftest.$ac_ext
10020 LIBS=$ac_check_soname_save_LIBS
10022 if ${ac_cv_lib_soname_EGL:+false} :
10023 then :
10024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10025 printf "%s\n" "not found" >&6; }
10027 else $as_nop
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10029 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10031 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10036 printf %s "checking for -lGLESv2... " >&6; }
10037 if test ${ac_cv_lib_soname_GLESv2+y}
10038 then :
10039 printf %s "(cached) " >&6
10040 else $as_nop
10041 ac_check_soname_save_LIBS=$LIBS
10042 LIBS="-lGLESv2 $LIBS"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10046 /* Override any GCC internal prototype to avoid an error.
10047 Use char because int might match the return type of a GCC
10048 builtin and then its argument prototype would still apply. */
10049 char glFlush ();
10051 main (void)
10053 return glFlush ();
10055 return 0;
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"
10059 then :
10060 case "$LIBEXT" in
10061 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10062 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'` ;;
10063 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10064 if ${ac_cv_lib_soname_GLESv2:+false} :
10065 then :
10066 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10067 fi ;;
10068 esac
10069 else $as_nop
10070 ac_cv_lib_soname_GLESv2=
10072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10073 conftest$ac_exeext conftest.$ac_ext
10074 LIBS=$ac_check_soname_save_LIBS
10076 if ${ac_cv_lib_soname_GLESv2:+false} :
10077 then :
10078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10079 printf "%s\n" "not found" >&6; }
10081 else $as_nop
10082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10083 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10085 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10090 if test "x$exec_prefix" = xNONE
10091 then
10092 case $host_cpu in
10093 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10094 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10095 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10096 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10097 esac
10103 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10105 test "$ac_cv_sys_file_offset_bits" = 64 &&
10106 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10108 case $host_cpu in
10109 *i[3456789]86*)
10110 DLLFLAGS="$DLLFLAGS -fno-PIC"
10111 LDDLLFLAGS="-fno-PIC"
10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10113 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10114 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10115 then :
10116 printf %s "(cached) " >&6
10117 else $as_nop
10118 ac_wine_try_cflags_saved=$CFLAGS
10119 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10122 int main(int argc, char **argv) { return 0; }
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"
10125 then :
10126 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10127 else $as_nop
10128 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10135 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10136 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10137 then :
10138 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10142 DLLFLAGS="$DLLFLAGS -fPIC"
10143 LDDLLFLAGS="-fPIC" ;;
10144 esac
10145 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10147 echo '{ global: *; };' >conftest.map
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10149 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10150 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10151 then :
10152 printf %s "(cached) " >&6
10153 else $as_nop
10154 ac_wine_try_cflags_saved=$CFLAGS
10155 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int main(int argc, char **argv) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"
10161 then :
10162 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10163 else $as_nop
10164 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10167 conftest$ac_exeext conftest.$ac_ext
10168 CFLAGS=$ac_wine_try_cflags_saved
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10171 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10172 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10173 then :
10174 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10176 rm -f conftest.map
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10179 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10180 if test ${ac_cv_cflags__Wl__z_defs+y}
10181 then :
10182 printf %s "(cached) " >&6
10183 else $as_nop
10184 ac_wine_try_cflags_saved=$CFLAGS
10185 CFLAGS="$CFLAGS -Wl,-z,defs"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int main(int argc, char **argv) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"
10191 then :
10192 ac_cv_cflags__Wl__z_defs=yes
10193 else $as_nop
10194 ac_cv_cflags__Wl__z_defs=no
10196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10197 conftest$ac_exeext conftest.$ac_ext
10198 CFLAGS=$ac_wine_try_cflags_saved
10200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10201 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10202 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10203 then :
10204 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10207 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10208 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10209 then :
10210 printf %s "(cached) " >&6
10211 else $as_nop
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int main(int argc, char **argv) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"
10219 then :
10220 ac_cv_cflags__Wl___export_dynamic=yes
10221 else $as_nop
10222 ac_cv_cflags__Wl___export_dynamic=no
10224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10229 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10230 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10231 then :
10232 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10234 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10236 case $host_cpu in
10237 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10239 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10240 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10241 then :
10242 printf %s "(cached) " >&6
10243 else $as_nop
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"
10251 then :
10252 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10253 else $as_nop
10254 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10261 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10262 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10263 then :
10264 case $host_os in
10265 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10266 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10267 esac
10268 else $as_nop
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10270 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10271 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10272 then :
10273 printf %s "(cached) " >&6
10274 else $as_nop
10275 ac_wine_try_cflags_saved=$CFLAGS
10276 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10279 int main(int argc, char **argv) { return 0; }
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"
10282 then :
10283 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10284 else $as_nop
10285 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10288 conftest$ac_exeext conftest.$ac_ext
10289 CFLAGS=$ac_wine_try_cflags_saved
10291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10292 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10293 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10294 then :
10295 case $host_os in
10296 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10297 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10298 esac
10300 # Extract the first word of "prelink", so it can be a program name with args.
10301 set dummy prelink; ac_word=$2
10302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10303 printf %s "checking for $ac_word... " >&6; }
10304 if test ${ac_cv_path_PRELINK+y}
10305 then :
10306 printf %s "(cached) " >&6
10307 else $as_nop
10308 case $PRELINK in
10309 [\\/]* | ?:[\\/]*)
10310 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10314 for as_dir in /sbin /usr/sbin $PATH
10316 IFS=$as_save_IFS
10317 case $as_dir in #(((
10318 '') as_dir=./ ;;
10319 */) ;;
10320 *) as_dir=$as_dir/ ;;
10321 esac
10322 for ac_exec_ext in '' $ac_executable_extensions; do
10323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10324 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10326 break 2
10328 done
10329 done
10330 IFS=$as_save_IFS
10332 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10334 esac
10336 PRELINK=$ac_cv_path_PRELINK
10337 if test -n "$PRELINK"; then
10338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10339 printf "%s\n" "$PRELINK" >&6; }
10340 else
10341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10342 printf "%s\n" "no" >&6; }
10346 if test "x$PRELINK" = xfalse
10347 then
10348 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10352 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10353 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10354 then :
10355 printf %s "(cached) " >&6
10356 else $as_nop
10357 ac_wine_try_cflags_saved=$CFLAGS
10358 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 int main(int argc, char **argv) { return 0; }
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"
10364 then :
10365 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10366 else $as_nop
10367 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10374 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10375 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10376 then :
10377 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10380 esac
10381 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10383 LIBWINE_DEPENDS="wine.map"
10385 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10387 esac
10389 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10390 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10391 enable_winemac_drv=${enable_winemac_drv:-no}
10393 PE_ARCHS=""
10395 cross_archs=
10396 if test ${enable_archs+y}
10397 then :
10398 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10399 ac_save_IFS=$IFS
10400 IFS=' ,'
10401 set x $enable_archs
10402 IFS=$ac_save_IFS
10403 shift
10404 for arch
10406 case $arch in
10407 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10408 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10409 esac
10410 done
10411 else $as_nop
10412 if test "x$with_mingw" != xno
10413 then
10414 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10415 case "x$with_mingw" in
10416 x|xyes) ;;
10417 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10418 esac
10422 for wine_arch in $cross_archs
10424 if eval \${${wine_arch}_CC:+false} :
10425 then :
10426 case $wine_arch in
10427 aarch64)
10428 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10430 # Extract the first word of "$ac_prog", so it can be a program name with args.
10431 set dummy $ac_prog; ac_word=$2
10432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10433 printf %s "checking for $ac_word... " >&6; }
10434 if test ${ac_cv_prog_aarch64_CC+y}
10435 then :
10436 printf %s "(cached) " >&6
10437 else $as_nop
10438 if test -n "$aarch64_CC"; then
10439 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10440 else
10441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10442 for as_dir in $PATH
10444 IFS=$as_save_IFS
10445 case $as_dir in #(((
10446 '') as_dir=./ ;;
10447 */) ;;
10448 *) as_dir=$as_dir/ ;;
10449 esac
10450 for ac_exec_ext in '' $ac_executable_extensions; do
10451 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10452 ac_cv_prog_aarch64_CC="$ac_prog"
10453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10454 break 2
10456 done
10457 done
10458 IFS=$as_save_IFS
10462 aarch64_CC=$ac_cv_prog_aarch64_CC
10463 if test -n "$aarch64_CC"; then
10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10465 printf "%s\n" "$aarch64_CC" >&6; }
10466 else
10467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10468 printf "%s\n" "no" >&6; }
10472 test -n "$aarch64_CC" && break
10473 done
10474 test -n "$aarch64_CC" || aarch64_CC="false"
10477 arm)
10478 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10480 # Extract the first word of "$ac_prog", so it can be a program name with args.
10481 set dummy $ac_prog; ac_word=$2
10482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10483 printf %s "checking for $ac_word... " >&6; }
10484 if test ${ac_cv_prog_arm_CC+y}
10485 then :
10486 printf %s "(cached) " >&6
10487 else $as_nop
10488 if test -n "$arm_CC"; then
10489 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10490 else
10491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10492 for as_dir in $PATH
10494 IFS=$as_save_IFS
10495 case $as_dir in #(((
10496 '') as_dir=./ ;;
10497 */) ;;
10498 *) as_dir=$as_dir/ ;;
10499 esac
10500 for ac_exec_ext in '' $ac_executable_extensions; do
10501 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10502 ac_cv_prog_arm_CC="$ac_prog"
10503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10504 break 2
10506 done
10507 done
10508 IFS=$as_save_IFS
10512 arm_CC=$ac_cv_prog_arm_CC
10513 if test -n "$arm_CC"; then
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10515 printf "%s\n" "$arm_CC" >&6; }
10516 else
10517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10518 printf "%s\n" "no" >&6; }
10522 test -n "$arm_CC" && break
10523 done
10524 test -n "$arm_CC" || arm_CC="false"
10527 i386)
10528 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 "
10529 for ac_prog in $ac_prefix_list clang
10531 # Extract the first word of "$ac_prog", so it can be a program name with args.
10532 set dummy $ac_prog; ac_word=$2
10533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10534 printf %s "checking for $ac_word... " >&6; }
10535 if test ${ac_cv_prog_i386_CC+y}
10536 then :
10537 printf %s "(cached) " >&6
10538 else $as_nop
10539 if test -n "$i386_CC"; then
10540 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10541 else
10542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10543 for as_dir in $PATH
10545 IFS=$as_save_IFS
10546 case $as_dir in #(((
10547 '') as_dir=./ ;;
10548 */) ;;
10549 *) as_dir=$as_dir/ ;;
10550 esac
10551 for ac_exec_ext in '' $ac_executable_extensions; do
10552 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10553 ac_cv_prog_i386_CC="$ac_prog"
10554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10555 break 2
10557 done
10558 done
10559 IFS=$as_save_IFS
10563 i386_CC=$ac_cv_prog_i386_CC
10564 if test -n "$i386_CC"; then
10565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10566 printf "%s\n" "$i386_CC" >&6; }
10567 else
10568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10569 printf "%s\n" "no" >&6; }
10573 test -n "$i386_CC" && break
10574 done
10575 test -n "$i386_CC" || i386_CC="false"
10578 x86_64)
10579 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10580 for ac_prog in $ac_prefix_list clang
10582 # Extract the first word of "$ac_prog", so it can be a program name with args.
10583 set dummy $ac_prog; ac_word=$2
10584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10585 printf %s "checking for $ac_word... " >&6; }
10586 if test ${ac_cv_prog_x86_64_CC+y}
10587 then :
10588 printf %s "(cached) " >&6
10589 else $as_nop
10590 if test -n "$x86_64_CC"; then
10591 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10592 else
10593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10594 for as_dir in $PATH
10596 IFS=$as_save_IFS
10597 case $as_dir in #(((
10598 '') as_dir=./ ;;
10599 */) ;;
10600 *) as_dir=$as_dir/ ;;
10601 esac
10602 for ac_exec_ext in '' $ac_executable_extensions; do
10603 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10604 ac_cv_prog_x86_64_CC="$ac_prog"
10605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10606 break 2
10608 done
10609 done
10610 IFS=$as_save_IFS
10614 x86_64_CC=$ac_cv_prog_x86_64_CC
10615 if test -n "$x86_64_CC"; then
10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10617 printf "%s\n" "$x86_64_CC" >&6; }
10618 else
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10620 printf "%s\n" "no" >&6; }
10624 test -n "$x86_64_CC" && break
10625 done
10626 test -n "$x86_64_CC" || x86_64_CC="false"
10629 esac
10632 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10633 then :
10634 continue
10637 saved_CC=$CC
10638 saved_CFLAGS=$CFLAGS
10640 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10641 eval CC=\$${wine_arch}_CC
10642 eval ${wine_arch}_CFLAGS=\$CFLAGS
10643 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10644 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10646 target=""
10647 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10650 printf %s "checking whether $CC works... " >&6; }
10651 if eval test \${$as_wine_cv_crosscc+y}
10652 then :
10653 printf %s "(cached) " >&6
10654 else $as_nop
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10659 main (void)
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_compile "$LINENO"
10667 then :
10668 eval "$as_wine_cv_crosscc=yes"
10669 else $as_nop
10670 eval "$as_wine_cv_crosscc=no"
10672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10674 eval ac_res=\$$as_wine_cv_crosscc
10675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10676 printf "%s\n" "$ac_res" >&6; }
10677 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10678 then :
10679 set x $CC
10680 shift
10681 while test $# -ge 1
10683 case "$1" in
10684 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10685 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10686 esac
10687 shift
10688 done
10690 llvm_target=$target
10691 if test -z "$llvm_target"
10692 then
10693 case $wine_arch in
10694 i386) llvm_target=i686-windows ;;
10695 arm) llvm_target=armv7-windows ;;
10696 *) llvm_target=$wine_arch-windows ;;
10697 esac
10699 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10700 case $llvm_target in
10701 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10702 esac
10703 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10705 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10706 if eval test \${$as_ac_var+y}
10707 then :
10708 printf %s "(cached) " >&6
10709 else $as_nop
10710 ac_wine_try_cflags_saved=$CFLAGS
10711 ac_wine_try_cflags_saved_exeext=$ac_exeext
10712 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10713 ac_exeext=".exe"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10716 int __cdecl mainCRTStartup(void) { return 0; }
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"
10719 then :
10720 eval "$as_ac_var=yes"
10721 else $as_nop
10722 eval "$as_ac_var=no"
10724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10725 conftest$ac_exeext conftest.$ac_ext
10726 CFLAGS=$ac_wine_try_cflags_saved
10727 ac_exeext=$ac_wine_try_cflags_saved_exeext
10729 eval ac_res=\$$as_ac_var
10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10731 printf "%s\n" "$ac_res" >&6; }
10732 if eval test \"x\$"$as_ac_var"\" = x"yes"
10733 then :
10734 target=$llvm_target
10735 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10736 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10737 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10738 fi }
10739 eval "${wine_arch}_TARGET=\$target"
10743 if test -z "$target"
10744 then
10745 CC=$saved_CC
10746 CFLAGS=$saved_CFLAGS
10747 continue
10749 as_fn_append PE_ARCHS " $wine_arch"
10751 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10754 printf %s "checking for $CC option to enable C99 features... " >&6; }
10755 if eval test \${$as_wine_cv_crosscc_c99+y}
10756 then :
10757 printf %s "(cached) " >&6
10758 else $as_nop
10759 eval "$as_wine_cv_crosscc_c99=no"
10760 for arg in '' '-std=gnu99'
10762 test -z "$arg" || CC="$CC $arg"
10763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10765 $ac_c_conftest_c99_program
10766 _ACEOF
10767 if ac_fn_c_try_compile "$LINENO"
10768 then :
10769 eval "$as_wine_cv_crosscc_c99=\$arg"
10770 else $as_nop
10771 eval "$as_wine_cv_crosscc_c99=no"
10773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10774 eval CC=\$${wine_arch}_CC
10775 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10776 then :
10778 else $as_nop
10779 break
10781 done
10784 eval res=\$$as_wine_cv_crosscc_c99
10785 case "x$res" in
10786 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10787 printf "%s\n" "none needed" >&6; } ;;
10788 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10789 printf "%s\n" "unsupported" >&6; } ;;
10790 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10791 printf "%s\n" "$res" >&6; }
10792 as_fn_append ${wine_arch}_CC " $res" ;;
10793 esac
10796 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10798 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10799 if eval test \${$as_ac_var+y}
10800 then :
10801 printf %s "(cached) " >&6
10802 else $as_nop
10803 ac_wine_try_cflags_saved=$CFLAGS
10804 ac_wine_try_cflags_saved_exeext=$ac_exeext
10805 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10806 ac_exeext=".exe"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10809 int __cdecl mainCRTStartup(void) { return 0; }
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"
10812 then :
10813 eval "$as_ac_var=yes"
10814 else $as_nop
10815 eval "$as_ac_var=no"
10817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10818 conftest$ac_exeext conftest.$ac_ext
10819 CFLAGS=$ac_wine_try_cflags_saved
10820 ac_exeext=$ac_wine_try_cflags_saved_exeext
10822 eval ac_res=\$$as_ac_var
10823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10824 printf "%s\n" "$ac_res" >&6; }
10825 if eval test \"x\$"$as_ac_var"\" = x"yes"
10826 then :
10827 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10828 fi }
10829 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10831 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10832 if eval test \${$as_ac_var+y}
10833 then :
10834 printf %s "(cached) " >&6
10835 else $as_nop
10836 ac_wine_try_cflags_saved=$CFLAGS
10837 ac_wine_try_cflags_saved_exeext=$ac_exeext
10838 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10839 ac_exeext=".exe"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10842 int __cdecl mainCRTStartup(void) { return 0; }
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"
10845 then :
10846 eval "$as_ac_var=yes"
10847 else $as_nop
10848 eval "$as_ac_var=no"
10850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10851 conftest$ac_exeext conftest.$ac_ext
10852 CFLAGS=$ac_wine_try_cflags_saved
10853 ac_exeext=$ac_wine_try_cflags_saved_exeext
10855 eval ac_res=\$$as_ac_var
10856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10857 printf "%s\n" "$ac_res" >&6; }
10858 if eval test \"x\$"$as_ac_var"\" = x"yes"
10859 then :
10860 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10861 fi }
10862 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10864 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10865 if eval test \${$as_ac_var+y}
10866 then :
10867 printf %s "(cached) " >&6
10868 else $as_nop
10869 ac_wine_try_cflags_saved=$CFLAGS
10870 ac_wine_try_cflags_saved_exeext=$ac_exeext
10871 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10872 ac_exeext=".exe"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10875 int __cdecl mainCRTStartup(void) { return 0; }
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"
10878 then :
10879 eval "$as_ac_var=yes"
10880 else $as_nop
10881 eval "$as_ac_var=no"
10883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10884 conftest$ac_exeext conftest.$ac_ext
10885 CFLAGS=$ac_wine_try_cflags_saved
10886 ac_exeext=$ac_wine_try_cflags_saved_exeext
10888 eval ac_res=\$$as_ac_var
10889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10890 printf "%s\n" "$ac_res" >&6; }
10891 if eval test \"x\$"$as_ac_var"\" = x"yes"
10892 then :
10893 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10894 fi }
10895 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10897 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10898 if eval test \${$as_ac_var+y}
10899 then :
10900 printf %s "(cached) " >&6
10901 else $as_nop
10902 ac_wine_try_cflags_saved=$CFLAGS
10903 ac_wine_try_cflags_saved_exeext=$ac_exeext
10904 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10905 ac_exeext=".exe"
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10908 int __cdecl mainCRTStartup(void) { return 0; }
10909 _ACEOF
10910 if ac_fn_c_try_link "$LINENO"
10911 then :
10912 eval "$as_ac_var=yes"
10913 else $as_nop
10914 eval "$as_ac_var=no"
10916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10917 conftest$ac_exeext conftest.$ac_ext
10918 CFLAGS=$ac_wine_try_cflags_saved
10919 ac_exeext=$ac_wine_try_cflags_saved_exeext
10921 eval ac_res=\$$as_ac_var
10922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10923 printf "%s\n" "$ac_res" >&6; }
10924 if eval test \"x\$"$as_ac_var"\" = x"yes"
10925 then :
10926 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10927 fi }
10928 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10930 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10931 if eval test \${$as_ac_var+y}
10932 then :
10933 printf %s "(cached) " >&6
10934 else $as_nop
10935 ac_wine_try_cflags_saved=$CFLAGS
10936 ac_wine_try_cflags_saved_exeext=$ac_exeext
10937 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10938 ac_exeext=".exe"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 int __cdecl mainCRTStartup(void) { return 0; }
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"
10944 then :
10945 eval "$as_ac_var=yes"
10946 else $as_nop
10947 eval "$as_ac_var=no"
10949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10950 conftest$ac_exeext conftest.$ac_ext
10951 CFLAGS=$ac_wine_try_cflags_saved
10952 ac_exeext=$ac_wine_try_cflags_saved_exeext
10954 eval ac_res=\$$as_ac_var
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10956 printf "%s\n" "$ac_res" >&6; }
10957 if eval test \"x\$"$as_ac_var"\" = x"yes"
10958 then :
10959 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10960 fi }
10961 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10963 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10964 if eval test \${$as_ac_var+y}
10965 then :
10966 printf %s "(cached) " >&6
10967 else $as_nop
10968 ac_wine_try_cflags_saved=$CFLAGS
10969 ac_wine_try_cflags_saved_exeext=$ac_exeext
10970 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10971 ac_exeext=".exe"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10974 int __cdecl mainCRTStartup(void) { return 0; }
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"
10977 then :
10978 eval "$as_ac_var=yes"
10979 else $as_nop
10980 eval "$as_ac_var=no"
10982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10983 conftest$ac_exeext conftest.$ac_ext
10984 CFLAGS=$ac_wine_try_cflags_saved
10985 ac_exeext=$ac_wine_try_cflags_saved_exeext
10987 eval ac_res=\$$as_ac_var
10988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10989 printf "%s\n" "$ac_res" >&6; }
10990 if eval test \"x\$"$as_ac_var"\" = x"yes"
10991 then :
10992 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10993 fi }
10994 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10996 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10997 if eval test \${$as_ac_var+y}
10998 then :
10999 printf %s "(cached) " >&6
11000 else $as_nop
11001 ac_wine_try_cflags_saved=$CFLAGS
11002 ac_wine_try_cflags_saved_exeext=$ac_exeext
11003 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11004 ac_exeext=".exe"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11007 int __cdecl mainCRTStartup(void) { return 0; }
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"
11010 then :
11011 eval "$as_ac_var=yes"
11012 else $as_nop
11013 eval "$as_ac_var=no"
11015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11016 conftest$ac_exeext conftest.$ac_ext
11017 CFLAGS=$ac_wine_try_cflags_saved
11018 ac_exeext=$ac_wine_try_cflags_saved_exeext
11020 eval ac_res=\$$as_ac_var
11021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11022 printf "%s\n" "$ac_res" >&6; }
11023 if eval test \"x\$"$as_ac_var"\" = x"yes"
11024 then :
11025 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11026 fi }
11027 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11029 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11030 if eval test \${$as_ac_var+y}
11031 then :
11032 printf %s "(cached) " >&6
11033 else $as_nop
11034 ac_wine_try_cflags_saved=$CFLAGS
11035 ac_wine_try_cflags_saved_exeext=$ac_exeext
11036 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11037 ac_exeext=".exe"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11040 int __cdecl mainCRTStartup(void) { return 0; }
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"
11043 then :
11044 eval "$as_ac_var=yes"
11045 else $as_nop
11046 eval "$as_ac_var=no"
11048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11049 conftest$ac_exeext conftest.$ac_ext
11050 CFLAGS=$ac_wine_try_cflags_saved
11051 ac_exeext=$ac_wine_try_cflags_saved_exeext
11053 eval ac_res=\$$as_ac_var
11054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11055 printf "%s\n" "$ac_res" >&6; }
11056 if eval test \"x\$"$as_ac_var"\" = x"yes"
11057 then :
11058 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11059 fi }
11060 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11062 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11063 if eval test \${$as_ac_var+y}
11064 then :
11065 printf %s "(cached) " >&6
11066 else $as_nop
11067 ac_wine_try_cflags_saved=$CFLAGS
11068 ac_wine_try_cflags_saved_exeext=$ac_exeext
11069 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11070 ac_exeext=".exe"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11073 int __cdecl mainCRTStartup(void) { return 0; }
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"
11076 then :
11077 eval "$as_ac_var=yes"
11078 else $as_nop
11079 eval "$as_ac_var=no"
11081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11082 conftest$ac_exeext conftest.$ac_ext
11083 CFLAGS=$ac_wine_try_cflags_saved
11084 ac_exeext=$ac_wine_try_cflags_saved_exeext
11086 eval ac_res=\$$as_ac_var
11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11088 printf "%s\n" "$ac_res" >&6; }
11089 if eval test \"x\$"$as_ac_var"\" = x"yes"
11090 then :
11091 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11092 fi }
11093 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11095 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11096 if eval test \${$as_ac_var+y}
11097 then :
11098 printf %s "(cached) " >&6
11099 else $as_nop
11100 ac_wine_try_cflags_saved=$CFLAGS
11101 ac_wine_try_cflags_saved_exeext=$ac_exeext
11102 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11103 ac_exeext=".exe"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11106 int __cdecl mainCRTStartup(void) { return 0; }
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"
11109 then :
11110 eval "$as_ac_var=yes"
11111 else $as_nop
11112 eval "$as_ac_var=no"
11114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11115 conftest$ac_exeext conftest.$ac_ext
11116 CFLAGS=$ac_wine_try_cflags_saved
11117 ac_exeext=$ac_wine_try_cflags_saved_exeext
11119 eval ac_res=\$$as_ac_var
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11121 printf "%s\n" "$ac_res" >&6; }
11122 if eval test \"x\$"$as_ac_var"\" = x"yes"
11123 then :
11124 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11125 fi }
11126 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11128 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11129 if eval test \${$as_ac_var+y}
11130 then :
11131 printf %s "(cached) " >&6
11132 else $as_nop
11133 ac_wine_try_cflags_saved=$CFLAGS
11134 ac_wine_try_cflags_saved_exeext=$ac_exeext
11135 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11136 ac_exeext=".exe"
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11139 int __cdecl mainCRTStartup(void) { return 0; }
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"
11142 then :
11143 eval "$as_ac_var=yes"
11144 else $as_nop
11145 eval "$as_ac_var=no"
11147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11148 conftest$ac_exeext conftest.$ac_ext
11149 CFLAGS=$ac_wine_try_cflags_saved
11150 ac_exeext=$ac_wine_try_cflags_saved_exeext
11152 eval ac_res=\$$as_ac_var
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11154 printf "%s\n" "$ac_res" >&6; }
11155 if eval test \"x\$"$as_ac_var"\" = x"yes"
11156 then :
11157 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11158 fi }
11159 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11161 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11162 if eval test \${$as_ac_var+y}
11163 then :
11164 printf %s "(cached) " >&6
11165 else $as_nop
11166 ac_wine_try_cflags_saved=$CFLAGS
11167 ac_wine_try_cflags_saved_exeext=$ac_exeext
11168 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11169 ac_exeext=".exe"
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11172 int __cdecl mainCRTStartup(void) { return 0; }
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"
11175 then :
11176 eval "$as_ac_var=yes"
11177 else $as_nop
11178 eval "$as_ac_var=no"
11180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11181 conftest$ac_exeext conftest.$ac_ext
11182 CFLAGS=$ac_wine_try_cflags_saved
11183 ac_exeext=$ac_wine_try_cflags_saved_exeext
11185 eval ac_res=\$$as_ac_var
11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11187 printf "%s\n" "$ac_res" >&6; }
11188 if eval test \"x\$"$as_ac_var"\" = x"yes"
11189 then :
11190 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11191 fi }
11192 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11194 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11195 if eval test \${$as_ac_var+y}
11196 then :
11197 printf %s "(cached) " >&6
11198 else $as_nop
11199 ac_wine_try_cflags_saved=$CFLAGS
11200 ac_wine_try_cflags_saved_exeext=$ac_exeext
11201 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11202 ac_exeext=".exe"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11205 int __cdecl mainCRTStartup(void) { return 0; }
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"
11208 then :
11209 eval "$as_ac_var=yes"
11210 else $as_nop
11211 eval "$as_ac_var=no"
11213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11214 conftest$ac_exeext conftest.$ac_ext
11215 CFLAGS=$ac_wine_try_cflags_saved
11216 ac_exeext=$ac_wine_try_cflags_saved_exeext
11218 eval ac_res=\$$as_ac_var
11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11220 printf "%s\n" "$ac_res" >&6; }
11221 if eval test \"x\$"$as_ac_var"\" = x"yes"
11222 then :
11223 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11224 fi }
11225 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11227 printf %s "checking whether $CC supports -Wvla... " >&6; }
11228 if eval test \${$as_ac_var+y}
11229 then :
11230 printf %s "(cached) " >&6
11231 else $as_nop
11232 ac_wine_try_cflags_saved=$CFLAGS
11233 ac_wine_try_cflags_saved_exeext=$ac_exeext
11234 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11235 ac_exeext=".exe"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11238 int __cdecl mainCRTStartup(void) { return 0; }
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"
11241 then :
11242 eval "$as_ac_var=yes"
11243 else $as_nop
11244 eval "$as_ac_var=no"
11246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11247 conftest$ac_exeext conftest.$ac_ext
11248 CFLAGS=$ac_wine_try_cflags_saved
11249 ac_exeext=$ac_wine_try_cflags_saved_exeext
11251 eval ac_res=\$$as_ac_var
11252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11253 printf "%s\n" "$ac_res" >&6; }
11254 if eval test \"x\$"$as_ac_var"\" = x"yes"
11255 then :
11256 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11257 fi }
11258 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11260 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11261 if eval test \${$as_ac_var+y}
11262 then :
11263 printf %s "(cached) " >&6
11264 else $as_nop
11265 ac_wine_try_cflags_saved=$CFLAGS
11266 ac_wine_try_cflags_saved_exeext=$ac_exeext
11267 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11268 ac_exeext=".exe"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11271 int __cdecl mainCRTStartup(void) { return 0; }
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"
11274 then :
11275 eval "$as_ac_var=yes"
11276 else $as_nop
11277 eval "$as_ac_var=no"
11279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11280 conftest$ac_exeext conftest.$ac_ext
11281 CFLAGS=$ac_wine_try_cflags_saved
11282 ac_exeext=$ac_wine_try_cflags_saved_exeext
11284 eval ac_res=\$$as_ac_var
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11286 printf "%s\n" "$ac_res" >&6; }
11287 if eval test \"x\$"$as_ac_var"\" = x"yes"
11288 then :
11289 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11290 fi }
11291 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11293 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11294 if eval test \${$as_ac_var+y}
11295 then :
11296 printf %s "(cached) " >&6
11297 else $as_nop
11298 ac_wine_try_cflags_saved=$CFLAGS
11299 ac_wine_try_cflags_saved_exeext=$ac_exeext
11300 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11301 ac_exeext=".exe"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304 int __cdecl mainCRTStartup(void) { return 0; }
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"
11307 then :
11308 eval "$as_ac_var=yes"
11309 else $as_nop
11310 eval "$as_ac_var=no"
11312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11313 conftest$ac_exeext conftest.$ac_ext
11314 CFLAGS=$ac_wine_try_cflags_saved
11315 ac_exeext=$ac_wine_try_cflags_saved_exeext
11317 eval ac_res=\$$as_ac_var
11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11319 printf "%s\n" "$ac_res" >&6; }
11320 if eval test \"x\$"$as_ac_var"\" = x"yes"
11321 then :
11322 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11323 fi }
11324 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11326 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11327 if eval test \${$as_ac_var+y}
11328 then :
11329 printf %s "(cached) " >&6
11330 else $as_nop
11331 ac_wine_try_cflags_saved=$CFLAGS
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11334 ac_exeext=".exe"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11337 int __cdecl mainCRTStartup(void) { return 0; }
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"
11340 then :
11341 eval "$as_ac_var=yes"
11342 else $as_nop
11343 eval "$as_ac_var=no"
11345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11346 conftest$ac_exeext conftest.$ac_ext
11347 CFLAGS=$ac_wine_try_cflags_saved
11348 ac_exeext=$ac_wine_try_cflags_saved_exeext
11350 eval ac_res=\$$as_ac_var
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11352 printf "%s\n" "$ac_res" >&6; }
11353 if eval test \"x\$"$as_ac_var"\" = x"yes"
11354 then :
11355 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11356 fi }
11357 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11359 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11360 if eval test \${$as_ac_var+y}
11361 then :
11362 printf %s "(cached) " >&6
11363 else $as_nop
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_exeext=$ac_exeext
11366 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11367 ac_exeext=".exe"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11370 int __cdecl mainCRTStartup(void) { return 0; }
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"
11373 then :
11374 eval "$as_ac_var=yes"
11375 else $as_nop
11376 eval "$as_ac_var=no"
11378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11379 conftest$ac_exeext conftest.$ac_ext
11380 CFLAGS=$ac_wine_try_cflags_saved
11381 ac_exeext=$ac_wine_try_cflags_saved_exeext
11383 eval ac_res=\$$as_ac_var
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11385 printf "%s\n" "$ac_res" >&6; }
11386 if eval test \"x\$"$as_ac_var"\" = x"yes"
11387 then :
11388 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11389 fi }
11391 case $wine_arch in
11392 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11394 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11395 if eval test \${$as_ac_var+y}
11396 then :
11397 printf %s "(cached) " >&6
11398 else $as_nop
11399 ac_wine_try_cflags_saved=$CFLAGS
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11402 ac_exeext=".exe"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11405 int __cdecl mainCRTStartup(void) { return 0; }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"
11408 then :
11409 eval "$as_ac_var=yes"
11410 else $as_nop
11411 eval "$as_ac_var=no"
11413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11414 conftest$ac_exeext conftest.$ac_ext
11415 CFLAGS=$ac_wine_try_cflags_saved
11416 ac_exeext=$ac_wine_try_cflags_saved_exeext
11418 eval ac_res=\$$as_ac_var
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11420 printf "%s\n" "$ac_res" >&6; }
11421 if eval test \"x\$"$as_ac_var"\" = x"yes"
11422 then :
11423 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11424 fi }
11425 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11427 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11428 if eval test \${$as_ac_var+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_exeext=$ac_exeext
11434 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11435 ac_exeext=".exe"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438 int __cdecl mainCRTStartup(void) { return 0; }
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"
11441 then :
11442 eval "$as_ac_var=yes"
11443 else $as_nop
11444 eval "$as_ac_var=no"
11446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11447 conftest$ac_exeext conftest.$ac_ext
11448 CFLAGS=$ac_wine_try_cflags_saved
11449 ac_exeext=$ac_wine_try_cflags_saved_exeext
11451 eval ac_res=\$$as_ac_var
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11453 printf "%s\n" "$ac_res" >&6; }
11454 if eval test \"x\$"$as_ac_var"\" = x"yes"
11455 then :
11456 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11457 fi } ;;
11458 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11460 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11461 if eval test \${$as_ac_var+y}
11462 then :
11463 printf %s "(cached) " >&6
11464 else $as_nop
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_exeext=$ac_exeext
11467 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11468 ac_exeext=".exe"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471 int __cdecl mainCRTStartup(void) { return 0; }
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"
11474 then :
11475 eval "$as_ac_var=yes"
11476 else $as_nop
11477 eval "$as_ac_var=no"
11479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11480 conftest$ac_exeext conftest.$ac_ext
11481 CFLAGS=$ac_wine_try_cflags_saved
11482 ac_exeext=$ac_wine_try_cflags_saved_exeext
11484 eval ac_res=\$$as_ac_var
11485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11486 printf "%s\n" "$ac_res" >&6; }
11487 if eval test \"x\$"$as_ac_var"\" = x"yes"
11488 then :
11489 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11490 fi }
11491 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11493 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11494 if eval test \${$as_ac_var+y}
11495 then :
11496 printf %s "(cached) " >&6
11497 else $as_nop
11498 ac_wine_try_cflags_saved=$CFLAGS
11499 ac_wine_try_cflags_saved_exeext=$ac_exeext
11500 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11501 ac_exeext=".exe"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11504 int __cdecl mainCRTStartup(void) { return 0; }
11505 _ACEOF
11506 if ac_fn_c_try_link "$LINENO"
11507 then :
11508 eval "$as_ac_var=yes"
11509 else $as_nop
11510 eval "$as_ac_var=no"
11512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11513 conftest$ac_exeext conftest.$ac_ext
11514 CFLAGS=$ac_wine_try_cflags_saved
11515 ac_exeext=$ac_wine_try_cflags_saved_exeext
11517 eval ac_res=\$$as_ac_var
11518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11519 printf "%s\n" "$ac_res" >&6; }
11520 if eval test \"x\$"$as_ac_var"\" = x"yes"
11521 then :
11522 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11523 fi }
11524 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11526 printf %s "checking whether $CC supports -mcx16... " >&6; }
11527 if eval test \${$as_ac_var+y}
11528 then :
11529 printf %s "(cached) " >&6
11530 else $as_nop
11531 ac_wine_try_cflags_saved=$CFLAGS
11532 ac_wine_try_cflags_saved_exeext=$ac_exeext
11533 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11534 ac_exeext=".exe"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11537 int __cdecl mainCRTStartup(void) { return 0; }
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"
11540 then :
11541 eval "$as_ac_var=yes"
11542 else $as_nop
11543 eval "$as_ac_var=no"
11545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11546 conftest$ac_exeext conftest.$ac_ext
11547 CFLAGS=$ac_wine_try_cflags_saved
11548 ac_exeext=$ac_wine_try_cflags_saved_exeext
11550 eval ac_res=\$$as_ac_var
11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11552 printf "%s\n" "$ac_res" >&6; }
11553 if eval test \"x\$"$as_ac_var"\" = x"yes"
11554 then :
11555 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11556 fi } ;;
11557 esac
11559 wine_crossdebug=$CROSSDEBUG
11560 if test -z "$wine_crossdebug"
11561 then
11562 for ac_flag in $CFLAGS; do
11563 case $ac_flag in
11564 -gdwarf*) wine_crossdebug=dwarf ;;
11565 -gcodeview) wine_crossdebug=pdb ;;
11566 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11567 esac
11568 done
11571 ac_debug_format_seen=""
11572 for ac_flag in $CFLAGS; do
11573 case $ac_flag in
11574 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11575 esac
11576 done
11577 if test "x$ac_debug_format_seen" = x
11578 then
11579 case $wine_crossdebug in
11580 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11582 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11583 if eval test \${$as_ac_var+y}
11584 then :
11585 printf %s "(cached) " >&6
11586 else $as_nop
11587 ac_wine_try_cflags_saved=$CFLAGS
11588 ac_wine_try_cflags_saved_exeext=$ac_exeext
11589 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11590 ac_exeext=".exe"
11591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11592 /* end confdefs.h. */
11593 int __cdecl mainCRTStartup(void) { return 0; }
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"
11596 then :
11597 eval "$as_ac_var=yes"
11598 else $as_nop
11599 eval "$as_ac_var=no"
11601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11602 conftest$ac_exeext conftest.$ac_ext
11603 CFLAGS=$ac_wine_try_cflags_saved
11604 ac_exeext=$ac_wine_try_cflags_saved_exeext
11606 eval ac_res=\$$as_ac_var
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11608 printf "%s\n" "$ac_res" >&6; }
11609 if eval test \"x\$"$as_ac_var"\" = x"yes"
11610 then :
11611 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11612 fi } ;;
11613 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11615 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11616 if eval test \${$as_ac_var+y}
11617 then :
11618 printf %s "(cached) " >&6
11619 else $as_nop
11620 ac_wine_try_cflags_saved=$CFLAGS
11621 ac_wine_try_cflags_saved_exeext=$ac_exeext
11622 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11623 ac_exeext=".exe"
11624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11625 /* end confdefs.h. */
11626 int __cdecl mainCRTStartup(void) { return 0; }
11627 _ACEOF
11628 if ac_fn_c_try_link "$LINENO"
11629 then :
11630 eval "$as_ac_var=yes"
11631 else $as_nop
11632 eval "$as_ac_var=no"
11634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11635 conftest$ac_exeext conftest.$ac_ext
11636 CFLAGS=$ac_wine_try_cflags_saved
11637 ac_exeext=$ac_wine_try_cflags_saved_exeext
11639 eval ac_res=\$$as_ac_var
11640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11641 printf "%s\n" "$ac_res" >&6; }
11642 if eval test \"x\$"$as_ac_var"\" = x"yes"
11643 then :
11644 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11645 fi } ;;
11646 esac
11648 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11650 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11652 printf %s "checking whether $CC supports -Werror... " >&6; }
11653 if eval test \${$as_ac_var+y}
11654 then :
11655 printf %s "(cached) " >&6
11656 else $as_nop
11657 ac_wine_try_cflags_saved=$CFLAGS
11658 ac_wine_try_cflags_saved_exeext=$ac_exeext
11659 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11660 ac_exeext=".exe"
11661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11663 int __cdecl mainCRTStartup(void) { return 0; }
11664 _ACEOF
11665 if ac_fn_c_try_link "$LINENO"
11666 then :
11667 eval "$as_ac_var=yes"
11668 else $as_nop
11669 eval "$as_ac_var=no"
11671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11672 conftest$ac_exeext conftest.$ac_ext
11673 CFLAGS=$ac_wine_try_cflags_saved
11674 ac_exeext=$ac_wine_try_cflags_saved_exeext
11676 eval ac_res=\$$as_ac_var
11677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11678 printf "%s\n" "$ac_res" >&6; }
11679 if eval test \"x\$"$as_ac_var"\" = x"yes"
11680 then :
11681 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11682 fi }
11683 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11685 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11686 if eval test \${$as_ac_var+y}
11687 then :
11688 printf %s "(cached) " >&6
11689 else $as_nop
11690 ac_wine_try_cflags_saved=$CFLAGS
11691 ac_wine_try_cflags_saved_exeext=$ac_exeext
11692 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11693 ac_exeext=".exe"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11696 int __cdecl mainCRTStartup(void) { return 0; }
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"
11699 then :
11700 eval "$as_ac_var=yes"
11701 else $as_nop
11702 eval "$as_ac_var=no"
11704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11705 conftest$ac_exeext conftest.$ac_ext
11706 CFLAGS=$ac_wine_try_cflags_saved
11707 ac_exeext=$ac_wine_try_cflags_saved_exeext
11709 eval ac_res=\$$as_ac_var
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11711 printf "%s\n" "$ac_res" >&6; }
11712 if eval test \"x\$"$as_ac_var"\" = x"yes"
11713 then :
11714 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11715 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11716 fi }
11718 CC=$saved_CC
11719 CFLAGS=$saved_CFLAGS
11720 done
11722 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11723 then
11724 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11727 if test "x$PE_ARCHS" = "x"
11728 then :
11729 case "x$with_mingw" in
11730 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11731 xno) ;;
11732 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11733 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11734 esac
11739 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11740 then
11741 case "$host_cpu" in
11742 i[3456789]86*)
11743 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11745 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11746 esac
11747 for ac_prog in $ac_prefix_list
11749 # Extract the first word of "$ac_prog", so it can be a program name with args.
11750 set dummy $ac_prog; ac_word=$2
11751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11752 printf %s "checking for $ac_word... " >&6; }
11753 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11754 then :
11755 printf %s "(cached) " >&6
11756 else $as_nop
11757 if test -n "$MINGW_PKG_CONFIG"; then
11758 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11759 else
11760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11761 for as_dir in $PATH
11763 IFS=$as_save_IFS
11764 case $as_dir in #(((
11765 '') as_dir=./ ;;
11766 */) ;;
11767 *) as_dir=$as_dir/ ;;
11768 esac
11769 for ac_exec_ext in '' $ac_executable_extensions; do
11770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11771 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11773 break 2
11775 done
11776 done
11777 IFS=$as_save_IFS
11781 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11782 if test -n "$MINGW_PKG_CONFIG"; then
11783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11784 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11785 else
11786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 printf "%s\n" "no" >&6; }
11791 test -n "$MINGW_PKG_CONFIG" && break
11792 done
11793 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11795 if ${FAUDIO_PE_CFLAGS:+false} :
11796 then :
11797 if test ${MINGW_PKG_CONFIG+y}
11798 then :
11799 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11802 if ${FAUDIO_PE_LIBS:+false} :
11803 then :
11804 if test ${MINGW_PKG_CONFIG+y}
11805 then :
11806 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11809 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11810 ac_save_CPPFLAGS=$CPPFLAGS
11811 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11813 printf %s "checking for MinGW FAudio.h... " >&6; }
11814 if test ${ac_cv_mingw_header_FAudio_h+y}
11815 then :
11816 printf %s "(cached) " >&6
11817 else $as_nop
11818 ac_wine_check_headers_saved_cc=$CC
11819 ac_wine_check_headers_saved_exeext=$ac_exeext
11820 eval CC=\$${wine_arch}_CC
11821 ac_exeext=".exe"
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 #include <FAudio.h>
11827 main (void)
11831 return 0;
11833 _ACEOF
11834 if ac_fn_c_try_compile "$LINENO"
11835 then :
11836 ac_cv_mingw_header_FAudio_h=yes
11837 else $as_nop
11838 ac_cv_mingw_header_FAudio_h=no
11840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11841 CC=$ac_wine_check_headers_saved_cc
11842 ac_exeext=$ac_wine_check_headers_saved_exeext
11844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11845 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11846 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11847 then :
11848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11849 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11850 if test ${ac_cv_mingw_lib_FAudio+y}
11851 then :
11852 printf %s "(cached) " >&6
11853 else $as_nop
11854 ac_wine_check_headers_saved_cc=$CC
11855 ac_wine_check_headers_saved_exeext=$ac_exeext
11856 ac_wine_check_headers_saved_libs=$LIBS
11857 eval CC=\$${wine_arch}_CC
11858 ac_exeext=".exe"
11859 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11863 /* Override any GCC internal prototype to avoid an error.
11864 Use char because int might match the return type of a GCC
11865 builtin and then its argument prototype would still apply. */
11866 char FAudio_CommitOperationSet ();
11868 main (void)
11870 return FAudio_CommitOperationSet ();
11872 return 0;
11874 _ACEOF
11875 if ac_fn_c_try_link "$LINENO"
11876 then :
11877 ac_cv_mingw_lib_FAudio=yes
11878 else $as_nop
11879 ac_cv_mingw_lib_FAudio=no
11881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11882 conftest$ac_exeext conftest.$ac_ext
11883 CC=$ac_wine_check_headers_saved_cc
11884 ac_exeext=$ac_wine_check_headers_saved_exeext
11885 LIBS=$ac_wine_check_headers_saved_libs
11887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11888 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11889 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11890 then :
11892 else $as_nop
11893 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11895 else $as_nop
11896 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11898 CPPFLAGS=$ac_save_CPPFLAGS
11900 if test "x$FAUDIO_PE_LIBS" = "x"
11901 then
11902 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11905 if ${JPEG_PE_CFLAGS:+false} :
11906 then :
11907 if test ${MINGW_PKG_CONFIG+y}
11908 then :
11909 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11912 if ${JPEG_PE_LIBS:+false} :
11913 then :
11914 if test ${MINGW_PKG_CONFIG+y}
11915 then :
11916 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11920 ac_save_CPPFLAGS=$CPPFLAGS
11921 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11923 printf %s "checking for MinGW jpeglib.h... " >&6; }
11924 if test ${ac_cv_mingw_header_jpeglib_h+y}
11925 then :
11926 printf %s "(cached) " >&6
11927 else $as_nop
11928 ac_wine_check_headers_saved_cc=$CC
11929 ac_wine_check_headers_saved_exeext=$ac_exeext
11930 eval CC=\$${wine_arch}_CC
11931 ac_exeext=".exe"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11934 #include <stddef.h>
11935 #include <stdio.h>
11936 #include <jpeglib.h>
11938 main (void)
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_compile "$LINENO"
11946 then :
11947 ac_cv_mingw_header_jpeglib_h=yes
11948 else $as_nop
11949 ac_cv_mingw_header_jpeglib_h=no
11951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11952 CC=$ac_wine_check_headers_saved_cc
11953 ac_exeext=$ac_wine_check_headers_saved_exeext
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11956 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11957 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11958 then :
11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11960 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11961 if test ${ac_cv_mingw_lib_jpeg+y}
11962 then :
11963 printf %s "(cached) " >&6
11964 else $as_nop
11965 ac_wine_check_headers_saved_cc=$CC
11966 ac_wine_check_headers_saved_exeext=$ac_exeext
11967 ac_wine_check_headers_saved_libs=$LIBS
11968 eval CC=\$${wine_arch}_CC
11969 ac_exeext=".exe"
11970 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 char jpeg_start_decompress ();
11979 main (void)
11981 return jpeg_start_decompress ();
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_link "$LINENO"
11987 then :
11988 ac_cv_mingw_lib_jpeg=yes
11989 else $as_nop
11990 ac_cv_mingw_lib_jpeg=no
11992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11993 conftest$ac_exeext conftest.$ac_ext
11994 CC=$ac_wine_check_headers_saved_cc
11995 ac_exeext=$ac_wine_check_headers_saved_exeext
11996 LIBS=$ac_wine_check_headers_saved_libs
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11999 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12000 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12001 then :
12003 else $as_nop
12004 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12006 else $as_nop
12007 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12009 CPPFLAGS=$ac_save_CPPFLAGS
12011 if test "x$JPEG_PE_LIBS" = "x"
12012 then
12013 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12016 if ${LCMS2_PE_CFLAGS:+false} :
12017 then :
12018 if test ${MINGW_PKG_CONFIG+y}
12019 then :
12020 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12023 if ${LCMS2_PE_LIBS:+false} :
12024 then :
12025 if test ${MINGW_PKG_CONFIG+y}
12026 then :
12027 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12030 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12031 ac_save_CPPFLAGS=$CPPFLAGS
12032 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12034 printf %s "checking for MinGW lcms2.h... " >&6; }
12035 if test ${ac_cv_mingw_header_lcms2_h+y}
12036 then :
12037 printf %s "(cached) " >&6
12038 else $as_nop
12039 ac_wine_check_headers_saved_cc=$CC
12040 ac_wine_check_headers_saved_exeext=$ac_exeext
12041 eval CC=\$${wine_arch}_CC
12042 ac_exeext=".exe"
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 #include <lcms2.h>
12048 main (void)
12052 return 0;
12054 _ACEOF
12055 if ac_fn_c_try_compile "$LINENO"
12056 then :
12057 ac_cv_mingw_header_lcms2_h=yes
12058 else $as_nop
12059 ac_cv_mingw_header_lcms2_h=no
12061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12062 CC=$ac_wine_check_headers_saved_cc
12063 ac_exeext=$ac_wine_check_headers_saved_exeext
12065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12066 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12067 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12068 then :
12069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12070 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12071 if test ${ac_cv_mingw_lib_lcms2+y}
12072 then :
12073 printf %s "(cached) " >&6
12074 else $as_nop
12075 ac_wine_check_headers_saved_cc=$CC
12076 ac_wine_check_headers_saved_exeext=$ac_exeext
12077 ac_wine_check_headers_saved_libs=$LIBS
12078 eval CC=\$${wine_arch}_CC
12079 ac_exeext=".exe"
12080 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 char cmsOpenProfileFromFile ();
12089 main (void)
12091 return cmsOpenProfileFromFile ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"
12097 then :
12098 ac_cv_mingw_lib_lcms2=yes
12099 else $as_nop
12100 ac_cv_mingw_lib_lcms2=no
12102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12103 conftest$ac_exeext conftest.$ac_ext
12104 CC=$ac_wine_check_headers_saved_cc
12105 ac_exeext=$ac_wine_check_headers_saved_exeext
12106 LIBS=$ac_wine_check_headers_saved_libs
12108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12109 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12110 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12111 then :
12113 else $as_nop
12114 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12116 else $as_nop
12117 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12119 CPPFLAGS=$ac_save_CPPFLAGS
12121 if test "x$LCMS2_PE_LIBS" = "x"
12122 then
12123 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12126 if ${MPG123_PE_CFLAGS:+false} :
12127 then :
12128 if test ${MINGW_PKG_CONFIG+y}
12129 then :
12130 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12133 if ${MPG123_PE_LIBS:+false} :
12134 then :
12135 if test ${MINGW_PKG_CONFIG+y}
12136 then :
12137 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12140 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12141 ac_save_CPPFLAGS=$CPPFLAGS
12142 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12144 printf %s "checking for MinGW mpg123.h... " >&6; }
12145 if test ${ac_cv_mingw_header_mpg123_h+y}
12146 then :
12147 printf %s "(cached) " >&6
12148 else $as_nop
12149 ac_wine_check_headers_saved_cc=$CC
12150 ac_wine_check_headers_saved_exeext=$ac_exeext
12151 eval CC=\$${wine_arch}_CC
12152 ac_exeext=".exe"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 #include <mpg123.h>
12158 main (void)
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_compile "$LINENO"
12166 then :
12167 ac_cv_mingw_header_mpg123_h=yes
12168 else $as_nop
12169 ac_cv_mingw_header_mpg123_h=no
12171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12172 CC=$ac_wine_check_headers_saved_cc
12173 ac_exeext=$ac_wine_check_headers_saved_exeext
12175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12176 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12177 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12178 then :
12179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12180 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12181 if test ${ac_cv_mingw_lib_mpg123+y}
12182 then :
12183 printf %s "(cached) " >&6
12184 else $as_nop
12185 ac_wine_check_headers_saved_cc=$CC
12186 ac_wine_check_headers_saved_exeext=$ac_exeext
12187 ac_wine_check_headers_saved_libs=$LIBS
12188 eval CC=\$${wine_arch}_CC
12189 ac_exeext=".exe"
12190 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12194 /* Override any GCC internal prototype to avoid an error.
12195 Use char because int might match the return type of a GCC
12196 builtin and then its argument prototype would still apply. */
12197 char mpg123_feed ();
12199 main (void)
12201 return mpg123_feed ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"
12207 then :
12208 ac_cv_mingw_lib_mpg123=yes
12209 else $as_nop
12210 ac_cv_mingw_lib_mpg123=no
12212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12213 conftest$ac_exeext conftest.$ac_ext
12214 CC=$ac_wine_check_headers_saved_cc
12215 ac_exeext=$ac_wine_check_headers_saved_exeext
12216 LIBS=$ac_wine_check_headers_saved_libs
12218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12219 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12220 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12221 then :
12223 else $as_nop
12224 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12226 else $as_nop
12227 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12229 CPPFLAGS=$ac_save_CPPFLAGS
12231 if test "x$MPG123_PE_LIBS" = "x"
12232 then
12233 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12236 if ${PNG_PE_CFLAGS:+false} :
12237 then :
12238 if test ${MINGW_PKG_CONFIG+y}
12239 then :
12240 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12243 if ${PNG_PE_LIBS:+false} :
12244 then :
12245 if test ${MINGW_PKG_CONFIG+y}
12246 then :
12247 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12251 ac_save_CPPFLAGS=$CPPFLAGS
12252 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12254 printf %s "checking for MinGW png.h... " >&6; }
12255 if test ${ac_cv_mingw_header_png_h+y}
12256 then :
12257 printf %s "(cached) " >&6
12258 else $as_nop
12259 ac_wine_check_headers_saved_cc=$CC
12260 ac_wine_check_headers_saved_exeext=$ac_exeext
12261 eval CC=\$${wine_arch}_CC
12262 ac_exeext=".exe"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 #include <png.h>
12268 main (void)
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"
12276 then :
12277 ac_cv_mingw_header_png_h=yes
12278 else $as_nop
12279 ac_cv_mingw_header_png_h=no
12281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12282 CC=$ac_wine_check_headers_saved_cc
12283 ac_exeext=$ac_wine_check_headers_saved_exeext
12285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12286 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12287 if test "x$ac_cv_mingw_header_png_h" = xyes
12288 then :
12289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12290 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12291 if test ${ac_cv_mingw_lib_png+y}
12292 then :
12293 printf %s "(cached) " >&6
12294 else $as_nop
12295 ac_wine_check_headers_saved_cc=$CC
12296 ac_wine_check_headers_saved_exeext=$ac_exeext
12297 ac_wine_check_headers_saved_libs=$LIBS
12298 eval CC=\$${wine_arch}_CC
12299 ac_exeext=".exe"
12300 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12304 /* Override any GCC internal prototype to avoid an error.
12305 Use char because int might match the return type of a GCC
12306 builtin and then its argument prototype would still apply. */
12307 char png_create_read_struct ();
12309 main (void)
12311 return png_create_read_struct ();
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"
12317 then :
12318 ac_cv_mingw_lib_png=yes
12319 else $as_nop
12320 ac_cv_mingw_lib_png=no
12322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12323 conftest$ac_exeext conftest.$ac_ext
12324 CC=$ac_wine_check_headers_saved_cc
12325 ac_exeext=$ac_wine_check_headers_saved_exeext
12326 LIBS=$ac_wine_check_headers_saved_libs
12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12329 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12330 if test "x$ac_cv_mingw_lib_png" = xyes
12331 then :
12333 else $as_nop
12334 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12336 else $as_nop
12337 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12339 CPPFLAGS=$ac_save_CPPFLAGS
12341 if test "x$PNG_PE_LIBS" = "x"
12342 then
12343 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12346 if ${TIFF_PE_CFLAGS:+false} :
12347 then :
12348 if test ${MINGW_PKG_CONFIG+y}
12349 then :
12350 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12353 if ${TIFF_PE_LIBS:+false} :
12354 then :
12355 if test ${MINGW_PKG_CONFIG+y}
12356 then :
12357 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12361 ac_save_CPPFLAGS=$CPPFLAGS
12362 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12364 printf %s "checking for MinGW tiffio.h... " >&6; }
12365 if test ${ac_cv_mingw_header_tiffio_h+y}
12366 then :
12367 printf %s "(cached) " >&6
12368 else $as_nop
12369 ac_wine_check_headers_saved_cc=$CC
12370 ac_wine_check_headers_saved_exeext=$ac_exeext
12371 eval CC=\$${wine_arch}_CC
12372 ac_exeext=".exe"
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12376 #include <tiffio.h>
12378 main (void)
12382 return 0;
12384 _ACEOF
12385 if ac_fn_c_try_compile "$LINENO"
12386 then :
12387 ac_cv_mingw_header_tiffio_h=yes
12388 else $as_nop
12389 ac_cv_mingw_header_tiffio_h=no
12391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12392 CC=$ac_wine_check_headers_saved_cc
12393 ac_exeext=$ac_wine_check_headers_saved_exeext
12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12396 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12397 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12398 then :
12399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12400 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12401 if test ${ac_cv_mingw_lib_tiff+y}
12402 then :
12403 printf %s "(cached) " >&6
12404 else $as_nop
12405 ac_wine_check_headers_saved_cc=$CC
12406 ac_wine_check_headers_saved_exeext=$ac_exeext
12407 ac_wine_check_headers_saved_libs=$LIBS
12408 eval CC=\$${wine_arch}_CC
12409 ac_exeext=".exe"
12410 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12414 /* Override any GCC internal prototype to avoid an error.
12415 Use char because int might match the return type of a GCC
12416 builtin and then its argument prototype would still apply. */
12417 char TIFFClientOpen ();
12419 main (void)
12421 return TIFFClientOpen ();
12423 return 0;
12425 _ACEOF
12426 if ac_fn_c_try_link "$LINENO"
12427 then :
12428 ac_cv_mingw_lib_tiff=yes
12429 else $as_nop
12430 ac_cv_mingw_lib_tiff=no
12432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12433 conftest$ac_exeext conftest.$ac_ext
12434 CC=$ac_wine_check_headers_saved_cc
12435 ac_exeext=$ac_wine_check_headers_saved_exeext
12436 LIBS=$ac_wine_check_headers_saved_libs
12438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12439 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12440 if test "x$ac_cv_mingw_lib_tiff" = xyes
12441 then :
12443 else $as_nop
12444 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12446 else $as_nop
12447 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12449 CPPFLAGS=$ac_save_CPPFLAGS
12451 if test "x$TIFF_PE_LIBS" = "x"
12452 then
12453 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12456 if ${XML2_PE_CFLAGS:+false} :
12457 then :
12458 if test ${MINGW_PKG_CONFIG+y}
12459 then :
12460 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12463 if ${XML2_PE_LIBS:+false} :
12464 then :
12465 if test ${MINGW_PKG_CONFIG+y}
12466 then :
12467 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12470 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12471 ac_save_CPPFLAGS=$CPPFLAGS
12472 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12474 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12475 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 eval CC=\$${wine_arch}_CC
12482 ac_exeext=".exe"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 #include <libxml/parser.h>
12488 main (void)
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_compile "$LINENO"
12496 then :
12497 ac_cv_mingw_header_libxml_parser_h=yes
12498 else $as_nop
12499 ac_cv_mingw_header_libxml_parser_h=no
12501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12502 CC=$ac_wine_check_headers_saved_cc
12503 ac_exeext=$ac_wine_check_headers_saved_exeext
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12506 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12507 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12508 then :
12511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12512 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12513 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12514 then :
12515 printf %s "(cached) " >&6
12516 else $as_nop
12517 ac_wine_check_headers_saved_cc=$CC
12518 ac_wine_check_headers_saved_exeext=$ac_exeext
12519 eval CC=\$${wine_arch}_CC
12520 ac_exeext=".exe"
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 #include <libxml/xmlsave.h>
12526 main (void)
12530 return 0;
12532 _ACEOF
12533 if ac_fn_c_try_compile "$LINENO"
12534 then :
12535 ac_cv_mingw_header_libxml_xmlsave_h=yes
12536 else $as_nop
12537 ac_cv_mingw_header_libxml_xmlsave_h=no
12539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12540 CC=$ac_wine_check_headers_saved_cc
12541 ac_exeext=$ac_wine_check_headers_saved_exeext
12543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12544 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12545 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12546 then :
12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12550 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12551 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12552 then :
12553 printf %s "(cached) " >&6
12554 else $as_nop
12555 ac_wine_check_headers_saved_cc=$CC
12556 ac_wine_check_headers_saved_exeext=$ac_exeext
12557 eval CC=\$${wine_arch}_CC
12558 ac_exeext=".exe"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12562 #include <libxml/SAX2.h>
12564 main (void)
12568 return 0;
12570 _ACEOF
12571 if ac_fn_c_try_compile "$LINENO"
12572 then :
12573 ac_cv_mingw_header_libxml_SAX2_h=yes
12574 else $as_nop
12575 ac_cv_mingw_header_libxml_SAX2_h=no
12577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12578 CC=$ac_wine_check_headers_saved_cc
12579 ac_exeext=$ac_wine_check_headers_saved_exeext
12581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12582 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12583 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12584 then :
12587 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"
12588 then
12589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12590 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12591 if test ${ac_cv_mingw_lib_xml2+y}
12592 then :
12593 printf %s "(cached) " >&6
12594 else $as_nop
12595 ac_wine_check_headers_saved_cc=$CC
12596 ac_wine_check_headers_saved_exeext=$ac_exeext
12597 ac_wine_check_headers_saved_libs=$LIBS
12598 eval CC=\$${wine_arch}_CC
12599 ac_exeext=".exe"
12600 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12607 char xmlFirstElementChild ();
12609 main (void)
12611 return xmlFirstElementChild ();
12613 return 0;
12615 _ACEOF
12616 if ac_fn_c_try_link "$LINENO"
12617 then :
12618 ac_cv_mingw_lib_xml2=yes
12619 else $as_nop
12620 ac_cv_mingw_lib_xml2=no
12622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12623 conftest$ac_exeext conftest.$ac_ext
12624 CC=$ac_wine_check_headers_saved_cc
12625 ac_exeext=$ac_wine_check_headers_saved_exeext
12626 LIBS=$ac_wine_check_headers_saved_libs
12628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12629 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12630 if test "x$ac_cv_mingw_lib_xml2" = xyes
12631 then :
12633 else $as_nop
12634 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12636 else
12637 XML2_PE_CFLAGS=""
12638 XML2_PE_LIBS=""
12640 CPPFLAGS=$ac_save_CPPFLAGS
12642 if test "x$XML2_PE_LIBS" = "x"
12643 then
12644 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12647 if ${XSLT_PE_CFLAGS:+false} :
12648 then :
12649 if test ${MINGW_PKG_CONFIG+y}
12650 then :
12651 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12654 if ${XSLT_PE_LIBS:+false} :
12655 then :
12656 if test ${MINGW_PKG_CONFIG+y}
12657 then :
12658 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12661 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12662 ac_save_CPPFLAGS=$CPPFLAGS
12663 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12665 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12666 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12667 then :
12668 printf %s "(cached) " >&6
12669 else $as_nop
12670 ac_wine_check_headers_saved_cc=$CC
12671 ac_wine_check_headers_saved_exeext=$ac_exeext
12672 eval CC=\$${wine_arch}_CC
12673 ac_exeext=".exe"
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 #include <libxslt/pattern.h>
12679 main (void)
12683 return 0;
12685 _ACEOF
12686 if ac_fn_c_try_compile "$LINENO"
12687 then :
12688 ac_cv_mingw_header_libxslt_pattern_h=yes
12689 else $as_nop
12690 ac_cv_mingw_header_libxslt_pattern_h=no
12692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12693 CC=$ac_wine_check_headers_saved_cc
12694 ac_exeext=$ac_wine_check_headers_saved_exeext
12696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12697 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12698 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12699 then :
12702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12703 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12704 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12705 then :
12706 printf %s "(cached) " >&6
12707 else $as_nop
12708 ac_wine_check_headers_saved_cc=$CC
12709 ac_wine_check_headers_saved_exeext=$ac_exeext
12710 eval CC=\$${wine_arch}_CC
12711 ac_exeext=".exe"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 #include <libxslt/transform.h>
12717 main (void)
12721 return 0;
12723 _ACEOF
12724 if ac_fn_c_try_compile "$LINENO"
12725 then :
12726 ac_cv_mingw_header_libxslt_transform_h=yes
12727 else $as_nop
12728 ac_cv_mingw_header_libxslt_transform_h=no
12730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12731 CC=$ac_wine_check_headers_saved_cc
12732 ac_exeext=$ac_wine_check_headers_saved_exeext
12734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12735 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12736 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12737 then :
12740 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12741 then
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12743 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12744 if test ${ac_cv_mingw_lib_xslt+y}
12745 then :
12746 printf %s "(cached) " >&6
12747 else $as_nop
12748 ac_wine_check_headers_saved_cc=$CC
12749 ac_wine_check_headers_saved_exeext=$ac_exeext
12750 ac_wine_check_headers_saved_libs=$LIBS
12751 eval CC=\$${wine_arch}_CC
12752 ac_exeext=".exe"
12753 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12760 char xsltCompilePattern ();
12762 main (void)
12764 return xsltCompilePattern ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"
12770 then :
12771 ac_cv_mingw_lib_xslt=yes
12772 else $as_nop
12773 ac_cv_mingw_lib_xslt=no
12775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12776 conftest$ac_exeext conftest.$ac_ext
12777 CC=$ac_wine_check_headers_saved_cc
12778 ac_exeext=$ac_wine_check_headers_saved_exeext
12779 LIBS=$ac_wine_check_headers_saved_libs
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12782 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12783 if test "x$ac_cv_mingw_lib_xslt" = xyes
12784 then :
12786 else $as_nop
12787 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12789 else
12790 XSLT_PE_CFLAGS=""
12791 XSLT_PE_LIBS=""
12793 CPPFLAGS=$ac_save_CPPFLAGS
12795 if test "x$XSLT_PE_LIBS" = "x"
12796 then
12797 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12800 if ${VKD3D_PE_CFLAGS:+false} :
12801 then :
12802 if test ${MINGW_PKG_CONFIG+y}
12803 then :
12804 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12807 if ${VKD3D_PE_LIBS:+false} :
12808 then :
12809 if test ${MINGW_PKG_CONFIG+y}
12810 then :
12811 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12814 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12815 ac_save_CPPFLAGS=$CPPFLAGS
12816 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12818 printf %s "checking for MinGW vkd3d.h... " >&6; }
12819 if test ${ac_cv_mingw_header_vkd3d_h+y}
12820 then :
12821 printf %s "(cached) " >&6
12822 else $as_nop
12823 ac_wine_check_headers_saved_cc=$CC
12824 ac_wine_check_headers_saved_exeext=$ac_exeext
12825 eval CC=\$${wine_arch}_CC
12826 ac_exeext=".exe"
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 #include <vkd3d.h>
12832 main (void)
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_compile "$LINENO"
12840 then :
12841 ac_cv_mingw_header_vkd3d_h=yes
12842 else $as_nop
12843 ac_cv_mingw_header_vkd3d_h=no
12845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12846 CC=$ac_wine_check_headers_saved_cc
12847 ac_exeext=$ac_wine_check_headers_saved_exeext
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12850 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12851 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12852 then :
12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12856 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12857 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12858 then :
12859 printf %s "(cached) " >&6
12860 else $as_nop
12861 ac_wine_check_headers_saved_cc=$CC
12862 ac_wine_check_headers_saved_exeext=$ac_exeext
12863 eval CC=\$${wine_arch}_CC
12864 ac_exeext=".exe"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 #include <vkd3d_shader.h>
12870 main (void)
12874 return 0;
12876 _ACEOF
12877 if ac_fn_c_try_compile "$LINENO"
12878 then :
12879 ac_cv_mingw_header_vkd3d_shader_h=yes
12880 else $as_nop
12881 ac_cv_mingw_header_vkd3d_shader_h=no
12883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12884 CC=$ac_wine_check_headers_saved_cc
12885 ac_exeext=$ac_wine_check_headers_saved_exeext
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12888 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12889 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12890 then :
12893 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12894 then
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12896 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12897 if test ${ac_cv_mingw_lib_vkd3d+y}
12898 then :
12899 printf %s "(cached) " >&6
12900 else $as_nop
12901 ac_wine_check_headers_saved_cc=$CC
12902 ac_wine_check_headers_saved_exeext=$ac_exeext
12903 ac_wine_check_headers_saved_libs=$LIBS
12904 eval CC=\$${wine_arch}_CC
12905 ac_exeext=".exe"
12906 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12913 char vkd3d_set_log_callback ();
12915 main (void)
12917 return vkd3d_set_log_callback ();
12919 return 0;
12921 _ACEOF
12922 if ac_fn_c_try_link "$LINENO"
12923 then :
12924 ac_cv_mingw_lib_vkd3d=yes
12925 else $as_nop
12926 ac_cv_mingw_lib_vkd3d=no
12928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12929 conftest$ac_exeext conftest.$ac_ext
12930 CC=$ac_wine_check_headers_saved_cc
12931 ac_exeext=$ac_wine_check_headers_saved_exeext
12932 LIBS=$ac_wine_check_headers_saved_libs
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12935 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12936 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12937 then :
12939 else $as_nop
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12943 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12944 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12945 then :
12946 printf %s "(cached) " >&6
12947 else $as_nop
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 ac_wine_check_headers_saved_libs=$LIBS
12951 eval CC=\$${wine_arch}_CC
12952 ac_exeext=".exe"
12953 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 char vkd3d_shader_compile ();
12962 main (void)
12964 return vkd3d_shader_compile ();
12966 return 0;
12968 _ACEOF
12969 if ac_fn_c_try_link "$LINENO"
12970 then :
12971 ac_cv_mingw_lib_vkd3d_shader=yes
12972 else $as_nop
12973 ac_cv_mingw_lib_vkd3d_shader=no
12975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12976 conftest$ac_exeext conftest.$ac_ext
12977 CC=$ac_wine_check_headers_saved_cc
12978 ac_exeext=$ac_wine_check_headers_saved_exeext
12979 LIBS=$ac_wine_check_headers_saved_libs
12981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12982 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12983 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12984 then :
12986 else $as_nop
12989 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12990 then
12991 VKD3D_PE_CFLAGS=""
12992 VKD3D_PE_LIBS=""
12994 else
12995 VKD3D_PE_CFLAGS=""
12996 VKD3D_PE_LIBS=""
12998 CPPFLAGS=$ac_save_CPPFLAGS
13000 if test "x$VKD3D_PE_LIBS" = "x"
13001 then
13002 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13005 if ${ZLIB_PE_CFLAGS:+false} :
13006 then :
13007 if test ${MINGW_PKG_CONFIG+y}
13008 then :
13009 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13012 if ${ZLIB_PE_LIBS:+false} :
13013 then :
13014 if test ${MINGW_PKG_CONFIG+y}
13015 then :
13016 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13019 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13020 ac_save_CPPFLAGS=$CPPFLAGS
13021 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13023 printf %s "checking for MinGW zlib.h... " >&6; }
13024 if test ${ac_cv_mingw_header_zlib_h+y}
13025 then :
13026 printf %s "(cached) " >&6
13027 else $as_nop
13028 ac_wine_check_headers_saved_cc=$CC
13029 ac_wine_check_headers_saved_exeext=$ac_exeext
13030 eval CC=\$${wine_arch}_CC
13031 ac_exeext=".exe"
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13035 #include <zlib.h>
13037 main (void)
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_compile "$LINENO"
13045 then :
13046 ac_cv_mingw_header_zlib_h=yes
13047 else $as_nop
13048 ac_cv_mingw_header_zlib_h=no
13050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13051 CC=$ac_wine_check_headers_saved_cc
13052 ac_exeext=$ac_wine_check_headers_saved_exeext
13054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13055 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13056 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13057 then :
13058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13059 printf %s "checking for inflate in MinGW -lz... " >&6; }
13060 if test ${ac_cv_mingw_lib_z+y}
13061 then :
13062 printf %s "(cached) " >&6
13063 else $as_nop
13064 ac_wine_check_headers_saved_cc=$CC
13065 ac_wine_check_headers_saved_exeext=$ac_exeext
13066 ac_wine_check_headers_saved_libs=$LIBS
13067 eval CC=\$${wine_arch}_CC
13068 ac_exeext=".exe"
13069 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 char inflate ();
13078 main (void)
13080 return inflate ();
13082 return 0;
13084 _ACEOF
13085 if ac_fn_c_try_link "$LINENO"
13086 then :
13087 ac_cv_mingw_lib_z=yes
13088 else $as_nop
13089 ac_cv_mingw_lib_z=no
13091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13092 conftest$ac_exeext conftest.$ac_ext
13093 CC=$ac_wine_check_headers_saved_cc
13094 ac_exeext=$ac_wine_check_headers_saved_exeext
13095 LIBS=$ac_wine_check_headers_saved_libs
13097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13098 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13099 if test "x$ac_cv_mingw_lib_z" = xyes
13100 then :
13102 else $as_nop
13103 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13105 else $as_nop
13106 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13108 CPPFLAGS=$ac_save_CPPFLAGS
13110 if test "x$ZLIB_PE_LIBS" = "x"
13111 then
13112 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13116 if ${FAUDIO_PE_LIBS:+false} :
13117 then :
13118 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13119 if ${FAUDIO_PE_CFLAGS:+false} :
13120 then :
13121 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13122 else $as_nop
13123 enable_faudio=no
13125 else $as_nop
13126 enable_faudio=no
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13131 if ${GSM_PE_LIBS:+false} :
13132 then :
13133 GSM_PE_LIBS=gsm
13134 if ${GSM_PE_CFLAGS:+false} :
13135 then :
13136 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13137 else $as_nop
13138 enable_gsm=no
13140 else $as_nop
13141 enable_gsm=no
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13146 if ${JPEG_PE_LIBS:+false} :
13147 then :
13148 JPEG_PE_LIBS=jpeg
13149 if ${JPEG_PE_CFLAGS:+false} :
13150 then :
13151 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13152 else $as_nop
13153 enable_jpeg=no
13155 else $as_nop
13156 enable_jpeg=no
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13161 if ${JXR_PE_LIBS:+false} :
13162 then :
13163 JXR_PE_LIBS=jxr
13164 if ${JXR_PE_CFLAGS:+false} :
13165 then :
13166 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13167 else $as_nop
13168 enable_jxr=no
13170 else $as_nop
13171 enable_jxr=no
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13176 if ${LCMS2_PE_LIBS:+false} :
13177 then :
13178 LCMS2_PE_LIBS=lcms2
13179 if ${LCMS2_PE_CFLAGS:+false} :
13180 then :
13181 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13182 else $as_nop
13183 enable_lcms2=no
13185 else $as_nop
13186 enable_lcms2=no
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13191 if ${LDAP_PE_LIBS:+false} :
13192 then :
13193 LDAP_PE_LIBS=ldap
13194 if ${LDAP_PE_CFLAGS:+false} :
13195 then :
13196 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13197 else $as_nop
13198 enable_ldap=no
13200 else $as_nop
13201 enable_ldap=no
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13206 if ${MPG123_PE_LIBS:+false} :
13207 then :
13208 MPG123_PE_LIBS=mpg123
13209 if ${MPG123_PE_CFLAGS:+false} :
13210 then :
13211 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13212 else $as_nop
13213 enable_mpg123=no
13215 else $as_nop
13216 enable_mpg123=no
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13221 if ${PNG_PE_LIBS:+false} :
13222 then :
13223 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13224 if ${PNG_PE_CFLAGS:+false} :
13225 then :
13226 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13227 else $as_nop
13228 enable_png=no
13230 else $as_nop
13231 enable_png=no
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13236 if ${TIFF_PE_LIBS:+false} :
13237 then :
13238 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13239 if ${TIFF_PE_CFLAGS:+false} :
13240 then :
13241 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13242 else $as_nop
13243 enable_tiff=no
13245 else $as_nop
13246 enable_tiff=no
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13251 if ${VKD3D_PE_LIBS:+false} :
13252 then :
13253 VKD3D_PE_LIBS=vkd3d
13254 if ${VKD3D_PE_CFLAGS:+false} :
13255 then :
13256 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13257 else $as_nop
13258 enable_vkd3d=no
13260 else $as_nop
13261 enable_vkd3d=no
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13266 if ${XML2_PE_LIBS:+false} :
13267 then :
13268 XML2_PE_LIBS=xml2
13269 if ${XML2_PE_CFLAGS:+false} :
13270 then :
13271 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13272 else $as_nop
13273 enable_xml2=no
13275 else $as_nop
13276 enable_xml2=no
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13281 if ${XSLT_PE_LIBS:+false} :
13282 then :
13283 XSLT_PE_LIBS=xslt
13284 if ${XSLT_PE_CFLAGS:+false} :
13285 then :
13286 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13287 else $as_nop
13288 enable_xslt=no
13290 else $as_nop
13291 enable_xslt=no
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13296 if ${ZLIB_PE_LIBS:+false} :
13297 then :
13298 ZLIB_PE_LIBS=z
13299 if ${ZLIB_PE_CFLAGS:+false} :
13300 then :
13301 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13302 else $as_nop
13303 enable_zlib=no
13305 else $as_nop
13306 enable_zlib=no
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13313 if test "$ac_cv_header_pthread_h" = "yes"
13314 then
13315 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13316 if test "x$ac_cv_func_pthread_create" = xyes
13317 then :
13319 else $as_nop
13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13321 printf %s "checking for pthread_create in -lpthread... " >&6; }
13322 if test ${ac_cv_lib_pthread_pthread_create+y}
13323 then :
13324 printf %s "(cached) " >&6
13325 else $as_nop
13326 ac_check_lib_save_LIBS=$LIBS
13327 LIBS="-lpthread $LIBS"
13328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13331 /* Override any GCC internal prototype to avoid an error.
13332 Use char because int might match the return type of a GCC
13333 builtin and then its argument prototype would still apply. */
13334 char pthread_create ();
13336 main (void)
13338 return pthread_create ();
13340 return 0;
13342 _ACEOF
13343 if ac_fn_c_try_link "$LINENO"
13344 then :
13345 ac_cv_lib_pthread_pthread_create=yes
13346 else $as_nop
13347 ac_cv_lib_pthread_pthread_create=no
13349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13354 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13355 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13356 then :
13357 PTHREAD_LIBS="-lpthread"
13364 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13365 then :
13366 case "x$with_pthread" in
13367 xno) ;;
13368 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13369 Wine cannot support threads without libpthread.
13370 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13371 esac
13376 ac_ext=c
13377 ac_cpp='$CPP $CPPFLAGS'
13378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13382 printf %s "checking how to run the C preprocessor... " >&6; }
13383 # On Suns, sometimes $CPP names a directory.
13384 if test -n "$CPP" && test -d "$CPP"; then
13385 CPP=
13387 if test -z "$CPP"; then
13388 if test ${ac_cv_prog_CPP+y}
13389 then :
13390 printf %s "(cached) " >&6
13391 else $as_nop
13392 # Double quotes because $CC needs to be expanded
13393 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13395 ac_preproc_ok=false
13396 for ac_c_preproc_warn_flag in '' yes
13398 # Use a header file that comes with gcc, so configuring glibc
13399 # with a fresh cross-compiler works.
13400 # On the NeXT, cc -E runs the code through the compiler's parser,
13401 # not just through cpp. "Syntax error" is here to catch this case.
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13404 #include <limits.h>
13405 Syntax error
13406 _ACEOF
13407 if ac_fn_c_try_cpp "$LINENO"
13408 then :
13410 else $as_nop
13411 # Broken: fails on valid input.
13412 continue
13414 rm -f conftest.err conftest.i conftest.$ac_ext
13416 # OK, works on sane cases. Now check whether nonexistent headers
13417 # can be detected and how.
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13420 #include <ac_nonexistent.h>
13421 _ACEOF
13422 if ac_fn_c_try_cpp "$LINENO"
13423 then :
13424 # Broken: success on invalid input.
13425 continue
13426 else $as_nop
13427 # Passes both tests.
13428 ac_preproc_ok=:
13429 break
13431 rm -f conftest.err conftest.i conftest.$ac_ext
13433 done
13434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13435 rm -f conftest.i conftest.err conftest.$ac_ext
13436 if $ac_preproc_ok
13437 then :
13438 break
13441 done
13442 ac_cv_prog_CPP=$CPP
13445 CPP=$ac_cv_prog_CPP
13446 else
13447 ac_cv_prog_CPP=$CPP
13449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13450 printf "%s\n" "$CPP" >&6; }
13451 ac_preproc_ok=false
13452 for ac_c_preproc_warn_flag in '' yes
13454 # Use a header file that comes with gcc, so configuring glibc
13455 # with a fresh cross-compiler works.
13456 # On the NeXT, cc -E runs the code through the compiler's parser,
13457 # not just through cpp. "Syntax error" is here to catch this case.
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <limits.h>
13461 Syntax error
13462 _ACEOF
13463 if ac_fn_c_try_cpp "$LINENO"
13464 then :
13466 else $as_nop
13467 # Broken: fails on valid input.
13468 continue
13470 rm -f conftest.err conftest.i conftest.$ac_ext
13472 # OK, works on sane cases. Now check whether nonexistent headers
13473 # can be detected and how.
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <ac_nonexistent.h>
13477 _ACEOF
13478 if ac_fn_c_try_cpp "$LINENO"
13479 then :
13480 # Broken: success on invalid input.
13481 continue
13482 else $as_nop
13483 # Passes both tests.
13484 ac_preproc_ok=:
13485 break
13487 rm -f conftest.err conftest.i conftest.$ac_ext
13489 done
13490 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13491 rm -f conftest.i conftest.err conftest.$ac_ext
13492 if $ac_preproc_ok
13493 then :
13495 else $as_nop
13496 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13497 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13498 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13499 See \`config.log' for more details" "$LINENO" 5; }
13502 ac_ext=c
13503 ac_cpp='$CPP $CPPFLAGS'
13504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13510 printf %s "checking for X... " >&6; }
13513 # Check whether --with-x was given.
13514 if test ${with_x+y}
13515 then :
13516 withval=$with_x;
13519 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13520 if test "x$with_x" = xno; then
13521 # The user explicitly disabled X.
13522 have_x=disabled
13523 else
13524 case $x_includes,$x_libraries in #(
13525 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13526 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13527 then :
13528 printf %s "(cached) " >&6
13529 else $as_nop
13530 # One or both of the vars are not set, and there is no cached value.
13531 ac_x_includes=no
13532 ac_x_libraries=no
13533 # Do we need to do anything special at all?
13534 ac_save_LIBS=$LIBS
13535 LIBS="-lX11 $LIBS"
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13538 #include <X11/Xlib.h>
13540 main (void)
13542 XrmInitialize ()
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"
13548 then :
13549 # We can compile and link X programs with no special options.
13550 ac_x_includes=
13551 ac_x_libraries=
13553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS="$ac_save_LIBS"
13556 # If that didn't work, only try xmkmf and file system searches
13557 # for native compilation.
13558 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13559 then :
13560 rm -f -r conftest.dir
13561 if mkdir conftest.dir; then
13562 cd conftest.dir
13563 cat >Imakefile <<'_ACEOF'
13564 incroot:
13565 @echo incroot='${INCROOT}'
13566 usrlibdir:
13567 @echo usrlibdir='${USRLIBDIR}'
13568 libdir:
13569 @echo libdir='${LIBDIR}'
13570 _ACEOF
13571 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13573 for ac_var in incroot usrlibdir libdir; do
13574 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13575 done
13576 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13577 for ac_extension in a so sl dylib la dll; do
13578 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13579 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13580 ac_im_usrlibdir=$ac_im_libdir; break
13582 done
13583 # Screen out bogus values from the imake configuration. They are
13584 # bogus both because they are the default anyway, and because
13585 # using them would break gcc on systems where it needs fixed includes.
13586 case $ac_im_incroot in
13587 /usr/include) ac_x_includes= ;;
13588 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13589 esac
13590 case $ac_im_usrlibdir in
13591 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13592 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13593 esac
13595 cd ..
13596 rm -f -r conftest.dir
13599 # Standard set of common directories for X headers.
13600 # Check X11 before X11Rn because it is often a symlink to the current release.
13601 ac_x_header_dirs='
13602 /usr/X11/include
13603 /usr/X11R7/include
13604 /usr/X11R6/include
13605 /usr/X11R5/include
13606 /usr/X11R4/include
13608 /usr/include/X11
13609 /usr/include/X11R7
13610 /usr/include/X11R6
13611 /usr/include/X11R5
13612 /usr/include/X11R4
13614 /usr/local/X11/include
13615 /usr/local/X11R7/include
13616 /usr/local/X11R6/include
13617 /usr/local/X11R5/include
13618 /usr/local/X11R4/include
13620 /usr/local/include/X11
13621 /usr/local/include/X11R7
13622 /usr/local/include/X11R6
13623 /usr/local/include/X11R5
13624 /usr/local/include/X11R4
13626 /opt/X11/include
13628 /usr/X386/include
13629 /usr/x386/include
13630 /usr/XFree86/include/X11
13632 /usr/include
13633 /usr/local/include
13634 /usr/unsupported/include
13635 /usr/athena/include
13636 /usr/local/x11r5/include
13637 /usr/lpp/Xamples/include
13639 /usr/openwin/include
13640 /usr/openwin/share/include'
13642 if test "$ac_x_includes" = no; then
13643 # Guess where to find include files, by looking for Xlib.h.
13644 # First, try using that file with no special directory specified.
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 #include <X11/Xlib.h>
13648 _ACEOF
13649 if ac_fn_c_try_cpp "$LINENO"
13650 then :
13651 # We can compile using X headers with no special include directory.
13652 ac_x_includes=
13653 else $as_nop
13654 for ac_dir in $ac_x_header_dirs; do
13655 if test -r "$ac_dir/X11/Xlib.h"; then
13656 ac_x_includes=$ac_dir
13657 break
13659 done
13661 rm -f conftest.err conftest.i conftest.$ac_ext
13662 fi # $ac_x_includes = no
13664 if test "$ac_x_libraries" = no; then
13665 # Check for the libraries.
13666 # See if we find them without any special options.
13667 # Don't add to $LIBS permanently.
13668 ac_save_LIBS=$LIBS
13669 LIBS="-lX11 $LIBS"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 #include <X11/Xlib.h>
13674 main (void)
13676 XrmInitialize ()
13678 return 0;
13680 _ACEOF
13681 if ac_fn_c_try_link "$LINENO"
13682 then :
13683 LIBS=$ac_save_LIBS
13684 # We can link X programs with no special library path.
13685 ac_x_libraries=
13686 else $as_nop
13687 LIBS=$ac_save_LIBS
13688 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13690 # Don't even attempt the hair of trying to link an X program!
13691 for ac_extension in a so sl dylib la dll; do
13692 if test -r "$ac_dir/libX11.$ac_extension"; then
13693 ac_x_libraries=$ac_dir
13694 break 2
13696 done
13697 done
13699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13700 conftest$ac_exeext conftest.$ac_ext
13701 fi # $ac_x_libraries = no
13704 # Record the results.
13705 case $ac_x_includes,$ac_x_libraries in #(
13706 no,* | *,no | *\'*) :
13707 # Didn't find X, or a directory has "'" in its name.
13708 ac_cv_have_x="have_x=no" ;; #(
13709 *) :
13710 # Record where we found X for the cache.
13711 ac_cv_have_x="have_x=yes\
13712 ac_x_includes='$ac_x_includes'\
13713 ac_x_libraries='$ac_x_libraries'" ;;
13714 esac
13716 ;; #(
13717 *) have_x=yes;;
13718 esac
13719 eval "$ac_cv_have_x"
13720 fi # $with_x != no
13722 if test "$have_x" != yes; then
13723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13724 printf "%s\n" "$have_x" >&6; }
13725 no_x=yes
13726 else
13727 # If each of the values was on the command line, it overrides each guess.
13728 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13729 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13730 # Update the cache value to reflect the command line values.
13731 ac_cv_have_x="have_x=yes\
13732 ac_x_includes='$x_includes'\
13733 ac_x_libraries='$x_libraries'"
13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13735 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13738 if test "$no_x" = yes; then
13739 # Not all programs may use this symbol, but it does not hurt to define it.
13741 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13743 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13744 else
13745 if test -n "$x_includes"; then
13746 X_CFLAGS="$X_CFLAGS -I$x_includes"
13749 # It would also be nice to do this for all -L options, not just this one.
13750 if test -n "$x_libraries"; then
13751 X_LIBS="$X_LIBS -L$x_libraries"
13752 # For Solaris; some versions of Sun CC require a space after -R and
13753 # others require no space. Words are not sufficient . . . .
13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13755 printf %s "checking whether -R must be followed by a space... " >&6; }
13756 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13757 ac_xsave_c_werror_flag=$ac_c_werror_flag
13758 ac_c_werror_flag=yes
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13763 main (void)
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"
13771 then :
13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13773 printf "%s\n" "no" >&6; }
13774 X_LIBS="$X_LIBS -R$x_libraries"
13775 else $as_nop
13776 LIBS="$ac_xsave_LIBS -R $x_libraries"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13781 main (void)
13785 return 0;
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"
13789 then :
13790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13791 printf "%s\n" "yes" >&6; }
13792 X_LIBS="$X_LIBS -R $x_libraries"
13793 else $as_nop
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13795 printf "%s\n" "neither works" >&6; }
13797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13798 conftest$ac_exeext conftest.$ac_ext
13800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13801 conftest$ac_exeext conftest.$ac_ext
13802 ac_c_werror_flag=$ac_xsave_c_werror_flag
13803 LIBS=$ac_xsave_LIBS
13806 # Check for system-dependent libraries X programs must link with.
13807 # Do this before checking for the system-independent R6 libraries
13808 # (-lICE), since we may need -lsocket or whatever for X linking.
13810 if test "$ISC" = yes; then
13811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13812 else
13813 # Martyn Johnson says this is needed for Ultrix, if the X
13814 # libraries were built with DECnet support. And Karl Berry says
13815 # the Alpha needs dnet_stub (dnet does not exist).
13816 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13820 /* Override any GCC internal prototype to avoid an error.
13821 Use char because int might match the return type of a GCC
13822 builtin and then its argument prototype would still apply. */
13823 char XOpenDisplay ();
13825 main (void)
13827 return XOpenDisplay ();
13829 return 0;
13831 _ACEOF
13832 if ac_fn_c_try_link "$LINENO"
13833 then :
13835 else $as_nop
13836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13837 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13838 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13839 then :
13840 printf %s "(cached) " >&6
13841 else $as_nop
13842 ac_check_lib_save_LIBS=$LIBS
13843 LIBS="-ldnet $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 char dnet_ntoa ();
13852 main (void)
13854 return dnet_ntoa ();
13856 return 0;
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"
13860 then :
13861 ac_cv_lib_dnet_dnet_ntoa=yes
13862 else $as_nop
13863 ac_cv_lib_dnet_dnet_ntoa=no
13865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_lib_save_LIBS
13869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13870 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13871 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13872 then :
13873 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13876 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13878 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13879 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13880 then :
13881 printf %s "(cached) " >&6
13882 else $as_nop
13883 ac_check_lib_save_LIBS=$LIBS
13884 LIBS="-ldnet_stub $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 char dnet_ntoa ();
13893 main (void)
13895 return dnet_ntoa ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"
13901 then :
13902 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13903 else $as_nop
13904 ac_cv_lib_dnet_stub_dnet_ntoa=no
13906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_lib_save_LIBS
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13911 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13912 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13913 then :
13914 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13920 conftest$ac_exeext conftest.$ac_ext
13921 LIBS="$ac_xsave_LIBS"
13923 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13924 # to get the SysV transport functions.
13925 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13926 # needs -lnsl.
13927 # The nsl library prevents programs from opening the X display
13928 # on Irix 5.2, according to T.E. Dickey.
13929 # The functions gethostbyname, getservbyname, and inet_addr are
13930 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13931 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13932 if test "x$ac_cv_func_gethostbyname" = xyes
13933 then :
13937 if test $ac_cv_func_gethostbyname = no; then
13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13939 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13940 if test ${ac_cv_lib_nsl_gethostbyname+y}
13941 then :
13942 printf %s "(cached) " >&6
13943 else $as_nop
13944 ac_check_lib_save_LIBS=$LIBS
13945 LIBS="-lnsl $LIBS"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13952 char gethostbyname ();
13954 main (void)
13956 return gethostbyname ();
13958 return 0;
13960 _ACEOF
13961 if ac_fn_c_try_link "$LINENO"
13962 then :
13963 ac_cv_lib_nsl_gethostbyname=yes
13964 else $as_nop
13965 ac_cv_lib_nsl_gethostbyname=no
13967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13968 conftest$ac_exeext conftest.$ac_ext
13969 LIBS=$ac_check_lib_save_LIBS
13971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13972 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13973 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13974 then :
13975 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13978 if test $ac_cv_lib_nsl_gethostbyname = no; then
13979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13980 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13981 if test ${ac_cv_lib_bsd_gethostbyname+y}
13982 then :
13983 printf %s "(cached) " >&6
13984 else $as_nop
13985 ac_check_lib_save_LIBS=$LIBS
13986 LIBS="-lbsd $LIBS"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13990 /* Override any GCC internal prototype to avoid an error.
13991 Use char because int might match the return type of a GCC
13992 builtin and then its argument prototype would still apply. */
13993 char gethostbyname ();
13995 main (void)
13997 return gethostbyname ();
13999 return 0;
14001 _ACEOF
14002 if ac_fn_c_try_link "$LINENO"
14003 then :
14004 ac_cv_lib_bsd_gethostbyname=yes
14005 else $as_nop
14006 ac_cv_lib_bsd_gethostbyname=no
14008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14009 conftest$ac_exeext conftest.$ac_ext
14010 LIBS=$ac_check_lib_save_LIBS
14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14013 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14014 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14015 then :
14016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14022 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14023 # socket/setsockopt and other routines are undefined under SCO ODT
14024 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14025 # on later versions), says Simon Leinen: it contains gethostby*
14026 # variants that don't use the name server (or something). -lsocket
14027 # must be given before -lnsl if both are needed. We assume that
14028 # if connect needs -lnsl, so does gethostbyname.
14029 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14030 if test "x$ac_cv_func_connect" = xyes
14031 then :
14035 if test $ac_cv_func_connect = no; then
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14037 printf %s "checking for connect in -lsocket... " >&6; }
14038 if test ${ac_cv_lib_socket_connect+y}
14039 then :
14040 printf %s "(cached) " >&6
14041 else $as_nop
14042 ac_check_lib_save_LIBS=$LIBS
14043 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14050 char connect ();
14052 main (void)
14054 return connect ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"
14060 then :
14061 ac_cv_lib_socket_connect=yes
14062 else $as_nop
14063 ac_cv_lib_socket_connect=no
14065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14066 conftest$ac_exeext conftest.$ac_ext
14067 LIBS=$ac_check_lib_save_LIBS
14069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14070 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14071 if test "x$ac_cv_lib_socket_connect" = xyes
14072 then :
14073 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14078 # Guillermo Gomez says -lposix is necessary on A/UX.
14079 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14080 if test "x$ac_cv_func_remove" = xyes
14081 then :
14085 if test $ac_cv_func_remove = no; then
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14087 printf %s "checking for remove in -lposix... " >&6; }
14088 if test ${ac_cv_lib_posix_remove+y}
14089 then :
14090 printf %s "(cached) " >&6
14091 else $as_nop
14092 ac_check_lib_save_LIBS=$LIBS
14093 LIBS="-lposix $LIBS"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14097 /* Override any GCC internal prototype to avoid an error.
14098 Use char because int might match the return type of a GCC
14099 builtin and then its argument prototype would still apply. */
14100 char remove ();
14102 main (void)
14104 return remove ();
14106 return 0;
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"
14110 then :
14111 ac_cv_lib_posix_remove=yes
14112 else $as_nop
14113 ac_cv_lib_posix_remove=no
14115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14116 conftest$ac_exeext conftest.$ac_ext
14117 LIBS=$ac_check_lib_save_LIBS
14119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14120 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14121 if test "x$ac_cv_lib_posix_remove" = xyes
14122 then :
14123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14128 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14129 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14130 if test "x$ac_cv_func_shmat" = xyes
14131 then :
14135 if test $ac_cv_func_shmat = no; then
14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14137 printf %s "checking for shmat in -lipc... " >&6; }
14138 if test ${ac_cv_lib_ipc_shmat+y}
14139 then :
14140 printf %s "(cached) " >&6
14141 else $as_nop
14142 ac_check_lib_save_LIBS=$LIBS
14143 LIBS="-lipc $LIBS"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 /* Override any GCC internal prototype to avoid an error.
14148 Use char because int might match the return type of a GCC
14149 builtin and then its argument prototype would still apply. */
14150 char shmat ();
14152 main (void)
14154 return shmat ();
14156 return 0;
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"
14160 then :
14161 ac_cv_lib_ipc_shmat=yes
14162 else $as_nop
14163 ac_cv_lib_ipc_shmat=no
14165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14166 conftest$ac_exeext conftest.$ac_ext
14167 LIBS=$ac_check_lib_save_LIBS
14169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14170 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14171 if test "x$ac_cv_lib_ipc_shmat" = xyes
14172 then :
14173 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14179 # Check for libraries that X11R6 Xt/Xaw programs need.
14180 ac_save_LDFLAGS=$LDFLAGS
14181 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14182 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14183 # check for ICE first), but we must link in the order -lSM -lICE or
14184 # we get undefined symbols. So assume we have SM if we have ICE.
14185 # These have to be linked with before -lX11, unlike the other
14186 # libraries we check for below, so use a different variable.
14187 # John Interrante, Karl Berry
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14189 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14190 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14191 then :
14192 printf %s "(cached) " >&6
14193 else $as_nop
14194 ac_check_lib_save_LIBS=$LIBS
14195 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 char IceConnectionNumber ();
14204 main (void)
14206 return IceConnectionNumber ();
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"
14212 then :
14213 ac_cv_lib_ICE_IceConnectionNumber=yes
14214 else $as_nop
14215 ac_cv_lib_ICE_IceConnectionNumber=no
14217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_lib_save_LIBS
14221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14222 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14223 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14224 then :
14225 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14228 LDFLAGS=$ac_save_LDFLAGS
14233 if test "$have_x" = "yes"
14234 then
14235 ac_save_CPPFLAGS="$CPPFLAGS"
14236 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14239 printf %s "checking for -lX11... " >&6; }
14240 if test ${ac_cv_lib_soname_X11+y}
14241 then :
14242 printf %s "(cached) " >&6
14243 else $as_nop
14244 ac_check_soname_save_LIBS=$LIBS
14245 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14249 /* Override any GCC internal prototype to avoid an error.
14250 Use char because int might match the return type of a GCC
14251 builtin and then its argument prototype would still apply. */
14252 char XCreateWindow ();
14254 main (void)
14256 return XCreateWindow ();
14258 return 0;
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"
14262 then :
14263 case "$LIBEXT" in
14264 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14265 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'` ;;
14266 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14267 if ${ac_cv_lib_soname_X11:+false} :
14268 then :
14269 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14270 fi ;;
14271 esac
14272 else $as_nop
14273 ac_cv_lib_soname_X11=
14275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14276 conftest$ac_exeext conftest.$ac_ext
14277 LIBS=$ac_check_soname_save_LIBS
14279 if ${ac_cv_lib_soname_X11:+false} :
14280 then :
14281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14282 printf "%s\n" "not found" >&6; }
14284 else $as_nop
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14286 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14288 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14293 printf %s "checking for -lXext... " >&6; }
14294 if test ${ac_cv_lib_soname_Xext+y}
14295 then :
14296 printf %s "(cached) " >&6
14297 else $as_nop
14298 ac_check_soname_save_LIBS=$LIBS
14299 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14303 /* Override any GCC internal prototype to avoid an error.
14304 Use char because int might match the return type of a GCC
14305 builtin and then its argument prototype would still apply. */
14306 char XextCreateExtension ();
14308 main (void)
14310 return XextCreateExtension ();
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"
14316 then :
14317 case "$LIBEXT" in
14318 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14319 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'` ;;
14320 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14321 if ${ac_cv_lib_soname_Xext:+false} :
14322 then :
14323 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14324 fi ;;
14325 esac
14326 else $as_nop
14327 ac_cv_lib_soname_Xext=
14329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14330 conftest$ac_exeext conftest.$ac_ext
14331 LIBS=$ac_check_soname_save_LIBS
14333 if ${ac_cv_lib_soname_Xext:+false} :
14334 then :
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14336 printf "%s\n" "not found" >&6; }
14338 else $as_nop
14339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14340 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14342 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14344 X_LIBS="$X_LIBS -lXext"
14346 X_LIBS="$X_LIBS -lX11"
14348 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14349 # include <X11/Xlib.h>
14350 #endif
14351 #ifdef HAVE_X11_XUTIL_H
14352 # include <X11/Xutil.h>
14353 #endif
14355 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14356 then :
14357 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14360 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14361 # include <X11/Xlib.h>
14362 #endif
14363 #ifdef HAVE_X11_XUTIL_H
14364 # include <X11/Xutil.h>
14365 #endif
14367 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14368 then :
14369 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14372 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14373 # include <X11/Xlib.h>
14374 #endif
14375 #ifdef HAVE_X11_XUTIL_H
14376 # include <X11/Xutil.h>
14377 #endif
14379 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14380 then :
14381 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14384 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14386 #endif
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14389 #endif
14391 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14392 then :
14393 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14398 #endif
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14401 #endif
14403 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14404 then :
14405 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14410 #endif
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14413 #endif
14415 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14416 then :
14417 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14422 #endif
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14425 #endif
14427 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14428 then :
14429 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14434 #endif
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14437 #endif
14439 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14440 then :
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14446 #endif
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14449 #endif
14451 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14458 #endif
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14461 #endif
14463 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14470 #endif
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14473 #endif
14475 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14482 #endif
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14485 #endif
14487 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14494 #endif
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14497 #endif
14499 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14506 #endif
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14509 #endif
14511 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14518 #endif
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14521 #endif
14523 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14530 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14531 then
14532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14533 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14534 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14535 then :
14536 printf %s "(cached) " >&6
14537 else $as_nop
14538 ac_check_lib_save_LIBS=$LIBS
14539 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14543 /* Override any GCC internal prototype to avoid an error.
14544 Use char because int might match the return type of a GCC
14545 builtin and then its argument prototype would still apply. */
14546 char XkbQueryExtension ();
14548 main (void)
14550 return XkbQueryExtension ();
14552 return 0;
14554 _ACEOF
14555 if ac_fn_c_try_link "$LINENO"
14556 then :
14557 ac_cv_lib_X11_XkbQueryExtension=yes
14558 else $as_nop
14559 ac_cv_lib_X11_XkbQueryExtension=no
14561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14562 conftest$ac_exeext conftest.$ac_ext
14563 LIBS=$ac_check_lib_save_LIBS
14565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14566 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14567 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14568 then :
14570 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14576 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14577 then
14578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14579 printf %s "checking for -lXcursor... " >&6; }
14580 if test ${ac_cv_lib_soname_Xcursor+y}
14581 then :
14582 printf %s "(cached) " >&6
14583 else $as_nop
14584 ac_check_soname_save_LIBS=$LIBS
14585 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14592 char XcursorImageLoadCursor ();
14594 main (void)
14596 return XcursorImageLoadCursor ();
14598 return 0;
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"
14602 then :
14603 case "$LIBEXT" in
14604 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14605 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'` ;;
14606 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14607 if ${ac_cv_lib_soname_Xcursor:+false} :
14608 then :
14609 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14610 fi ;;
14611 esac
14612 else $as_nop
14613 ac_cv_lib_soname_Xcursor=
14615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LIBS=$ac_check_soname_save_LIBS
14619 if ${ac_cv_lib_soname_Xcursor:+false} :
14620 then :
14621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14622 printf "%s\n" "not found" >&6; }
14624 else $as_nop
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14626 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14628 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14633 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14634 then :
14635 case "x$with_xcursor" in
14636 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14637 xno) ;;
14638 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14639 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14640 esac
14644 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14645 then
14646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14647 printf %s "checking for -lXi... " >&6; }
14648 if test ${ac_cv_lib_soname_Xi+y}
14649 then :
14650 printf %s "(cached) " >&6
14651 else $as_nop
14652 ac_check_soname_save_LIBS=$LIBS
14653 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14660 char XOpenDevice ();
14662 main (void)
14664 return XOpenDevice ();
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"
14670 then :
14671 case "$LIBEXT" in
14672 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14673 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'` ;;
14674 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14675 if ${ac_cv_lib_soname_Xi:+false} :
14676 then :
14677 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14678 fi ;;
14679 esac
14680 else $as_nop
14681 ac_cv_lib_soname_Xi=
14683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14684 conftest$ac_exeext conftest.$ac_ext
14685 LIBS=$ac_check_soname_save_LIBS
14687 if ${ac_cv_lib_soname_Xi:+false} :
14688 then :
14689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14690 printf "%s\n" "not found" >&6; }
14692 else $as_nop
14693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14694 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14696 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14701 if test "x$ac_cv_lib_soname_Xi" = "x"
14702 then :
14703 case "x$with_xinput" in
14704 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14705 xno) ;;
14706 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14707 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14708 esac
14712 if test "x$ac_cv_lib_soname_Xi" != x
14713 then
14714 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14715 then :
14716 case "x$with_xinput2" in
14717 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14718 xno) ;;
14719 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14720 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14721 esac
14726 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14727 then
14728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14729 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14730 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14731 then :
14732 printf %s "(cached) " >&6
14733 else $as_nop
14734 ac_check_lib_save_LIBS=$LIBS
14735 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14742 char XShmQueryExtension ();
14744 main (void)
14746 return XShmQueryExtension ();
14748 return 0;
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"
14752 then :
14753 ac_cv_lib_Xext_XShmQueryExtension=yes
14754 else $as_nop
14755 ac_cv_lib_Xext_XShmQueryExtension=no
14757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14758 conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_check_lib_save_LIBS
14761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14762 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14763 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14764 then :
14766 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14771 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14772 then :
14773 case "x$with_xshm" in
14774 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14775 xno) ;;
14776 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14777 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14778 esac
14782 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14783 then
14784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14785 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14786 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14787 then :
14788 printf %s "(cached) " >&6
14789 else $as_nop
14790 ac_check_lib_save_LIBS=$LIBS
14791 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14798 char XShapeQueryExtension ();
14800 main (void)
14802 return XShapeQueryExtension ();
14804 return 0;
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"
14808 then :
14809 ac_cv_lib_Xext_XShapeQueryExtension=yes
14810 else $as_nop
14811 ac_cv_lib_Xext_XShapeQueryExtension=no
14813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_lib_save_LIBS
14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14818 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14819 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14820 then :
14822 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14827 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14828 then :
14829 case "x$with_xshape" in
14830 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14831 xno) ;;
14832 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14833 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14834 esac
14838 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14839 then
14840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14841 printf %s "checking for -lXxf86vm... " >&6; }
14842 if test ${ac_cv_lib_soname_Xxf86vm+y}
14843 then :
14844 printf %s "(cached) " >&6
14845 else $as_nop
14846 ac_check_soname_save_LIBS=$LIBS
14847 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14854 char XF86VidModeQueryExtension ();
14856 main (void)
14858 return XF86VidModeQueryExtension ();
14860 return 0;
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"
14864 then :
14865 case "$LIBEXT" in
14866 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14867 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'` ;;
14868 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14869 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14870 then :
14871 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14872 fi ;;
14873 esac
14874 else $as_nop
14875 ac_cv_lib_soname_Xxf86vm=
14877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14878 conftest$ac_exeext conftest.$ac_ext
14879 LIBS=$ac_check_soname_save_LIBS
14881 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14882 then :
14883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14884 printf "%s\n" "not found" >&6; }
14886 else $as_nop
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14888 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14890 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14895 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14896 then :
14897 case "x$with_xxf86vm" in
14898 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14899 xno) ;;
14900 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14901 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14902 esac
14906 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14907 then
14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14909 printf %s "checking for -lXrender... " >&6; }
14910 if test ${ac_cv_lib_soname_Xrender+y}
14911 then :
14912 printf %s "(cached) " >&6
14913 else $as_nop
14914 ac_check_soname_save_LIBS=$LIBS
14915 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14919 /* Override any GCC internal prototype to avoid an error.
14920 Use char because int might match the return type of a GCC
14921 builtin and then its argument prototype would still apply. */
14922 char XRenderQueryExtension ();
14924 main (void)
14926 return XRenderQueryExtension ();
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"
14932 then :
14933 case "$LIBEXT" in
14934 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14935 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'` ;;
14936 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14937 if ${ac_cv_lib_soname_Xrender:+false} :
14938 then :
14939 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14940 fi ;;
14941 esac
14942 else $as_nop
14943 ac_cv_lib_soname_Xrender=
14945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14946 conftest$ac_exeext conftest.$ac_ext
14947 LIBS=$ac_check_soname_save_LIBS
14949 if ${ac_cv_lib_soname_Xrender:+false} :
14950 then :
14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14952 printf "%s\n" "not found" >&6; }
14954 else $as_nop
14955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14956 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14958 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14961 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14962 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14963 then :
14964 printf %s "(cached) " >&6
14965 else $as_nop
14966 ac_check_lib_save_LIBS=$LIBS
14967 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14971 /* Override any GCC internal prototype to avoid an error.
14972 Use char because int might match the return type of a GCC
14973 builtin and then its argument prototype would still apply. */
14974 char XRenderSetPictureTransform ();
14976 main (void)
14978 return XRenderSetPictureTransform ();
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"
14984 then :
14985 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14986 else $as_nop
14987 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14990 conftest$ac_exeext conftest.$ac_ext
14991 LIBS=$ac_check_lib_save_LIBS
14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14994 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14995 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14996 then :
14998 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15003 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15004 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15005 then :
15006 printf %s "(cached) " >&6
15007 else $as_nop
15008 ac_check_lib_save_LIBS=$LIBS
15009 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 char XRenderCreateLinearGradient ();
15018 main (void)
15020 return XRenderCreateLinearGradient ();
15022 return 0;
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"
15026 then :
15027 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15028 else $as_nop
15029 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15032 conftest$ac_exeext conftest.$ac_ext
15033 LIBS=$ac_check_lib_save_LIBS
15035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15036 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15037 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15038 then :
15040 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15047 if test "x$ac_cv_lib_soname_Xrender" = "x"
15048 then :
15049 case "x$with_xrender" in
15050 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15051 xno) ;;
15052 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15053 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15054 esac
15058 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15059 then
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15062 #include <X11/Xlib.h>
15063 #include <X11/extensions/Xrandr.h>
15065 main (void)
15067 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_compile "$LINENO"
15073 then :
15074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15075 printf %s "checking for -lXrandr... " >&6; }
15076 if test ${ac_cv_lib_soname_Xrandr+y}
15077 then :
15078 printf %s "(cached) " >&6
15079 else $as_nop
15080 ac_check_soname_save_LIBS=$LIBS
15081 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 char XRRQueryExtension ();
15090 main (void)
15092 return XRRQueryExtension ();
15094 return 0;
15096 _ACEOF
15097 if ac_fn_c_try_link "$LINENO"
15098 then :
15099 case "$LIBEXT" in
15100 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15101 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'` ;;
15102 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15103 if ${ac_cv_lib_soname_Xrandr:+false} :
15104 then :
15105 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15106 fi ;;
15107 esac
15108 else $as_nop
15109 ac_cv_lib_soname_Xrandr=
15111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15112 conftest$ac_exeext conftest.$ac_ext
15113 LIBS=$ac_check_soname_save_LIBS
15115 if ${ac_cv_lib_soname_Xrandr:+false} :
15116 then :
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15118 printf "%s\n" "not found" >&6; }
15120 else $as_nop
15121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15122 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15124 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 #include <X11/Xlib.h>
15129 #include <X11/extensions/Xrandr.h>
15131 main (void)
15133 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_compile "$LINENO"
15139 then :
15141 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15143 else $as_nop
15144 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15151 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15152 then :
15153 case "x$with_xrandr" in
15154 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15155 xno) ;;
15156 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15157 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15158 esac
15162 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15163 then
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #include <X11/Xlib.h>
15167 #include <X11/extensions/Xfixes.h>
15169 main (void)
15171 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_compile "$LINENO"
15177 then :
15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15179 printf %s "checking for -lXfixes... " >&6; }
15180 if test ${ac_cv_lib_soname_Xfixes+y}
15181 then :
15182 printf %s "(cached) " >&6
15183 else $as_nop
15184 ac_check_soname_save_LIBS=$LIBS
15185 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15189 /* Override any GCC internal prototype to avoid an error.
15190 Use char because int might match the return type of a GCC
15191 builtin and then its argument prototype would still apply. */
15192 char XFixesQueryVersion ();
15194 main (void)
15196 return XFixesQueryVersion ();
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"
15202 then :
15203 case "$LIBEXT" in
15204 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15205 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'` ;;
15206 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15207 if ${ac_cv_lib_soname_Xfixes:+false} :
15208 then :
15209 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15210 fi ;;
15211 esac
15212 else $as_nop
15213 ac_cv_lib_soname_Xfixes=
15215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15216 conftest$ac_exeext conftest.$ac_ext
15217 LIBS=$ac_check_soname_save_LIBS
15219 if ${ac_cv_lib_soname_Xfixes:+false} :
15220 then :
15221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15222 printf "%s\n" "not found" >&6; }
15224 else $as_nop
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15226 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15228 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15235 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15236 then :
15237 case "x$with_xfixes" in
15238 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15239 xno) ;;
15240 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15241 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15242 esac
15246 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15247 then
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15250 #include <X11/Xlib.h>
15251 #include <X11/extensions/Xinerama.h>
15253 main (void)
15255 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15257 return 0;
15259 _ACEOF
15260 if ac_fn_c_try_compile "$LINENO"
15261 then :
15262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15263 printf %s "checking for -lXinerama... " >&6; }
15264 if test ${ac_cv_lib_soname_Xinerama+y}
15265 then :
15266 printf %s "(cached) " >&6
15267 else $as_nop
15268 ac_check_soname_save_LIBS=$LIBS
15269 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15276 char XineramaQueryScreens ();
15278 main (void)
15280 return XineramaQueryScreens ();
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_link "$LINENO"
15286 then :
15287 case "$LIBEXT" in
15288 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15289 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'` ;;
15290 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15291 if ${ac_cv_lib_soname_Xinerama:+false} :
15292 then :
15293 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15294 fi ;;
15295 esac
15296 else $as_nop
15297 ac_cv_lib_soname_Xinerama=
15299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15300 conftest$ac_exeext conftest.$ac_ext
15301 LIBS=$ac_check_soname_save_LIBS
15303 if ${ac_cv_lib_soname_Xinerama:+false} :
15304 then :
15305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15306 printf "%s\n" "not found" >&6; }
15308 else $as_nop
15309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15310 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15312 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15319 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15320 then :
15321 case "x$with_xinerama" in
15322 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15323 xno) ;;
15324 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15325 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15326 esac
15330 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15331 then
15332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15333 printf %s "checking for -lXcomposite... " >&6; }
15334 if test ${ac_cv_lib_soname_Xcomposite+y}
15335 then :
15336 printf %s "(cached) " >&6
15337 else $as_nop
15338 ac_check_soname_save_LIBS=$LIBS
15339 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15343 /* Override any GCC internal prototype to avoid an error.
15344 Use char because int might match the return type of a GCC
15345 builtin and then its argument prototype would still apply. */
15346 char XCompositeRedirectWindow ();
15348 main (void)
15350 return XCompositeRedirectWindow ();
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_link "$LINENO"
15356 then :
15357 case "$LIBEXT" in
15358 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15359 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'` ;;
15360 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15361 if ${ac_cv_lib_soname_Xcomposite:+false} :
15362 then :
15363 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15364 fi ;;
15365 esac
15366 else $as_nop
15367 ac_cv_lib_soname_Xcomposite=
15369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15370 conftest$ac_exeext conftest.$ac_ext
15371 LIBS=$ac_check_soname_save_LIBS
15373 if ${ac_cv_lib_soname_Xcomposite:+false} :
15374 then :
15375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15376 printf "%s\n" "not found" >&6; }
15378 else $as_nop
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15380 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15382 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15387 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15388 then :
15389 case "x$with_xcomposite" in
15390 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15391 xno) ;;
15392 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15393 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15394 esac
15398 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15399 #include <X11/Xlib.h>
15400 #endif
15402 if test "x$ac_cv_member_XICCallback_callback" = xyes
15403 then :
15405 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15409 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15410 #include <X11/Xlib.h>
15411 #endif
15413 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15414 then :
15416 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15423 opengl_msg=""
15424 if test "x$with_opengl" != "xno"
15425 then
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15427 printf %s "checking for -lGL... " >&6; }
15428 if test ${ac_cv_lib_soname_GL+y}
15429 then :
15430 printf %s "(cached) " >&6
15431 else $as_nop
15432 ac_check_soname_save_LIBS=$LIBS
15433 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15437 /* Override any GCC internal prototype to avoid an error.
15438 Use char because int might match the return type of a GCC
15439 builtin and then its argument prototype would still apply. */
15440 char glXCreateContext ();
15442 main (void)
15444 return glXCreateContext ();
15446 return 0;
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"
15450 then :
15451 case "$LIBEXT" in
15452 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15453 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'` ;;
15454 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15455 if ${ac_cv_lib_soname_GL:+false} :
15456 then :
15457 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15458 fi ;;
15459 esac
15460 else $as_nop
15461 ac_cv_lib_soname_GL=
15463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15464 conftest$ac_exeext conftest.$ac_ext
15465 LIBS=$ac_check_soname_save_LIBS
15467 if ${ac_cv_lib_soname_GL:+false} :
15468 then :
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15470 printf "%s\n" "not found" >&6; }
15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15472 printf %s "checking for -lGL... " >&6; }
15473 if test ${ac_cv_lib_soname_GL+y}
15474 then :
15475 printf %s "(cached) " >&6
15476 else $as_nop
15477 ac_check_soname_save_LIBS=$LIBS
15478 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"
15479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15480 /* end confdefs.h. */
15482 /* Override any GCC internal prototype to avoid an error.
15483 Use char because int might match the return type of a GCC
15484 builtin and then its argument prototype would still apply. */
15485 char glXCreateContext ();
15487 main (void)
15489 return glXCreateContext ();
15491 return 0;
15493 _ACEOF
15494 if ac_fn_c_try_link "$LINENO"
15495 then :
15496 case "$LIBEXT" in
15497 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15498 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'` ;;
15499 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15500 if ${ac_cv_lib_soname_GL:+false} :
15501 then :
15502 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15503 fi ;;
15504 esac
15505 else $as_nop
15506 ac_cv_lib_soname_GL=
15508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15509 conftest$ac_exeext conftest.$ac_ext
15510 LIBS=$ac_check_soname_save_LIBS
15512 if ${ac_cv_lib_soname_GL:+false} :
15513 then :
15514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15515 printf "%s\n" "not found" >&6; }
15516 if test -f /usr/X11R6/lib/libGL.a
15517 then
15518 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15519 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15520 else
15521 opengl_msg="No OpenGL library found on this system."
15523 else $as_nop
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15525 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15527 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15529 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"
15531 else $as_nop
15532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15533 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15535 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15537 OPENGL_LIBS="-lGL"
15539 if test "x$with_osmesa" != "xno"
15540 then
15541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15542 printf %s "checking for -lOSMesa... " >&6; }
15543 if test ${ac_cv_lib_soname_OSMesa+y}
15544 then :
15545 printf %s "(cached) " >&6
15546 else $as_nop
15547 ac_check_soname_save_LIBS=$LIBS
15548 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15552 /* Override any GCC internal prototype to avoid an error.
15553 Use char because int might match the return type of a GCC
15554 builtin and then its argument prototype would still apply. */
15555 char OSMesaGetProcAddress ();
15557 main (void)
15559 return OSMesaGetProcAddress ();
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"
15565 then :
15566 case "$LIBEXT" in
15567 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15568 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'` ;;
15569 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15570 if ${ac_cv_lib_soname_OSMesa:+false} :
15571 then :
15572 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15573 fi ;;
15574 esac
15575 else $as_nop
15576 ac_cv_lib_soname_OSMesa=
15578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_soname_save_LIBS
15582 if ${ac_cv_lib_soname_OSMesa:+false} :
15583 then :
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15585 printf "%s\n" "not found" >&6; }
15587 else $as_nop
15588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15589 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15591 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15595 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15596 then :
15597 case "x$with_osmesa" in
15598 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15599 xno) ;;
15600 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15601 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15602 esac
15607 if test -n "$opengl_msg"
15608 then :
15609 case "x$with_opengl" in
15610 x) as_fn_append wine_warnings "|$opengl_msg
15611 OpenGL and Direct3D won't be supported." ;;
15612 xno) ;;
15613 *) as_fn_error $? "$opengl_msg
15614 OpenGL and Direct3D won't be supported.
15615 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15616 esac
15620 CPPFLAGS="$ac_save_CPPFLAGS"
15621 else
15622 X_CFLAGS=""
15623 X_LIBS=""
15626 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15627 then
15628 if test "x$X_LIBS" = "x"
15629 then :
15630 case "x$with_x" in
15631 xno) ;;
15632 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15633 without X support, which probably isn't what you want. You will need
15634 to install ${notice_platform}development packages of Xlib at the very least.
15635 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15636 esac
15637 enable_winex11_drv=${enable_winex11_drv:-no}
15639 else
15640 if test "x$X_LIBS" = "x"
15641 then :
15642 case "x$with_x" in
15643 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15644 xno) ;;
15645 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15646 This is an error since --with-x was requested." "$LINENO" 5 ;;
15647 esac
15648 enable_winex11_drv=${enable_winex11_drv:-no}
15652 if test "$ac_cv_header_CL_cl_h" = "yes"
15653 then
15654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15655 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15656 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15657 then :
15658 printf %s "(cached) " >&6
15659 else $as_nop
15660 ac_check_lib_save_LIBS=$LIBS
15661 LIBS="-lOpenCL $LIBS"
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15668 char clGetPlatformInfo ();
15670 main (void)
15672 return clGetPlatformInfo ();
15674 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_link "$LINENO"
15678 then :
15679 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15680 else $as_nop
15681 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15684 conftest$ac_exeext conftest.$ac_ext
15685 LIBS=$ac_check_lib_save_LIBS
15687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15688 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15689 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15690 then :
15691 OPENCL_LIBS="-lOpenCL"
15696 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15697 then :
15698 case "x$with_opencl" in
15699 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15700 xno) ;;
15701 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15702 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15703 esac
15704 enable_opencl=${enable_opencl:-no}
15707 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15708 then
15709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15710 printf %s "checking for pcap_create in -lpcap... " >&6; }
15711 if test ${ac_cv_lib_pcap_pcap_create+y}
15712 then :
15713 printf %s "(cached) " >&6
15714 else $as_nop
15715 ac_check_lib_save_LIBS=$LIBS
15716 LIBS="-lpcap $LIBS"
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15720 /* Override any GCC internal prototype to avoid an error.
15721 Use char because int might match the return type of a GCC
15722 builtin and then its argument prototype would still apply. */
15723 char pcap_create ();
15725 main (void)
15727 return pcap_create ();
15729 return 0;
15731 _ACEOF
15732 if ac_fn_c_try_link "$LINENO"
15733 then :
15734 ac_cv_lib_pcap_pcap_create=yes
15735 else $as_nop
15736 ac_cv_lib_pcap_pcap_create=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15739 conftest$ac_exeext conftest.$ac_ext
15740 LIBS=$ac_check_lib_save_LIBS
15742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15743 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15744 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15745 then :
15746 PCAP_LIBS="-lpcap"
15751 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15752 then :
15753 case "x$with_pcap" in
15754 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15755 xno) ;;
15756 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15757 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15758 esac
15759 enable_wpcap=${enable_wpcap:-no}
15762 if test "x$with_inotify" != "xno"
15763 then
15764 rm -f conftest.err
15765 if ${INOTIFY_CFLAGS:+false} :
15766 then :
15767 if test ${PKG_CONFIG+y}
15768 then :
15769 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15773 if ${INOTIFY_LIBS:+false} :
15774 then :
15775 if test ${PKG_CONFIG+y}
15776 then :
15777 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15784 if test -s conftest.err; then
15785 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15786 cat conftest.err >&5
15788 rm -f conftest.err
15789 ac_save_CPPFLAGS=$CPPFLAGS
15790 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15791 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15792 if test "x$ac_cv_header_sys_inotify_h" = xyes
15793 then :
15794 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15799 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15800 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15801 then :
15802 printf %s "(cached) " >&6
15803 else $as_nop
15804 ac_check_lib_save_LIBS=$LIBS
15805 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15807 /* end confdefs.h. */
15809 /* Override any GCC internal prototype to avoid an error.
15810 Use char because int might match the return type of a GCC
15811 builtin and then its argument prototype would still apply. */
15812 char inotify_add_watch ();
15814 main (void)
15816 return inotify_add_watch ();
15818 return 0;
15820 _ACEOF
15821 if ac_fn_c_try_link "$LINENO"
15822 then :
15823 ac_cv_lib_inotify_inotify_add_watch=yes
15824 else $as_nop
15825 ac_cv_lib_inotify_inotify_add_watch=no
15827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15828 conftest$ac_exeext conftest.$ac_ext
15829 LIBS=$ac_check_lib_save_LIBS
15831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15832 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15833 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15834 then :
15836 else $as_nop
15837 INOTIFY_LIBS=""
15840 CPPFLAGS=$ac_save_CPPFLAGS
15843 if test "$ac_cv_header_sys_inotify_h" != "yes"
15844 then :
15845 case "x$with_inotify" in
15846 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15847 xno) ;;
15848 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15849 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15850 esac
15854 if test "x$with_dbus" != "xno"
15855 then
15856 rm -f conftest.err
15857 if ${DBUS_CFLAGS:+false} :
15858 then :
15859 if test ${PKG_CONFIG+y}
15860 then :
15861 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15865 if ${DBUS_LIBS:+false} :
15866 then :
15867 if test ${PKG_CONFIG+y}
15868 then :
15869 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15875 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15876 if test -s conftest.err; then
15877 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15878 cat conftest.err >&5
15880 rm -f conftest.err
15881 ac_save_CPPFLAGS=$CPPFLAGS
15882 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15883 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15884 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15885 then :
15886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15887 printf %s "checking for -ldbus-1... " >&6; }
15888 if test ${ac_cv_lib_soname_dbus_1+y}
15889 then :
15890 printf %s "(cached) " >&6
15891 else $as_nop
15892 ac_check_soname_save_LIBS=$LIBS
15893 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15897 /* Override any GCC internal prototype to avoid an error.
15898 Use char because int might match the return type of a GCC
15899 builtin and then its argument prototype would still apply. */
15900 char dbus_connection_close ();
15902 main (void)
15904 return dbus_connection_close ();
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_link "$LINENO"
15910 then :
15911 case "$LIBEXT" in
15912 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15913 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'` ;;
15914 *) 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'`
15915 if ${ac_cv_lib_soname_dbus_1:+false} :
15916 then :
15917 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15918 fi ;;
15919 esac
15920 else $as_nop
15921 ac_cv_lib_soname_dbus_1=
15923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15924 conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_soname_save_LIBS
15927 if ${ac_cv_lib_soname_dbus_1:+false} :
15928 then :
15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15930 printf "%s\n" "not found" >&6; }
15931 DBUS_CFLAGS=""
15932 else $as_nop
15933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15934 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15936 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15940 else $as_nop
15941 DBUS_CFLAGS=""
15944 CPPFLAGS=$ac_save_CPPFLAGS
15947 case $host_os in
15948 darwin*|macosx*) ;;
15949 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15950 then :
15951 case "x$with_dbus" in
15952 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15953 xno) ;;
15954 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15955 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15956 esac
15958 fi ;;
15959 esac
15961 if test "x$with_gnutls" != "xno"
15962 then
15963 rm -f conftest.err
15964 if ${GNUTLS_CFLAGS:+false} :
15965 then :
15966 if test ${PKG_CONFIG+y}
15967 then :
15968 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15972 if ${GNUTLS_LIBS:+false} :
15973 then :
15974 if test ${PKG_CONFIG+y}
15975 then :
15976 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15980 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15983 if test -s conftest.err; then
15984 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15985 cat conftest.err >&5
15987 rm -f conftest.err
15988 ac_save_CPPFLAGS=$CPPFLAGS
15989 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15990 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15991 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15992 then :
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15995 #include <gnutls/gnutls.h>
15996 #include <gnutls/crypto.h>
15998 main (void)
16000 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16002 return 0;
16004 _ACEOF
16005 if ac_fn_c_try_compile "$LINENO"
16006 then :
16007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16008 printf %s "checking for -lgnutls... " >&6; }
16009 if test ${ac_cv_lib_soname_gnutls+y}
16010 then :
16011 printf %s "(cached) " >&6
16012 else $as_nop
16013 ac_check_soname_save_LIBS=$LIBS
16014 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16021 char gnutls_global_init ();
16023 main (void)
16025 return gnutls_global_init ();
16027 return 0;
16029 _ACEOF
16030 if ac_fn_c_try_link "$LINENO"
16031 then :
16032 case "$LIBEXT" in
16033 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16034 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'` ;;
16035 *) 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'`
16036 if ${ac_cv_lib_soname_gnutls:+false} :
16037 then :
16038 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'`
16039 fi ;;
16040 esac
16041 else $as_nop
16042 ac_cv_lib_soname_gnutls=
16044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16045 conftest$ac_exeext conftest.$ac_ext
16046 LIBS=$ac_check_soname_save_LIBS
16048 if ${ac_cv_lib_soname_gnutls:+false} :
16049 then :
16050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16051 printf "%s\n" "not found" >&6; }
16052 GNUTLS_CFLAGS=""
16053 else $as_nop
16054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16055 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16057 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16061 ac_wine_check_funcs_save_LIBS="$LIBS"
16062 LIBS="$LIBS $GNUTLS_LIBS"
16064 for ac_func in gnutls_cipher_init
16065 do :
16066 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16067 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16068 then :
16069 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16071 else $as_nop
16072 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16075 done
16076 LIBS="$ac_wine_check_funcs_save_LIBS"
16078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16079 else $as_nop
16080 GNUTLS_CFLAGS=""
16083 CPPFLAGS=$ac_save_CPPFLAGS
16086 if test "x$ac_cv_lib_soname_gnutls" = "x"
16087 then :
16088 case "x$with_gnutls" in
16089 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16090 xno) ;;
16091 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16092 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16093 esac
16097 if test "x$with_sane" != "xno"
16098 then
16099 rm -f conftest.err
16100 if ${SANE_CFLAGS:+false} :
16101 then :
16102 if test ${PKG_CONFIG+y}
16103 then :
16104 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16107 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16108 if ${SANE_LIBS:+false} :
16109 then :
16110 if test ${PKG_CONFIG+y}
16111 then :
16112 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16115 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16119 if test -s conftest.err; then
16120 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16121 cat conftest.err >&5
16123 rm -f conftest.err
16124 ac_save_CPPFLAGS=$CPPFLAGS
16125 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16126 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16127 if test "x$ac_cv_header_sane_sane_h" = xyes
16128 then :
16129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16130 printf %s "checking for sane_init in -lsane... " >&6; }
16131 if test ${ac_cv_lib_sane_sane_init+y}
16132 then :
16133 printf %s "(cached) " >&6
16134 else $as_nop
16135 ac_check_lib_save_LIBS=$LIBS
16136 LIBS="-lsane $SANE_LIBS $LIBS"
16137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138 /* end confdefs.h. */
16140 /* Override any GCC internal prototype to avoid an error.
16141 Use char because int might match the return type of a GCC
16142 builtin and then its argument prototype would still apply. */
16143 char sane_init ();
16145 main (void)
16147 return sane_init ();
16149 return 0;
16151 _ACEOF
16152 if ac_fn_c_try_link "$LINENO"
16153 then :
16154 ac_cv_lib_sane_sane_init=yes
16155 else $as_nop
16156 ac_cv_lib_sane_sane_init=no
16158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16159 conftest$ac_exeext conftest.$ac_ext
16160 LIBS=$ac_check_lib_save_LIBS
16162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16163 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16164 if test "x$ac_cv_lib_sane_sane_init" = xyes
16165 then :
16171 CPPFLAGS=$ac_save_CPPFLAGS
16174 if test "$ac_cv_lib_sane_sane_init" != "yes"
16175 then :
16176 case "x$with_sane" in
16177 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16178 xno) ;;
16179 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16180 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16181 esac
16182 enable_sane_ds=${enable_sane_ds:-no}
16185 if test "x$with_usb" != "xno"
16186 then
16187 rm -f conftest.err
16188 if ${USB_CFLAGS:+false} :
16189 then :
16190 if test ${PKG_CONFIG+y}
16191 then :
16192 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16196 if ${USB_LIBS:+false} :
16197 then :
16198 if test ${PKG_CONFIG+y}
16199 then :
16200 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16204 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16207 if test -s conftest.err; then
16208 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16209 cat conftest.err >&5
16211 rm -f conftest.err
16212 ac_save_CPPFLAGS=$CPPFLAGS
16213 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16214 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16215 if test "x$ac_cv_header_libusb_h" = xyes
16216 then :
16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16218 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16219 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16220 then :
16221 printf %s "(cached) " >&6
16222 else $as_nop
16223 ac_check_lib_save_LIBS=$LIBS
16224 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16228 /* Override any GCC internal prototype to avoid an error.
16229 Use char because int might match the return type of a GCC
16230 builtin and then its argument prototype would still apply. */
16231 char libusb_interrupt_event_handler ();
16233 main (void)
16235 return libusb_interrupt_event_handler ();
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"
16241 then :
16242 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16243 else $as_nop
16244 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16247 conftest$ac_exeext conftest.$ac_ext
16248 LIBS=$ac_check_lib_save_LIBS
16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16251 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16252 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16253 then :
16255 else $as_nop
16256 USB_LIBS=""
16259 else $as_nop
16260 USB_LIBS=""
16263 CPPFLAGS=$ac_save_CPPFLAGS
16266 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16267 then :
16268 case "x$with_usb" in
16269 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16270 xno) ;;
16271 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16272 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16273 esac
16274 enable_wineusb_sys=${enable_wineusb_sys:-no}
16277 if test "x$with_v4l2" != "xno"
16278 then
16279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16280 printf %s "checking for -lv4l2... " >&6; }
16281 if test ${ac_cv_lib_soname_v4l2+y}
16282 then :
16283 printf %s "(cached) " >&6
16284 else $as_nop
16285 ac_check_soname_save_LIBS=$LIBS
16286 LIBS="-lv4l2 $LIBS"
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16290 /* Override any GCC internal prototype to avoid an error.
16291 Use char because int might match the return type of a GCC
16292 builtin and then its argument prototype would still apply. */
16293 char v4l2_open ();
16295 main (void)
16297 return v4l2_open ();
16299 return 0;
16301 _ACEOF
16302 if ac_fn_c_try_link "$LINENO"
16303 then :
16304 case "$LIBEXT" in
16305 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16306 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'` ;;
16307 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16308 if ${ac_cv_lib_soname_v4l2:+false} :
16309 then :
16310 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16311 fi ;;
16312 esac
16313 else $as_nop
16314 ac_cv_lib_soname_v4l2=
16316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_soname_save_LIBS
16320 if ${ac_cv_lib_soname_v4l2:+false} :
16321 then :
16322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16323 printf "%s\n" "not found" >&6; }
16325 else $as_nop
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16327 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16329 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16334 if test "x$ac_cv_lib_soname_v4l2" = "x"
16335 then :
16336 case "x$with_v4l2" in
16337 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16338 xno) ;;
16339 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16340 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16341 esac
16345 if test "x$with_gphoto" != "xno"
16346 then
16347 rm -f conftest.err
16348 if ${GPHOTO2_CFLAGS:+false} :
16349 then :
16350 if test ${PKG_CONFIG+y}
16351 then :
16352 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16355 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16356 if ${GPHOTO2_LIBS:+false} :
16357 then :
16358 if test ${PKG_CONFIG+y}
16359 then :
16360 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16363 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16364 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16367 if test -s conftest.err; then
16368 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16369 cat conftest.err >&5
16371 rm -f conftest.err
16372 ac_save_CPPFLAGS=$CPPFLAGS
16373 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16374 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16376 then :
16377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16378 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16379 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16380 then :
16381 printf %s "(cached) " >&6
16382 else $as_nop
16383 ac_check_lib_save_LIBS=$LIBS
16384 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16388 /* Override any GCC internal prototype to avoid an error.
16389 Use char because int might match the return type of a GCC
16390 builtin and then its argument prototype would still apply. */
16391 char gp_camera_new ();
16393 main (void)
16395 return gp_camera_new ();
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_link "$LINENO"
16401 then :
16402 ac_cv_lib_gphoto2_gp_camera_new=yes
16403 else $as_nop
16404 ac_cv_lib_gphoto2_gp_camera_new=no
16406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16407 conftest$ac_exeext conftest.$ac_ext
16408 LIBS=$ac_check_lib_save_LIBS
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16411 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16412 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16413 then :
16419 CPPFLAGS=$ac_save_CPPFLAGS
16421 rm -f conftest.err
16422 if ${GPHOTO2_PORT_CFLAGS:+false} :
16423 then :
16424 if test ${PKG_CONFIG+y}
16425 then :
16426 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16429 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16430 if ${GPHOTO2_PORT_LIBS:+false} :
16431 then :
16432 if test ${PKG_CONFIG+y}
16433 then :
16434 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16437 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16438 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16441 if test -s conftest.err; then
16442 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16443 cat conftest.err >&5
16445 rm -f conftest.err
16446 ac_save_CPPFLAGS=$CPPFLAGS
16447 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16448 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16449 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16450 then :
16451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16452 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16453 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16454 then :
16455 printf %s "(cached) " >&6
16456 else $as_nop
16457 ac_check_lib_save_LIBS=$LIBS
16458 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16462 /* Override any GCC internal prototype to avoid an error.
16463 Use char because int might match the return type of a GCC
16464 builtin and then its argument prototype would still apply. */
16465 char gp_port_info_list_new ();
16467 main (void)
16469 return gp_port_info_list_new ();
16471 return 0;
16473 _ACEOF
16474 if ac_fn_c_try_link "$LINENO"
16475 then :
16476 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16477 else $as_nop
16478 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16481 conftest$ac_exeext conftest.$ac_ext
16482 LIBS=$ac_check_lib_save_LIBS
16484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16485 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16486 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16487 then :
16489 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16491 else $as_nop
16492 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16495 else $as_nop
16496 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16499 CPPFLAGS=$ac_save_CPPFLAGS
16502 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16503 then :
16504 case "x$with_gphoto" in
16505 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16506 xno) ;;
16507 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16508 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16509 esac
16510 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16512 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16513 then :
16514 case "x$with_gphoto" in
16515 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16516 xno) ;;
16517 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16518 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16519 esac
16524 if test "$ac_cv_header_resolv_h" = "yes"
16525 then
16526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16527 printf %s "checking for resolver library... " >&6; }
16528 if test ${ac_cv_have_resolv+y}
16529 then :
16530 printf %s "(cached) " >&6
16531 else $as_nop
16532 ac_save_LIBS="$LIBS"
16533 for lib in '' -lresolv
16535 LIBS="$lib $ac_save_LIBS"
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #ifdef HAVE_NETINET_IN_H
16539 #include <netinet/in.h>
16540 #endif
16541 #include <resolv.h>
16543 main (void)
16545 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16547 return 0;
16549 _ACEOF
16550 if ac_fn_c_try_link "$LINENO"
16551 then :
16552 ac_cv_have_resolv=${lib:-"none required"}
16553 else $as_nop
16554 ac_cv_have_resolv="not found"
16556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16557 conftest$ac_exeext conftest.$ac_ext
16558 test "x$ac_cv_have_resolv" = "xnot found" || break
16559 done
16560 LIBS="$ac_save_LIBS"
16562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16563 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16565 case "$ac_cv_have_resolv" in
16566 "not found") ;;
16567 "none required")
16569 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16572 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16574 RESOLV_LIBS=$ac_cv_have_resolv
16576 esac
16578 if test "x$ac_cv_have_resolv" != "xnot found"
16579 then
16580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16581 printf %s "checking for res_getservers... " >&6; }
16582 if test ${ac_cv_have_res_getservers+y}
16583 then :
16584 printf %s "(cached) " >&6
16585 else $as_nop
16586 ac_save_LIBS="$LIBS"
16587 LIBS="$RESOLV_LIBS $LIBS"
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 #include <resolv.h>
16592 main (void)
16594 res_getservers(NULL, NULL, 0);
16596 return 0;
16598 _ACEOF
16599 if ac_fn_c_try_link "$LINENO"
16600 then :
16601 ac_cv_have_res_getservers=yes
16602 else $as_nop
16603 ac_cv_have_res_getservers=no
16605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16606 conftest$ac_exeext conftest.$ac_ext
16607 LIBS="$ac_save_LIBS"
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16610 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16611 if test "$ac_cv_have_res_getservers" = "yes"
16612 then
16614 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16620 if test "x$with_freetype" != "xno"
16621 then
16622 rm -f conftest.err
16623 if ${FREETYPE_CFLAGS:+false} :
16624 then :
16625 if test ${PKG_CONFIG+y}
16626 then :
16627 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16630 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16631 if ${FREETYPE_LIBS:+false} :
16632 then :
16633 if test ${PKG_CONFIG+y}
16634 then :
16635 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16638 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16639 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16642 if test -s conftest.err; then
16643 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16644 cat conftest.err >&5
16646 rm -f conftest.err
16647 ac_save_CPPFLAGS=$CPPFLAGS
16648 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16649 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16650 if test "x$ac_cv_header_ft2build_h" = xyes
16651 then :
16652 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16656 if test "$ac_cv_header_ft2build_h" = "yes"
16657 then
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16659 printf %s "checking for -lfreetype... " >&6; }
16660 if test ${ac_cv_lib_soname_freetype+y}
16661 then :
16662 printf %s "(cached) " >&6
16663 else $as_nop
16664 ac_check_soname_save_LIBS=$LIBS
16665 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16667 /* end confdefs.h. */
16669 /* Override any GCC internal prototype to avoid an error.
16670 Use char because int might match the return type of a GCC
16671 builtin and then its argument prototype would still apply. */
16672 char FT_Init_FreeType ();
16674 main (void)
16676 return FT_Init_FreeType ();
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"
16682 then :
16683 case "$LIBEXT" in
16684 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16685 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'` ;;
16686 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16687 if ${ac_cv_lib_soname_freetype:+false} :
16688 then :
16689 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16690 fi ;;
16691 esac
16692 else $as_nop
16693 ac_cv_lib_soname_freetype=
16695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16696 conftest$ac_exeext conftest.$ac_ext
16697 LIBS=$ac_check_soname_save_LIBS
16699 if ${ac_cv_lib_soname_freetype:+false} :
16700 then :
16701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16702 printf "%s\n" "not found" >&6; }
16703 FREETYPE_LIBS=""
16704 else $as_nop
16705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16706 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16708 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16711 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16713 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16714 #include FT_MODULE_H
16716 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16717 then :
16719 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16725 else
16726 FREETYPE_CFLAGS=""
16727 FREETYPE_LIBS=""
16729 CPPFLAGS=$ac_save_CPPFLAGS
16732 if test "x$ac_cv_lib_soname_freetype" = x
16733 then :
16734 case "x$with_freetype" in
16735 xno) ;;
16736 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16737 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16738 esac
16739 enable_fonts=${enable_fonts:-no}
16742 ac_wine_check_funcs_save_LIBS="$LIBS"
16743 LIBS="$LIBS $PTHREAD_LIBS"
16744 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16745 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16746 then :
16747 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16751 LIBS="$ac_wine_check_funcs_save_LIBS"
16753 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16754 then
16755 if test "$ac_cv_header_gettext_po_h" = "yes"
16756 then
16757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16758 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16759 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16760 then :
16761 printf %s "(cached) " >&6
16762 else $as_nop
16763 ac_check_lib_save_LIBS=$LIBS
16764 LIBS="-lgettextpo $LIBS"
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16768 /* Override any GCC internal prototype to avoid an error.
16769 Use char because int might match the return type of a GCC
16770 builtin and then its argument prototype would still apply. */
16771 char po_message_msgctxt ();
16773 main (void)
16775 return po_message_msgctxt ();
16777 return 0;
16779 _ACEOF
16780 if ac_fn_c_try_link "$LINENO"
16781 then :
16782 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16783 else $as_nop
16784 ac_cv_lib_gettextpo_po_message_msgctxt=no
16786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16787 conftest$ac_exeext conftest.$ac_ext
16788 LIBS=$ac_check_lib_save_LIBS
16790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16791 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16792 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16793 then :
16795 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16797 GETTEXTPO_LIBS="-lgettextpo"
16802 if test "x$GETTEXTPO_LIBS" = "x"
16803 then :
16804 case "x$with_gettextpo" in
16805 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16806 xno) ;;
16807 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16808 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16809 esac
16812 if test "$srcdir" != .
16813 then :
16814 case "x$with_gettextpo" in
16815 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16816 xno) ;;
16817 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16818 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16819 esac
16824 if test "x$with_pulse" != "xno";
16825 then
16826 rm -f conftest.err
16827 if ${PULSE_CFLAGS:+false} :
16828 then :
16829 if test ${PKG_CONFIG+y}
16830 then :
16831 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16835 if ${PULSE_LIBS:+false} :
16836 then :
16837 if test ${PKG_CONFIG+y}
16838 then :
16839 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16846 if test -s conftest.err; then
16847 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16848 cat conftest.err >&5
16850 rm -f conftest.err
16851 ac_save_CPPFLAGS=$CPPFLAGS
16852 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16853 for ac_header in pulse/pulseaudio.h
16854 do :
16855 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16856 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16857 then :
16858 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16860 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16861 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16862 then :
16863 printf %s "(cached) " >&6
16864 else $as_nop
16865 ac_check_lib_save_LIBS=$LIBS
16866 LIBS="-lpulse $PULSE_LIBS $LIBS"
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16870 /* Override any GCC internal prototype to avoid an error.
16871 Use char because int might match the return type of a GCC
16872 builtin and then its argument prototype would still apply. */
16873 char pa_stream_is_corked ();
16875 main (void)
16877 return pa_stream_is_corked ();
16879 return 0;
16881 _ACEOF
16882 if ac_fn_c_try_link "$LINENO"
16883 then :
16884 ac_cv_lib_pulse_pa_stream_is_corked=yes
16885 else $as_nop
16886 ac_cv_lib_pulse_pa_stream_is_corked=no
16888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16889 conftest$ac_exeext conftest.$ac_ext
16890 LIBS=$ac_check_lib_save_LIBS
16892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16893 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16894 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16895 then :
16897 else $as_nop
16898 PULSE_LIBS=""
16901 else $as_nop
16902 PULSE_LIBS=""
16905 done
16906 CPPFLAGS=$ac_save_CPPFLAGS
16909 if test -z "$PULSE_LIBS"
16910 then :
16911 case "x$with_pulse" in
16912 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16913 xno) ;;
16914 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16915 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16916 esac
16917 enable_winepulse_drv=${enable_winepulse_drv:-no}
16920 if test "x$with_gstreamer" != "xno"
16921 then
16922 rm -f conftest.err
16923 if ${GSTREAMER_CFLAGS:+false} :
16924 then :
16925 if test ${PKG_CONFIG+y}
16926 then :
16927 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16931 if ${GSTREAMER_LIBS:+false} :
16932 then :
16933 if test ${PKG_CONFIG+y}
16934 then :
16935 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16940 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
16941 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
16942 if test -s conftest.err; then
16943 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16944 cat conftest.err >&5
16946 rm -f conftest.err
16947 ac_save_CPPFLAGS=$CPPFLAGS
16948 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16949 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16950 if test "x$ac_cv_header_gst_gst_h" = xyes
16951 then :
16952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16953 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16956 #include <gst/gst.h>
16958 main (void)
16960 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16962 return 0;
16964 _ACEOF
16965 if ac_fn_c_try_compile "$LINENO"
16966 then :
16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16968 printf "%s\n" "yes" >&6; }
16969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16970 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16971 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16972 then :
16973 printf %s "(cached) " >&6
16974 else $as_nop
16975 ac_check_lib_save_LIBS=$LIBS
16976 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16980 /* Override any GCC internal prototype to avoid an error.
16981 Use char because int might match the return type of a GCC
16982 builtin and then its argument prototype would still apply. */
16983 char gst_pad_new ();
16985 main (void)
16987 return gst_pad_new ();
16989 return 0;
16991 _ACEOF
16992 if ac_fn_c_try_link "$LINENO"
16993 then :
16994 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16995 else $as_nop
16996 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16999 conftest$ac_exeext conftest.$ac_ext
17000 LIBS=$ac_check_lib_save_LIBS
17002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17003 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17004 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17005 then :
17009 else $as_nop
17010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17011 printf "%s\n" "no" >&6; }
17012 ac_glib2_broken=yes
17013 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17018 CPPFLAGS=$ac_save_CPPFLAGS
17021 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17022 then :
17023 case "x$with_gstreamer" in
17024 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17025 xno) ;;
17026 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17027 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17028 esac
17029 enable_winegstreamer=${enable_winegstreamer:-no}
17032 ALSA_LIBS=""
17034 if test "x$with_alsa" != "xno"
17035 then
17036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17037 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17038 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17039 then :
17040 printf %s "(cached) " >&6
17041 else $as_nop
17042 ac_check_lib_save_LIBS=$LIBS
17043 LIBS="-lasound $LIBS"
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17047 /* Override any GCC internal prototype to avoid an error.
17048 Use char because int might match the return type of a GCC
17049 builtin and then its argument prototype would still apply. */
17050 char snd_pcm_hw_params_get_access_mask ();
17052 main (void)
17054 return snd_pcm_hw_params_get_access_mask ();
17056 return 0;
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"
17060 then :
17061 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17062 else $as_nop
17063 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17066 conftest$ac_exeext conftest.$ac_ext
17067 LIBS=$ac_check_lib_save_LIBS
17069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17070 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17071 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17072 then :
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <alsa/asoundlib.h>
17077 main (void)
17079 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17081 return 0;
17083 _ACEOF
17084 if ac_fn_c_try_compile "$LINENO"
17085 then :
17086 ALSA_LIBS="-lasound"
17088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17092 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17094 if test "x$with_oss" != xno
17095 then
17096 ac_save_CPPFLAGS="$CPPFLAGS"
17097 if test -f /etc/oss.conf
17098 then
17099 . /etc/oss.conf
17101 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17102 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17103 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17104 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17105 then :
17106 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17108 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17109 then :
17111 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17113 OSS4_CFLAGS="$ac_oss_incl"
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17116 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17117 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17118 then :
17119 printf %s "(cached) " >&6
17120 else $as_nop
17121 ac_check_lib_save_LIBS=$LIBS
17122 LIBS="-lossaudio $LIBS"
17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17126 /* Override any GCC internal prototype to avoid an error.
17127 Use char because int might match the return type of a GCC
17128 builtin and then its argument prototype would still apply. */
17129 char _oss_ioctl ();
17131 main (void)
17133 return _oss_ioctl ();
17135 return 0;
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"
17139 then :
17140 ac_cv_lib_ossaudio__oss_ioctl=yes
17141 else $as_nop
17142 ac_cv_lib_ossaudio__oss_ioctl=no
17144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17145 conftest$ac_exeext conftest.$ac_ext
17146 LIBS=$ac_check_lib_save_LIBS
17148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17149 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17150 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17151 then :
17152 OSS4_LIBS="-lossaudio"
17160 CPPFLAGS="$ac_save_CPPFLAGS"
17162 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17163 then :
17164 case "x$with_oss" in
17165 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17166 xno) ;;
17167 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17168 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17169 esac
17170 enable_wineoss_drv=${enable_wineoss_drv:-no}
17173 if test "x$with_udev" != "xno"
17174 then
17175 rm -f conftest.err
17176 if ${UDEV_CFLAGS:+false} :
17177 then :
17178 if test ${PKG_CONFIG+y}
17179 then :
17180 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17184 if ${UDEV_LIBS:+false} :
17185 then :
17186 if test ${PKG_CONFIG+y}
17187 then :
17188 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17192 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17195 if test -s conftest.err; then
17196 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17197 cat conftest.err >&5
17199 rm -f conftest.err
17200 ac_save_CPPFLAGS=$CPPFLAGS
17201 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17202 for ac_header in libudev.h
17203 do :
17204 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17205 if test "x$ac_cv_header_libudev_h" = xyes
17206 then :
17207 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17209 printf %s "checking for udev_new in -ludev... " >&6; }
17210 if test ${ac_cv_lib_udev_udev_new+y}
17211 then :
17212 printf %s "(cached) " >&6
17213 else $as_nop
17214 ac_check_lib_save_LIBS=$LIBS
17215 LIBS="-ludev $UDEV_LIBS $LIBS"
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17219 /* Override any GCC internal prototype to avoid an error.
17220 Use char because int might match the return type of a GCC
17221 builtin and then its argument prototype would still apply. */
17222 char udev_new ();
17224 main (void)
17226 return udev_new ();
17228 return 0;
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"
17232 then :
17233 ac_cv_lib_udev_udev_new=yes
17234 else $as_nop
17235 ac_cv_lib_udev_udev_new=no
17237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17238 conftest$ac_exeext conftest.$ac_ext
17239 LIBS=$ac_check_lib_save_LIBS
17241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17242 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17243 if test "x$ac_cv_lib_udev_udev_new" = xyes
17244 then :
17246 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17248 else $as_nop
17249 UDEV_LIBS=""
17252 else $as_nop
17253 UDEV_LIBS=""
17256 done
17257 CPPFLAGS=$ac_save_CPPFLAGS
17260 if test "x$UDEV_LIBS" = "x"
17261 then :
17262 case "x$with_udev" in
17263 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17264 xno) ;;
17265 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17266 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17267 esac
17271 if test "x$with_unwind" != xno
17272 then
17273 rm -f conftest.err
17274 if ${UNWIND_CFLAGS:+false} :
17275 then :
17276 if test ${PKG_CONFIG+y}
17277 then :
17278 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17282 if ${UNWIND_LIBS:+false} :
17283 then :
17284 if test ${PKG_CONFIG+y}
17285 then :
17286 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17290 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17293 if test -s conftest.err; then
17294 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17295 cat conftest.err >&5
17297 rm -f conftest.err
17298 ac_save_CPPFLAGS=$CPPFLAGS
17299 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17301 printf %s "checking for unw_step... " >&6; }
17302 if test ${wine_cv_have_unw_step+y}
17303 then :
17304 printf %s "(cached) " >&6
17305 else $as_nop
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #define UNW_LOCAL_ONLY
17309 #include <libunwind.h>
17311 main (void)
17313 unw_cursor_t cursor; unw_step( &cursor );
17315 return 0;
17317 _ACEOF
17318 if ac_fn_c_try_link "$LINENO"
17319 then :
17320 wine_cv_have_unw_step="yes"
17321 else $as_nop
17322 wine_cv_have_unw_step="no"
17324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17325 conftest$ac_exeext conftest.$ac_ext
17327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17328 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17329 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17330 then
17331 save_libs=$LIBS
17332 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17333 LIBS="$UNWIND_LIBS $LIBS"
17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17335 printf %s "checking for unw_step in libunwind... " >&6; }
17336 if test ${wine_cv_have_libunwind_unw_step+y}
17337 then :
17338 printf %s "(cached) " >&6
17339 else $as_nop
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 #define UNW_LOCAL_ONLY
17343 #include <libunwind.h>
17345 main (void)
17347 unw_cursor_t cursor; unw_step( &cursor );
17349 return 0;
17351 _ACEOF
17352 if ac_fn_c_try_link "$LINENO"
17353 then :
17354 wine_cv_have_libunwind_unw_step="yes"
17355 else $as_nop
17356 wine_cv_have_libunwind_unw_step="no"
17358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17359 conftest$ac_exeext conftest.$ac_ext
17361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17362 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17363 LIBS=$save_libs
17365 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17366 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17367 then
17369 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17372 CPPFLAGS=$ac_save_CPPFLAGS
17375 case $host in
17376 aarch64*|*-darwin*)
17377 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17378 then :
17379 case "x$with_unwind" in
17380 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17381 xno) ;;
17382 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17383 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17384 esac
17386 fi ;;
17387 esac
17389 if test "x$with_sdl" != "xno"
17390 then
17391 rm -f conftest.err
17392 if ${SDL2_CFLAGS:+false} :
17393 then :
17394 if test ${PKG_CONFIG+y}
17395 then :
17396 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17400 if ${SDL2_LIBS:+false} :
17401 then :
17402 if test ${PKG_CONFIG+y}
17403 then :
17404 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17408 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17411 if test -s conftest.err; then
17412 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17413 cat conftest.err >&5
17415 rm -f conftest.err
17416 ac_save_CPPFLAGS=$CPPFLAGS
17417 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17418 for ac_header in SDL.h
17419 do :
17420 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17421 if test "x$ac_cv_header_SDL_h" = xyes
17422 then :
17423 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17425 printf %s "checking for -lSDL2... " >&6; }
17426 if test ${ac_cv_lib_soname_SDL2+y}
17427 then :
17428 printf %s "(cached) " >&6
17429 else $as_nop
17430 ac_check_soname_save_LIBS=$LIBS
17431 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17435 /* Override any GCC internal prototype to avoid an error.
17436 Use char because int might match the return type of a GCC
17437 builtin and then its argument prototype would still apply. */
17438 char SDL_Init ();
17440 main (void)
17442 return SDL_Init ();
17444 return 0;
17446 _ACEOF
17447 if ac_fn_c_try_link "$LINENO"
17448 then :
17449 case "$LIBEXT" in
17450 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17451 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'` ;;
17452 *) 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'`
17453 if ${ac_cv_lib_soname_SDL2:+false} :
17454 then :
17455 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17456 fi ;;
17457 esac
17458 else $as_nop
17459 ac_cv_lib_soname_SDL2=
17461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17462 conftest$ac_exeext conftest.$ac_ext
17463 LIBS=$ac_check_soname_save_LIBS
17465 if ${ac_cv_lib_soname_SDL2:+false} :
17466 then :
17467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17468 printf "%s\n" "not found" >&6; }
17470 else $as_nop
17471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17472 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17474 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17480 done
17481 CPPFLAGS=$ac_save_CPPFLAGS
17484 if test "x$ac_cv_lib_soname_SDL2" = "x"
17485 then :
17486 case "x$with_sdl" in
17487 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17488 xno) ;;
17489 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17490 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17491 esac
17495 if test "x$with_capi" != "xno"
17496 then
17497 rm -f conftest.err
17498 if ${CAPI20_CFLAGS:+false} :
17499 then :
17500 if test ${PKG_CONFIG+y}
17501 then :
17502 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17506 if ${CAPI20_LIBS:+false} :
17507 then :
17508 if test ${PKG_CONFIG+y}
17509 then :
17510 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17517 if test -s conftest.err; then
17518 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17519 cat conftest.err >&5
17521 rm -f conftest.err
17522 ac_save_CPPFLAGS=$CPPFLAGS
17523 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17524 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17526 if test "x$ac_cv_header_capi20_h" = xyes
17527 then :
17528 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17531 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17533 if test "x$ac_cv_header_linux_capi_h" = xyes
17534 then :
17535 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17539 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17540 then
17541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17542 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17543 if test ${ac_cv_lib_capi20_capi20_register+y}
17544 then :
17545 printf %s "(cached) " >&6
17546 else $as_nop
17547 ac_check_lib_save_LIBS=$LIBS
17548 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17552 /* Override any GCC internal prototype to avoid an error.
17553 Use char because int might match the return type of a GCC
17554 builtin and then its argument prototype would still apply. */
17555 char capi20_register ();
17557 main (void)
17559 return capi20_register ();
17561 return 0;
17563 _ACEOF
17564 if ac_fn_c_try_link "$LINENO"
17565 then :
17566 ac_cv_lib_capi20_capi20_register=yes
17567 else $as_nop
17568 ac_cv_lib_capi20_capi20_register=no
17570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17571 conftest$ac_exeext conftest.$ac_ext
17572 LIBS=$ac_check_lib_save_LIBS
17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17575 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17576 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17577 then :
17579 else $as_nop
17580 CAPI20_LIBS=""
17584 CPPFLAGS=$ac_save_CPPFLAGS
17587 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17588 then :
17589 case "x$with_capi" in
17590 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17591 xno) ;;
17592 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17593 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17594 esac
17595 enable_capi2032=${enable_capi2032:-no}
17598 if test "x$with_cups" != "xno"
17599 then
17600 rm -f conftest.err
17601 if ${CUPS_CFLAGS:+false} :
17602 then :
17603 if test ${PKG_CONFIG+y}
17604 then :
17605 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17608 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17609 if ${CUPS_LIBS:+false} :
17610 then :
17611 if test ${PKG_CONFIG+y}
17612 then :
17613 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17616 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17617 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17620 if test -s conftest.err; then
17621 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17622 cat conftest.err >&5
17624 rm -f conftest.err
17625 ac_save_CPPFLAGS=$CPPFLAGS
17626 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17627 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17628 if test "x$ac_cv_header_cups_cups_h" = xyes
17629 then :
17630 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17633 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17634 if test "x$ac_cv_header_cups_ppd_h" = xyes
17635 then :
17636 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17640 if test "$ac_cv_header_cups_cups_h" = "yes"
17641 then
17642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17643 printf %s "checking for -lcups... " >&6; }
17644 if test ${ac_cv_lib_soname_cups+y}
17645 then :
17646 printf %s "(cached) " >&6
17647 else $as_nop
17648 ac_check_soname_save_LIBS=$LIBS
17649 LIBS="-lcups $CUPS_LIBS $LIBS"
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17653 /* Override any GCC internal prototype to avoid an error.
17654 Use char because int might match the return type of a GCC
17655 builtin and then its argument prototype would still apply. */
17656 char cupsGetDefault ();
17658 main (void)
17660 return cupsGetDefault ();
17662 return 0;
17664 _ACEOF
17665 if ac_fn_c_try_link "$LINENO"
17666 then :
17667 case "$LIBEXT" in
17668 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17669 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'` ;;
17670 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17671 if ${ac_cv_lib_soname_cups:+false} :
17672 then :
17673 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17674 fi ;;
17675 esac
17676 else $as_nop
17677 ac_cv_lib_soname_cups=
17679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17680 conftest$ac_exeext conftest.$ac_ext
17681 LIBS=$ac_check_soname_save_LIBS
17683 if ${ac_cv_lib_soname_cups:+false} :
17684 then :
17685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17686 printf "%s\n" "not found" >&6; }
17687 CUPS_LIBS=""
17688 else $as_nop
17689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17690 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17692 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17696 else
17697 CUPS_CFLAGS=""
17698 CUPS_LIBS=""
17700 CPPFLAGS=$ac_save_CPPFLAGS
17703 if test "x$ac_cv_lib_soname_cups" = "x"
17704 then :
17705 case "x$with_cups" in
17706 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17707 xno) ;;
17708 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17709 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17710 esac
17714 if test "x$with_fontconfig" != "xno"
17715 then
17716 rm -f conftest.err
17717 if ${FONTCONFIG_CFLAGS:+false} :
17718 then :
17719 if test ${PKG_CONFIG+y}
17720 then :
17721 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17724 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17725 if ${FONTCONFIG_LIBS:+false} :
17726 then :
17727 if test ${PKG_CONFIG+y}
17728 then :
17729 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17732 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17736 if test -s conftest.err; then
17737 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17738 cat conftest.err >&5
17740 rm -f conftest.err
17741 ac_save_CPPFLAGS=$CPPFLAGS
17742 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17743 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17744 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17745 then :
17746 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17750 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17751 then
17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17753 printf %s "checking for -lfontconfig... " >&6; }
17754 if test ${ac_cv_lib_soname_fontconfig+y}
17755 then :
17756 printf %s "(cached) " >&6
17757 else $as_nop
17758 ac_check_soname_save_LIBS=$LIBS
17759 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 /* Override any GCC internal prototype to avoid an error.
17764 Use char because int might match the return type of a GCC
17765 builtin and then its argument prototype would still apply. */
17766 char FcInit ();
17768 main (void)
17770 return FcInit ();
17772 return 0;
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"
17776 then :
17777 case "$LIBEXT" in
17778 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17779 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'` ;;
17780 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17781 if ${ac_cv_lib_soname_fontconfig:+false} :
17782 then :
17783 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17784 fi ;;
17785 esac
17786 else $as_nop
17787 ac_cv_lib_soname_fontconfig=
17789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17790 conftest$ac_exeext conftest.$ac_ext
17791 LIBS=$ac_check_soname_save_LIBS
17793 if ${ac_cv_lib_soname_fontconfig:+false} :
17794 then :
17795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17796 printf "%s\n" "not found" >&6; }
17797 FONTCONFIG_CFLAGS=""
17798 else $as_nop
17799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17800 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17802 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17806 else
17807 FONTCONFIG_CFLAGS=""
17809 CPPFLAGS=$ac_save_CPPFLAGS
17812 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17813 then :
17814 case "x$with_fontconfig" in
17815 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17816 xno) ;;
17817 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17818 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17819 esac
17823 if test "x$with_krb5" != "xno"
17824 then
17825 rm -f conftest.err
17826 if ${KRB5_CFLAGS:+false} :
17827 then :
17828 if test ${PKG_CONFIG+y}
17829 then :
17830 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17833 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17834 if ${KRB5_LIBS:+false} :
17835 then :
17836 if test ${PKG_CONFIG+y}
17837 then :
17838 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17841 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17845 if test -s conftest.err; then
17846 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17847 cat conftest.err >&5
17849 rm -f conftest.err
17850 ac_save_CPPFLAGS=$CPPFLAGS
17851 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17852 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17853 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17854 then :
17855 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17859 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17860 then
17861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17862 printf %s "checking for -lkrb5... " >&6; }
17863 if test ${ac_cv_lib_soname_krb5+y}
17864 then :
17865 printf %s "(cached) " >&6
17866 else $as_nop
17867 ac_check_soname_save_LIBS=$LIBS
17868 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17872 /* Override any GCC internal prototype to avoid an error.
17873 Use char because int might match the return type of a GCC
17874 builtin and then its argument prototype would still apply. */
17875 char krb5_is_config_principal ();
17877 main (void)
17879 return krb5_is_config_principal ();
17881 return 0;
17883 _ACEOF
17884 if ac_fn_c_try_link "$LINENO"
17885 then :
17886 case "$LIBEXT" in
17887 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17888 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'` ;;
17889 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17890 if ${ac_cv_lib_soname_krb5:+false} :
17891 then :
17892 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17893 fi ;;
17894 esac
17895 else $as_nop
17896 ac_cv_lib_soname_krb5=
17898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17899 conftest$ac_exeext conftest.$ac_ext
17900 LIBS=$ac_check_soname_save_LIBS
17902 if ${ac_cv_lib_soname_krb5:+false} :
17903 then :
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17905 printf "%s\n" "not found" >&6; }
17906 KRB5_CFLAGS=""
17907 else $as_nop
17908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17909 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17911 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17915 else
17916 KRB5_CFLAGS=""
17918 CPPFLAGS=$ac_save_CPPFLAGS
17921 if test "x$ac_cv_lib_soname_krb5" = "x"
17922 then :
17923 case "x$with_krb5" in
17924 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17925 xno) ;;
17926 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17927 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17928 esac
17931 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17933 if test "x$with_gssapi" != "xno"
17934 then
17935 rm -f conftest.err
17936 if ${GSSAPI_CFLAGS:+false} :
17937 then :
17938 if test ${PKG_CONFIG+y}
17939 then :
17940 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17943 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17944 if ${GSSAPI_LIBS:+false} :
17945 then :
17946 if test ${PKG_CONFIG+y}
17947 then :
17948 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17951 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17955 if test -s conftest.err; then
17956 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17957 cat conftest.err >&5
17959 rm -f conftest.err
17960 ac_save_CPPFLAGS=$CPPFLAGS
17961 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17962 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17963 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17964 then :
17965 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17968 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17969 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17970 then :
17971 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17975 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17976 then
17977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17978 printf %s "checking for -lgssapi_krb5... " >&6; }
17979 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17980 then :
17981 printf %s "(cached) " >&6
17982 else $as_nop
17983 ac_check_soname_save_LIBS=$LIBS
17984 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17991 char gss_init_sec_context ();
17993 main (void)
17995 return gss_init_sec_context ();
17997 return 0;
17999 _ACEOF
18000 if ac_fn_c_try_link "$LINENO"
18001 then :
18002 case "$LIBEXT" in
18003 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18004 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'` ;;
18005 *) 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'`
18006 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18007 then :
18008 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18009 fi ;;
18010 esac
18011 else $as_nop
18012 ac_cv_lib_soname_gssapi_krb5=
18014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18015 conftest$ac_exeext conftest.$ac_ext
18016 LIBS=$ac_check_soname_save_LIBS
18018 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18019 then :
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18021 printf "%s\n" "not found" >&6; }
18022 GSSAPI_CFLAGS=""
18023 else $as_nop
18024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18025 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18027 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18031 else
18032 GSSAPI_CFLAGS=""
18034 CPPFLAGS=$ac_save_CPPFLAGS
18037 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18038 then :
18039 case "x$with_gssapi" in
18040 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18041 xno) ;;
18042 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18043 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18044 esac
18048 if test "$ac_cv_header_libprocstat_h" = "yes"
18049 then
18050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18051 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18052 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18053 then :
18054 printf %s "(cached) " >&6
18055 else $as_nop
18056 ac_check_lib_save_LIBS=$LIBS
18057 LIBS="-lprocstat $LIBS"
18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18064 char procstat_open_sysctl ();
18066 main (void)
18068 return procstat_open_sysctl ();
18070 return 0;
18072 _ACEOF
18073 if ac_fn_c_try_link "$LINENO"
18074 then :
18075 ac_cv_lib_procstat_procstat_open_sysctl=yes
18076 else $as_nop
18077 ac_cv_lib_procstat_procstat_open_sysctl=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18080 conftest$ac_exeext conftest.$ac_ext
18081 LIBS=$ac_check_lib_save_LIBS
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18084 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18085 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18086 then :
18088 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18090 PROCSTAT_LIBS="-lprocstat"
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18097 printf %s "checking for -lodbc... " >&6; }
18098 if test ${ac_cv_lib_soname_odbc+y}
18099 then :
18100 printf %s "(cached) " >&6
18101 else $as_nop
18102 ac_check_soname_save_LIBS=$LIBS
18103 LIBS="-lodbc $LIBS"
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18110 char SQLConnect ();
18112 main (void)
18114 return SQLConnect ();
18116 return 0;
18118 _ACEOF
18119 if ac_fn_c_try_link "$LINENO"
18120 then :
18121 case "$LIBEXT" in
18122 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18123 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'` ;;
18124 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18125 if ${ac_cv_lib_soname_odbc:+false} :
18126 then :
18127 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18128 fi ;;
18129 esac
18130 else $as_nop
18131 ac_cv_lib_soname_odbc=
18133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18134 conftest$ac_exeext conftest.$ac_ext
18135 LIBS=$ac_check_soname_save_LIBS
18137 if ${ac_cv_lib_soname_odbc:+false} :
18138 then :
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18140 printf "%s\n" "not found" >&6; }
18141 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18143 else $as_nop
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18145 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18147 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18152 if test "x$with_netapi" != "xno"
18153 then
18154 rm -f conftest.err
18155 if ${NETAPI_CFLAGS:+false} :
18156 then :
18157 if test ${PKG_CONFIG+y}
18158 then :
18159 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18163 if ${NETAPI_LIBS:+false} :
18164 then :
18165 if test ${PKG_CONFIG+y}
18166 then :
18167 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18174 if test -s conftest.err; then
18175 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18176 cat conftest.err >&5
18178 rm -f conftest.err
18179 ac_save_CPPFLAGS=$CPPFLAGS
18180 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18182 printf %s "checking for -lnetapi... " >&6; }
18183 if test ${ac_cv_lib_soname_netapi+y}
18184 then :
18185 printf %s "(cached) " >&6
18186 else $as_nop
18187 ac_check_soname_save_LIBS=$LIBS
18188 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18192 /* Override any GCC internal prototype to avoid an error.
18193 Use char because int might match the return type of a GCC
18194 builtin and then its argument prototype would still apply. */
18195 char libnetapi_init ();
18197 main (void)
18199 return libnetapi_init ();
18201 return 0;
18203 _ACEOF
18204 if ac_fn_c_try_link "$LINENO"
18205 then :
18206 case "$LIBEXT" in
18207 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18208 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'` ;;
18209 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18210 if ${ac_cv_lib_soname_netapi:+false} :
18211 then :
18212 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18213 fi ;;
18214 esac
18215 else $as_nop
18216 ac_cv_lib_soname_netapi=
18218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18219 conftest$ac_exeext conftest.$ac_ext
18220 LIBS=$ac_check_soname_save_LIBS
18222 if ${ac_cv_lib_soname_netapi:+false} :
18223 then :
18224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18225 printf "%s\n" "not found" >&6; }
18226 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18228 else $as_nop
18229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18230 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18232 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18236 CPPFLAGS=$ac_save_CPPFLAGS
18239 if test "x$ac_cv_lib_soname_netapi" = "x"
18240 then :
18241 case "x$with_netapi" in
18242 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18243 xno) ;;
18244 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18245 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18246 esac
18247 enable_netapi=${enable_netapi:-no}
18251 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18252 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18253 then
18254 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18257 if test "x$with_vulkan" != "xno"
18258 then
18259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18260 printf %s "checking for -lvulkan... " >&6; }
18261 if test ${ac_cv_lib_soname_vulkan+y}
18262 then :
18263 printf %s "(cached) " >&6
18264 else $as_nop
18265 ac_check_soname_save_LIBS=$LIBS
18266 LIBS="-lvulkan $LIBS"
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18270 /* Override any GCC internal prototype to avoid an error.
18271 Use char because int might match the return type of a GCC
18272 builtin and then its argument prototype would still apply. */
18273 char vkGetInstanceProcAddr ();
18275 main (void)
18277 return vkGetInstanceProcAddr ();
18279 return 0;
18281 _ACEOF
18282 if ac_fn_c_try_link "$LINENO"
18283 then :
18284 case "$LIBEXT" in
18285 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18286 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'` ;;
18287 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18288 if ${ac_cv_lib_soname_vulkan:+false} :
18289 then :
18290 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18291 fi ;;
18292 esac
18293 else $as_nop
18294 ac_cv_lib_soname_vulkan=
18296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18297 conftest$ac_exeext conftest.$ac_ext
18298 LIBS=$ac_check_soname_save_LIBS
18300 if ${ac_cv_lib_soname_vulkan:+false} :
18301 then :
18302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18303 printf "%s\n" "not found" >&6; }
18305 else $as_nop
18306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18307 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18309 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18313 if test "x$ac_cv_lib_soname_vulkan" = "x"
18314 then
18315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18316 printf %s "checking for -lMoltenVK... " >&6; }
18317 if test ${ac_cv_lib_soname_MoltenVK+y}
18318 then :
18319 printf %s "(cached) " >&6
18320 else $as_nop
18321 ac_check_soname_save_LIBS=$LIBS
18322 LIBS="-lMoltenVK $LIBS"
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18326 /* Override any GCC internal prototype to avoid an error.
18327 Use char because int might match the return type of a GCC
18328 builtin and then its argument prototype would still apply. */
18329 char vkGetInstanceProcAddr ();
18331 main (void)
18333 return vkGetInstanceProcAddr ();
18335 return 0;
18337 _ACEOF
18338 if ac_fn_c_try_link "$LINENO"
18339 then :
18340 case "$LIBEXT" in
18341 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18342 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'` ;;
18343 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18344 if ${ac_cv_lib_soname_MoltenVK:+false} :
18345 then :
18346 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18347 fi ;;
18348 esac
18349 else $as_nop
18350 ac_cv_lib_soname_MoltenVK=
18352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18353 conftest$ac_exeext conftest.$ac_ext
18354 LIBS=$ac_check_soname_save_LIBS
18356 if ${ac_cv_lib_soname_MoltenVK:+false} :
18357 then :
18358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18359 printf "%s\n" "not found" >&6; }
18361 else $as_nop
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18363 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18365 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18371 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18372 then :
18373 case "x$with_vulkan" in
18374 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18375 xno) ;;
18376 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18377 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18378 esac
18383 if test "x${GCC}" = "xyes"
18384 then
18385 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18387 saved_CFLAGS=$CFLAGS
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18389 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18390 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18391 then :
18392 printf %s "(cached) " >&6
18393 else $as_nop
18394 ac_wine_try_cflags_saved=$CFLAGS
18395 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 int main(int argc, char **argv) { return 0; }
18399 _ACEOF
18400 if ac_fn_c_try_link "$LINENO"
18401 then :
18402 ac_cv_cflags__Werror_unknown_warning_option=yes
18403 else $as_nop
18404 ac_cv_cflags__Werror_unknown_warning_option=no
18406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18407 conftest$ac_exeext conftest.$ac_ext
18408 CFLAGS=$ac_wine_try_cflags_saved
18410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18411 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18412 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18413 then :
18414 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18417 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18418 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18419 then :
18420 printf %s "(cached) " >&6
18421 else $as_nop
18422 ac_wine_try_cflags_saved=$CFLAGS
18423 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18426 int main(int argc, char **argv) { return 0; }
18427 _ACEOF
18428 if ac_fn_c_try_link "$LINENO"
18429 then :
18430 ac_cv_cflags__Werror_unused_command_line_argument=yes
18431 else $as_nop
18432 ac_cv_cflags__Werror_unused_command_line_argument=no
18434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18435 conftest$ac_exeext conftest.$ac_ext
18436 CFLAGS=$ac_wine_try_cflags_saved
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18439 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18440 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18441 then :
18442 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18445 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18446 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18447 then :
18448 printf %s "(cached) " >&6
18449 else $as_nop
18450 ac_wine_try_cflags_saved=$CFLAGS
18451 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18453 /* end confdefs.h. */
18454 int main(int argc, char **argv) { return 0; }
18455 _ACEOF
18456 if ac_fn_c_try_link "$LINENO"
18457 then :
18458 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18459 else $as_nop
18460 ac_cv_cflags__Werror_ignored_optimization_argument=no
18462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18463 conftest$ac_exeext conftest.$ac_ext
18464 CFLAGS=$ac_wine_try_cflags_saved
18466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18467 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18468 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18469 then :
18470 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18473 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18474 if test ${ac_cv_cflags__fcf_protection_none+y}
18475 then :
18476 printf %s "(cached) " >&6
18477 else $as_nop
18478 ac_wine_try_cflags_saved=$CFLAGS
18479 CFLAGS="$CFLAGS -fcf-protection=none"
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18482 int main(int argc, char **argv) { return 0; }
18483 _ACEOF
18484 if ac_fn_c_try_link "$LINENO"
18485 then :
18486 ac_cv_cflags__fcf_protection_none=yes
18487 else $as_nop
18488 ac_cv_cflags__fcf_protection_none=no
18490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18491 conftest$ac_exeext conftest.$ac_ext
18492 CFLAGS=$ac_wine_try_cflags_saved
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18495 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18496 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18497 then :
18498 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18501 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18502 if test ${ac_cv_cflags__fno_stack_protector+y}
18503 then :
18504 printf %s "(cached) " >&6
18505 else $as_nop
18506 ac_wine_try_cflags_saved=$CFLAGS
18507 CFLAGS="$CFLAGS -fno-stack-protector"
18508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18509 /* end confdefs.h. */
18510 int main(int argc, char **argv) { return 0; }
18511 _ACEOF
18512 if ac_fn_c_try_link "$LINENO"
18513 then :
18514 ac_cv_cflags__fno_stack_protector=yes
18515 else $as_nop
18516 ac_cv_cflags__fno_stack_protector=no
18518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18519 conftest$ac_exeext conftest.$ac_ext
18520 CFLAGS=$ac_wine_try_cflags_saved
18522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18523 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18524 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18525 then :
18526 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18529 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18530 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18531 then :
18532 printf %s "(cached) " >&6
18533 else $as_nop
18534 ac_wine_try_cflags_saved=$CFLAGS
18535 CFLAGS="$CFLAGS -fno-strict-aliasing"
18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18538 int main(int argc, char **argv) { return 0; }
18539 _ACEOF
18540 if ac_fn_c_try_link "$LINENO"
18541 then :
18542 ac_cv_cflags__fno_strict_aliasing=yes
18543 else $as_nop
18544 ac_cv_cflags__fno_strict_aliasing=no
18546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18547 conftest$ac_exeext conftest.$ac_ext
18548 CFLAGS=$ac_wine_try_cflags_saved
18550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18551 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18552 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18553 then :
18554 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18557 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18558 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18559 then :
18560 printf %s "(cached) " >&6
18561 else $as_nop
18562 ac_wine_try_cflags_saved=$CFLAGS
18563 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18565 /* end confdefs.h. */
18566 int main(int argc, char **argv) { return 0; }
18567 _ACEOF
18568 if ac_fn_c_try_link "$LINENO"
18569 then :
18570 ac_cv_cflags__Wdeclaration_after_statement=yes
18571 else $as_nop
18572 ac_cv_cflags__Wdeclaration_after_statement=no
18574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18575 conftest$ac_exeext conftest.$ac_ext
18576 CFLAGS=$ac_wine_try_cflags_saved
18578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18579 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18580 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18581 then :
18582 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18585 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18586 if test ${ac_cv_cflags__Wempty_body+y}
18587 then :
18588 printf %s "(cached) " >&6
18589 else $as_nop
18590 ac_wine_try_cflags_saved=$CFLAGS
18591 CFLAGS="$CFLAGS -Wempty-body"
18592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18593 /* end confdefs.h. */
18594 int main(int argc, char **argv) { return 0; }
18595 _ACEOF
18596 if ac_fn_c_try_link "$LINENO"
18597 then :
18598 ac_cv_cflags__Wempty_body=yes
18599 else $as_nop
18600 ac_cv_cflags__Wempty_body=no
18602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18603 conftest$ac_exeext conftest.$ac_ext
18604 CFLAGS=$ac_wine_try_cflags_saved
18606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18607 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18608 if test "x$ac_cv_cflags__Wempty_body" = xyes
18609 then :
18610 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18613 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18614 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18615 then :
18616 printf %s "(cached) " >&6
18617 else $as_nop
18618 ac_wine_try_cflags_saved=$CFLAGS
18619 CFLAGS="$CFLAGS -Wignored-qualifiers"
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18622 int main(int argc, char **argv) { return 0; }
18623 _ACEOF
18624 if ac_fn_c_try_link "$LINENO"
18625 then :
18626 ac_cv_cflags__Wignored_qualifiers=yes
18627 else $as_nop
18628 ac_cv_cflags__Wignored_qualifiers=no
18630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18631 conftest$ac_exeext conftest.$ac_ext
18632 CFLAGS=$ac_wine_try_cflags_saved
18634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18635 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18636 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18637 then :
18638 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18641 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18642 if test ${ac_cv_cflags__Winit_self+y}
18643 then :
18644 printf %s "(cached) " >&6
18645 else $as_nop
18646 ac_wine_try_cflags_saved=$CFLAGS
18647 CFLAGS="$CFLAGS -Winit-self"
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 int main(int argc, char **argv) { return 0; }
18651 _ACEOF
18652 if ac_fn_c_try_link "$LINENO"
18653 then :
18654 ac_cv_cflags__Winit_self=yes
18655 else $as_nop
18656 ac_cv_cflags__Winit_self=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18659 conftest$ac_exeext conftest.$ac_ext
18660 CFLAGS=$ac_wine_try_cflags_saved
18662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18663 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18664 if test "x$ac_cv_cflags__Winit_self" = xyes
18665 then :
18666 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18669 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18670 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18671 then :
18672 printf %s "(cached) " >&6
18673 else $as_nop
18674 ac_wine_try_cflags_saved=$CFLAGS
18675 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18677 /* end confdefs.h. */
18678 int main(int argc, char **argv) { return 0; }
18679 _ACEOF
18680 if ac_fn_c_try_link "$LINENO"
18681 then :
18682 ac_cv_cflags__Wpacked_not_aligned=yes
18683 else $as_nop
18684 ac_cv_cflags__Wpacked_not_aligned=no
18686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18687 conftest$ac_exeext conftest.$ac_ext
18688 CFLAGS=$ac_wine_try_cflags_saved
18690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18691 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18692 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18693 then :
18694 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18697 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18698 if test ${ac_cv_cflags__Wpragma_pack+y}
18699 then :
18700 printf %s "(cached) " >&6
18701 else $as_nop
18702 ac_wine_try_cflags_saved=$CFLAGS
18703 CFLAGS="$CFLAGS -Wpragma-pack"
18704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h. */
18706 int main(int argc, char **argv) { return 0; }
18707 _ACEOF
18708 if ac_fn_c_try_link "$LINENO"
18709 then :
18710 ac_cv_cflags__Wpragma_pack=yes
18711 else $as_nop
18712 ac_cv_cflags__Wpragma_pack=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18715 conftest$ac_exeext conftest.$ac_ext
18716 CFLAGS=$ac_wine_try_cflags_saved
18718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18719 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18720 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18721 then :
18722 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18725 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18726 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18727 then :
18728 printf %s "(cached) " >&6
18729 else $as_nop
18730 ac_wine_try_cflags_saved=$CFLAGS
18731 CFLAGS="$CFLAGS -Wshift-overflow=2"
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 int main(int argc, char **argv) { return 0; }
18735 _ACEOF
18736 if ac_fn_c_try_link "$LINENO"
18737 then :
18738 ac_cv_cflags__Wshift_overflow_2=yes
18739 else $as_nop
18740 ac_cv_cflags__Wshift_overflow_2=no
18742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18743 conftest$ac_exeext conftest.$ac_ext
18744 CFLAGS=$ac_wine_try_cflags_saved
18746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18747 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18748 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18749 then :
18750 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18753 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18754 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18755 then :
18756 printf %s "(cached) " >&6
18757 else $as_nop
18758 ac_wine_try_cflags_saved=$CFLAGS
18759 CFLAGS="$CFLAGS -Wstrict-prototypes"
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18762 int main(int argc, char **argv) { return 0; }
18763 _ACEOF
18764 if ac_fn_c_try_link "$LINENO"
18765 then :
18766 ac_cv_cflags__Wstrict_prototypes=yes
18767 else $as_nop
18768 ac_cv_cflags__Wstrict_prototypes=no
18770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18771 conftest$ac_exeext conftest.$ac_ext
18772 CFLAGS=$ac_wine_try_cflags_saved
18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18775 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18776 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18777 then :
18778 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18781 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18782 if test ${ac_cv_cflags__Wtype_limits+y}
18783 then :
18784 printf %s "(cached) " >&6
18785 else $as_nop
18786 ac_wine_try_cflags_saved=$CFLAGS
18787 CFLAGS="$CFLAGS -Wtype-limits"
18788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18790 int main(int argc, char **argv) { return 0; }
18791 _ACEOF
18792 if ac_fn_c_try_link "$LINENO"
18793 then :
18794 ac_cv_cflags__Wtype_limits=yes
18795 else $as_nop
18796 ac_cv_cflags__Wtype_limits=no
18798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18799 conftest$ac_exeext conftest.$ac_ext
18800 CFLAGS=$ac_wine_try_cflags_saved
18802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18803 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18804 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18805 then :
18806 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18809 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18810 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18811 then :
18812 printf %s "(cached) " >&6
18813 else $as_nop
18814 ac_wine_try_cflags_saved=$CFLAGS
18815 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18818 int main(int argc, char **argv) { return 0; }
18819 _ACEOF
18820 if ac_fn_c_try_link "$LINENO"
18821 then :
18822 ac_cv_cflags__Wunused_but_set_parameter=yes
18823 else $as_nop
18824 ac_cv_cflags__Wunused_but_set_parameter=no
18826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18827 conftest$ac_exeext conftest.$ac_ext
18828 CFLAGS=$ac_wine_try_cflags_saved
18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18831 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18832 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18833 then :
18834 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18837 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18838 if test ${ac_cv_cflags__Wvla+y}
18839 then :
18840 printf %s "(cached) " >&6
18841 else $as_nop
18842 ac_wine_try_cflags_saved=$CFLAGS
18843 CFLAGS="$CFLAGS -Wvla"
18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h. */
18846 int main(int argc, char **argv) { return 0; }
18847 _ACEOF
18848 if ac_fn_c_try_link "$LINENO"
18849 then :
18850 ac_cv_cflags__Wvla=yes
18851 else $as_nop
18852 ac_cv_cflags__Wvla=no
18854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18855 conftest$ac_exeext conftest.$ac_ext
18856 CFLAGS=$ac_wine_try_cflags_saved
18858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18859 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18860 if test "x$ac_cv_cflags__Wvla" = xyes
18861 then :
18862 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18865 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18866 if test ${ac_cv_cflags__Wwrite_strings+y}
18867 then :
18868 printf %s "(cached) " >&6
18869 else $as_nop
18870 ac_wine_try_cflags_saved=$CFLAGS
18871 CFLAGS="$CFLAGS -Wwrite-strings"
18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18874 int main(int argc, char **argv) { return 0; }
18875 _ACEOF
18876 if ac_fn_c_try_link "$LINENO"
18877 then :
18878 ac_cv_cflags__Wwrite_strings=yes
18879 else $as_nop
18880 ac_cv_cflags__Wwrite_strings=no
18882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18883 conftest$ac_exeext conftest.$ac_ext
18884 CFLAGS=$ac_wine_try_cflags_saved
18886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18887 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18888 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18889 then :
18890 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18894 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18895 if test ${ac_cv_cflags__Wpointer_arith+y}
18896 then :
18897 printf %s "(cached) " >&6
18898 else $as_nop
18899 ac_wine_try_cflags_saved=$CFLAGS
18900 CFLAGS="$CFLAGS -Wpointer-arith"
18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18903 int main(int argc, char **argv) { return 0; }
18904 _ACEOF
18905 if ac_fn_c_try_link "$LINENO"
18906 then :
18907 ac_cv_cflags__Wpointer_arith=yes
18908 else $as_nop
18909 ac_cv_cflags__Wpointer_arith=no
18911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18912 conftest$ac_exeext conftest.$ac_ext
18913 CFLAGS=$ac_wine_try_cflags_saved
18915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18916 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18917 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18918 then :
18919 saved_string_h_CFLAGS=$CFLAGS
18920 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18922 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18923 if test ${ac_cv_c_string_h_warnings+y}
18924 then :
18925 printf %s "(cached) " >&6
18926 else $as_nop
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 #include <string.h>
18931 main (void)
18935 return 0;
18937 _ACEOF
18938 if ac_fn_c_try_compile "$LINENO"
18939 then :
18940 ac_cv_c_string_h_warnings=no
18941 else $as_nop
18942 ac_cv_c_string_h_warnings=yes
18944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18947 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18948 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18949 CFLAGS=$saved_string_h_CFLAGS
18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18953 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18954 if test ${ac_cv_cflags__Wlogical_op+y}
18955 then :
18956 printf %s "(cached) " >&6
18957 else $as_nop
18958 ac_wine_try_cflags_saved=$CFLAGS
18959 CFLAGS="$CFLAGS -Wlogical-op"
18960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18961 /* end confdefs.h. */
18962 int main(int argc, char **argv) { return 0; }
18963 _ACEOF
18964 if ac_fn_c_try_link "$LINENO"
18965 then :
18966 ac_cv_cflags__Wlogical_op=yes
18967 else $as_nop
18968 ac_cv_cflags__Wlogical_op=no
18970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18971 conftest$ac_exeext conftest.$ac_ext
18972 CFLAGS=$ac_wine_try_cflags_saved
18974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18975 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18976 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18977 then :
18978 saved_string_h_CFLAGS=$CFLAGS
18979 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18981 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18982 if test ${ac_cv_c_logicalop_noisy+y}
18983 then :
18984 printf %s "(cached) " >&6
18985 else $as_nop
18986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18988 #include <string.h>
18989 char*f(const char *h,char n) {return strchr(h,n);}
18991 main (void)
18995 return 0;
18997 _ACEOF
18998 if ac_fn_c_try_compile "$LINENO"
18999 then :
19000 ac_cv_c_logicalop_noisy=no
19001 else $as_nop
19002 ac_cv_c_logicalop_noisy=yes
19004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19007 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19008 CFLAGS=$saved_string_h_CFLAGS
19009 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19013 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19014 if test ${wine_cv_64bit_compare_swap+y}
19015 then :
19016 printf %s "(cached) " >&6
19017 else $as_nop
19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19020 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19021 #error no
19022 #endif
19024 main (void)
19028 return 0;
19030 _ACEOF
19031 if ac_fn_c_try_compile "$LINENO"
19032 then :
19033 wine_cv_64bit_compare_swap="none needed"
19034 else $as_nop
19035 case $host_cpu in
19036 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19037 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19038 *) wine_cv_64bit_compare_swap="unknown" ;;
19039 esac
19040 if test "x$wine_cv_64bit_compare_swap" != xunknown
19041 then
19042 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19045 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19046 #error no
19047 #endif
19049 main (void)
19053 return 0;
19055 _ACEOF
19056 if ac_fn_c_try_compile "$LINENO"
19057 then :
19059 else $as_nop
19060 wine_cv_64bit_compare_swap="unknown"
19062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19063 CFLAGS=$saved_CFLAGS
19066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19069 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19070 case "$wine_cv_64bit_compare_swap" in
19071 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19072 "none needed") ;;
19073 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19074 esac
19076 ac_debug_format_seen=""
19077 for ac_flag in $CFLAGS; do
19078 case $ac_flag in
19079 -gdwarf*) ac_debug_format_seen=yes ;;
19080 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19081 esac
19082 done
19083 if test "x$ac_debug_format_seen" = xdefault
19084 then
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19086 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19087 if test ${ac_cv_cflags__gdwarf_4+y}
19088 then :
19089 printf %s "(cached) " >&6
19090 else $as_nop
19091 ac_wine_try_cflags_saved=$CFLAGS
19092 CFLAGS="$CFLAGS -gdwarf-4"
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095 int main(int argc, char **argv) { return 0; }
19096 _ACEOF
19097 if ac_fn_c_try_link "$LINENO"
19098 then :
19099 ac_cv_cflags__gdwarf_4=yes
19100 else $as_nop
19101 ac_cv_cflags__gdwarf_4=no
19103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19104 conftest$ac_exeext conftest.$ac_ext
19105 CFLAGS=$ac_wine_try_cflags_saved
19107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19108 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19109 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19110 then :
19111 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19115 MSVCRTFLAGS=""
19117 case $host_os in
19118 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19119 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19120 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19121 then :
19122 printf %s "(cached) " >&6
19123 else $as_nop
19124 ac_wine_try_cflags_saved=$CFLAGS
19125 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 int main(int argc, char **argv) { return 0; }
19129 _ACEOF
19130 if ac_fn_c_try_link "$LINENO"
19131 then :
19132 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19133 else $as_nop
19134 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19137 conftest$ac_exeext conftest.$ac_ext
19138 CFLAGS=$ac_wine_try_cflags_saved
19140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19141 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19142 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19143 then :
19144 DELAYLOADFLAG="-Wl,-delayload,"
19146 fi ;;
19147 *) MSVCRTFLAGS="-D_WIN32"
19148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19149 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19150 if test ${ac_cv_cflags__fno_builtin+y}
19151 then :
19152 printf %s "(cached) " >&6
19153 else $as_nop
19154 ac_wine_try_cflags_saved=$CFLAGS
19155 CFLAGS="$CFLAGS -fno-builtin"
19156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h. */
19158 int main(int argc, char **argv) { return 0; }
19159 _ACEOF
19160 if ac_fn_c_try_link "$LINENO"
19161 then :
19162 ac_cv_cflags__fno_builtin=yes
19163 else $as_nop
19164 ac_cv_cflags__fno_builtin=no
19166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19167 conftest$ac_exeext conftest.$ac_ext
19168 CFLAGS=$ac_wine_try_cflags_saved
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19171 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19172 if test "x$ac_cv_cflags__fno_builtin" = xyes
19173 then :
19174 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19177 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19178 if test ${ac_cv_cflags__fshort_wchar+y}
19179 then :
19180 printf %s "(cached) " >&6
19181 else $as_nop
19182 ac_wine_try_cflags_saved=$CFLAGS
19183 CFLAGS="$CFLAGS -fshort-wchar"
19184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19185 /* end confdefs.h. */
19186 int main(int argc, char **argv) { return 0; }
19187 _ACEOF
19188 if ac_fn_c_try_link "$LINENO"
19189 then :
19190 ac_cv_cflags__fshort_wchar=yes
19191 else $as_nop
19192 ac_cv_cflags__fshort_wchar=no
19194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19195 conftest$ac_exeext conftest.$ac_ext
19196 CFLAGS=$ac_wine_try_cflags_saved
19198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19199 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19200 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19201 then :
19202 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19205 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19206 if test ${ac_cv_cflags__Wno_format+y}
19207 then :
19208 printf %s "(cached) " >&6
19209 else $as_nop
19210 ac_wine_try_cflags_saved=$CFLAGS
19211 CFLAGS="$CFLAGS -Wno-format"
19212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19213 /* end confdefs.h. */
19214 int main(int argc, char **argv) { return 0; }
19215 _ACEOF
19216 if ac_fn_c_try_link "$LINENO"
19217 then :
19218 ac_cv_cflags__Wno_format=yes
19219 else $as_nop
19220 ac_cv_cflags__Wno_format=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19223 conftest$ac_exeext conftest.$ac_ext
19224 CFLAGS=$ac_wine_try_cflags_saved
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19227 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19228 if test "x$ac_cv_cflags__Wno_format" = xyes
19229 then :
19230 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19231 fi ;;
19232 esac
19234 case $host_cpu in
19235 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19236 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19237 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19238 then :
19239 printf %s "(cached) " >&6
19240 else $as_nop
19241 ac_wine_try_cflags_saved=$CFLAGS
19242 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19245 int main(int argc, char **argv) { return 0; }
19246 _ACEOF
19247 if ac_fn_c_try_link "$LINENO"
19248 then :
19249 ac_cv_cflags__fno_omit_frame_pointer=yes
19250 else $as_nop
19251 ac_cv_cflags__fno_omit_frame_pointer=no
19253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19254 conftest$ac_exeext conftest.$ac_ext
19255 CFLAGS=$ac_wine_try_cflags_saved
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19258 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19259 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19260 then :
19261 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19262 fi ;;
19263 *x86_64*)
19264 case $host_os in
19265 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19266 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19267 if test ${ac_cv_cflags__Wno_format+y}
19268 then :
19269 printf %s "(cached) " >&6
19270 else $as_nop
19271 ac_wine_try_cflags_saved=$CFLAGS
19272 CFLAGS="$CFLAGS -Wno-format"
19273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 int main(int argc, char **argv) { return 0; }
19276 _ACEOF
19277 if ac_fn_c_try_link "$LINENO"
19278 then :
19279 ac_cv_cflags__Wno_format=yes
19280 else $as_nop
19281 ac_cv_cflags__Wno_format=no
19283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19284 conftest$ac_exeext conftest.$ac_ext
19285 CFLAGS=$ac_wine_try_cflags_saved
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19288 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19289 if test "x$ac_cv_cflags__Wno_format" = xyes
19290 then :
19291 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19292 fi ;;
19293 *) if test -z "$PE_ARCHS"
19294 then
19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19296 printf %s "checking for working -mabi=ms... " >&6; }
19297 if test ${ac_cv_mabi_ms+y}
19298 then :
19299 printf %s "(cached) " >&6
19300 else $as_nop
19301 CFLAGS="$CFLAGS -mabi=ms"
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304 #include <stdarg.h>
19305 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19307 main (void)
19311 return 0;
19313 _ACEOF
19314 if ac_fn_c_try_compile "$LINENO"
19315 then :
19316 ac_cv_mabi_ms=yes
19317 else $as_nop
19318 ac_cv_mabi_ms=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19321 CFLAGS=$saved_CFLAGS
19323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19324 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19325 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
19327 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19328 esac ;;
19329 arm*)
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19331 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19332 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19333 then :
19334 printf %s "(cached) " >&6
19335 else $as_nop
19336 ac_wine_try_cflags_saved=$CFLAGS
19337 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340 int main(int argc, char **argv) { return 0; }
19341 _ACEOF
19342 if ac_fn_c_try_link "$LINENO"
19343 then :
19344 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19345 else $as_nop
19346 ac_cv_cflags__Wincompatible_function_pointer_types=no
19348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19349 conftest$ac_exeext conftest.$ac_ext
19350 CFLAGS=$ac_wine_try_cflags_saved
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19353 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19354 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19355 then :
19356 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19357 fi ;;
19358 esac
19360 CFLAGS=$saved_CFLAGS
19362 if test "x$enable_werror" = "xyes"
19363 then
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19365 printf %s "checking whether the compiler supports -Werror... " >&6; }
19366 if test ${ac_cv_cflags__Werror+y}
19367 then :
19368 printf %s "(cached) " >&6
19369 else $as_nop
19370 ac_wine_try_cflags_saved=$CFLAGS
19371 CFLAGS="$CFLAGS -Werror"
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 int main(int argc, char **argv) { return 0; }
19375 _ACEOF
19376 if ac_fn_c_try_link "$LINENO"
19377 then :
19378 ac_cv_cflags__Werror=yes
19379 else $as_nop
19380 ac_cv_cflags__Werror=no
19382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19383 conftest$ac_exeext conftest.$ac_ext
19384 CFLAGS=$ac_wine_try_cflags_saved
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19387 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19388 if test "x$ac_cv_cflags__Werror" = xyes
19389 then :
19390 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19393 if test "x$enable_build_id" = "xyes"
19394 then
19395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19396 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19397 if test ${ac_cv_cflags__Wl___build_id+y}
19398 then :
19399 printf %s "(cached) " >&6
19400 else $as_nop
19401 ac_wine_try_cflags_saved=$CFLAGS
19402 CFLAGS="$CFLAGS -Wl,--build-id"
19403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19404 /* end confdefs.h. */
19405 int main(int argc, char **argv) { return 0; }
19406 _ACEOF
19407 if ac_fn_c_try_link "$LINENO"
19408 then :
19409 ac_cv_cflags__Wl___build_id=yes
19410 else $as_nop
19411 ac_cv_cflags__Wl___build_id=no
19413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19414 conftest$ac_exeext conftest.$ac_ext
19415 CFLAGS=$ac_wine_try_cflags_saved
19417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19418 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19419 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19420 then :
19421 CFLAGS="$CFLAGS -Wl,--build-id"
19422 LDFLAGS="$LDFLAGS -Wl,--build-id"
19428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19429 printf %s "checking for the need to disable Fortify... " >&6; }
19430 if test ${ac_cv_c_fortify_enabled+y}
19431 then :
19432 printf %s "(cached) " >&6
19433 else $as_nop
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 #include <string.h>
19438 main (void)
19440 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19441 #error Fortify enabled
19442 #endif
19444 return 0;
19446 _ACEOF
19447 if ac_fn_c_try_compile "$LINENO"
19448 then :
19449 ac_cv_c_fortify_enabled=no
19450 else $as_nop
19451 ac_cv_c_fortify_enabled=yes
19453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19456 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19457 if test "$ac_cv_c_fortify_enabled" = yes
19458 then
19459 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19464 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19465 if test ${ac_cv_c_cfi_support+y}
19466 then :
19467 printf %s "(cached) " >&6
19468 else $as_nop
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19473 main (void)
19477 return 0;
19479 _ACEOF
19480 if ac_fn_c_try_compile "$LINENO"
19481 then :
19482 ac_cv_c_cfi_support="yes"
19483 else $as_nop
19484 ac_cv_c_cfi_support="no"
19486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19489 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19490 if test "$ac_cv_c_cfi_support" = "yes"
19491 then
19492 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19493 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19494 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19495 elif test $HOST_ARCH = x86_64
19496 then
19497 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19501 case "$HOST_ARCH,$PE_ARCHS" in
19502 x86_64,*i386*) wine_binary="wine" ;;
19503 x86_64,*) wine_binary="wine64" ;;
19504 *) wine_binary="wine" ;;
19505 esac
19506 WINELOADER_PROGRAMS="$wine_binary"
19509 case $host_os in
19510 linux*)
19511 case $host_cpu in
19512 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19513 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19514 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19516 esac
19518 darwin*|macosx*)
19519 if test "$wine_can_build_preloader" = "yes"
19520 then
19521 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19522 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19525 esac
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19529 printf %s "checking for library containing dlopen... " >&6; }
19530 if test ${ac_cv_search_dlopen+y}
19531 then :
19532 printf %s "(cached) " >&6
19533 else $as_nop
19534 ac_func_search_save_LIBS=$LIBS
19535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h. */
19538 /* Override any GCC internal prototype to avoid an error.
19539 Use char because int might match the return type of a GCC
19540 builtin and then its argument prototype would still apply. */
19541 char dlopen ();
19543 main (void)
19545 return dlopen ();
19547 return 0;
19549 _ACEOF
19550 for ac_lib in '' dl
19552 if test -z "$ac_lib"; then
19553 ac_res="none required"
19554 else
19555 ac_res=-l$ac_lib
19556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19558 if ac_fn_c_try_link "$LINENO"
19559 then :
19560 ac_cv_search_dlopen=$ac_res
19562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19563 conftest$ac_exeext
19564 if test ${ac_cv_search_dlopen+y}
19565 then :
19566 break
19568 done
19569 if test ${ac_cv_search_dlopen+y}
19570 then :
19572 else $as_nop
19573 ac_cv_search_dlopen=no
19575 rm conftest.$ac_ext
19576 LIBS=$ac_func_search_save_LIBS
19578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19579 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19580 ac_res=$ac_cv_search_dlopen
19581 if test "$ac_res" != no
19582 then :
19583 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19589 printf %s "checking for library containing gethostbyname... " >&6; }
19590 if test ${ac_cv_search_gethostbyname+y}
19591 then :
19592 printf %s "(cached) " >&6
19593 else $as_nop
19594 ac_func_search_save_LIBS=$LIBS
19595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19598 /* Override any GCC internal prototype to avoid an error.
19599 Use char because int might match the return type of a GCC
19600 builtin and then its argument prototype would still apply. */
19601 char gethostbyname ();
19603 main (void)
19605 return gethostbyname ();
19607 return 0;
19609 _ACEOF
19610 for ac_lib in '' nsl
19612 if test -z "$ac_lib"; then
19613 ac_res="none required"
19614 else
19615 ac_res=-l$ac_lib
19616 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19618 if ac_fn_c_try_link "$LINENO"
19619 then :
19620 ac_cv_search_gethostbyname=$ac_res
19622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19623 conftest$ac_exeext
19624 if test ${ac_cv_search_gethostbyname+y}
19625 then :
19626 break
19628 done
19629 if test ${ac_cv_search_gethostbyname+y}
19630 then :
19632 else $as_nop
19633 ac_cv_search_gethostbyname=no
19635 rm conftest.$ac_ext
19636 LIBS=$ac_func_search_save_LIBS
19638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19639 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19640 ac_res=$ac_cv_search_gethostbyname
19641 if test "$ac_res" != no
19642 then :
19643 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19649 printf %s "checking for library containing connect... " >&6; }
19650 if test ${ac_cv_search_connect+y}
19651 then :
19652 printf %s "(cached) " >&6
19653 else $as_nop
19654 ac_func_search_save_LIBS=$LIBS
19655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19658 /* Override any GCC internal prototype to avoid an error.
19659 Use char because int might match the return type of a GCC
19660 builtin and then its argument prototype would still apply. */
19661 char connect ();
19663 main (void)
19665 return connect ();
19667 return 0;
19669 _ACEOF
19670 for ac_lib in '' socket
19672 if test -z "$ac_lib"; then
19673 ac_res="none required"
19674 else
19675 ac_res=-l$ac_lib
19676 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19678 if ac_fn_c_try_link "$LINENO"
19679 then :
19680 ac_cv_search_connect=$ac_res
19682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19683 conftest$ac_exeext
19684 if test ${ac_cv_search_connect+y}
19685 then :
19686 break
19688 done
19689 if test ${ac_cv_search_connect+y}
19690 then :
19692 else $as_nop
19693 ac_cv_search_connect=no
19695 rm conftest.$ac_ext
19696 LIBS=$ac_func_search_save_LIBS
19698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19699 printf "%s\n" "$ac_cv_search_connect" >&6; }
19700 ac_res=$ac_cv_search_connect
19701 if test "$ac_res" != no
19702 then :
19703 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19709 printf %s "checking for library containing inet_aton... " >&6; }
19710 if test ${ac_cv_search_inet_aton+y}
19711 then :
19712 printf %s "(cached) " >&6
19713 else $as_nop
19714 ac_func_search_save_LIBS=$LIBS
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19718 /* Override any GCC internal prototype to avoid an error.
19719 Use char because int might match the return type of a GCC
19720 builtin and then its argument prototype would still apply. */
19721 char inet_aton ();
19723 main (void)
19725 return inet_aton ();
19727 return 0;
19729 _ACEOF
19730 for ac_lib in '' resolv
19732 if test -z "$ac_lib"; then
19733 ac_res="none required"
19734 else
19735 ac_res=-l$ac_lib
19736 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19738 if ac_fn_c_try_link "$LINENO"
19739 then :
19740 ac_cv_search_inet_aton=$ac_res
19742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19743 conftest$ac_exeext
19744 if test ${ac_cv_search_inet_aton+y}
19745 then :
19746 break
19748 done
19749 if test ${ac_cv_search_inet_aton+y}
19750 then :
19752 else $as_nop
19753 ac_cv_search_inet_aton=no
19755 rm conftest.$ac_ext
19756 LIBS=$ac_func_search_save_LIBS
19758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19759 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19760 ac_res=$ac_cv_search_inet_aton
19761 if test "$ac_res" != no
19762 then :
19763 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19768 ac_save_CFLAGS="$CFLAGS"
19769 CFLAGS="$CFLAGS $BUILTINFLAG"
19770 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19771 if test "x$ac_cv_func_dladdr1" = xyes
19772 then :
19773 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19776 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19777 if test "x$ac_cv_func_dlinfo" = xyes
19778 then :
19779 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19782 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19783 if test "x$ac_cv_func_epoll_create" = xyes
19784 then :
19785 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19788 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19789 if test "x$ac_cv_func_fstatfs" = xyes
19790 then :
19791 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19794 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19795 if test "x$ac_cv_func_futimens" = xyes
19796 then :
19797 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19800 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19801 if test "x$ac_cv_func_futimes" = xyes
19802 then :
19803 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19806 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19807 if test "x$ac_cv_func_futimesat" = xyes
19808 then :
19809 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19812 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19813 if test "x$ac_cv_func_getaddrinfo" = xyes
19814 then :
19815 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19818 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19819 if test "x$ac_cv_func_getattrlist" = xyes
19820 then :
19821 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19824 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19825 if test "x$ac_cv_func_getauxval" = xyes
19826 then :
19827 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19830 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19831 if test "x$ac_cv_func_getifaddrs" = xyes
19832 then :
19833 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19836 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19837 if test "x$ac_cv_func_getrandom" = xyes
19838 then :
19839 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19842 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19843 if test "x$ac_cv_func_kqueue" = xyes
19844 then :
19845 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19848 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19849 if test "x$ac_cv_func_mach_continuous_time" = xyes
19850 then :
19851 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19854 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19855 if test "x$ac_cv_func_pipe2" = xyes
19856 then :
19857 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19860 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19861 if test "x$ac_cv_func_port_create" = xyes
19862 then :
19863 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19866 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19867 if test "x$ac_cv_func_posix_fadvise" = xyes
19868 then :
19869 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19872 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19873 if test "x$ac_cv_func_posix_fallocate" = xyes
19874 then :
19875 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19878 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19879 if test "x$ac_cv_func_prctl" = xyes
19880 then :
19881 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19884 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19885 if test "x$ac_cv_func_proc_pidinfo" = xyes
19886 then :
19887 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19890 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19891 if test "x$ac_cv_func_sched_yield" = xyes
19892 then :
19893 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19896 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19897 if test "x$ac_cv_func_setproctitle" = xyes
19898 then :
19899 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19902 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19903 if test "x$ac_cv_func_setprogname" = xyes
19904 then :
19905 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19908 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19909 if test "x$ac_cv_func_sigprocmask" = xyes
19910 then :
19911 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19914 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19915 if test "x$ac_cv_func_sysinfo" = xyes
19916 then :
19917 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19920 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19921 if test "x$ac_cv_func_tcdrain" = xyes
19922 then :
19923 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19926 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19927 if test "x$ac_cv_func_thr_kill2" = xyes
19928 then :
19929 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19933 CFLAGS="$ac_save_CFLAGS"
19935 case $host_os in
19936 darwin*|macosx*) ;;
19937 *) ac_save_LIBS=$LIBS
19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19939 printf %s "checking for library containing clock_gettime... " >&6; }
19940 if test ${ac_cv_search_clock_gettime+y}
19941 then :
19942 printf %s "(cached) " >&6
19943 else $as_nop
19944 ac_func_search_save_LIBS=$LIBS
19945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19946 /* end confdefs.h. */
19948 /* Override any GCC internal prototype to avoid an error.
19949 Use char because int might match the return type of a GCC
19950 builtin and then its argument prototype would still apply. */
19951 char clock_gettime ();
19953 main (void)
19955 return clock_gettime ();
19957 return 0;
19959 _ACEOF
19960 for ac_lib in '' rt
19962 if test -z "$ac_lib"; then
19963 ac_res="none required"
19964 else
19965 ac_res=-l$ac_lib
19966 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19968 if ac_fn_c_try_link "$LINENO"
19969 then :
19970 ac_cv_search_clock_gettime=$ac_res
19972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19973 conftest$ac_exeext
19974 if test ${ac_cv_search_clock_gettime+y}
19975 then :
19976 break
19978 done
19979 if test ${ac_cv_search_clock_gettime+y}
19980 then :
19982 else $as_nop
19983 ac_cv_search_clock_gettime=no
19985 rm conftest.$ac_ext
19986 LIBS=$ac_func_search_save_LIBS
19988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19989 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19990 ac_res=$ac_cv_search_clock_gettime
19991 if test "$ac_res" != no
19992 then :
19993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19995 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19997 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20001 LIBS=$ac_save_LIBS
20003 esac
20005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20006 printf %s "checking for sched_setaffinity... " >&6; }
20007 if test ${wine_cv_have_sched_setaffinity+y}
20008 then :
20009 printf %s "(cached) " >&6
20010 else $as_nop
20011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20012 /* end confdefs.h. */
20013 #include <sched.h>
20015 main (void)
20017 sched_setaffinity(0, 0, 0);
20019 return 0;
20021 _ACEOF
20022 if ac_fn_c_try_link "$LINENO"
20023 then :
20024 wine_cv_have_sched_setaffinity=yes
20025 else $as_nop
20026 wine_cv_have_sched_setaffinity=no
20028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20029 conftest$ac_exeext conftest.$ac_ext
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20032 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20033 if test "$wine_cv_have_sched_setaffinity" = "yes"
20034 then
20036 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20042 printf %s "checking for inline... " >&6; }
20043 if test ${ac_cv_c_inline+y}
20044 then :
20045 printf %s "(cached) " >&6
20046 else $as_nop
20047 ac_cv_c_inline=no
20048 for ac_kw in inline __inline__ __inline; do
20049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20050 /* end confdefs.h. */
20051 #ifndef __cplusplus
20052 typedef int foo_t;
20053 static $ac_kw foo_t static_foo (void) {return 0; }
20054 $ac_kw foo_t foo (void) {return 0; }
20055 #endif
20057 _ACEOF
20058 if ac_fn_c_try_compile "$LINENO"
20059 then :
20060 ac_cv_c_inline=$ac_kw
20062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20063 test "$ac_cv_c_inline" != no && break
20064 done
20067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20068 printf "%s\n" "$ac_cv_c_inline" >&6; }
20070 case $ac_cv_c_inline in
20071 inline | yes) ;;
20073 case $ac_cv_c_inline in
20074 no) ac_val=;;
20075 *) ac_val=$ac_cv_c_inline;;
20076 esac
20077 cat >>confdefs.h <<_ACEOF
20078 #ifndef __cplusplus
20079 #define inline $ac_val
20080 #endif
20081 _ACEOF
20083 esac
20085 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20087 if test "x$ac_cv_type_request_sense" = xyes
20088 then :
20090 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20096 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20097 #include <sys/socket.h>
20098 #ifdef HAVE_SYS_SOCKETVAR_H
20099 #include <sys/socketvar.h>
20100 #endif
20101 #ifdef HAVE_NET_ROUTE_H
20102 #include <net/route.h>
20103 #endif
20104 #ifdef HAVE_NETINET_IN_H
20105 #include <netinet/in.h>
20106 #endif
20107 #ifdef HAVE_NETINET_IN_SYSTM_H
20108 #include <netinet/in_systm.h>
20109 #endif
20110 #ifdef HAVE_NETINET_IP_H
20111 #include <netinet/ip.h>
20112 #endif
20113 #ifdef HAVE_NETINET_IN_PCB_H
20114 #include <netinet/in_pcb.h>
20115 #endif
20117 if test "x$ac_cv_type_struct_xinpgen" = xyes
20118 then :
20120 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20127 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20128 if test ${wine_cv_linux_gethostbyname_r_6+y}
20129 then :
20130 printf %s "(cached) " >&6
20131 else $as_nop
20132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20134 #include <netdb.h>
20136 main (void)
20139 char *name=0;
20140 struct hostent he;
20141 struct hostent *result;
20142 char *buf=0;
20143 int bufsize=0;
20144 int errnr;
20145 char *addr=0;
20146 int addrlen=0;
20147 int addrtype=0;
20148 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20149 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20152 return 0;
20154 _ACEOF
20155 if ac_fn_c_try_link "$LINENO"
20156 then :
20157 wine_cv_linux_gethostbyname_r_6=yes
20158 else $as_nop
20159 wine_cv_linux_gethostbyname_r_6=no
20162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20163 conftest$ac_exeext conftest.$ac_ext
20166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20167 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20168 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20169 then
20171 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20175 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20176 #include <sys/socket.h>
20177 #ifdef HAVE_SYS_UN_H
20178 # include <sys/un.h>
20179 #endif
20181 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20182 then :
20184 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20188 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20189 #include <sys/socket.h>
20190 #ifdef HAVE_SYS_UN_H
20191 # include <sys/un.h>
20192 #endif
20194 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20195 then :
20197 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20203 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20204 #ifdef HAVE_SCSI_SG_H
20205 #include <scsi/sg.h>
20206 #endif
20208 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20209 then :
20211 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20215 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>
20216 #ifdef HAVE_SCSI_SG_H
20217 #include <scsi/sg.h>
20218 #endif
20220 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20221 then :
20223 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20229 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20231 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20232 then :
20234 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20240 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20241 #ifdef HAVE_SYS_MTIO_H
20242 #include <sys/mtio.h>
20243 #endif
20245 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20246 then :
20248 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20252 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20253 #ifdef HAVE_SYS_MTIO_H
20254 #include <sys/mtio.h>
20255 #endif
20257 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20258 then :
20260 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20264 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20265 #ifdef HAVE_SYS_MTIO_H
20266 #include <sys/mtio.h>
20267 #endif
20269 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20270 then :
20272 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20278 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20279 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20280 then :
20282 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20286 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20287 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20288 then :
20290 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20294 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20295 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20296 then :
20298 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20302 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20303 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20304 then :
20306 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20310 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20311 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20312 then :
20314 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20318 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20319 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20320 then :
20322 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20326 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20327 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20328 then :
20330 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20334 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20335 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20336 then :
20338 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20342 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20343 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20344 then :
20346 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20350 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20351 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20352 then :
20354 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20358 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20359 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20360 then :
20362 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20368 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>
20369 #ifdef HAVE_NETINET_IN_H
20370 #include <netinet/in.h>
20371 #endif
20373 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20374 then :
20376 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20382 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
20383 #include <resolv.h>
20384 #endif
20386 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20395 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20396 #include <netinet/in.h>
20397 #endif
20399 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20400 then :
20402 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20408 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20409 #ifdef HAVE_SYS_SOCKETVAR_H
20410 #include <sys/socketvar.h>
20411 #endif
20412 #ifdef HAVE_NETINET_IN_H
20413 #include <netinet/in.h>
20414 #endif
20415 #ifdef HAVE_NETINET_IP_VAR_H
20416 #include <netinet/ip_var.h>
20417 #endif
20419 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20420 then :
20422 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20428 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
20429 #include <netinet/ip_var.h>
20430 #endif
20432 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20441 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20442 #ifdef HAVE_SYS_SOCKETVAR_H
20443 #include <sys/socketvar.h>
20444 #endif
20445 #ifdef HAVE_NETINET_IN_H
20446 #include <netinet/in.h>
20447 #endif
20448 #ifdef HAVE_NETINET6_IP6_VAR_H
20449 #include <netinet6/ip6_var.h>
20450 #endif
20452 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20453 then :
20455 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20461 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20462 #ifdef HAVE_SYS_SOCKETVAR_H
20463 #include <sys/socketvar.h>
20464 #endif
20465 #ifdef HAVE_NETINET_IN_H
20466 #include <netinet/in.h>
20467 #endif
20468 #ifdef HAVE_NETINET_IP_H
20469 #include <netinet/ip.h>
20470 #endif
20471 #ifdef HAVE_NETINET_IP_ICMP_H
20472 #include <netinet/ip_icmp.h>
20473 #endif
20474 #ifdef HAVE_NETINET_ICMP_VAR_H
20475 #include <netinet/icmp_var.h>
20476 #endif
20478 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20479 then :
20481 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20487 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20488 #ifdef HAVE_SYS_SOCKETVAR_H
20489 #include <sys/socketvar.h>
20490 #endif
20491 #ifdef HAVE_NETINET_IN_H
20492 #include <netinet/in.h>
20493 #endif
20494 #ifdef HAVE_NETINET_ICMP6_H
20495 #include <netinet/icmp6.h>
20496 #endif
20498 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20499 then :
20501 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20507 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20508 #ifdef HAVE_SYS_SOCKETVAR_H
20509 #include <sys/socketvar.h>
20510 #endif
20511 #ifdef HAVE_NETINET_IN_H
20512 #include <netinet/in.h>
20513 #endif
20514 #ifdef HAVE_NETINET_TCP_H
20515 #include <netinet/tcp.h>
20516 #endif
20517 #ifdef HAVE_NETINET_TCP_VAR_H
20518 #include <netinet/tcp_var.h>
20519 #endif
20521 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20522 then :
20524 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20530 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
20531 #include <netinet/tcp_var.h>
20532 #endif
20534 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20535 then :
20537 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20543 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20544 #ifdef HAVE_NETINET_IN_H
20545 #include <netinet/in.h>
20546 #endif
20547 #ifdef HAVE_NETINET_IP_VAR_H
20548 #include <netinet/ip_var.h>
20549 #endif
20550 #ifdef HAVE_NETINET_UDP_H
20551 #include <netinet/udp.h>
20552 #endif
20553 #ifdef HAVE_NETINET_UDP_VAR_H
20554 #include <netinet/udp_var.h>
20555 #endif
20557 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20558 then :
20560 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20566 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20567 #ifdef HAVE_NET_IF_H
20568 # include <net/if.h>
20569 #endif
20571 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20572 then :
20574 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20580 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20581 # include <sys/sysinfo.h>
20582 #endif
20584 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20585 then :
20587 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20591 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20592 # include <sys/sysinfo.h>
20593 #endif
20595 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20596 then :
20598 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20604 LIBS="$ac_save_LIBS"
20606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20607 printf %s "checking for __builtin_popcount... " >&6; }
20608 if test ${ac_cv_have___builtin_popcount+y}
20609 then :
20610 printf %s "(cached) " >&6
20611 else $as_nop
20612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20613 /* end confdefs.h. */
20616 main (void)
20618 return __builtin_popcount(1)
20620 return 0;
20622 _ACEOF
20623 if ac_fn_c_try_link "$LINENO"
20624 then :
20625 ac_cv_have___builtin_popcount="yes"
20626 else $as_nop
20627 ac_cv_have___builtin_popcount="no"
20629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20630 conftest$ac_exeext conftest.$ac_ext
20632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20633 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20634 if test "$ac_cv_have___builtin_popcount" = "yes"
20635 then
20637 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20642 printf %s "checking for __clear_cache... " >&6; }
20643 if test ${ac_cv_have___clear_cache+y}
20644 then :
20645 printf %s "(cached) " >&6
20646 else $as_nop
20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h. */
20651 main (void)
20653 __clear_cache((void*)0, (void*)0); return 0;
20655 return 0;
20657 _ACEOF
20658 if ac_fn_c_try_link "$LINENO"
20659 then :
20660 ac_cv_have___clear_cache="yes"
20661 else $as_nop
20662 ac_cv_have___clear_cache="no"
20664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20665 conftest$ac_exeext conftest.$ac_ext
20667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20668 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20669 if test "$ac_cv_have___clear_cache" = "yes"
20670 then
20672 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20677 case $host_cpu in
20678 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20679 printf %s "checking whether we need to define __i386__... " >&6; }
20680 if test ${ac_cv_cpp_def___i386__+y}
20681 then :
20682 printf %s "(cached) " >&6
20683 else $as_nop
20684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20685 /* end confdefs.h. */
20686 #ifndef __i386__
20688 #endif
20689 _ACEOF
20690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20691 $EGREP "yes" >/dev/null 2>&1
20692 then :
20693 ac_cv_cpp_def___i386__=yes
20694 else $as_nop
20695 ac_cv_cpp_def___i386__=no
20697 rm -rf conftest*
20700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20701 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20702 if test "x$ac_cv_cpp_def___i386__" = xyes
20703 then :
20704 CFLAGS="$CFLAGS -D__i386__"
20705 LINTFLAGS="$LINTFLAGS -D__i386__"
20706 fi ;;
20707 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20708 printf %s "checking whether we need to define __x86_64__... " >&6; }
20709 if test ${ac_cv_cpp_def___x86_64__+y}
20710 then :
20711 printf %s "(cached) " >&6
20712 else $as_nop
20713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20714 /* end confdefs.h. */
20715 #ifndef __x86_64__
20717 #endif
20718 _ACEOF
20719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20720 $EGREP "yes" >/dev/null 2>&1
20721 then :
20722 ac_cv_cpp_def___x86_64__=yes
20723 else $as_nop
20724 ac_cv_cpp_def___x86_64__=no
20726 rm -rf conftest*
20729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20730 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20731 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20732 then :
20733 CFLAGS="$CFLAGS -D__x86_64__"
20734 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20735 fi ;;
20736 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20737 printf %s "checking whether we need to define __sparc64__... " >&6; }
20738 if test ${ac_cv_cpp_def___sparc64__+y}
20739 then :
20740 printf %s "(cached) " >&6
20741 else $as_nop
20742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20743 /* end confdefs.h. */
20744 #ifndef __sparc64__
20746 #endif
20747 _ACEOF
20748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20749 $EGREP "yes" >/dev/null 2>&1
20750 then :
20751 ac_cv_cpp_def___sparc64__=yes
20752 else $as_nop
20753 ac_cv_cpp_def___sparc64__=no
20755 rm -rf conftest*
20758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20759 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20760 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20761 then :
20762 CFLAGS="$CFLAGS -D__sparc64__"
20763 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20764 fi ;;
20765 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20766 printf %s "checking whether we need to define __sparc__... " >&6; }
20767 if test ${ac_cv_cpp_def___sparc__+y}
20768 then :
20769 printf %s "(cached) " >&6
20770 else $as_nop
20771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20772 /* end confdefs.h. */
20773 #ifndef __sparc__
20775 #endif
20776 _ACEOF
20777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20778 $EGREP "yes" >/dev/null 2>&1
20779 then :
20780 ac_cv_cpp_def___sparc__=yes
20781 else $as_nop
20782 ac_cv_cpp_def___sparc__=no
20784 rm -rf conftest*
20787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20788 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20789 if test "x$ac_cv_cpp_def___sparc__" = xyes
20790 then :
20791 CFLAGS="$CFLAGS -D__sparc__"
20792 LINTFLAGS="$LINTFLAGS -D__sparc__"
20793 fi ;;
20794 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20795 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20796 if test ${ac_cv_cpp_def___powerpc64__+y}
20797 then :
20798 printf %s "(cached) " >&6
20799 else $as_nop
20800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20801 /* end confdefs.h. */
20802 #ifndef __powerpc64__
20804 #endif
20805 _ACEOF
20806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20807 $EGREP "yes" >/dev/null 2>&1
20808 then :
20809 ac_cv_cpp_def___powerpc64__=yes
20810 else $as_nop
20811 ac_cv_cpp_def___powerpc64__=no
20813 rm -rf conftest*
20816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20817 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20818 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20819 then :
20820 CFLAGS="$CFLAGS -D__powerpc64__"
20821 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20822 fi ;;
20823 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20824 printf %s "checking whether we need to define __powerpc__... " >&6; }
20825 if test ${ac_cv_cpp_def___powerpc__+y}
20826 then :
20827 printf %s "(cached) " >&6
20828 else $as_nop
20829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20831 #ifndef __powerpc__
20833 #endif
20834 _ACEOF
20835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20836 $EGREP "yes" >/dev/null 2>&1
20837 then :
20838 ac_cv_cpp_def___powerpc__=yes
20839 else $as_nop
20840 ac_cv_cpp_def___powerpc__=no
20842 rm -rf conftest*
20845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20846 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20847 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20848 then :
20849 CFLAGS="$CFLAGS -D__powerpc__"
20850 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20851 fi ;;
20852 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20853 printf %s "checking whether we need to define __aarch64__... " >&6; }
20854 if test ${ac_cv_cpp_def___aarch64__+y}
20855 then :
20856 printf %s "(cached) " >&6
20857 else $as_nop
20858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20860 #ifndef __aarch64__
20862 #endif
20863 _ACEOF
20864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20865 $EGREP "yes" >/dev/null 2>&1
20866 then :
20867 ac_cv_cpp_def___aarch64__=yes
20868 else $as_nop
20869 ac_cv_cpp_def___aarch64__=no
20871 rm -rf conftest*
20874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20875 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20876 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20877 then :
20878 CFLAGS="$CFLAGS -D__aarch64__"
20879 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20880 fi ;;
20881 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20882 printf %s "checking whether we need to define __arm__... " >&6; }
20883 if test ${ac_cv_cpp_def___arm__+y}
20884 then :
20885 printf %s "(cached) " >&6
20886 else $as_nop
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20889 #ifndef __arm__
20891 #endif
20892 _ACEOF
20893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20894 $EGREP "yes" >/dev/null 2>&1
20895 then :
20896 ac_cv_cpp_def___arm__=yes
20897 else $as_nop
20898 ac_cv_cpp_def___arm__=no
20900 rm -rf conftest*
20903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20904 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20905 if test "x$ac_cv_cpp_def___arm__" = xyes
20906 then :
20907 CFLAGS="$CFLAGS -D__arm__"
20908 LINTFLAGS="$LINTFLAGS -D__arm__"
20909 fi ;;
20910 esac
20912 case $host_vendor in
20913 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20914 printf %s "checking whether we need to define __sun__... " >&6; }
20915 if test ${ac_cv_cpp_def___sun__+y}
20916 then :
20917 printf %s "(cached) " >&6
20918 else $as_nop
20919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20921 #ifndef __sun__
20923 #endif
20924 _ACEOF
20925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20926 $EGREP "yes" >/dev/null 2>&1
20927 then :
20928 ac_cv_cpp_def___sun__=yes
20929 else $as_nop
20930 ac_cv_cpp_def___sun__=no
20932 rm -rf conftest*
20935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20936 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20937 if test "x$ac_cv_cpp_def___sun__" = xyes
20938 then :
20939 CFLAGS="$CFLAGS -D__sun__"
20940 LINTFLAGS="$LINTFLAGS -D__sun__"
20941 fi ;;
20942 esac
20948 ac_config_commands="$ac_config_commands include/stamp-h"
20950 printf %s "creating Makefile rules..." >&6
20952 makedep_flags=""
20953 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20955 wine_srcdir=
20956 test "$srcdir" = . || wine_srcdir="$srcdir/"
20958 ac_config_links="$ac_config_links wine:tools/winewrapper"
20959 wine_fn_config_symlink wine
20960 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20961 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20962 wine_fn_config_symlink wine64
20965 wine_fn_config_makefile dlls/acledit enable_acledit
20966 wine_fn_config_makefile dlls/aclui enable_aclui
20967 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20968 wine_fn_config_makefile dlls/activeds enable_activeds
20969 wine_fn_config_makefile dlls/activeds/tests enable_tests
20970 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20971 wine_fn_config_makefile dlls/adsldp enable_adsldp
20972 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20973 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20974 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20975 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20976 wine_fn_config_makefile dlls/advpack enable_advpack
20977 wine_fn_config_makefile dlls/advpack/tests enable_tests
20978 wine_fn_config_makefile dlls/amsi enable_amsi
20979 wine_fn_config_makefile dlls/amstream enable_amstream
20980 wine_fn_config_makefile dlls/amstream/tests enable_tests
20981 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20982 wine_fn_config_makefile dlls/apphelp enable_apphelp
20983 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20984 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20985 wine_fn_config_makefile dlls/atl enable_atl
20986 wine_fn_config_makefile dlls/atl/tests enable_tests
20987 wine_fn_config_makefile dlls/atl100 enable_atl100
20988 wine_fn_config_makefile dlls/atl100/tests enable_tests
20989 wine_fn_config_makefile dlls/atl110 enable_atl110
20990 wine_fn_config_makefile dlls/atl110/tests enable_tests
20991 wine_fn_config_makefile dlls/atl80 enable_atl80
20992 wine_fn_config_makefile dlls/atl80/tests enable_tests
20993 wine_fn_config_makefile dlls/atl90 enable_atl90
20994 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20995 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20996 wine_fn_config_makefile dlls/atmlib enable_atmlib
20997 wine_fn_config_makefile dlls/authz enable_authz
20998 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20999 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21000 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21001 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21002 wine_fn_config_makefile dlls/avrt enable_avrt
21003 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21004 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21005 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21006 wine_fn_config_makefile dlls/browseui enable_browseui
21007 wine_fn_config_makefile dlls/browseui/tests enable_tests
21008 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21009 wine_fn_config_makefile dlls/cabinet enable_cabinet
21010 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21011 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21012 wine_fn_config_makefile dlls/cards enable_cards
21013 wine_fn_config_makefile dlls/cdosys enable_cdosys
21014 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21015 wine_fn_config_makefile dlls/clusapi enable_clusapi
21016 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21017 wine_fn_config_makefile dlls/combase enable_combase
21018 wine_fn_config_makefile dlls/combase/tests enable_tests
21019 wine_fn_config_makefile dlls/comcat enable_comcat
21020 wine_fn_config_makefile dlls/comcat/tests enable_tests
21021 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21022 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21023 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21024 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21025 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21026 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21027 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21028 wine_fn_config_makefile dlls/compstui enable_compstui
21029 wine_fn_config_makefile dlls/compstui/tests enable_tests
21030 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21031 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21032 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21033 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21034 wine_fn_config_makefile dlls/connect enable_connect
21035 wine_fn_config_makefile dlls/credui enable_credui
21036 wine_fn_config_makefile dlls/credui/tests enable_tests
21037 wine_fn_config_makefile dlls/crtdll enable_crtdll
21038 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21039 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21040 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21041 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21042 wine_fn_config_makefile dlls/cryptext enable_cryptext
21043 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21044 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21045 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21046 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21047 wine_fn_config_makefile dlls/cryptui enable_cryptui
21048 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21049 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21050 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21051 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21052 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21053 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21054 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21055 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21056 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21057 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21058 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21059 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21060 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21061 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21062 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21063 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21064 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21065 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21066 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21067 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21068 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21069 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21070 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21071 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21072 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21073 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21074 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21075 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21076 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21077 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21078 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21079 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21080 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21081 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21082 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21083 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21084 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21085 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21086 wine_fn_config_makefile dlls/d3dim enable_d3dim
21087 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21088 wine_fn_config_makefile dlls/d3drm enable_d3drm
21089 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21090 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21091 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21092 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21093 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21094 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21095 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21096 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21097 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21098 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21099 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21100 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21101 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21102 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21103 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21104 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21105 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21106 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21107 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21108 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21109 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21110 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21111 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21112 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21113 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21114 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21115 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21116 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21117 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21118 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21119 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21120 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21121 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21122 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21123 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21124 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21125 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21126 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21127 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21128 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21129 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21130 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21131 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21132 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21133 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21134 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21135 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21136 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21137 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21138 wine_fn_config_makefile dlls/davclnt enable_davclnt
21139 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21140 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21141 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21142 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21143 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21144 wine_fn_config_makefile dlls/dcomp enable_dcomp
21145 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21146 wine_fn_config_makefile dlls/ddraw enable_ddraw
21147 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21148 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21149 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21150 wine_fn_config_makefile dlls/devenum enable_devenum
21151 wine_fn_config_makefile dlls/devenum/tests enable_tests
21152 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21153 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21154 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21155 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21156 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21157 wine_fn_config_makefile dlls/difxapi enable_difxapi
21158 wine_fn_config_makefile dlls/dinput enable_dinput
21159 wine_fn_config_makefile dlls/dinput/tests enable_tests
21160 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21161 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21162 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21163 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21164 wine_fn_config_makefile dlls/dispex enable_dispex
21165 wine_fn_config_makefile dlls/dispex/tests enable_tests
21166 wine_fn_config_makefile dlls/display.drv16 enable_win16
21167 wine_fn_config_makefile dlls/dmband enable_dmband
21168 wine_fn_config_makefile dlls/dmband/tests enable_tests
21169 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21170 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21171 wine_fn_config_makefile dlls/dmime enable_dmime
21172 wine_fn_config_makefile dlls/dmime/tests enable_tests
21173 wine_fn_config_makefile dlls/dmloader enable_dmloader
21174 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21175 wine_fn_config_makefile dlls/dmscript enable_dmscript
21176 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21177 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21178 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21179 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21180 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21181 wine_fn_config_makefile dlls/dmusic enable_dmusic
21182 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21183 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21184 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21185 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21186 wine_fn_config_makefile dlls/dplay enable_dplay
21187 wine_fn_config_makefile dlls/dplayx enable_dplayx
21188 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21189 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21190 wine_fn_config_makefile dlls/dpnet enable_dpnet
21191 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21192 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21193 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21194 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21195 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21196 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21197 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21198 wine_fn_config_makefile dlls/drmclien enable_drmclien
21199 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21200 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21201 wine_fn_config_makefile dlls/dsound enable_dsound
21202 wine_fn_config_makefile dlls/dsound/tests enable_tests
21203 wine_fn_config_makefile dlls/dsquery enable_dsquery
21204 wine_fn_config_makefile dlls/dssenh enable_dssenh
21205 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21206 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21207 wine_fn_config_makefile dlls/dswave enable_dswave
21208 wine_fn_config_makefile dlls/dswave/tests enable_tests
21209 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21210 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21211 wine_fn_config_makefile dlls/dwrite enable_dwrite
21212 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21213 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21214 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21215 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21216 wine_fn_config_makefile dlls/dxgi enable_dxgi
21217 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21218 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21219 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21220 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21221 wine_fn_config_makefile dlls/esent enable_esent
21222 wine_fn_config_makefile dlls/evr enable_evr
21223 wine_fn_config_makefile dlls/evr/tests enable_tests
21224 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21225 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21226 wine_fn_config_makefile dlls/faultrep enable_faultrep
21227 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21228 wine_fn_config_makefile dlls/feclient enable_feclient
21229 wine_fn_config_makefile dlls/fltlib enable_fltlib
21230 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21231 wine_fn_config_makefile dlls/fntcache enable_fntcache
21232 wine_fn_config_makefile dlls/fontsub enable_fontsub
21233 wine_fn_config_makefile dlls/fusion enable_fusion
21234 wine_fn_config_makefile dlls/fusion/tests enable_tests
21235 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21236 wine_fn_config_makefile dlls/gameux enable_gameux
21237 wine_fn_config_makefile dlls/gameux/tests enable_tests
21238 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21239 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21240 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21241 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21242 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21243 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21244 wine_fn_config_makefile dlls/glu32 enable_glu32
21245 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21246 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21247 wine_fn_config_makefile dlls/hal enable_hal
21248 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21249 wine_fn_config_makefile dlls/hid enable_hid
21250 wine_fn_config_makefile dlls/hid/tests enable_tests
21251 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21252 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21253 wine_fn_config_makefile dlls/hlink enable_hlink
21254 wine_fn_config_makefile dlls/hlink/tests enable_tests
21255 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21256 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21257 wine_fn_config_makefile dlls/http.sys enable_http_sys
21258 wine_fn_config_makefile dlls/httpapi enable_httpapi
21259 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21260 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21261 wine_fn_config_makefile dlls/iccvid enable_iccvid
21262 wine_fn_config_makefile dlls/icmp enable_icmp
21263 wine_fn_config_makefile dlls/ieframe enable_ieframe
21264 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21265 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21266 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21267 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21268 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21269 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21270 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21271 wine_fn_config_makefile dlls/imm32 enable_imm32
21272 wine_fn_config_makefile dlls/imm32/tests enable_tests
21273 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21274 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21275 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21276 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21277 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21278 wine_fn_config_makefile dlls/infosoft enable_infosoft
21279 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21280 wine_fn_config_makefile dlls/initpki enable_initpki
21281 wine_fn_config_makefile dlls/inkobj enable_inkobj
21282 wine_fn_config_makefile dlls/inseng enable_inseng
21283 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21284 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21285 wine_fn_config_makefile dlls/iprop enable_iprop
21286 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21287 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21288 wine_fn_config_makefile dlls/itircl enable_itircl
21289 wine_fn_config_makefile dlls/itss enable_itss
21290 wine_fn_config_makefile dlls/itss/tests enable_tests
21291 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21292 wine_fn_config_makefile dlls/jscript enable_jscript
21293 wine_fn_config_makefile dlls/jscript/tests enable_tests
21294 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21295 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21296 wine_fn_config_makefile dlls/kerberos enable_kerberos
21297 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21298 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21299 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21300 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21301 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21302 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21303 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21304 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21305 wine_fn_config_makefile dlls/ksuser enable_ksuser
21306 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21307 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21308 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21309 wine_fn_config_makefile dlls/loadperf enable_loadperf
21310 wine_fn_config_makefile dlls/localspl enable_localspl
21311 wine_fn_config_makefile dlls/localspl/tests enable_tests
21312 wine_fn_config_makefile dlls/localui enable_localui
21313 wine_fn_config_makefile dlls/localui/tests enable_tests
21314 wine_fn_config_makefile dlls/lz32 enable_lz32
21315 wine_fn_config_makefile dlls/lz32/tests enable_tests
21316 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21317 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21318 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21319 wine_fn_config_makefile dlls/mapistub enable_mapistub
21320 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21321 wine_fn_config_makefile dlls/mcicda enable_mcicda
21322 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21323 wine_fn_config_makefile dlls/mciseq enable_mciseq
21324 wine_fn_config_makefile dlls/mciwave enable_mciwave
21325 wine_fn_config_makefile dlls/mf enable_mf
21326 wine_fn_config_makefile dlls/mf/tests enable_tests
21327 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21328 wine_fn_config_makefile dlls/mferror enable_mferror
21329 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21330 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21331 wine_fn_config_makefile dlls/mfplat enable_mfplat
21332 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21333 wine_fn_config_makefile dlls/mfplay enable_mfplay
21334 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21335 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21336 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21337 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21338 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21339 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21340 wine_fn_config_makefile dlls/midimap enable_midimap
21341 wine_fn_config_makefile dlls/mlang enable_mlang
21342 wine_fn_config_makefile dlls/mlang/tests enable_tests
21343 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21344 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21345 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21346 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21347 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21348 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21349 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21350 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21351 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21352 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21353 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21354 wine_fn_config_makefile dlls/mpr enable_mpr
21355 wine_fn_config_makefile dlls/mpr/tests enable_tests
21356 wine_fn_config_makefile dlls/mprapi enable_mprapi
21357 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21358 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21359 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21360 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21361 wine_fn_config_makefile dlls/msado15 enable_msado15
21362 wine_fn_config_makefile dlls/msado15/tests enable_tests
21363 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21364 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21365 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21366 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21367 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21368 wine_fn_config_makefile dlls/mscms enable_mscms
21369 wine_fn_config_makefile dlls/mscms/tests enable_tests
21370 wine_fn_config_makefile dlls/mscoree enable_mscoree
21371 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21372 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21373 wine_fn_config_makefile dlls/msctf enable_msctf
21374 wine_fn_config_makefile dlls/msctf/tests enable_tests
21375 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21376 wine_fn_config_makefile dlls/msctfp enable_msctfp
21377 wine_fn_config_makefile dlls/msdaps enable_msdaps
21378 wine_fn_config_makefile dlls/msdasql enable_msdasql
21379 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21380 wine_fn_config_makefile dlls/msdelta enable_msdelta
21381 wine_fn_config_makefile dlls/msdmo enable_msdmo
21382 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21383 wine_fn_config_makefile dlls/msdrm enable_msdrm
21384 wine_fn_config_makefile dlls/msftedit enable_msftedit
21385 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21386 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21387 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21388 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21389 wine_fn_config_makefile dlls/mshtml enable_mshtml
21390 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21391 wine_fn_config_makefile dlls/msi enable_msi
21392 wine_fn_config_makefile dlls/msi/tests enable_tests
21393 wine_fn_config_makefile dlls/msident enable_msident
21394 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21395 wine_fn_config_makefile dlls/msimsg enable_msimsg
21396 wine_fn_config_makefile dlls/msimtf enable_msimtf
21397 wine_fn_config_makefile dlls/msisip enable_msisip
21398 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21399 wine_fn_config_makefile dlls/msls31 enable_msls31
21400 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21401 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21402 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21403 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21404 wine_fn_config_makefile dlls/msports enable_msports
21405 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21406 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21407 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21408 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21409 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21410 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21411 wine_fn_config_makefile dlls/mstask enable_mstask
21412 wine_fn_config_makefile dlls/mstask/tests enable_tests
21413 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21414 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21415 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21416 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21417 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21418 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21419 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21420 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21421 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21422 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21423 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21424 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21425 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21426 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21427 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21428 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21429 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21430 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21431 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21432 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21433 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21434 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21435 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21436 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21437 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21438 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21439 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21440 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21441 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21442 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21443 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21444 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21445 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21446 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21447 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21448 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21449 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21450 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21451 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21452 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21453 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21454 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21455 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21456 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21457 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21458 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21459 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21460 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21461 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21462 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21463 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21464 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21465 wine_fn_config_makefile dlls/mswsock enable_mswsock
21466 wine_fn_config_makefile dlls/msxml enable_msxml
21467 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21468 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21469 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21470 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21471 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21472 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21473 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21474 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21475 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21476 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21477 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21478 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21479 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21480 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21481 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21482 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21483 wine_fn_config_makefile dlls/netprofm enable_netprofm
21484 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21485 wine_fn_config_makefile dlls/netutils enable_netutils
21486 wine_fn_config_makefile dlls/newdev enable_newdev
21487 wine_fn_config_makefile dlls/ninput enable_ninput
21488 wine_fn_config_makefile dlls/ninput/tests enable_tests
21489 wine_fn_config_makefile dlls/normaliz enable_normaliz
21490 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21491 wine_fn_config_makefile dlls/npptools enable_npptools
21492 wine_fn_config_makefile dlls/nsi enable_nsi
21493 wine_fn_config_makefile dlls/nsi/tests enable_tests
21494 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21495 wine_fn_config_makefile dlls/ntdll enable_ntdll
21496 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21497 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21498 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21499 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21500 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21501 wine_fn_config_makefile dlls/ntprint enable_ntprint
21502 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21503 wine_fn_config_makefile dlls/objsel enable_objsel
21504 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21505 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21506 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21507 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21508 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21509 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21510 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21511 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21512 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21513 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21514 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21515 wine_fn_config_makefile dlls/ole32 enable_ole32
21516 wine_fn_config_makefile dlls/ole32/tests enable_tests
21517 wine_fn_config_makefile dlls/oleacc enable_oleacc
21518 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21519 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21520 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21521 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21522 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21523 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21524 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21525 wine_fn_config_makefile dlls/oledlg enable_oledlg
21526 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21527 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21528 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21529 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21530 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21531 wine_fn_config_makefile dlls/opcservices enable_opcservices
21532 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21533 wine_fn_config_makefile dlls/opencl enable_opencl
21534 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21535 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21536 wine_fn_config_makefile dlls/packager enable_packager
21537 wine_fn_config_makefile dlls/packager/tests enable_tests
21538 wine_fn_config_makefile dlls/pdh enable_pdh
21539 wine_fn_config_makefile dlls/pdh/tests enable_tests
21540 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21541 wine_fn_config_makefile dlls/pidgen enable_pidgen
21542 wine_fn_config_makefile dlls/powrprof enable_powrprof
21543 wine_fn_config_makefile dlls/printui enable_printui
21544 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21545 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21546 wine_fn_config_makefile dlls/propsys enable_propsys
21547 wine_fn_config_makefile dlls/propsys/tests enable_tests
21548 wine_fn_config_makefile dlls/psapi enable_psapi
21549 wine_fn_config_makefile dlls/psapi/tests enable_tests
21550 wine_fn_config_makefile dlls/pstorec enable_pstorec
21551 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21552 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21553 wine_fn_config_makefile dlls/qasf enable_qasf
21554 wine_fn_config_makefile dlls/qasf/tests enable_tests
21555 wine_fn_config_makefile dlls/qcap enable_qcap
21556 wine_fn_config_makefile dlls/qcap/tests enable_tests
21557 wine_fn_config_makefile dlls/qdvd enable_qdvd
21558 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21559 wine_fn_config_makefile dlls/qedit enable_qedit
21560 wine_fn_config_makefile dlls/qedit/tests enable_tests
21561 wine_fn_config_makefile dlls/qmgr enable_qmgr
21562 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21563 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21564 wine_fn_config_makefile dlls/quartz enable_quartz
21565 wine_fn_config_makefile dlls/quartz/tests enable_tests
21566 wine_fn_config_makefile dlls/query enable_query
21567 wine_fn_config_makefile dlls/qwave enable_qwave
21568 wine_fn_config_makefile dlls/qwave/tests enable_tests
21569 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21570 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21571 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21572 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21573 wine_fn_config_makefile dlls/regapi enable_regapi
21574 wine_fn_config_makefile dlls/resutils enable_resutils
21575 wine_fn_config_makefile dlls/riched20 enable_riched20
21576 wine_fn_config_makefile dlls/riched20/tests enable_tests
21577 wine_fn_config_makefile dlls/riched32 enable_riched32
21578 wine_fn_config_makefile dlls/riched32/tests enable_tests
21579 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21580 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21581 wine_fn_config_makefile dlls/rsabase enable_rsabase
21582 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21583 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21584 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21585 wine_fn_config_makefile dlls/rtutils enable_rtutils
21586 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21587 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21588 wine_fn_config_makefile dlls/samlib enable_samlib
21589 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21590 wine_fn_config_makefile dlls/sapi enable_sapi
21591 wine_fn_config_makefile dlls/sapi/tests enable_tests
21592 wine_fn_config_makefile dlls/sas enable_sas
21593 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21594 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21595 wine_fn_config_makefile dlls/sccbase enable_sccbase
21596 wine_fn_config_makefile dlls/schannel enable_schannel
21597 wine_fn_config_makefile dlls/schannel/tests enable_tests
21598 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21599 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21600 wine_fn_config_makefile dlls/scrobj enable_scrobj
21601 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21602 wine_fn_config_makefile dlls/scrrun enable_scrrun
21603 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21604 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21605 wine_fn_config_makefile dlls/sechost enable_sechost
21606 wine_fn_config_makefile dlls/secur32 enable_secur32
21607 wine_fn_config_makefile dlls/secur32/tests enable_tests
21608 wine_fn_config_makefile dlls/security enable_security
21609 wine_fn_config_makefile dlls/sensapi enable_sensapi
21610 wine_fn_config_makefile dlls/serialui enable_serialui
21611 wine_fn_config_makefile dlls/serialui/tests enable_tests
21612 wine_fn_config_makefile dlls/setupapi enable_setupapi
21613 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21614 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21615 wine_fn_config_makefile dlls/sfc enable_sfc
21616 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21617 wine_fn_config_makefile dlls/shcore enable_shcore
21618 wine_fn_config_makefile dlls/shcore/tests enable_tests
21619 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21620 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21621 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21622 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21623 wine_fn_config_makefile dlls/shell32 enable_shell32
21624 wine_fn_config_makefile dlls/shell32/tests enable_tests
21625 wine_fn_config_makefile dlls/shfolder enable_shfolder
21626 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21627 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21628 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21629 wine_fn_config_makefile dlls/slc enable_slc
21630 wine_fn_config_makefile dlls/slc/tests enable_tests
21631 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21632 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21633 wine_fn_config_makefile dlls/softpub enable_softpub
21634 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21635 wine_fn_config_makefile dlls/spoolss enable_spoolss
21636 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21637 wine_fn_config_makefile dlls/sppc enable_sppc
21638 wine_fn_config_makefile dlls/srclient enable_srclient
21639 wine_fn_config_makefile dlls/srvcli enable_srvcli
21640 wine_fn_config_makefile dlls/sspicli enable_sspicli
21641 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21642 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21643 wine_fn_config_makefile dlls/sti enable_sti
21644 wine_fn_config_makefile dlls/sti/tests enable_tests
21645 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21646 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21647 wine_fn_config_makefile dlls/strmdll enable_strmdll
21648 wine_fn_config_makefile dlls/svrapi enable_svrapi
21649 wine_fn_config_makefile dlls/sxs enable_sxs
21650 wine_fn_config_makefile dlls/sxs/tests enable_tests
21651 wine_fn_config_makefile dlls/system.drv16 enable_win16
21652 wine_fn_config_makefile dlls/t2embed enable_t2embed
21653 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21654 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21655 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21656 wine_fn_config_makefile dlls/taskschd enable_taskschd
21657 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21658 wine_fn_config_makefile dlls/tbs enable_tbs
21659 wine_fn_config_makefile dlls/tdh enable_tdh
21660 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21661 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21662 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21663 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21664 wine_fn_config_makefile dlls/traffic enable_traffic
21665 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21666 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21667 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21668 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21669 wine_fn_config_makefile dlls/tzres enable_tzres
21670 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21671 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21672 wine_fn_config_makefile dlls/uianimation enable_uianimation
21673 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21674 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21675 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21676 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21677 wine_fn_config_makefile dlls/unicows enable_unicows
21678 wine_fn_config_makefile dlls/updspapi enable_updspapi
21679 wine_fn_config_makefile dlls/url enable_url
21680 wine_fn_config_makefile dlls/urlmon enable_urlmon
21681 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21682 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21683 wine_fn_config_makefile dlls/user.exe16 enable_win16
21684 wine_fn_config_makefile dlls/user32 enable_user32
21685 wine_fn_config_makefile dlls/user32/tests enable_tests
21686 wine_fn_config_makefile dlls/userenv enable_userenv
21687 wine_fn_config_makefile dlls/userenv/tests enable_tests
21688 wine_fn_config_makefile dlls/usp10 enable_usp10
21689 wine_fn_config_makefile dlls/usp10/tests enable_tests
21690 wine_fn_config_makefile dlls/utildll enable_utildll
21691 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21692 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21693 wine_fn_config_makefile dlls/vbscript enable_vbscript
21694 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21695 wine_fn_config_makefile dlls/vcomp enable_vcomp
21696 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21697 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21698 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21699 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21700 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21701 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21702 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21703 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21704 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21705 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21706 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21707 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21708 wine_fn_config_makefile dlls/version enable_version
21709 wine_fn_config_makefile dlls/version/tests enable_tests
21710 wine_fn_config_makefile dlls/vga enable_vga
21711 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21712 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21713 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21714 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21715 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21716 wine_fn_config_makefile dlls/vssapi enable_vssapi
21717 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21718 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21719 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21720 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21721 wine_fn_config_makefile dlls/w32skrnl enable_win16
21722 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21723 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21724 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21725 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21726 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21727 wine_fn_config_makefile dlls/wdscore enable_wdscore
21728 wine_fn_config_makefile dlls/webservices enable_webservices
21729 wine_fn_config_makefile dlls/webservices/tests enable_tests
21730 wine_fn_config_makefile dlls/websocket enable_websocket
21731 wine_fn_config_makefile dlls/wer enable_wer
21732 wine_fn_config_makefile dlls/wer/tests enable_tests
21733 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21734 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21735 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21736 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21737 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21738 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21739 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21740 wine_fn_config_makefile dlls/win32u enable_win32u
21741 wine_fn_config_makefile dlls/win32u/tests enable_tests
21742 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21743 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21744 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21745 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21746 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21747 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21748 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21749 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21750 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21751 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21752 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21753 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21754 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21755 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21756 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21757 wine_fn_config_makefile dlls/windows.media enable_windows_media
21758 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21759 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21760 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21761 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21762 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21763 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21764 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21765 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21766 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21767 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21768 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21769 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21770 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21771 wine_fn_config_makefile dlls/wined3d enable_wined3d
21772 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21773 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21774 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21775 wine_fn_config_makefile dlls/winemapi enable_winemapi
21776 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21777 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21778 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21779 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21780 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21781 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21782 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21783 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21784 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21785 wine_fn_config_makefile dlls/wing32 enable_wing32
21786 wine_fn_config_makefile dlls/winhttp enable_winhttp
21787 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21788 wine_fn_config_makefile dlls/wininet enable_wininet
21789 wine_fn_config_makefile dlls/wininet/tests enable_tests
21790 wine_fn_config_makefile dlls/winmm enable_winmm
21791 wine_fn_config_makefile dlls/winmm/tests enable_tests
21792 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21793 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21794 wine_fn_config_makefile dlls/winprint enable_winprint
21795 wine_fn_config_makefile dlls/winscard enable_winscard
21796 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21797 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21798 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21799 wine_fn_config_makefile dlls/winsta enable_winsta
21800 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21801 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21802 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21803 wine_fn_config_makefile dlls/wintrust enable_wintrust
21804 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21805 wine_fn_config_makefile dlls/wintypes enable_wintypes
21806 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21807 wine_fn_config_makefile dlls/winusb enable_winusb
21808 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21809 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21810 wine_fn_config_makefile dlls/wlanui enable_wlanui
21811 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21812 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21813 wine_fn_config_makefile dlls/wmasf enable_wmasf
21814 wine_fn_config_makefile dlls/wmi enable_wmi
21815 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21816 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21817 wine_fn_config_makefile dlls/wmp enable_wmp
21818 wine_fn_config_makefile dlls/wmp/tests enable_tests
21819 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21820 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21821 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21822 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21823 wine_fn_config_makefile dlls/wofutil enable_wofutil
21824 wine_fn_config_makefile dlls/wow32 enable_win16
21825 wine_fn_config_makefile dlls/wow64 enable_wow64
21826 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21827 wine_fn_config_makefile dlls/wow64win enable_wow64win
21828 wine_fn_config_makefile dlls/wpc enable_wpc
21829 wine_fn_config_makefile dlls/wpc/tests enable_tests
21830 wine_fn_config_makefile dlls/wpcap enable_wpcap
21831 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21832 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21833 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21834 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21835 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21836 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21837 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21838 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21839 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21840 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21841 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21842 wine_fn_config_makefile dlls/wuapi enable_wuapi
21843 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21844 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21845 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21846 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21847 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21848 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21849 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21850 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21851 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21852 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21853 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21854 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21855 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21856 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21857 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21858 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21859 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21860 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21861 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21862 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21863 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21864 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21865 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21866 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21867 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21868 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21869 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21870 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21871 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21872 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21873 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21874 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21875 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21876 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21877 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21878 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21879 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21880 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21881 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21882 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21883 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21884 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21885 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21886 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21887 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21888 wine_fn_config_makefile dlls/xmllite enable_xmllite
21889 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21890 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21891 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21892 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21893 wine_fn_config_makefile fonts enable_fonts
21894 wine_fn_config_makefile include enable_include
21895 wine_fn_config_makefile libs/adsiid enable_adsiid
21896 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21897 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21898 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21899 wine_fn_config_makefile libs/dxguid enable_dxguid
21900 wine_fn_config_makefile libs/faudio enable_faudio
21901 wine_fn_config_makefile libs/gsm enable_gsm
21902 wine_fn_config_makefile libs/jpeg enable_jpeg
21903 wine_fn_config_makefile libs/jxr enable_jxr
21904 wine_fn_config_makefile libs/lcms2 enable_lcms2
21905 wine_fn_config_makefile libs/ldap enable_ldap
21906 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21907 wine_fn_config_makefile libs/mpg123 enable_mpg123
21908 wine_fn_config_makefile libs/png enable_png
21909 wine_fn_config_makefile libs/strmbase enable_strmbase
21910 wine_fn_config_makefile libs/strmiids enable_strmiids
21911 wine_fn_config_makefile libs/tiff enable_tiff
21912 wine_fn_config_makefile libs/uuid enable_uuid
21913 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21914 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21915 wine_fn_config_makefile libs/wine enable_wine
21916 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21917 wine_fn_config_makefile libs/xml2 enable_xml2
21918 wine_fn_config_makefile libs/xslt enable_xslt
21919 wine_fn_config_makefile libs/zlib enable_zlib
21920 wine_fn_config_makefile loader enable_loader
21921 wine_fn_config_makefile nls enable_nls
21922 wine_fn_config_makefile po enable_po
21923 wine_fn_config_makefile programs/arp enable_arp
21924 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21925 wine_fn_config_makefile programs/attrib enable_attrib
21926 wine_fn_config_makefile programs/cabarc enable_cabarc
21927 wine_fn_config_makefile programs/cacls enable_cacls
21928 wine_fn_config_makefile programs/certutil enable_certutil
21929 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21930 wine_fn_config_makefile programs/clock enable_clock
21931 wine_fn_config_makefile programs/cmd enable_cmd
21932 wine_fn_config_makefile programs/cmd/tests enable_tests
21933 wine_fn_config_makefile programs/conhost enable_conhost
21934 wine_fn_config_makefile programs/conhost/tests enable_tests
21935 wine_fn_config_makefile programs/control enable_control
21936 wine_fn_config_makefile programs/cscript enable_cscript
21937 wine_fn_config_makefile programs/dism enable_dism
21938 wine_fn_config_makefile programs/dllhost enable_dllhost
21939 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21940 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21941 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21942 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21943 wine_fn_config_makefile programs/eject enable_eject
21944 wine_fn_config_makefile programs/expand enable_expand
21945 wine_fn_config_makefile programs/explorer enable_explorer
21946 wine_fn_config_makefile programs/explorer/tests enable_tests
21947 wine_fn_config_makefile programs/extrac32 enable_extrac32
21948 wine_fn_config_makefile programs/fc enable_fc
21949 wine_fn_config_makefile programs/find enable_find
21950 wine_fn_config_makefile programs/find/tests enable_tests
21951 wine_fn_config_makefile programs/findstr enable_findstr
21952 wine_fn_config_makefile programs/fsutil enable_fsutil
21953 wine_fn_config_makefile programs/fsutil/tests enable_tests
21954 wine_fn_config_makefile programs/hh enable_hh
21955 wine_fn_config_makefile programs/hostname enable_hostname
21956 wine_fn_config_makefile programs/icacls enable_icacls
21957 wine_fn_config_makefile programs/icinfo enable_icinfo
21958 wine_fn_config_makefile programs/iexplore enable_iexplore
21959 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21960 wine_fn_config_makefile programs/lodctr enable_lodctr
21961 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21962 wine_fn_config_makefile programs/mshta enable_mshta
21963 wine_fn_config_makefile programs/msidb enable_msidb
21964 wine_fn_config_makefile programs/msiexec enable_msiexec
21965 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21966 wine_fn_config_makefile programs/net enable_net
21967 wine_fn_config_makefile programs/netsh enable_netsh
21968 wine_fn_config_makefile programs/netstat enable_netstat
21969 wine_fn_config_makefile programs/ngen enable_ngen
21970 wine_fn_config_makefile programs/notepad enable_notepad
21971 wine_fn_config_makefile programs/oleview enable_oleview
21972 wine_fn_config_makefile programs/ping enable_ping
21973 wine_fn_config_makefile programs/plugplay enable_plugplay
21974 wine_fn_config_makefile programs/powershell enable_powershell
21975 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21976 wine_fn_config_makefile programs/progman enable_progman
21977 wine_fn_config_makefile programs/reg enable_reg
21978 wine_fn_config_makefile programs/reg/tests enable_tests
21979 wine_fn_config_makefile programs/regasm enable_regasm
21980 wine_fn_config_makefile programs/regedit enable_regedit
21981 wine_fn_config_makefile programs/regedit/tests enable_tests
21982 wine_fn_config_makefile programs/regini enable_regini
21983 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21984 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21985 wine_fn_config_makefile programs/robocopy enable_robocopy
21986 wine_fn_config_makefile programs/rpcss enable_rpcss
21987 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21988 wine_fn_config_makefile programs/rundll32 enable_rundll32
21989 wine_fn_config_makefile programs/sc enable_sc
21990 wine_fn_config_makefile programs/sc/tests enable_tests
21991 wine_fn_config_makefile programs/schtasks enable_schtasks
21992 wine_fn_config_makefile programs/schtasks/tests enable_tests
21993 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21994 wine_fn_config_makefile programs/secedit enable_secedit
21995 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21996 wine_fn_config_makefile programs/services enable_services
21997 wine_fn_config_makefile programs/services/tests enable_tests
21998 wine_fn_config_makefile programs/setx enable_setx
21999 wine_fn_config_makefile programs/shutdown enable_shutdown
22000 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22001 wine_fn_config_makefile programs/start enable_start
22002 wine_fn_config_makefile programs/subst enable_subst
22003 wine_fn_config_makefile programs/svchost enable_svchost
22004 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22005 wine_fn_config_makefile programs/taskkill enable_taskkill
22006 wine_fn_config_makefile programs/tasklist enable_tasklist
22007 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22008 wine_fn_config_makefile programs/termsv enable_termsv
22009 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22010 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22011 wine_fn_config_makefile programs/view enable_view
22012 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22013 wine_fn_config_makefile programs/where enable_where
22014 wine_fn_config_makefile programs/whoami enable_whoami
22015 wine_fn_config_makefile programs/wineboot enable_wineboot
22016 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22017 wine_fn_config_makefile programs/winecfg enable_winecfg
22018 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22019 wine_fn_config_makefile programs/winedbg enable_winedbg
22020 wine_fn_config_makefile programs/winedevice enable_winedevice
22021 wine_fn_config_makefile programs/winefile enable_winefile
22022 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22023 wine_fn_config_makefile programs/winemine enable_winemine
22024 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22025 wine_fn_config_makefile programs/winepath enable_winepath
22026 wine_fn_config_makefile programs/winetest enable_winetest
22027 wine_fn_config_makefile programs/winevdm enable_win16
22028 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22029 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22030 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22031 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22032 wine_fn_config_makefile programs/winver enable_winver
22033 wine_fn_config_makefile programs/wmic enable_wmic
22034 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22035 wine_fn_config_makefile programs/wordpad enable_wordpad
22036 wine_fn_config_makefile programs/write enable_write
22037 wine_fn_config_makefile programs/wscript enable_wscript
22038 wine_fn_config_makefile programs/wscript/tests enable_tests
22039 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22040 wine_fn_config_makefile programs/wusa enable_wusa
22041 wine_fn_config_makefile programs/xcopy enable_xcopy
22042 wine_fn_config_makefile programs/xcopy/tests enable_tests
22043 wine_fn_config_makefile server enable_server
22044 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22045 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22049 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22050 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22051 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22052 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22055 as_fn_append CONFIGURE_TARGETS " TAGS"
22056 as_fn_append CONFIGURE_TARGETS " tags"
22057 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22058 as_fn_append CONFIGURE_TARGETS " config.log"
22059 as_fn_append CONFIGURE_TARGETS " config.status"
22060 as_fn_append CONFIGURE_TARGETS " include/config.h"
22061 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22062 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22064 if test "x$enable_tools" != xno
22065 then
22066 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22067 ac_config_commands="$ac_config_commands tools/makedep"
22071 ac_config_commands="$ac_config_commands Makefile"
22075 SHELL=/bin/sh
22078 as_fn_append wine_rules "
22079 all: wine
22080 @echo \"Wine build complete.\"
22081 .INIT: Makefile
22082 .MAKEFILEDEPS:
22083 all: Makefile
22084 Makefile: config.status \$(MAKEDEP)
22085 @./config.status Makefile
22086 depend: \$(MAKEDEP)
22087 \$(MAKEDEP)$makedep_flags"
22090 as_fn_append wine_rules "
22091 config.status: ${wine_srcdir}configure
22092 @./config.status --recheck
22093 include/config.h: include/stamp-h
22094 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22095 @./config.status include/config.h include/stamp-h"
22097 if test "x$enable_maintainer_mode" = xyes
22098 then
22099 as_fn_append wine_rules "
22100 configure: configure.ac aclocal.m4
22101 autoconf --warnings=all
22102 include/config.h.in: include/stamp-h.in
22103 include/stamp-h.in: configure.ac aclocal.m4
22104 autoheader --warnings=all
22105 @echo timestamp > \$@"
22108 if test "x$enable_tools" != xno
22109 then
22110 as_fn_append wine_rules "
22111 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22112 @./config.status tools/makedep
22113 Makefile: tools/makedep$ac_exeext"
22114 else
22115 as_fn_append wine_rules "
22116 \$(MAKEDEP):
22117 @echo \"You need to run make in $toolsdir first\" && false"
22121 if test -n "$with_wine64"
22122 then
22123 case "$with_wine64" in
22124 /*) reldir="" ;;
22125 *) reldir="../" ;;
22126 esac
22127 rm -f fonts server 2>/dev/null
22128 as_fn_append wine_rules "
22129 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22130 loader/wine64 loader/wine64-preloader:
22131 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22132 $with_wine64/loader/wine:
22133 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22134 $with_wine64/loader/wine-preloader:
22135 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22136 clean::
22137 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22138 else
22139 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22140 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22141 fonts \
22142 loader/wine.inf \
22143 nls \
22144 programs/msidb/msidb \
22145 programs/msiexec/msiexec \
22146 programs/notepad/notepad \
22147 programs/regedit/regedit \
22148 programs/regsvr32/regsvr32 \
22149 programs/wineboot/wineboot \
22150 programs/winecfg/winecfg \
22151 programs/wineconsole/wineconsole \
22152 programs/winedbg/winedbg \
22153 programs/winefile/winefile \
22154 programs/winemine/winemine \
22155 programs/winepath/winepath \
22156 server/wineserver"
22158 case $host_os in
22159 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22160 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22161 esac
22165 as_fn_append wine_rules "
22166 distclean:: clean
22167 rm -rf autom4te.cache
22168 maintainer-clean::
22169 rm -f configure include/config.h.in"
22172 as_fn_append wine_rules "
22173 dlls/ntdll/unix/version.c: dummy
22174 @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)
22175 programs/winetest/build.rc: dummy
22176 @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)
22177 programs/winetest/build.nfo:
22178 @-\$(CC) -v 2>\$@
22179 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
22180 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22181 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22184 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22186 as_fn_append wine_rules "
22187 TAGS etags:
22188 rm -f TAGS
22189 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22190 tags ctags:
22191 rm -f tags
22192 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22193 dummy:
22194 .PHONY: depend dummy install-manpages"
22196 printf "%s\n" " done" >&6
22197 cat >confcache <<\_ACEOF
22198 # This file is a shell script that caches the results of configure
22199 # tests run on this system so they can be shared between configure
22200 # scripts and configure runs, see configure's option --config-cache.
22201 # It is not useful on other systems. If it contains results you don't
22202 # want to keep, you may remove or edit it.
22204 # config.status only pays attention to the cache file if you give it
22205 # the --recheck option to rerun configure.
22207 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22208 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22209 # following values.
22211 _ACEOF
22213 # The following way of writing the cache mishandles newlines in values,
22214 # but we know of no workaround that is simple, portable, and efficient.
22215 # So, we kill variables containing newlines.
22216 # Ultrix sh set writes to stderr and can't be redirected directly,
22217 # and sets the high bit in the cache file unless we assign to the vars.
22219 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22220 eval ac_val=\$$ac_var
22221 case $ac_val in #(
22222 *${as_nl}*)
22223 case $ac_var in #(
22224 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22225 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22226 esac
22227 case $ac_var in #(
22228 _ | IFS | as_nl) ;; #(
22229 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22230 *) { eval $ac_var=; unset $ac_var;} ;;
22231 esac ;;
22232 esac
22233 done
22235 (set) 2>&1 |
22236 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22237 *${as_nl}ac_space=\ *)
22238 # `set' does not quote correctly, so add quotes: double-quote
22239 # substitution turns \\\\ into \\, and sed turns \\ into \.
22240 sed -n \
22241 "s/'/'\\\\''/g;
22242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22243 ;; #(
22245 # `set' quotes correctly as required by POSIX, so do not add quotes.
22246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22248 esac |
22249 sort
22251 sed '
22252 /^ac_cv_env_/b end
22253 t clear
22254 :clear
22255 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22256 t end
22257 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22258 :end' >>confcache
22259 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22260 if test -w "$cache_file"; then
22261 if test "x$cache_file" != "x/dev/null"; then
22262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22263 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22264 if test ! -f "$cache_file" || test -h "$cache_file"; then
22265 cat confcache >"$cache_file"
22266 else
22267 case $cache_file in #(
22268 */* | ?:*)
22269 mv -f confcache "$cache_file"$$ &&
22270 mv -f "$cache_file"$$ "$cache_file" ;; #(
22272 mv -f confcache "$cache_file" ;;
22273 esac
22276 else
22277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22278 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22281 rm -f confcache
22283 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22284 # Let make expand exec_prefix.
22285 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22287 DEFS=-DHAVE_CONFIG_H
22289 ac_libobjs=
22290 ac_ltlibobjs=
22292 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22293 # 1. Remove the extension, and $U if already installed.
22294 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22295 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22296 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22297 # will be set to the directory where LIBOBJS objects are built.
22298 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22299 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22300 done
22301 LIBOBJS=$ac_libobjs
22303 LTLIBOBJS=$ac_ltlibobjs
22307 : "${CONFIG_STATUS=./config.status}"
22308 ac_write_fail=0
22309 ac_clean_files_save=$ac_clean_files
22310 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22312 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22313 as_write_fail=0
22314 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22315 #! $SHELL
22316 # Generated by $as_me.
22317 # Run this file to recreate the current configuration.
22318 # Compiler output produced by configure, useful for debugging
22319 # configure, is in config.log if it exists.
22321 debug=false
22322 ac_cs_recheck=false
22323 ac_cs_silent=false
22325 SHELL=\${CONFIG_SHELL-$SHELL}
22326 export SHELL
22327 _ASEOF
22328 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22329 ## -------------------- ##
22330 ## M4sh Initialization. ##
22331 ## -------------------- ##
22333 # Be more Bourne compatible
22334 DUALCASE=1; export DUALCASE # for MKS sh
22335 as_nop=:
22336 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22337 then :
22338 emulate sh
22339 NULLCMD=:
22340 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22341 # is contrary to our usage. Disable this feature.
22342 alias -g '${1+"$@"}'='"$@"'
22343 setopt NO_GLOB_SUBST
22344 else $as_nop
22345 case `(set -o) 2>/dev/null` in #(
22346 *posix*) :
22347 set -o posix ;; #(
22348 *) :
22350 esac
22355 # Reset variables that may have inherited troublesome values from
22356 # the environment.
22358 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22359 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22360 # side effect of setting IFS to empty, thus disabling word splitting.)
22361 # Quoting is to prevent editors from complaining about space-tab.
22362 as_nl='
22364 export as_nl
22365 IFS=" "" $as_nl"
22367 PS1='$ '
22368 PS2='> '
22369 PS4='+ '
22371 # Ensure predictable behavior from utilities with locale-dependent output.
22372 LC_ALL=C
22373 export LC_ALL
22374 LANGUAGE=C
22375 export LANGUAGE
22377 # We cannot yet rely on "unset" to work, but we need these variables
22378 # to be unset--not just set to an empty or harmless value--now, to
22379 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22380 # also avoids known problems related to "unset" and subshell syntax
22381 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22382 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22383 do eval test \${$as_var+y} \
22384 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22385 done
22387 # Ensure that fds 0, 1, and 2 are open.
22388 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22389 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22390 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22392 # The user is always right.
22393 if ${PATH_SEPARATOR+false} :; then
22394 PATH_SEPARATOR=:
22395 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22396 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22397 PATH_SEPARATOR=';'
22402 # Find who we are. Look in the path if we contain no directory separator.
22403 as_myself=
22404 case $0 in #((
22405 *[\\/]* ) as_myself=$0 ;;
22406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22407 for as_dir in $PATH
22409 IFS=$as_save_IFS
22410 case $as_dir in #(((
22411 '') as_dir=./ ;;
22412 */) ;;
22413 *) as_dir=$as_dir/ ;;
22414 esac
22415 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22416 done
22417 IFS=$as_save_IFS
22420 esac
22421 # We did not find ourselves, most probably we were run as `sh COMMAND'
22422 # in which case we are not to be found in the path.
22423 if test "x$as_myself" = x; then
22424 as_myself=$0
22426 if test ! -f "$as_myself"; then
22427 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22428 exit 1
22433 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22434 # ----------------------------------------
22435 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22436 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22437 # script with STATUS, using 1 if that was 0.
22438 as_fn_error ()
22440 as_status=$1; test $as_status -eq 0 && as_status=1
22441 if test "$4"; then
22442 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22445 printf "%s\n" "$as_me: error: $2" >&2
22446 as_fn_exit $as_status
22447 } # as_fn_error
22451 # as_fn_set_status STATUS
22452 # -----------------------
22453 # Set $? to STATUS, without forking.
22454 as_fn_set_status ()
22456 return $1
22457 } # as_fn_set_status
22459 # as_fn_exit STATUS
22460 # -----------------
22461 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22462 as_fn_exit ()
22464 set +e
22465 as_fn_set_status $1
22466 exit $1
22467 } # as_fn_exit
22469 # as_fn_unset VAR
22470 # ---------------
22471 # Portably unset VAR.
22472 as_fn_unset ()
22474 { eval $1=; unset $1;}
22476 as_unset=as_fn_unset
22478 # as_fn_append VAR VALUE
22479 # ----------------------
22480 # Append the text in VALUE to the end of the definition contained in VAR. Take
22481 # advantage of any shell optimizations that allow amortized linear growth over
22482 # repeated appends, instead of the typical quadratic growth present in naive
22483 # implementations.
22484 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22485 then :
22486 eval 'as_fn_append ()
22488 eval $1+=\$2
22490 else $as_nop
22491 as_fn_append ()
22493 eval $1=\$$1\$2
22495 fi # as_fn_append
22497 # as_fn_arith ARG...
22498 # ------------------
22499 # Perform arithmetic evaluation on the ARGs, and store the result in the
22500 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22501 # must be portable across $(()) and expr.
22502 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22503 then :
22504 eval 'as_fn_arith ()
22506 as_val=$(( $* ))
22508 else $as_nop
22509 as_fn_arith ()
22511 as_val=`expr "$@" || test $? -eq 1`
22513 fi # as_fn_arith
22516 if expr a : '\(a\)' >/dev/null 2>&1 &&
22517 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22518 as_expr=expr
22519 else
22520 as_expr=false
22523 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22524 as_basename=basename
22525 else
22526 as_basename=false
22529 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22530 as_dirname=dirname
22531 else
22532 as_dirname=false
22535 as_me=`$as_basename -- "$0" ||
22536 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22537 X"$0" : 'X\(//\)$' \| \
22538 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22539 printf "%s\n" X/"$0" |
22540 sed '/^.*\/\([^/][^/]*\)\/*$/{
22541 s//\1/
22544 /^X\/\(\/\/\)$/{
22545 s//\1/
22548 /^X\/\(\/\).*/{
22549 s//\1/
22552 s/.*/./; q'`
22554 # Avoid depending upon Character Ranges.
22555 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22556 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22557 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22558 as_cr_digits='0123456789'
22559 as_cr_alnum=$as_cr_Letters$as_cr_digits
22562 # Determine whether it's possible to make 'echo' print without a newline.
22563 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22564 # for compatibility with existing Makefiles.
22565 ECHO_C= ECHO_N= ECHO_T=
22566 case `echo -n x` in #(((((
22567 -n*)
22568 case `echo 'xy\c'` in
22569 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22570 xy) ECHO_C='\c';;
22571 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22572 ECHO_T=' ';;
22573 esac;;
22575 ECHO_N='-n';;
22576 esac
22578 # For backward compatibility with old third-party macros, we provide
22579 # the shell variables $as_echo and $as_echo_n. New code should use
22580 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22581 as_echo='printf %s\n'
22582 as_echo_n='printf %s'
22584 rm -f conf$$ conf$$.exe conf$$.file
22585 if test -d conf$$.dir; then
22586 rm -f conf$$.dir/conf$$.file
22587 else
22588 rm -f conf$$.dir
22589 mkdir conf$$.dir 2>/dev/null
22591 if (echo >conf$$.file) 2>/dev/null; then
22592 if ln -s conf$$.file conf$$ 2>/dev/null; then
22593 as_ln_s='ln -s'
22594 # ... but there are two gotchas:
22595 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22596 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22597 # In both cases, we have to default to `cp -pR'.
22598 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22599 as_ln_s='cp -pR'
22600 elif ln conf$$.file conf$$ 2>/dev/null; then
22601 as_ln_s=ln
22602 else
22603 as_ln_s='cp -pR'
22605 else
22606 as_ln_s='cp -pR'
22608 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22609 rmdir conf$$.dir 2>/dev/null
22612 # as_fn_mkdir_p
22613 # -------------
22614 # Create "$as_dir" as a directory, including parents if necessary.
22615 as_fn_mkdir_p ()
22618 case $as_dir in #(
22619 -*) as_dir=./$as_dir;;
22620 esac
22621 test -d "$as_dir" || eval $as_mkdir_p || {
22622 as_dirs=
22623 while :; do
22624 case $as_dir in #(
22625 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22626 *) as_qdir=$as_dir;;
22627 esac
22628 as_dirs="'$as_qdir' $as_dirs"
22629 as_dir=`$as_dirname -- "$as_dir" ||
22630 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22631 X"$as_dir" : 'X\(//\)[^/]' \| \
22632 X"$as_dir" : 'X\(//\)$' \| \
22633 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22634 printf "%s\n" X"$as_dir" |
22635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22636 s//\1/
22639 /^X\(\/\/\)[^/].*/{
22640 s//\1/
22643 /^X\(\/\/\)$/{
22644 s//\1/
22647 /^X\(\/\).*/{
22648 s//\1/
22651 s/.*/./; q'`
22652 test -d "$as_dir" && break
22653 done
22654 test -z "$as_dirs" || eval "mkdir $as_dirs"
22655 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22658 } # as_fn_mkdir_p
22659 if mkdir -p . 2>/dev/null; then
22660 as_mkdir_p='mkdir -p "$as_dir"'
22661 else
22662 test -d ./-p && rmdir ./-p
22663 as_mkdir_p=false
22667 # as_fn_executable_p FILE
22668 # -----------------------
22669 # Test if FILE is an executable regular file.
22670 as_fn_executable_p ()
22672 test -f "$1" && test -x "$1"
22673 } # as_fn_executable_p
22674 as_test_x='test -x'
22675 as_executable_p=as_fn_executable_p
22677 # Sed expression to map a string onto a valid CPP name.
22678 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22680 # Sed expression to map a string onto a valid variable name.
22681 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22684 exec 6>&1
22685 ## ----------------------------------- ##
22686 ## Main body of $CONFIG_STATUS script. ##
22687 ## ----------------------------------- ##
22688 _ASEOF
22689 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22692 # Save the log message, to keep $0 and so on meaningful, and to
22693 # report actual input values of CONFIG_FILES etc. instead of their
22694 # values after options handling.
22695 ac_log="
22696 This file was extended by Wine $as_me 8.1, which was
22697 generated by GNU Autoconf 2.71. Invocation command line was
22699 CONFIG_FILES = $CONFIG_FILES
22700 CONFIG_HEADERS = $CONFIG_HEADERS
22701 CONFIG_LINKS = $CONFIG_LINKS
22702 CONFIG_COMMANDS = $CONFIG_COMMANDS
22703 $ $0 $@
22705 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22708 _ACEOF
22711 case $ac_config_headers in *"
22712 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22713 esac
22716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22717 # Files that config.status was made for.
22718 config_headers="$ac_config_headers"
22719 config_links="$ac_config_links"
22720 config_commands="$ac_config_commands"
22722 _ACEOF
22724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22725 ac_cs_usage="\
22726 \`$as_me' instantiates files and other configuration actions
22727 from templates according to the current configuration. Unless the files
22728 and actions are specified as TAGs, all are instantiated by default.
22730 Usage: $0 [OPTION]... [TAG]...
22732 -h, --help print this help, then exit
22733 -V, --version print version number and configuration settings, then exit
22734 --config print configuration, then exit
22735 -q, --quiet, --silent
22736 do not print progress messages
22737 -d, --debug don't remove temporary files
22738 --recheck update $as_me by reconfiguring in the same conditions
22739 --header=FILE[:TEMPLATE]
22740 instantiate the configuration header FILE
22742 Configuration headers:
22743 $config_headers
22745 Configuration links:
22746 $config_links
22748 Configuration commands:
22749 $config_commands
22751 Report bugs to <wine-devel@winehq.org>.
22752 Wine home page: <https://www.winehq.org>."
22754 _ACEOF
22755 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22756 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22758 ac_cs_config='$ac_cs_config_escaped'
22759 ac_cs_version="\\
22760 Wine config.status 8.1
22761 configured by $0, generated by GNU Autoconf 2.71,
22762 with options \\"\$ac_cs_config\\"
22764 Copyright (C) 2021 Free Software Foundation, Inc.
22765 This config.status script is free software; the Free Software Foundation
22766 gives unlimited permission to copy, distribute and modify it."
22768 ac_pwd='$ac_pwd'
22769 srcdir='$srcdir'
22770 test -n "\$AWK" || AWK=awk
22771 _ACEOF
22773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22774 # The default lists apply if the user does not specify any file.
22775 ac_need_defaults=:
22776 while test $# != 0
22778 case $1 in
22779 --*=?*)
22780 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22781 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22782 ac_shift=:
22784 --*=)
22785 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22786 ac_optarg=
22787 ac_shift=:
22790 ac_option=$1
22791 ac_optarg=$2
22792 ac_shift=shift
22794 esac
22796 case $ac_option in
22797 # Handling of the options.
22798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22799 ac_cs_recheck=: ;;
22800 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22801 printf "%s\n" "$ac_cs_version"; exit ;;
22802 --config | --confi | --conf | --con | --co | --c )
22803 printf "%s\n" "$ac_cs_config"; exit ;;
22804 --debug | --debu | --deb | --de | --d | -d )
22805 debug=: ;;
22806 --header | --heade | --head | --hea )
22807 $ac_shift
22808 case $ac_optarg in
22809 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22810 esac
22811 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22812 ac_need_defaults=false;;
22813 --he | --h)
22814 # Conflict between --help and --header
22815 as_fn_error $? "ambiguous option: \`$1'
22816 Try \`$0 --help' for more information.";;
22817 --help | --hel | -h )
22818 printf "%s\n" "$ac_cs_usage"; exit ;;
22819 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22820 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22821 ac_cs_silent=: ;;
22823 # This is an error.
22824 -*) as_fn_error $? "unrecognized option: \`$1'
22825 Try \`$0 --help' for more information." ;;
22827 *) as_fn_append ac_config_targets " $1"
22828 ac_need_defaults=false ;;
22830 esac
22831 shift
22832 done
22834 ac_configure_extra_args=
22836 if $ac_cs_silent; then
22837 exec 6>/dev/null
22838 ac_configure_extra_args="$ac_configure_extra_args --silent"
22841 _ACEOF
22842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22843 if \$ac_cs_recheck; then
22844 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22845 shift
22846 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22847 CONFIG_SHELL='$SHELL'
22848 export CONFIG_SHELL
22849 exec "\$@"
22852 _ACEOF
22853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22854 exec 5>>config.log
22856 echo
22857 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22858 ## Running $as_me. ##
22859 _ASBOX
22860 printf "%s\n" "$ac_log"
22861 } >&5
22863 _ACEOF
22864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22866 # INIT-COMMANDS
22868 wine_fn_output_makedep ()
22870 as_dir=tools; as_fn_mkdir_p
22871 $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
22873 wine_fn_output_makefile ()
22875 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22876 # This Makefile understands the following targets:
22878 # all (default): build wine
22879 # clean: remove all intermediate files
22880 # distclean: also remove all files created by configure
22881 # test: run tests
22882 # testclean: clean test results to force running all tests again
22883 # install-lib: install libraries needed to run applications
22884 # install-dev: install development environment
22885 # install: install everything
22886 # uninstall: uninstall everything
22887 # ctags: create a tags file for vim and others.
22888 # etags: create a TAGS file for Emacs.
22890 SHELL = $SHELL
22891 PATH_SEPARATOR = $PATH_SEPARATOR
22892 PACKAGE_NAME = $PACKAGE_NAME
22893 PACKAGE_TARNAME = $PACKAGE_TARNAME
22894 PACKAGE_VERSION = $PACKAGE_VERSION
22895 PACKAGE_STRING = $PACKAGE_STRING
22896 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22897 PACKAGE_URL = $PACKAGE_URL
22898 exec_prefix = $exec_prefix
22899 prefix = $prefix
22900 program_transform_name = $program_transform_name
22901 bindir = $bindir
22902 sbindir = $sbindir
22903 libexecdir = $libexecdir
22904 datarootdir = $datarootdir
22905 datadir = $datadir
22906 sysconfdir = $sysconfdir
22907 sharedstatedir = $sharedstatedir
22908 localstatedir = $localstatedir
22909 runstatedir = $runstatedir
22910 includedir = $includedir
22911 oldincludedir = $oldincludedir
22912 docdir = $docdir
22913 infodir = $infodir
22914 htmldir = $htmldir
22915 dvidir = $dvidir
22916 pdfdir = $pdfdir
22917 psdir = $psdir
22918 libdir = $libdir
22919 localedir = $localedir
22920 mandir = $mandir
22921 DEFS = $DEFS
22922 ECHO_C = $ECHO_C
22923 ECHO_N = $ECHO_N
22924 ECHO_T = $ECHO_T
22925 LIBS = $LIBS
22926 build_alias = $build_alias
22927 host_alias = $host_alias
22928 target_alias = $target_alias
22929 system_dllpath = $system_dllpath
22930 build = $build
22931 build_cpu = $build_cpu
22932 build_vendor = $build_vendor
22933 build_os = $build_os
22934 host = $host
22935 host_cpu = $host_cpu
22936 host_vendor = $host_vendor
22937 host_os = $host_os
22938 dlldir = $dlldir
22939 fontdir = $fontdir
22940 nlsdir = $nlsdir
22941 srcdir = $srcdir
22942 SET_MAKE = $SET_MAKE
22943 CC = $CC
22944 CFLAGS = $CFLAGS
22945 LDFLAGS = $LDFLAGS
22946 CPPFLAGS = $CPPFLAGS
22947 ac_ct_CC = $ac_ct_CC
22948 EXEEXT = $EXEEXT
22949 OBJEXT = $OBJEXT
22950 CXX = $CXX
22951 CXXFLAGS = $CXXFLAGS
22952 ac_ct_CXX = $ac_ct_CXX
22953 CPPBIN = $CPPBIN
22954 LD = $LD
22955 TARGETFLAGS = $TARGETFLAGS
22956 toolsext = $toolsext
22957 HOST_ARCH = $HOST_ARCH
22958 aarch64_CC = $aarch64_CC
22959 aarch64_CFLAGS = $aarch64_CFLAGS
22960 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22961 aarch64_LDFLAGS = $aarch64_LDFLAGS
22962 aarch64_DEBUG = $aarch64_DEBUG
22963 aarch64_TARGET = $aarch64_TARGET
22964 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22965 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22966 arm_CC = $arm_CC
22967 arm_CFLAGS = $arm_CFLAGS
22968 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22969 arm_LDFLAGS = $arm_LDFLAGS
22970 arm_DEBUG = $arm_DEBUG
22971 arm_TARGET = $arm_TARGET
22972 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22973 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22974 i386_CC = $i386_CC
22975 i386_CFLAGS = $i386_CFLAGS
22976 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22977 i386_LDFLAGS = $i386_LDFLAGS
22978 i386_DEBUG = $i386_DEBUG
22979 i386_TARGET = $i386_TARGET
22980 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22981 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22982 x86_64_CC = $x86_64_CC
22983 x86_64_CFLAGS = $x86_64_CFLAGS
22984 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22985 x86_64_LDFLAGS = $x86_64_LDFLAGS
22986 x86_64_DEBUG = $x86_64_DEBUG
22987 x86_64_TARGET = $x86_64_TARGET
22988 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22989 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22990 toolsdir = $toolsdir
22991 MAKEDEP = $MAKEDEP
22992 RUNTESTFLAGS = $RUNTESTFLAGS
22993 SED_CMD = $SED_CMD
22994 FLEX = $FLEX
22995 BISON = $BISON
22996 AR = $AR
22997 ac_ct_AR = $ac_ct_AR
22998 STRIP = $STRIP
22999 RANLIB = $RANLIB
23000 LN_S = $LN_S
23001 GREP = $GREP
23002 EGREP = $EGREP
23003 LDCONFIG = $LDCONFIG
23004 MSGFMT = $MSGFMT
23005 PKG_CONFIG = $PKG_CONFIG
23006 FONTFORGE = $FONTFORGE
23007 RSVG = $RSVG
23008 CONVERT = $CONVERT
23009 ICOTOOL = $ICOTOOL
23010 I386_LIBS = $I386_LIBS
23011 OPENGL_LIBS = $OPENGL_LIBS
23012 DLLFLAGS = $DLLFLAGS
23013 LDDLLFLAGS = $LDDLLFLAGS
23014 LDEXECFLAGS = $LDEXECFLAGS
23015 EXTRACFLAGS = $EXTRACFLAGS
23016 UNIXDLLFLAGS = $UNIXDLLFLAGS
23017 UNIXLDFLAGS = $UNIXLDFLAGS
23018 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23019 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23020 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23021 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23022 LDD = $LDD
23023 OTOOL = $OTOOL
23024 READELF = $READELF
23025 SUBDIRS = $SUBDIRS
23026 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23027 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23028 CARBON_LIBS = $CARBON_LIBS
23029 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23030 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23031 IOKIT_LIBS = $IOKIT_LIBS
23032 METAL_LIBS = $METAL_LIBS
23033 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23034 CORESERVICES_LIBS = $CORESERVICES_LIBS
23035 APPKIT_LIBS = $APPKIT_LIBS
23036 SECURITY_LIBS = $SECURITY_LIBS
23037 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23038 COREAUDIO_LIBS = $COREAUDIO_LIBS
23039 OPENCL_LIBS = $OPENCL_LIBS
23040 OBJC = $OBJC
23041 OBJCFLAGS = $OBJCFLAGS
23042 ac_ct_OBJC = $ac_ct_OBJC
23043 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23044 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23045 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23046 PRELINK = $PRELINK
23047 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23048 PE_ARCHS = $PE_ARCHS
23049 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23050 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23051 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23052 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23053 GSM_PE_LIBS = $GSM_PE_LIBS
23054 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23055 JPEG_PE_LIBS = $JPEG_PE_LIBS
23056 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23057 JXR_PE_LIBS = $JXR_PE_LIBS
23058 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23059 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23060 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23061 LDAP_PE_LIBS = $LDAP_PE_LIBS
23062 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23063 MPG123_PE_LIBS = $MPG123_PE_LIBS
23064 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23065 PNG_PE_LIBS = $PNG_PE_LIBS
23066 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23067 TIFF_PE_LIBS = $TIFF_PE_LIBS
23068 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23069 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23070 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23071 XML2_PE_LIBS = $XML2_PE_LIBS
23072 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23073 XSLT_PE_LIBS = $XSLT_PE_LIBS
23074 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23075 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23076 PTHREAD_LIBS = $PTHREAD_LIBS
23077 XMKMF = $XMKMF
23078 CPP = $CPP
23079 X_CFLAGS = $X_CFLAGS
23080 X_PRE_LIBS = $X_PRE_LIBS
23081 X_LIBS = $X_LIBS
23082 X_EXTRA_LIBS = $X_EXTRA_LIBS
23083 PCAP_LIBS = $PCAP_LIBS
23084 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23085 INOTIFY_LIBS = $INOTIFY_LIBS
23086 DBUS_CFLAGS = $DBUS_CFLAGS
23087 DBUS_LIBS = $DBUS_LIBS
23088 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23089 GNUTLS_LIBS = $GNUTLS_LIBS
23090 SANE_CFLAGS = $SANE_CFLAGS
23091 SANE_LIBS = $SANE_LIBS
23092 USB_CFLAGS = $USB_CFLAGS
23093 USB_LIBS = $USB_LIBS
23094 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23095 GPHOTO2_LIBS = $GPHOTO2_LIBS
23096 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23097 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23098 RESOLV_LIBS = $RESOLV_LIBS
23099 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23100 FREETYPE_LIBS = $FREETYPE_LIBS
23101 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23102 PULSE_CFLAGS = $PULSE_CFLAGS
23103 PULSE_LIBS = $PULSE_LIBS
23104 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23105 GSTREAMER_LIBS = $GSTREAMER_LIBS
23106 ALSA_LIBS = $ALSA_LIBS
23107 OSS4_CFLAGS = $OSS4_CFLAGS
23108 OSS4_LIBS = $OSS4_LIBS
23109 UDEV_CFLAGS = $UDEV_CFLAGS
23110 UDEV_LIBS = $UDEV_LIBS
23111 UNWIND_CFLAGS = $UNWIND_CFLAGS
23112 UNWIND_LIBS = $UNWIND_LIBS
23113 SDL2_CFLAGS = $SDL2_CFLAGS
23114 SDL2_LIBS = $SDL2_LIBS
23115 CAPI20_CFLAGS = $CAPI20_CFLAGS
23116 CAPI20_LIBS = $CAPI20_LIBS
23117 CUPS_CFLAGS = $CUPS_CFLAGS
23118 CUPS_LIBS = $CUPS_LIBS
23119 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23120 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23121 KRB5_CFLAGS = $KRB5_CFLAGS
23122 KRB5_LIBS = $KRB5_LIBS
23123 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23124 GSSAPI_LIBS = $GSSAPI_LIBS
23125 PROCSTAT_LIBS = $PROCSTAT_LIBS
23126 NETAPI_CFLAGS = $NETAPI_CFLAGS
23127 NETAPI_LIBS = $NETAPI_LIBS
23128 MSVCRTFLAGS = $MSVCRTFLAGS
23129 DELAYLOADFLAG = $DELAYLOADFLAG
23130 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23131 RT_LIBS = $RT_LIBS
23132 TAGSFLAGS = $TAGSFLAGS
23133 LIBOBJS = $LIBOBJS
23134 LTLIBOBJS = $LTLIBOBJS
23135 $SET_MAKE
23136 $wine_rules
23137 _WINE_EOF
23138 as_fn_error $? "could not create Makefile" "$LINENO" 5
23141 _ACEOF
23143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23145 # Handling of arguments.
23146 for ac_config_target in $ac_config_targets
23148 case $ac_config_target in
23149 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23150 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23151 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23152 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23153 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23154 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23156 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23157 esac
23158 done
23161 # If the user did not use the arguments to specify the items to instantiate,
23162 # then the envvar interface is used. Set only those that are not.
23163 # We use the long form for the default assignment because of an extremely
23164 # bizarre bug on SunOS 4.1.3.
23165 if $ac_need_defaults; then
23166 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23167 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23168 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23171 # Have a temporary directory for convenience. Make it in the build tree
23172 # simply because there is no reason against having it here, and in addition,
23173 # creating and moving files from /tmp can sometimes cause problems.
23174 # Hook for its removal unless debugging.
23175 # Note that there is a small window in which the directory will not be cleaned:
23176 # after its creation but before its name has been assigned to `$tmp'.
23177 $debug ||
23179 tmp= ac_tmp=
23180 trap 'exit_status=$?
23181 : "${ac_tmp:=$tmp}"
23182 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23184 trap 'as_fn_exit 1' 1 2 13 15
23186 # Create a (secure) tmp directory for tmp files.
23189 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23190 test -d "$tmp"
23191 } ||
23193 tmp=./conf$$-$RANDOM
23194 (umask 077 && mkdir "$tmp")
23195 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23196 ac_tmp=$tmp
23198 # Set up the scripts for CONFIG_HEADERS section.
23199 # No need to generate them if there are no CONFIG_HEADERS.
23200 # This happens for instance with `./config.status Makefile'.
23201 if test -n "$CONFIG_HEADERS"; then
23202 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23203 BEGIN {
23204 _ACEOF
23206 # Transform confdefs.h into an awk script `defines.awk', embedded as
23207 # here-document in config.status, that substitutes the proper values into
23208 # config.h.in to produce config.h.
23210 # Create a delimiter string that does not exist in confdefs.h, to ease
23211 # handling of long lines.
23212 ac_delim='%!_!# '
23213 for ac_last_try in false false :; do
23214 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23215 if test -z "$ac_tt"; then
23216 break
23217 elif $ac_last_try; then
23218 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23219 else
23220 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23222 done
23224 # For the awk script, D is an array of macro values keyed by name,
23225 # likewise P contains macro parameters if any. Preserve backslash
23226 # newline sequences.
23228 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23229 sed -n '
23230 s/.\{148\}/&'"$ac_delim"'/g
23231 t rset
23232 :rset
23233 s/^[ ]*#[ ]*define[ ][ ]*/ /
23234 t def
23236 :def
23237 s/\\$//
23238 t bsnl
23239 s/["\\]/\\&/g
23240 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23241 D["\1"]=" \3"/p
23242 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23244 :bsnl
23245 s/["\\]/\\&/g
23246 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23247 D["\1"]=" \3\\\\\\n"\\/p
23248 t cont
23249 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23250 t cont
23252 :cont
23254 s/.\{148\}/&'"$ac_delim"'/g
23255 t clear
23256 :clear
23257 s/\\$//
23258 t bsnlc
23259 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23261 :bsnlc
23262 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23263 b cont
23264 ' <confdefs.h | sed '
23265 s/'"$ac_delim"'/"\\\
23266 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23269 for (key in D) D_is_set[key] = 1
23270 FS = "\a"
23272 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23273 line = \$ 0
23274 split(line, arg, " ")
23275 if (arg[1] == "#") {
23276 defundef = arg[2]
23277 mac1 = arg[3]
23278 } else {
23279 defundef = substr(arg[1], 2)
23280 mac1 = arg[2]
23282 split(mac1, mac2, "(") #)
23283 macro = mac2[1]
23284 prefix = substr(line, 1, index(line, defundef) - 1)
23285 if (D_is_set[macro]) {
23286 # Preserve the white space surrounding the "#".
23287 print prefix "define", macro P[macro] D[macro]
23288 next
23289 } else {
23290 # Replace #undef with comments. This is necessary, for example,
23291 # in the case of _POSIX_SOURCE, which is predefined and required
23292 # on some systems where configure will not decide to define it.
23293 if (defundef == "undef") {
23294 print "/*", prefix defundef, macro, "*/"
23295 next
23299 { print }
23300 _ACAWK
23301 _ACEOF
23302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23303 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23304 fi # test -n "$CONFIG_HEADERS"
23307 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23308 shift
23309 for ac_tag
23311 case $ac_tag in
23312 :[FHLC]) ac_mode=$ac_tag; continue;;
23313 esac
23314 case $ac_mode$ac_tag in
23315 :[FHL]*:*);;
23316 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23317 :[FH]-) ac_tag=-:-;;
23318 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23319 esac
23320 ac_save_IFS=$IFS
23321 IFS=:
23322 set x $ac_tag
23323 IFS=$ac_save_IFS
23324 shift
23325 ac_file=$1
23326 shift
23328 case $ac_mode in
23329 :L) ac_source=$1;;
23330 :[FH])
23331 ac_file_inputs=
23332 for ac_f
23334 case $ac_f in
23335 -) ac_f="$ac_tmp/stdin";;
23336 *) # Look for the file first in the build tree, then in the source tree
23337 # (if the path is not absolute). The absolute path cannot be DOS-style,
23338 # because $ac_f cannot contain `:'.
23339 test -f "$ac_f" ||
23340 case $ac_f in
23341 [\\/$]*) false;;
23342 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23343 esac ||
23344 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23345 esac
23346 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23347 as_fn_append ac_file_inputs " '$ac_f'"
23348 done
23350 # Let's still pretend it is `configure' which instantiates (i.e., don't
23351 # use $as_me), people would be surprised to read:
23352 # /* config.h. Generated by config.status. */
23353 configure_input='Generated from '`
23354 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23355 `' by configure.'
23356 if test x"$ac_file" != x-; then
23357 configure_input="$ac_file. $configure_input"
23358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23359 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23361 # Neutralize special characters interpreted by sed in replacement strings.
23362 case $configure_input in #(
23363 *\&* | *\|* | *\\* )
23364 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23365 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23366 *) ac_sed_conf_input=$configure_input;;
23367 esac
23369 case $ac_tag in
23370 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23371 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23372 esac
23374 esac
23376 ac_dir=`$as_dirname -- "$ac_file" ||
23377 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23378 X"$ac_file" : 'X\(//\)[^/]' \| \
23379 X"$ac_file" : 'X\(//\)$' \| \
23380 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23381 printf "%s\n" X"$ac_file" |
23382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23383 s//\1/
23386 /^X\(\/\/\)[^/].*/{
23387 s//\1/
23390 /^X\(\/\/\)$/{
23391 s//\1/
23394 /^X\(\/\).*/{
23395 s//\1/
23398 s/.*/./; q'`
23399 as_dir="$ac_dir"; as_fn_mkdir_p
23400 ac_builddir=.
23402 case "$ac_dir" in
23403 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23405 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23406 # A ".." for each directory in $ac_dir_suffix.
23407 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23408 case $ac_top_builddir_sub in
23409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23411 esac ;;
23412 esac
23413 ac_abs_top_builddir=$ac_pwd
23414 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23415 # for backward compatibility:
23416 ac_top_builddir=$ac_top_build_prefix
23418 case $srcdir in
23419 .) # We are building in place.
23420 ac_srcdir=.
23421 ac_top_srcdir=$ac_top_builddir_sub
23422 ac_abs_top_srcdir=$ac_pwd ;;
23423 [\\/]* | ?:[\\/]* ) # Absolute name.
23424 ac_srcdir=$srcdir$ac_dir_suffix;
23425 ac_top_srcdir=$srcdir
23426 ac_abs_top_srcdir=$srcdir ;;
23427 *) # Relative name.
23428 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23429 ac_top_srcdir=$ac_top_build_prefix$srcdir
23430 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23431 esac
23432 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23435 case $ac_mode in
23439 # CONFIG_HEADER
23441 if test x"$ac_file" != x-; then
23443 printf "%s\n" "/* $configure_input */" >&1 \
23444 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23445 } >"$ac_tmp/config.h" \
23446 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23447 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23449 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23450 else
23451 rm -f "$ac_file"
23452 mv "$ac_tmp/config.h" "$ac_file" \
23453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23455 else
23456 printf "%s\n" "/* $configure_input */" >&1 \
23457 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23458 || as_fn_error $? "could not create -" "$LINENO" 5
23463 # CONFIG_LINK
23466 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23468 else
23469 # Prefer the file from the source tree if names are identical.
23470 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23471 ac_source=$srcdir/$ac_source
23474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23475 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23477 if test ! -r "$ac_source"; then
23478 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23480 rm -f "$ac_file"
23482 # Try a relative symlink, then a hard link, then a copy.
23483 case $ac_source in
23484 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23485 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23486 esac
23487 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23488 ln "$ac_source" "$ac_file" 2>/dev/null ||
23489 cp -p "$ac_source" "$ac_file" ||
23490 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23493 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23494 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23496 esac
23499 case $ac_file$ac_mode in
23500 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23501 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23502 "Makefile":C) wine_fn_output_makefile Makefile ;;
23504 esac
23505 done # for ac_tag
23508 as_fn_exit 0
23509 _ACEOF
23510 ac_clean_files=$ac_clean_files_save
23512 test $ac_write_fail = 0 ||
23513 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23516 # configure is writing to config.log, and then calls config.status.
23517 # config.status does its own redirection, appending to config.log.
23518 # Unfortunately, on DOS this fails, as config.log is still kept open
23519 # by configure, so config.status won't be able to write to it; its
23520 # output is simply discarded. So we exec the FD to /dev/null,
23521 # effectively closing config.log, so it can be properly (re)opened and
23522 # appended to by config.status. When coming back to configure, we
23523 # need to make the FD available again.
23524 if test "$no_create" != yes; then
23525 ac_cs_success=:
23526 ac_config_status_args=
23527 test "$silent" = yes &&
23528 ac_config_status_args="$ac_config_status_args --quiet"
23529 exec 5>/dev/null
23530 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23531 exec 5>>config.log
23532 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23533 # would make configure fail if this is the last instruction.
23534 $ac_cs_success || as_fn_exit 1
23536 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23538 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23542 if test "$no_create" = "yes"
23543 then
23544 exit 0
23547 ac_save_IFS="$IFS"
23548 if test "x$wine_notices" != x; then
23549 echo >&6
23550 IFS="|"
23551 for msg in $wine_notices; do
23552 IFS="$ac_save_IFS"
23553 if ${msg:+false} :
23554 then :
23556 else $as_nop
23557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23558 printf "%s\n" "$as_me: $msg" >&6;}
23560 done
23562 IFS="|"
23563 for msg in $wine_warnings; do
23564 IFS="$ac_save_IFS"
23565 if ${msg:+false} :
23566 then :
23568 else $as_nop
23569 echo >&2
23570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23571 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23573 done
23574 IFS="$ac_save_IFS"
23576 printf "%s\n" "
23577 $as_me: Finished. Do '${ac_make}' to compile Wine.
23578 " >&6