uxtheme: Use atomic functions for reference counting.
[wine.git] / configure
blob76ac7311e6dd63288109447c04c442663b5b19a0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.20.
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='7.20'
615 PACKAGE_STRING='Wine 7.20'
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 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 DELAYLOADFLAG
659 MSVCRTFLAGS
660 NETAPI_LIBS
661 NETAPI_CFLAGS
662 PROCSTAT_LIBS
663 GSSAPI_LIBS
664 GSSAPI_CFLAGS
665 KRB5_LIBS
666 KRB5_CFLAGS
667 FONTCONFIG_LIBS
668 FONTCONFIG_CFLAGS
669 CUPS_LIBS
670 CUPS_CFLAGS
671 CAPI20_LIBS
672 CAPI20_CFLAGS
673 SDL2_LIBS
674 SDL2_CFLAGS
675 UNWIND_LIBS
676 UNWIND_CFLAGS
677 UDEV_LIBS
678 UDEV_CFLAGS
679 OSS4_LIBS
680 OSS4_CFLAGS
681 ALSA_LIBS
682 GSTREAMER_LIBS
683 GSTREAMER_CFLAGS
684 PULSE_LIBS
685 PULSE_CFLAGS
686 GETTEXTPO_LIBS
687 FREETYPE_LIBS
688 FREETYPE_CFLAGS
689 RESOLV_LIBS
690 GPHOTO2_PORT_LIBS
691 GPHOTO2_PORT_CFLAGS
692 GPHOTO2_LIBS
693 GPHOTO2_CFLAGS
694 USB_LIBS
695 USB_CFLAGS
696 SANE_LIBS
697 SANE_CFLAGS
698 GNUTLS_LIBS
699 GNUTLS_CFLAGS
700 DBUS_LIBS
701 DBUS_CFLAGS
702 INOTIFY_LIBS
703 INOTIFY_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZLIB_PE_LIBS
713 ZLIB_PE_CFLAGS
714 XSLT_PE_LIBS
715 XSLT_PE_CFLAGS
716 XML2_PE_LIBS
717 XML2_PE_CFLAGS
718 VKD3D_PE_LIBS
719 VKD3D_PE_CFLAGS
720 TIFF_PE_LIBS
721 TIFF_PE_CFLAGS
722 PNG_PE_LIBS
723 PNG_PE_CFLAGS
724 MPG123_PE_LIBS
725 MPG123_PE_CFLAGS
726 LCMS2_PE_LIBS
727 LCMS2_PE_CFLAGS
728 JXR_PE_LIBS
729 JXR_PE_CFLAGS
730 JPEG_PE_LIBS
731 JPEG_PE_CFLAGS
732 GSM_PE_LIBS
733 GSM_PE_CFLAGS
734 FAUDIO_PE_LIBS
735 FAUDIO_PE_CFLAGS
736 MINGW_PKG_CONFIG
737 PE_ARCHS
738 LIBWINE_DEPENDS
739 PRELINK
740 WINELOADER_DEPENDS
741 LIBWINE_LDFLAGS
742 LIBWINE_SHAREDLIB
743 METAL_LIBS
744 CARBON_LIBS
745 OPENCL_LIBS
746 OPENAL_LIBS
747 COREAUDIO_LIBS
748 SECURITY_LIBS
749 DISKARBITRATION_LIBS
750 SYSTEMCONFIGURATION_LIBS
751 APPKIT_LIBS
752 CORESERVICES_LIBS
753 APPLICATIONSERVICES_LIBS
754 IOKIT_LIBS
755 COREFOUNDATION_LIBS
756 ac_ct_OBJC
757 OBJCFLAGS
758 OBJC
759 WINELOADER_PROGRAMS
760 CONFIGURE_TARGETS
761 DISABLED_SUBDIRS
762 SUBDIRS
763 READELF
764 OTOOL
766 WINEPRELOADER_LDFLAGS
767 WINELOADER_LDFLAGS
768 TOP_INSTALL_DEV
769 TOP_INSTALL_LIB
770 UNIXLDFLAGS
771 UNIXDLLFLAGS
772 EXTRACFLAGS
773 LDEXECFLAGS
774 LDDLLFLAGS
775 DLLFLAGS
776 OPENGL_LIBS
777 I386_LIBS
778 ICOTOOL
779 CONVERT
780 RSVG
781 FONTFORGE
782 PKG_CONFIG
783 MSGFMT
784 LDCONFIG
785 EGREP
786 GREP
787 LN_S
788 RANLIB
789 STRIP
790 ac_ct_AR
792 BISON
793 FLEX
794 SED_CMD
795 RUNTESTFLAGS
796 MAKEDEP
797 toolsdir
798 x86_64_DISABLED_SUBDIRS
799 x86_64_DELAYLOADFLAG
800 x86_64_TARGET
801 x86_64_DEBUG
802 x86_64_LDFLAGS
803 x86_64_EXTRACFLAGS
804 x86_64_CFLAGS
805 x86_64_CC
806 i386_DISABLED_SUBDIRS
807 i386_DELAYLOADFLAG
808 i386_TARGET
809 i386_DEBUG
810 i386_LDFLAGS
811 i386_EXTRACFLAGS
812 i386_CFLAGS
813 i386_CC
814 arm_DISABLED_SUBDIRS
815 arm_DELAYLOADFLAG
816 arm_TARGET
817 arm_DEBUG
818 arm_LDFLAGS
819 arm_EXTRACFLAGS
820 arm_CFLAGS
821 arm_CC
822 aarch64_DISABLED_SUBDIRS
823 aarch64_DELAYLOADFLAG
824 aarch64_TARGET
825 aarch64_DEBUG
826 aarch64_LDFLAGS
827 aarch64_EXTRACFLAGS
828 aarch64_CFLAGS
829 aarch64_CC
830 HOST_ARCH
831 toolsext
832 TARGETFLAGS
834 CPPBIN
835 ac_ct_CXX
836 CXXFLAGS
838 OBJEXT
839 EXEEXT
840 ac_ct_CC
841 CPPFLAGS
842 LDFLAGS
843 CFLAGS
845 SET_MAKE
846 srcdir
847 nlsdir
848 fontdir
849 dlldir
850 host_os
851 host_vendor
852 host_cpu
853 host
854 build_os
855 build_vendor
856 build_cpu
857 build
858 system_dllpath
859 target_alias
860 host_alias
861 build_alias
862 LIBS
863 ECHO_T
864 ECHO_N
865 ECHO_C
866 DEFS
867 mandir
868 localedir
869 libdir
870 psdir
871 pdfdir
872 dvidir
873 htmldir
874 infodir
875 docdir
876 oldincludedir
877 includedir
878 runstatedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_archs
902 enable_win16
903 enable_win64
904 enable_tests
905 enable_build_id
906 enable_maintainer_mode
907 enable_silent_rules
908 enable_werror
909 with_alsa
910 with_capi
911 with_coreaudio
912 with_cups
913 with_dbus
914 with_float_abi
915 with_fontconfig
916 with_freetype
917 with_gettext
918 with_gettextpo
919 with_gphoto
920 with_gnutls
921 with_gssapi
922 with_gstreamer
923 with_inotify
924 with_krb5
925 with_ldap
926 with_mingw
927 with_netapi
928 with_openal
929 with_opencl
930 with_opengl
931 with_osmesa
932 with_oss
933 with_pcap
934 with_pthread
935 with_pulse
936 with_sane
937 with_sdl
938 with_udev
939 with_unwind
940 with_usb
941 with_v4l2
942 with_vulkan
943 with_xcomposite
944 with_xcursor
945 with_xfixes
946 with_xinerama
947 with_xinput
948 with_xinput2
949 with_xrandr
950 with_xrender
951 with_xshape
952 with_xshm
953 with_xxf86vm
954 with_system_dllpath
955 with_wine_tools
956 with_wine64
957 enable_largefile
958 with_x
959 enable_acledit
960 enable_aclui
961 enable_activeds_tlb
962 enable_activeds
963 enable_actxprxy
964 enable_adsldp
965 enable_adsldpc
966 enable_advapi32
967 enable_advpack
968 enable_amsi
969 enable_amstream
970 enable_apisetschema
971 enable_apphelp
972 enable_appwiz_cpl
973 enable_atl
974 enable_atl100
975 enable_atl110
976 enable_atl80
977 enable_atl90
978 enable_atlthunk
979 enable_atmlib
980 enable_authz
981 enable_avicap32
982 enable_avifil32
983 enable_avrt
984 enable_bcrypt
985 enable_bluetoothapis
986 enable_browseui
987 enable_bthprops_cpl
988 enable_cabinet
989 enable_capi2032
990 enable_cards
991 enable_cdosys
992 enable_cfgmgr32
993 enable_clusapi
994 enable_cng_sys
995 enable_combase
996 enable_comcat
997 enable_comctl32
998 enable_comdlg32
999 enable_compstui
1000 enable_comsvcs
1001 enable_concrt140
1002 enable_connect
1003 enable_credui
1004 enable_crtdll
1005 enable_crypt32
1006 enable_cryptdlg
1007 enable_cryptdll
1008 enable_cryptext
1009 enable_cryptnet
1010 enable_cryptowinrt
1011 enable_cryptsp
1012 enable_cryptui
1013 enable_ctapi32
1014 enable_ctl3d32
1015 enable_d2d1
1016 enable_d3d10
1017 enable_d3d10_1
1018 enable_d3d10core
1019 enable_d3d11
1020 enable_d3d12
1021 enable_d3d8
1022 enable_d3d8thk
1023 enable_d3d9
1024 enable_d3dcompiler_33
1025 enable_d3dcompiler_34
1026 enable_d3dcompiler_35
1027 enable_d3dcompiler_36
1028 enable_d3dcompiler_37
1029 enable_d3dcompiler_38
1030 enable_d3dcompiler_39
1031 enable_d3dcompiler_40
1032 enable_d3dcompiler_41
1033 enable_d3dcompiler_42
1034 enable_d3dcompiler_43
1035 enable_d3dcompiler_46
1036 enable_d3dcompiler_47
1037 enable_d3dim
1038 enable_d3dim700
1039 enable_d3drm
1040 enable_d3dx10_33
1041 enable_d3dx10_34
1042 enable_d3dx10_35
1043 enable_d3dx10_36
1044 enable_d3dx10_37
1045 enable_d3dx10_38
1046 enable_d3dx10_39
1047 enable_d3dx10_40
1048 enable_d3dx10_41
1049 enable_d3dx10_42
1050 enable_d3dx10_43
1051 enable_d3dx11_42
1052 enable_d3dx11_43
1053 enable_d3dx9_24
1054 enable_d3dx9_25
1055 enable_d3dx9_26
1056 enable_d3dx9_27
1057 enable_d3dx9_28
1058 enable_d3dx9_29
1059 enable_d3dx9_30
1060 enable_d3dx9_31
1061 enable_d3dx9_32
1062 enable_d3dx9_33
1063 enable_d3dx9_34
1064 enable_d3dx9_35
1065 enable_d3dx9_36
1066 enable_d3dx9_37
1067 enable_d3dx9_38
1068 enable_d3dx9_39
1069 enable_d3dx9_40
1070 enable_d3dx9_41
1071 enable_d3dx9_42
1072 enable_d3dx9_43
1073 enable_d3dxof
1074 enable_davclnt
1075 enable_dbgeng
1076 enable_dbghelp
1077 enable_dciman32
1078 enable_dcomp
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_dhcpcsvc6
1084 enable_dhtmled_ocx
1085 enable_diasymreader
1086 enable_difxapi
1087 enable_dinput
1088 enable_dinput8
1089 enable_directmanipulation
1090 enable_dispex
1091 enable_dmband
1092 enable_dmcompos
1093 enable_dmime
1094 enable_dmloader
1095 enable_dmscript
1096 enable_dmstyle
1097 enable_dmsynth
1098 enable_dmusic
1099 enable_dmusic32
1100 enable_dnsapi
1101 enable_dplay
1102 enable_dplayx
1103 enable_dpnaddr
1104 enable_dpnet
1105 enable_dpnhpast
1106 enable_dpnhupnp
1107 enable_dpnlobby
1108 enable_dpvoice
1109 enable_dpwsockx
1110 enable_drmclien
1111 enable_dsdmo
1112 enable_dsound
1113 enable_dsquery
1114 enable_dssenh
1115 enable_dsuiext
1116 enable_dswave
1117 enable_dwmapi
1118 enable_dwrite
1119 enable_dx8vb
1120 enable_dxdiagn
1121 enable_dxgi
1122 enable_dxtrans
1123 enable_dxva2
1124 enable_esent
1125 enable_evr
1126 enable_explorerframe
1127 enable_faultrep
1128 enable_feclient
1129 enable_fltlib
1130 enable_fltmgr_sys
1131 enable_fntcache
1132 enable_fontsub
1133 enable_fusion
1134 enable_fwpuclnt
1135 enable_gameux
1136 enable_gamingtcui
1137 enable_gdi32
1138 enable_gdiplus
1139 enable_glu32
1140 enable_gphoto2_ds
1141 enable_gpkcsp
1142 enable_hal
1143 enable_hhctrl_ocx
1144 enable_hid
1145 enable_hidclass_sys
1146 enable_hidparse_sys
1147 enable_hlink
1148 enable_hnetcfg
1149 enable_http_sys
1150 enable_httpapi
1151 enable_ia2comproxy
1152 enable_iccvid
1153 enable_icmp
1154 enable_ieframe
1155 enable_ieproxy
1156 enable_imaadp32_acm
1157 enable_imagehlp
1158 enable_imm32
1159 enable_inetcomm
1160 enable_inetcpl_cpl
1161 enable_inetmib1
1162 enable_infosoft
1163 enable_initpki
1164 enable_inkobj
1165 enable_inseng
1166 enable_iphlpapi
1167 enable_iprop
1168 enable_irprops_cpl
1169 enable_itircl
1170 enable_itss
1171 enable_joy_cpl
1172 enable_jscript
1173 enable_jsproxy
1174 enable_kerberos
1175 enable_kernel32
1176 enable_kernelbase
1177 enable_ksecdd_sys
1178 enable_ksproxy_ax
1179 enable_ksuser
1180 enable_ktmw32
1181 enable_l3codeca_acm
1182 enable_light_msstyles
1183 enable_loadperf
1184 enable_localspl
1185 enable_localui
1186 enable_lz32
1187 enable_mapi32
1188 enable_mapistub
1189 enable_mciavi32
1190 enable_mcicda
1191 enable_mciqtz32
1192 enable_mciseq
1193 enable_mciwave
1194 enable_mf
1195 enable_mf3216
1196 enable_mferror
1197 enable_mfmediaengine
1198 enable_mfplat
1199 enable_mfplay
1200 enable_mfreadwrite
1201 enable_mfsrcsnk
1202 enable_mgmtapi
1203 enable_midimap
1204 enable_mlang
1205 enable_mmcndmgr
1206 enable_mmdevapi
1207 enable_mountmgr_sys
1208 enable_mp3dmod
1209 enable_mpr
1210 enable_mprapi
1211 enable_msacm32_drv
1212 enable_msacm32
1213 enable_msado15
1214 enable_msadp32_acm
1215 enable_msasn1
1216 enable_mscat32
1217 enable_mscms
1218 enable_mscoree
1219 enable_mscorwks
1220 enable_msctf
1221 enable_msctfmonitor
1222 enable_msctfp
1223 enable_msdaps
1224 enable_msdasql
1225 enable_msdelta
1226 enable_msdmo
1227 enable_msdrm
1228 enable_msftedit
1229 enable_msg711_acm
1230 enable_msgsm32_acm
1231 enable_mshtml_tlb
1232 enable_mshtml
1233 enable_msi
1234 enable_msident
1235 enable_msimg32
1236 enable_msimsg
1237 enable_msimtf
1238 enable_msisip
1239 enable_msisys_ocx
1240 enable_msls31
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_openal32
1323 enable_opencl
1324 enable_opengl32
1325 enable_packager
1326 enable_pdh
1327 enable_photometadatahandler
1328 enable_pidgen
1329 enable_powrprof
1330 enable_printui
1331 enable_prntvpt
1332 enable_propsys
1333 enable_psapi
1334 enable_pstorec
1335 enable_pwrshplugin
1336 enable_qasf
1337 enable_qcap
1338 enable_qdvd
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_qwave
1345 enable_rasapi32
1346 enable_rasdlg
1347 enable_regapi
1348 enable_resutils
1349 enable_riched20
1350 enable_riched32
1351 enable_rpcrt4
1352 enable_rsabase
1353 enable_rsaenh
1354 enable_rstrtmgr
1355 enable_rtutils
1356 enable_rtworkq
1357 enable_samlib
1358 enable_sane_ds
1359 enable_sapi
1360 enable_sas
1361 enable_scarddlg
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_networking
1454 enable_windowscodecs
1455 enable_windowscodecsext
1456 enable_winealsa_drv
1457 enable_wineandroid_drv
1458 enable_winebus_sys
1459 enable_winecoreaudio_drv
1460 enable_winecrt0
1461 enable_wined3d
1462 enable_winegstreamer
1463 enable_winehid_sys
1464 enable_winemac_drv
1465 enable_winemapi
1466 enable_wineoss_drv
1467 enable_wineps_drv
1468 enable_winepulse_drv
1469 enable_wineusb_sys
1470 enable_winevulkan
1471 enable_winex11_drv
1472 enable_winexinput_sys
1473 enable_wing32
1474 enable_winhttp
1475 enable_wininet
1476 enable_winmm
1477 enable_winnls32
1478 enable_winscard
1479 enable_winspool_drv
1480 enable_winsta
1481 enable_wintab32
1482 enable_wintrust
1483 enable_wintypes
1484 enable_winusb
1485 enable_wlanapi
1486 enable_wlanui
1487 enable_wldap32
1488 enable_wmasf
1489 enable_wmi
1490 enable_wmiutils
1491 enable_wmp
1492 enable_wmphoto
1493 enable_wmvcore
1494 enable_wnaspi32
1495 enable_wow64
1496 enable_wow64cpu
1497 enable_wow64win
1498 enable_wpc
1499 enable_wpcap
1500 enable_ws2_32
1501 enable_wsdapi
1502 enable_wshom_ocx
1503 enable_wsnmp32
1504 enable_wsock32
1505 enable_wtsapi32
1506 enable_wuapi
1507 enable_wuaueng
1508 enable_x3daudio1_0
1509 enable_x3daudio1_1
1510 enable_x3daudio1_2
1511 enable_x3daudio1_3
1512 enable_x3daudio1_4
1513 enable_x3daudio1_5
1514 enable_x3daudio1_6
1515 enable_x3daudio1_7
1516 enable_xactengine2_0
1517 enable_xactengine2_4
1518 enable_xactengine2_7
1519 enable_xactengine2_9
1520 enable_xactengine3_0
1521 enable_xactengine3_1
1522 enable_xactengine3_2
1523 enable_xactengine3_3
1524 enable_xactengine3_4
1525 enable_xactengine3_5
1526 enable_xactengine3_6
1527 enable_xactengine3_7
1528 enable_xapofx1_1
1529 enable_xapofx1_2
1530 enable_xapofx1_3
1531 enable_xapofx1_4
1532 enable_xapofx1_5
1533 enable_xaudio2_0
1534 enable_xaudio2_1
1535 enable_xaudio2_2
1536 enable_xaudio2_3
1537 enable_xaudio2_4
1538 enable_xaudio2_5
1539 enable_xaudio2_6
1540 enable_xaudio2_7
1541 enable_xaudio2_8
1542 enable_xaudio2_9
1543 enable_xinput1_1
1544 enable_xinput1_2
1545 enable_xinput1_3
1546 enable_xinput1_4
1547 enable_xinput9_1_0
1548 enable_xmllite
1549 enable_xolehlp
1550 enable_xpsprint
1551 enable_xpssvcs
1552 enable_fonts
1553 enable_include
1554 enable_adsiid
1555 enable_dmoguids
1556 enable_dxerr8
1557 enable_dxerr9
1558 enable_dxguid
1559 enable_faudio
1560 enable_gsm
1561 enable_jpeg
1562 enable_jxr
1563 enable_lcms2
1564 enable_mfuuid
1565 enable_mpg123
1566 enable_png
1567 enable_strmbase
1568 enable_strmiids
1569 enable_tiff
1570 enable_uuid
1571 enable_vkd3d
1572 enable_wbemuuid
1573 enable_wine
1574 enable_wmcodecdspuuid
1575 enable_xml2
1576 enable_xslt
1577 enable_zlib
1578 enable_loader
1579 enable_nls
1580 enable_po
1581 enable_arp
1582 enable_aspnet_regiis
1583 enable_attrib
1584 enable_cabarc
1585 enable_cacls
1586 enable_certutil
1587 enable_chcp_com
1588 enable_clock
1589 enable_cmd
1590 enable_conhost
1591 enable_control
1592 enable_cscript
1593 enable_dism
1594 enable_dllhost
1595 enable_dplaysvr
1596 enable_dpnsvr
1597 enable_dpvsetup
1598 enable_dxdiag
1599 enable_eject
1600 enable_expand
1601 enable_explorer
1602 enable_extrac32
1603 enable_fc
1604 enable_find
1605 enable_findstr
1606 enable_fsutil
1607 enable_hh
1608 enable_hostname
1609 enable_icacls
1610 enable_icinfo
1611 enable_iexplore
1612 enable_ipconfig
1613 enable_lodctr
1614 enable_mofcomp
1615 enable_mshta
1616 enable_msidb
1617 enable_msiexec
1618 enable_msinfo32
1619 enable_net
1620 enable_netsh
1621 enable_netstat
1622 enable_ngen
1623 enable_notepad
1624 enable_oleview
1625 enable_ping
1626 enable_plugplay
1627 enable_powershell
1628 enable_presentationfontcache
1629 enable_progman
1630 enable_reg
1631 enable_regasm
1632 enable_regedit
1633 enable_regini
1634 enable_regsvcs
1635 enable_regsvr32
1636 enable_robocopy
1637 enable_rpcss
1638 enable_rundll32
1639 enable_sc
1640 enable_schtasks
1641 enable_sdbinst
1642 enable_secedit
1643 enable_servicemodelreg
1644 enable_services
1645 enable_setx
1646 enable_shutdown
1647 enable_spoolsv
1648 enable_start
1649 enable_subst
1650 enable_svchost
1651 enable_systeminfo
1652 enable_taskkill
1653 enable_tasklist
1654 enable_taskmgr
1655 enable_termsv
1656 enable_uninstaller
1657 enable_unlodctr
1658 enable_view
1659 enable_wevtutil
1660 enable_where
1661 enable_whoami
1662 enable_wineboot
1663 enable_winebrowser
1664 enable_winecfg
1665 enable_wineconsole
1666 enable_winedbg
1667 enable_winedevice
1668 enable_winefile
1669 enable_winemenubuilder
1670 enable_winemine
1671 enable_winemsibuilder
1672 enable_winepath
1673 enable_winetest
1674 enable_winhlp32
1675 enable_winmgmt
1676 enable_winver
1677 enable_wmic
1678 enable_wmplayer
1679 enable_wordpad
1680 enable_write
1681 enable_wscript
1682 enable_wuauserv
1683 enable_wusa
1684 enable_xcopy
1685 enable_server
1686 enable_tools
1687 enable_sfnt2fon
1688 enable_widl
1689 enable_winebuild
1690 enable_winedump
1691 enable_winegcc
1692 enable_winemaker
1693 enable_wmc
1694 enable_wrc
1696 ac_precious_vars='build_alias
1697 host_alias
1698 target_alias
1700 CFLAGS
1701 LDFLAGS
1702 LIBS
1703 CPPFLAGS
1705 CXXFLAGS
1707 OBJC
1708 OBJCFLAGS
1709 FAUDIO_PE_CFLAGS
1710 FAUDIO_PE_LIBS
1711 GSM_PE_CFLAGS
1712 GSM_PE_LIBS
1713 JPEG_PE_CFLAGS
1714 JPEG_PE_LIBS
1715 JXR_PE_CFLAGS
1716 JXR_PE_LIBS
1717 LCMS2_PE_CFLAGS
1718 LCMS2_PE_LIBS
1719 MPG123_PE_CFLAGS
1720 MPG123_PE_LIBS
1721 PNG_PE_CFLAGS
1722 PNG_PE_LIBS
1723 TIFF_PE_CFLAGS
1724 TIFF_PE_LIBS
1725 VKD3D_PE_CFLAGS
1726 VKD3D_PE_LIBS
1727 XML2_PE_CFLAGS
1728 XML2_PE_LIBS
1729 XSLT_PE_CFLAGS
1730 XSLT_PE_LIBS
1731 ZLIB_PE_CFLAGS
1732 ZLIB_PE_LIBS
1733 XMKMF
1735 INOTIFY_CFLAGS
1736 INOTIFY_LIBS
1737 DBUS_CFLAGS
1738 DBUS_LIBS
1739 GNUTLS_CFLAGS
1740 GNUTLS_LIBS
1741 SANE_CFLAGS
1742 SANE_LIBS
1743 USB_CFLAGS
1744 USB_LIBS
1745 GPHOTO2_CFLAGS
1746 GPHOTO2_LIBS
1747 GPHOTO2_PORT_CFLAGS
1748 GPHOTO2_PORT_LIBS
1749 FREETYPE_CFLAGS
1750 FREETYPE_LIBS
1751 PULSE_CFLAGS
1752 PULSE_LIBS
1753 GSTREAMER_CFLAGS
1754 GSTREAMER_LIBS
1755 UDEV_CFLAGS
1756 UDEV_LIBS
1757 UNWIND_CFLAGS
1758 UNWIND_LIBS
1759 SDL2_CFLAGS
1760 SDL2_LIBS
1761 CAPI20_CFLAGS
1762 CAPI20_LIBS
1763 CUPS_CFLAGS
1764 CUPS_LIBS
1765 FONTCONFIG_CFLAGS
1766 FONTCONFIG_LIBS
1767 KRB5_CFLAGS
1768 KRB5_LIBS
1769 GSSAPI_CFLAGS
1770 GSSAPI_LIBS
1771 NETAPI_CFLAGS
1772 NETAPI_LIBS
1773 LDAP_CFLAGS
1774 LDAP_LIBS'
1777 # Initialize some variables set by options.
1778 ac_init_help=
1779 ac_init_version=false
1780 ac_unrecognized_opts=
1781 ac_unrecognized_sep=
1782 # The variables have the same names as the options, with
1783 # dashes changed to underlines.
1784 cache_file=/dev/null
1785 exec_prefix=NONE
1786 no_create=
1787 no_recursion=
1788 prefix=NONE
1789 program_prefix=NONE
1790 program_suffix=NONE
1791 program_transform_name=s,x,x,
1792 silent=
1793 site=
1794 srcdir=
1795 verbose=
1796 x_includes=NONE
1797 x_libraries=NONE
1799 # Installation directory options.
1800 # These are left unexpanded so users can "make install exec_prefix=/foo"
1801 # and all the variables that are supposed to be based on exec_prefix
1802 # by default will actually change.
1803 # Use braces instead of parens because sh, perl, etc. also accept them.
1804 # (The list follows the same order as the GNU Coding Standards.)
1805 bindir='${exec_prefix}/bin'
1806 sbindir='${exec_prefix}/sbin'
1807 libexecdir='${exec_prefix}/libexec'
1808 datarootdir='${prefix}/share'
1809 datadir='${datarootdir}'
1810 sysconfdir='${prefix}/etc'
1811 sharedstatedir='${prefix}/com'
1812 localstatedir='${prefix}/var'
1813 runstatedir='${localstatedir}/run'
1814 includedir='${prefix}/include'
1815 oldincludedir='/usr/include'
1816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1817 infodir='${datarootdir}/info'
1818 htmldir='${docdir}'
1819 dvidir='${docdir}'
1820 pdfdir='${docdir}'
1821 psdir='${docdir}'
1822 libdir='${exec_prefix}/lib'
1823 localedir='${datarootdir}/locale'
1824 mandir='${datarootdir}/man'
1826 ac_prev=
1827 ac_dashdash=
1828 for ac_option
1830 # If the previous option needs an argument, assign it.
1831 if test -n "$ac_prev"; then
1832 eval $ac_prev=\$ac_option
1833 ac_prev=
1834 continue
1837 case $ac_option in
1838 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1839 *=) ac_optarg= ;;
1840 *) ac_optarg=yes ;;
1841 esac
1843 case $ac_dashdash$ac_option in
1845 ac_dashdash=yes ;;
1847 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1848 ac_prev=bindir ;;
1849 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1850 bindir=$ac_optarg ;;
1852 -build | --build | --buil | --bui | --bu)
1853 ac_prev=build_alias ;;
1854 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1855 build_alias=$ac_optarg ;;
1857 -cache-file | --cache-file | --cache-fil | --cache-fi \
1858 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1859 ac_prev=cache_file ;;
1860 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1861 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1862 cache_file=$ac_optarg ;;
1864 --config-cache | -C)
1865 cache_file=config.cache ;;
1867 -datadir | --datadir | --datadi | --datad)
1868 ac_prev=datadir ;;
1869 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1870 datadir=$ac_optarg ;;
1872 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1873 | --dataroo | --dataro | --datar)
1874 ac_prev=datarootdir ;;
1875 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1876 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1877 datarootdir=$ac_optarg ;;
1879 -disable-* | --disable-*)
1880 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1881 # Reject names that are not valid shell variable names.
1882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1883 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1884 ac_useropt_orig=$ac_useropt
1885 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1886 case $ac_user_opts in
1888 "enable_$ac_useropt"
1889 "*) ;;
1890 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1891 ac_unrecognized_sep=', ';;
1892 esac
1893 eval enable_$ac_useropt=no ;;
1895 -docdir | --docdir | --docdi | --doc | --do)
1896 ac_prev=docdir ;;
1897 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1898 docdir=$ac_optarg ;;
1900 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1901 ac_prev=dvidir ;;
1902 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1903 dvidir=$ac_optarg ;;
1905 -enable-* | --enable-*)
1906 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1907 # Reject names that are not valid shell variable names.
1908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1909 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1910 ac_useropt_orig=$ac_useropt
1911 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1912 case $ac_user_opts in
1914 "enable_$ac_useropt"
1915 "*) ;;
1916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1917 ac_unrecognized_sep=', ';;
1918 esac
1919 eval enable_$ac_useropt=\$ac_optarg ;;
1921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1923 | --exec | --exe | --ex)
1924 ac_prev=exec_prefix ;;
1925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1927 | --exec=* | --exe=* | --ex=*)
1928 exec_prefix=$ac_optarg ;;
1930 -gas | --gas | --ga | --g)
1931 # Obsolete; use --with-gas.
1932 with_gas=yes ;;
1934 -help | --help | --hel | --he | -h)
1935 ac_init_help=long ;;
1936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1937 ac_init_help=recursive ;;
1938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1939 ac_init_help=short ;;
1941 -host | --host | --hos | --ho)
1942 ac_prev=host_alias ;;
1943 -host=* | --host=* | --hos=* | --ho=*)
1944 host_alias=$ac_optarg ;;
1946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1947 ac_prev=htmldir ;;
1948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1949 | --ht=*)
1950 htmldir=$ac_optarg ;;
1952 -includedir | --includedir | --includedi | --included | --include \
1953 | --includ | --inclu | --incl | --inc)
1954 ac_prev=includedir ;;
1955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1956 | --includ=* | --inclu=* | --incl=* | --inc=*)
1957 includedir=$ac_optarg ;;
1959 -infodir | --infodir | --infodi | --infod | --info | --inf)
1960 ac_prev=infodir ;;
1961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1962 infodir=$ac_optarg ;;
1964 -libdir | --libdir | --libdi | --libd)
1965 ac_prev=libdir ;;
1966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1967 libdir=$ac_optarg ;;
1969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1970 | --libexe | --libex | --libe)
1971 ac_prev=libexecdir ;;
1972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1973 | --libexe=* | --libex=* | --libe=*)
1974 libexecdir=$ac_optarg ;;
1976 -localedir | --localedir | --localedi | --localed | --locale)
1977 ac_prev=localedir ;;
1978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1979 localedir=$ac_optarg ;;
1981 -localstatedir | --localstatedir | --localstatedi | --localstated \
1982 | --localstate | --localstat | --localsta | --localst | --locals)
1983 ac_prev=localstatedir ;;
1984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1986 localstatedir=$ac_optarg ;;
1988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1989 ac_prev=mandir ;;
1990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1991 mandir=$ac_optarg ;;
1993 -nfp | --nfp | --nf)
1994 # Obsolete; use --without-fp.
1995 with_fp=no ;;
1997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1998 | --no-cr | --no-c | -n)
1999 no_create=yes ;;
2001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2003 no_recursion=yes ;;
2005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2007 | --oldin | --oldi | --old | --ol | --o)
2008 ac_prev=oldincludedir ;;
2009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2012 oldincludedir=$ac_optarg ;;
2014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2015 ac_prev=prefix ;;
2016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2017 prefix=$ac_optarg ;;
2019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2020 | --program-pre | --program-pr | --program-p)
2021 ac_prev=program_prefix ;;
2022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2024 program_prefix=$ac_optarg ;;
2026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2027 | --program-suf | --program-su | --program-s)
2028 ac_prev=program_suffix ;;
2029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2031 program_suffix=$ac_optarg ;;
2033 -program-transform-name | --program-transform-name \
2034 | --program-transform-nam | --program-transform-na \
2035 | --program-transform-n | --program-transform- \
2036 | --program-transform | --program-transfor \
2037 | --program-transfo | --program-transf \
2038 | --program-trans | --program-tran \
2039 | --progr-tra | --program-tr | --program-t)
2040 ac_prev=program_transform_name ;;
2041 -program-transform-name=* | --program-transform-name=* \
2042 | --program-transform-nam=* | --program-transform-na=* \
2043 | --program-transform-n=* | --program-transform-=* \
2044 | --program-transform=* | --program-transfor=* \
2045 | --program-transfo=* | --program-transf=* \
2046 | --program-trans=* | --program-tran=* \
2047 | --progr-tra=* | --program-tr=* | --program-t=*)
2048 program_transform_name=$ac_optarg ;;
2050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2051 ac_prev=pdfdir ;;
2052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2053 pdfdir=$ac_optarg ;;
2055 -psdir | --psdir | --psdi | --psd | --ps)
2056 ac_prev=psdir ;;
2057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2058 psdir=$ac_optarg ;;
2060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2061 | -silent | --silent | --silen | --sile | --sil)
2062 silent=yes ;;
2064 -runstatedir | --runstatedir | --runstatedi | --runstated \
2065 | --runstate | --runstat | --runsta | --runst | --runs \
2066 | --run | --ru | --r)
2067 ac_prev=runstatedir ;;
2068 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2069 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2070 | --run=* | --ru=* | --r=*)
2071 runstatedir=$ac_optarg ;;
2073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2074 ac_prev=sbindir ;;
2075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2076 | --sbi=* | --sb=*)
2077 sbindir=$ac_optarg ;;
2079 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2081 | --sharedst | --shareds | --shared | --share | --shar \
2082 | --sha | --sh)
2083 ac_prev=sharedstatedir ;;
2084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2087 | --sha=* | --sh=*)
2088 sharedstatedir=$ac_optarg ;;
2090 -site | --site | --sit)
2091 ac_prev=site ;;
2092 -site=* | --site=* | --sit=*)
2093 site=$ac_optarg ;;
2095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2096 ac_prev=srcdir ;;
2097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2098 srcdir=$ac_optarg ;;
2100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2101 | --syscon | --sysco | --sysc | --sys | --sy)
2102 ac_prev=sysconfdir ;;
2103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2105 sysconfdir=$ac_optarg ;;
2107 -target | --target | --targe | --targ | --tar | --ta | --t)
2108 ac_prev=target_alias ;;
2109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2110 target_alias=$ac_optarg ;;
2112 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2113 verbose=yes ;;
2115 -version | --version | --versio | --versi | --vers | -V)
2116 ac_init_version=: ;;
2118 -with-* | --with-*)
2119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2120 # Reject names that are not valid shell variable names.
2121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2122 as_fn_error $? "invalid package name: \`$ac_useropt'"
2123 ac_useropt_orig=$ac_useropt
2124 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2125 case $ac_user_opts in
2127 "with_$ac_useropt"
2128 "*) ;;
2129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2130 ac_unrecognized_sep=', ';;
2131 esac
2132 eval with_$ac_useropt=\$ac_optarg ;;
2134 -without-* | --without-*)
2135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2136 # Reject names that are not valid shell variable names.
2137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2138 as_fn_error $? "invalid package name: \`$ac_useropt'"
2139 ac_useropt_orig=$ac_useropt
2140 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2141 case $ac_user_opts in
2143 "with_$ac_useropt"
2144 "*) ;;
2145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2146 ac_unrecognized_sep=', ';;
2147 esac
2148 eval with_$ac_useropt=no ;;
2150 --x)
2151 # Obsolete; use --with-x.
2152 with_x=yes ;;
2154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2155 | --x-incl | --x-inc | --x-in | --x-i)
2156 ac_prev=x_includes ;;
2157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2159 x_includes=$ac_optarg ;;
2161 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2163 ac_prev=x_libraries ;;
2164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2166 x_libraries=$ac_optarg ;;
2168 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2169 Try \`$0 --help' for more information"
2172 *=*)
2173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2174 # Reject names that are not valid shell variable names.
2175 case $ac_envvar in #(
2176 '' | [0-9]* | *[!_$as_cr_alnum]* )
2177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2178 esac
2179 eval $ac_envvar=\$ac_optarg
2180 export $ac_envvar ;;
2183 # FIXME: should be removed in autoconf 3.0.
2184 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2186 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2190 esac
2191 done
2193 if test -n "$ac_prev"; then
2194 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2195 as_fn_error $? "missing argument to $ac_option"
2198 if test -n "$ac_unrecognized_opts"; then
2199 case $enable_option_checking in
2200 no) ;;
2201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2202 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2203 esac
2206 # Check all directory arguments for consistency.
2207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2208 datadir sysconfdir sharedstatedir localstatedir includedir \
2209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2210 libdir localedir mandir runstatedir
2212 eval ac_val=\$$ac_var
2213 # Remove trailing slashes.
2214 case $ac_val in
2215 */ )
2216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2217 eval $ac_var=\$ac_val;;
2218 esac
2219 # Be sure to have absolute directory names.
2220 case $ac_val in
2221 [\\/$]* | ?:[\\/]* ) continue;;
2222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2223 esac
2224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2225 done
2227 # There might be people who depend on the old broken behavior: `$host'
2228 # used to hold the argument of --host etc.
2229 # FIXME: To remove some day.
2230 build=$build_alias
2231 host=$host_alias
2232 target=$target_alias
2234 # FIXME: To remove some day.
2235 if test "x$host_alias" != x; then
2236 if test "x$build_alias" = x; then
2237 cross_compiling=maybe
2238 elif test "x$build_alias" != "x$host_alias"; then
2239 cross_compiling=yes
2243 ac_tool_prefix=
2244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2246 test "$silent" = yes && exec 6>/dev/null
2249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2250 ac_ls_di=`ls -di .` &&
2251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2252 as_fn_error $? "working directory cannot be determined"
2253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2254 as_fn_error $? "pwd does not report name of working directory"
2257 # Find the source files, if location was not specified.
2258 if test -z "$srcdir"; then
2259 ac_srcdir_defaulted=yes
2260 # Try the directory containing this script, then the parent directory.
2261 ac_confdir=`$as_dirname -- "$as_myself" ||
2262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2263 X"$as_myself" : 'X\(//\)[^/]' \| \
2264 X"$as_myself" : 'X\(//\)$' \| \
2265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2266 printf "%s\n" X"$as_myself" |
2267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2268 s//\1/
2271 /^X\(\/\/\)[^/].*/{
2272 s//\1/
2275 /^X\(\/\/\)$/{
2276 s//\1/
2279 /^X\(\/\).*/{
2280 s//\1/
2283 s/.*/./; q'`
2284 srcdir=$ac_confdir
2285 if test ! -r "$srcdir/$ac_unique_file"; then
2286 srcdir=..
2288 else
2289 ac_srcdir_defaulted=no
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2296 ac_abs_confdir=`(
2297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2298 pwd)`
2299 # When building in place, set srcdir=.
2300 if test "$ac_abs_confdir" = "$ac_pwd"; then
2301 srcdir=.
2303 # Remove unnecessary trailing slashes from srcdir.
2304 # Double slashes in file names in object file debugging info
2305 # mess up M-x gdb in Emacs.
2306 case $srcdir in
2307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2308 esac
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2311 eval ac_env_${ac_var}_value=\$${ac_var}
2312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2314 done
2317 # Report the --help message.
2319 if test "$ac_init_help" = "long"; then
2320 # Omit some internal or obsolete options to make the list less imposing.
2321 # This message is too long to be a string in the A/UX 3.1 sh.
2322 cat <<_ACEOF
2323 \`configure' configures Wine 7.20 to adapt to many kinds of systems.
2325 Usage: $0 [OPTION]... [VAR=VALUE]...
2327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2328 VAR=VALUE. See below for descriptions of some of the useful variables.
2330 Defaults for the options are specified in brackets.
2332 Configuration:
2333 -h, --help display this help and exit
2334 --help=short display options specific to this package
2335 --help=recursive display the short help of all the included packages
2336 -V, --version display version information and exit
2337 -q, --quiet, --silent do not print \`checking ...' messages
2338 --cache-file=FILE cache test results in FILE [disabled]
2339 -C, --config-cache alias for \`--cache-file=config.cache'
2340 -n, --no-create do not create output files
2341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2343 Installation directories:
2344 --prefix=PREFIX install architecture-independent files in PREFIX
2345 [$ac_default_prefix]
2346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2347 [PREFIX]
2349 By default, \`make install' will install all the files in
2350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2352 for instance \`--prefix=\$HOME'.
2354 For better control, use the options below.
2356 Fine tuning of the installation directories:
2357 --bindir=DIR user executables [EPREFIX/bin]
2358 --sbindir=DIR system admin executables [EPREFIX/sbin]
2359 --libexecdir=DIR program executables [EPREFIX/libexec]
2360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2363 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2364 --libdir=DIR object code libraries [EPREFIX/lib]
2365 --includedir=DIR C header files [PREFIX/include]
2366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2369 --infodir=DIR info documentation [DATAROOTDIR/info]
2370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2371 --mandir=DIR man documentation [DATAROOTDIR/man]
2372 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2373 --htmldir=DIR html documentation [DOCDIR]
2374 --dvidir=DIR dvi documentation [DOCDIR]
2375 --pdfdir=DIR pdf documentation [DOCDIR]
2376 --psdir=DIR ps documentation [DOCDIR]
2377 _ACEOF
2379 cat <<\_ACEOF
2381 X features:
2382 --x-includes=DIR X include files are in DIR
2383 --x-libraries=DIR X library files are in DIR
2385 System types:
2386 --build=BUILD configure for building on BUILD [guessed]
2387 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2388 _ACEOF
2391 if test -n "$ac_init_help"; then
2392 case $ac_init_help in
2393 short | recursive ) echo "Configuration of Wine 7.20:";;
2394 esac
2395 cat <<\_ACEOF
2397 Optional Features:
2398 --disable-option-checking ignore unrecognized --enable/--with options
2399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2401 --enable-archs={i386,x86_64,arm,aarch64}
2402 enable multiple architectures for PE compilation
2403 --disable-win16 do not include Win16 support
2404 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2405 binaries)
2406 --disable-tests do not build the regression tests
2407 --enable-build-id include .buildid section in output objects
2408 --enable-maintainer-mode
2409 enable maintainer-specific build rules
2410 --enable-silent-rules use silent build rules (override: "make V=1")
2411 --enable-werror treat compilation warnings as errors
2412 --disable-largefile omit support for large files
2414 Optional Packages:
2415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2417 --without-alsa do not use the Alsa sound support
2418 --without-capi do not use CAPI (ISDN support)
2419 --without-coreaudio do not use the CoreAudio sound support
2420 --without-cups do not use CUPS
2421 --without-dbus do not use DBus (dynamic device support)
2422 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2423 --without-fontconfig do not use fontconfig
2424 --without-freetype do not use the FreeType library
2425 --without-gettext do not use gettext
2426 --with-gettextpo use the GetTextPO library to rebuild po files
2427 --without-gphoto do not use gphoto (Digital Camera support)
2428 --without-gnutls do not use GnuTLS (schannel support)
2429 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2430 --without-gstreamer do not use GStreamer (codecs support)
2431 --without-inotify do not use inotify (filesystem change notifications)
2432 --without-krb5 do not use krb5 (Kerberos)
2433 --without-ldap do not use LDAP
2434 --without-mingw do not use the MinGW cross-compiler
2435 --without-netapi do not use the Samba NetAPI library
2436 --without-openal do not use OpenAL
2437 --without-opencl do not use OpenCL
2438 --without-opengl do not use OpenGL
2439 --without-osmesa do not use the OSMesa library
2440 --without-oss do not use the OSS sound support
2441 --without-pcap do not use the Packet Capture library
2442 --without-pthread do not use the pthread library
2443 --without-pulse do not use PulseAudio sound support
2444 --without-sane do not use SANE (scanner support)
2445 --without-sdl do not use SDL
2446 --without-udev do not use udev (plug and play support)
2447 --without-unwind do not use the libunwind library (exception
2448 handling)
2449 --without-usb do not use the libusb library
2450 --without-v4l2 do not use v4l2 (video capture)
2451 --without-vulkan do not use Vulkan
2452 --without-xcomposite do not use the Xcomposite extension
2453 --without-xcursor do not use the Xcursor extension
2454 --without-xfixes do not use Xfixes for clipboard change notifications
2455 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2456 --without-xinput do not use the Xinput extension
2457 --without-xinput2 do not use the Xinput 2 extension
2458 --without-xrandr do not use Xrandr (multi-monitor support)
2459 --without-xrender do not use the Xrender extension
2460 --without-xshape do not use the Xshape extension
2461 --without-xshm do not use XShm (shared memory extension)
2462 --without-xxf86vm do not use XFree video mode extension
2463 --with-system-dllpath=PATH
2464 load external PE dependencies from colon-separated
2465 path PATH
2466 --with-wine-tools=DIR use Wine tools from directory DIR
2467 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2468 --with-x use the X Window System
2470 Some influential environment variables:
2471 CC C compiler command
2472 CFLAGS C compiler flags
2473 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2474 nonstandard directory <lib dir>
2475 LIBS libraries to pass to the linker, e.g. -l<library>
2476 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2477 you have headers in a nonstandard directory <include dir>
2478 CXX C++ compiler command
2479 CXXFLAGS C++ compiler flags
2480 OBJC Objective C compiler command
2481 OBJCFLAGS Objective C compiler flags
2482 FAUDIO_PE_CFLAGS
2483 C compiler flags for the PE faudio, overriding the bundled
2484 version
2485 FAUDIO_PE_LIBS
2486 Linker flags for the PE faudio, overriding the bundled version
2487 GSM_PE_CFLAGS
2488 C compiler flags for the PE gsm, overriding the bundled version
2489 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2490 JPEG_PE_CFLAGS
2491 C compiler flags for the PE jpeg, overriding the bundled version
2492 JPEG_PE_LIBS
2493 Linker flags for the PE jpeg, overriding the bundled version
2494 JXR_PE_CFLAGS
2495 C compiler flags for the PE jxr, overriding the bundled version
2496 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2497 LCMS2_PE_CFLAGS
2498 C compiler flags for the PE lcms2, overriding the bundled
2499 version
2500 LCMS2_PE_LIBS
2501 Linker flags for the PE lcms2, overriding the bundled version
2502 MPG123_PE_CFLAGS
2503 C compiler flags for the PE mpg123, overriding the bundled
2504 version
2505 MPG123_PE_LIBS
2506 Linker flags for the PE mpg123, overriding the bundled version
2507 PNG_PE_CFLAGS
2508 C compiler flags for the PE png, overriding the bundled version
2509 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2510 TIFF_PE_CFLAGS
2511 C compiler flags for the PE tiff, overriding the bundled version
2512 TIFF_PE_LIBS
2513 Linker flags for the PE tiff, overriding the bundled version
2514 VKD3D_PE_CFLAGS
2515 C compiler flags for the PE vkd3d, overriding the bundled
2516 version
2517 VKD3D_PE_LIBS
2518 Linker flags for the PE vkd3d, overriding the bundled version
2519 XML2_PE_CFLAGS
2520 C compiler flags for the PE xml2, overriding the bundled version
2521 XML2_PE_LIBS
2522 Linker flags for the PE xml2, overriding the bundled version
2523 XSLT_PE_CFLAGS
2524 C compiler flags for the PE xslt, overriding the bundled version
2525 XSLT_PE_LIBS
2526 Linker flags for the PE xslt, overriding the bundled version
2527 ZLIB_PE_CFLAGS
2528 C compiler flags for the PE zlib, overriding the bundled version
2529 ZLIB_PE_LIBS
2530 Linker flags for the PE zlib, overriding the bundled version
2531 XMKMF Path to xmkmf, Makefile generator for X Window System
2532 CPP C preprocessor
2533 INOTIFY_CFLAGS
2534 C compiler flags for libinotify, overriding pkg-config
2535 INOTIFY_LIBS
2536 Linker flags for libinotify, overriding pkg-config
2537 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2538 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2539 GNUTLS_CFLAGS
2540 C compiler flags for gnutls, overriding pkg-config
2541 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2542 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2543 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2544 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2545 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2546 GPHOTO2_CFLAGS
2547 C compiler flags for libgphoto2, overriding pkg-config
2548 GPHOTO2_LIBS
2549 Linker flags for libgphoto2, overriding pkg-config
2550 GPHOTO2_PORT_CFLAGS
2551 C compiler flags for libgphoto2_port, overriding pkg-config
2552 GPHOTO2_PORT_LIBS
2553 Linker flags for libgphoto2_port, overriding pkg-config
2554 FREETYPE_CFLAGS
2555 C compiler flags for freetype2, overriding pkg-config
2556 FREETYPE_LIBS
2557 Linker flags for freetype2, overriding pkg-config
2558 PULSE_CFLAGS
2559 C compiler flags for libpulse, overriding pkg-config
2560 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2561 GSTREAMER_CFLAGS
2562 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2563 gstreamer-audio-1.0, overriding pkg-config
2564 GSTREAMER_LIBS
2565 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2566 gstreamer-audio-1.0, overriding pkg-config
2567 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2568 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2569 UNWIND_CFLAGS
2570 C compiler flags for libunwind, overriding pkg-config
2571 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2572 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2573 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2574 CAPI20_CFLAGS
2575 C compiler flags for capi20, overriding pkg-config
2576 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2577 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2578 CUPS_LIBS Linker flags for cups, overriding pkg-config
2579 FONTCONFIG_CFLAGS
2580 C compiler flags for fontconfig, overriding pkg-config
2581 FONTCONFIG_LIBS
2582 Linker flags for fontconfig, overriding pkg-config
2583 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2584 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2585 GSSAPI_CFLAGS
2586 C compiler flags for krb5-gssapi, overriding pkg-config
2587 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2588 NETAPI_CFLAGS
2589 C compiler flags for netapi, overriding pkg-config
2590 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2591 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2592 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2594 Use these variables to override the choices made by `configure' or to help
2595 it to find libraries and programs with nonstandard names/locations.
2597 Report bugs to <wine-devel@winehq.org>.
2598 Wine home page: <https://www.winehq.org>.
2599 _ACEOF
2600 ac_status=$?
2603 if test "$ac_init_help" = "recursive"; then
2604 # If there are subdirs, report their specific --help.
2605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2606 test -d "$ac_dir" ||
2607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2608 continue
2609 ac_builddir=.
2611 case "$ac_dir" in
2612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2614 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2615 # A ".." for each directory in $ac_dir_suffix.
2616 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2617 case $ac_top_builddir_sub in
2618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2620 esac ;;
2621 esac
2622 ac_abs_top_builddir=$ac_pwd
2623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2624 # for backward compatibility:
2625 ac_top_builddir=$ac_top_build_prefix
2627 case $srcdir in
2628 .) # We are building in place.
2629 ac_srcdir=.
2630 ac_top_srcdir=$ac_top_builddir_sub
2631 ac_abs_top_srcdir=$ac_pwd ;;
2632 [\\/]* | ?:[\\/]* ) # Absolute name.
2633 ac_srcdir=$srcdir$ac_dir_suffix;
2634 ac_top_srcdir=$srcdir
2635 ac_abs_top_srcdir=$srcdir ;;
2636 *) # Relative name.
2637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2638 ac_top_srcdir=$ac_top_build_prefix$srcdir
2639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2640 esac
2641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2643 cd "$ac_dir" || { ac_status=$?; continue; }
2644 # Check for configure.gnu first; this name is used for a wrapper for
2645 # Metaconfig's "Configure" on case-insensitive file systems.
2646 if test -f "$ac_srcdir/configure.gnu"; then
2647 echo &&
2648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2649 elif test -f "$ac_srcdir/configure"; then
2650 echo &&
2651 $SHELL "$ac_srcdir/configure" --help=recursive
2652 else
2653 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2654 fi || ac_status=$?
2655 cd "$ac_pwd" || { ac_status=$?; break; }
2656 done
2659 test -n "$ac_init_help" && exit $ac_status
2660 if $ac_init_version; then
2661 cat <<\_ACEOF
2662 Wine configure 7.20
2663 generated by GNU Autoconf 2.71
2665 Copyright (C) 2021 Free Software Foundation, Inc.
2666 This configure script is free software; the Free Software Foundation
2667 gives unlimited permission to copy, distribute and modify it.
2668 _ACEOF
2669 exit
2672 ## ------------------------ ##
2673 ## Autoconf initialization. ##
2674 ## ------------------------ ##
2676 # ac_fn_c_try_compile LINENO
2677 # --------------------------
2678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_c_try_compile ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 rm -f conftest.$ac_objext conftest.beam
2683 if { { ac_try="$ac_compile"
2684 case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 printf "%s\n" "$ac_try_echo"; } >&5
2690 (eval "$ac_compile") 2>conftest.err
2691 ac_status=$?
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_c_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext
2702 then :
2703 ac_retval=0
2704 else $as_nop
2705 printf "%s\n" "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 ac_retval=1
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 as_fn_set_status $ac_retval
2713 } # ac_fn_c_try_compile
2715 # ac_fn_cxx_try_compile LINENO
2716 # ----------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_cxx_try_compile ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext conftest.beam
2722 if { { ac_try="$ac_compile"
2723 case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 printf "%s\n" "$ac_try_echo"; } >&5
2729 (eval "$ac_compile") 2>conftest.err
2730 ac_status=$?
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_cxx_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest.$ac_objext
2741 then :
2742 ac_retval=0
2743 else $as_nop
2744 printf "%s\n" "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=1
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2752 } # ac_fn_cxx_try_compile
2754 # ac_fn_c_try_link LINENO
2755 # -----------------------
2756 # Try to link conftest.$ac_ext, and return whether this succeeded.
2757 ac_fn_c_try_link ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2761 if { { ac_try="$ac_link"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 printf "%s\n" "$ac_try_echo"; } >&5
2768 (eval "$ac_link") 2>conftest.err
2769 ac_status=$?
2770 if test -s conftest.err; then
2771 grep -v '^ *+' conftest.err >conftest.er1
2772 cat conftest.er1 >&5
2773 mv -f conftest.er1 conftest.err
2775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; } && {
2777 test -z "$ac_c_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest$ac_exeext && {
2780 test "$cross_compiling" = yes ||
2781 test -x conftest$ac_exeext
2783 then :
2784 ac_retval=0
2785 else $as_nop
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=1
2791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2793 # interfere with the next link command; also delete a directory that is
2794 # left behind by Apple's compiler. We do this before executing the actions.
2795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_c_try_link
2801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2802 # -------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_c_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 printf %s "checking for $2... " >&6; }
2810 if eval test \${$3+y}
2811 then :
2812 printf %s "(cached) " >&6
2813 else $as_nop
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2817 #include <$2>
2818 _ACEOF
2819 if ac_fn_c_try_compile "$LINENO"
2820 then :
2821 eval "$3=yes"
2822 else $as_nop
2823 eval "$3=no"
2825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2827 eval ac_res=\$$3
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2829 printf "%s\n" "$ac_res" >&6; }
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 } # ac_fn_c_check_header_compile
2834 # ac_fn_objc_try_compile LINENO
2835 # -----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_objc_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest.beam
2841 if { { ac_try="$ac_compile"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 printf "%s\n" "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_objc_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.$ac_objext
2860 then :
2861 ac_retval=0
2862 else $as_nop
2863 printf "%s\n" "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_objc_try_compile
2873 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2874 # ----------------------------------------------------------
2875 # Tests whether HEADER exists and can be compiled using the include files in
2876 # INCLUDES, setting the cache variable VAR accordingly.
2877 ac_fn_objc_check_header_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2883 then :
2884 printf %s "(cached) " >&6
2885 else $as_nop
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2889 #include <$2>
2890 _ACEOF
2891 if ac_fn_objc_try_compile "$LINENO"
2892 then :
2893 eval "$3=yes"
2894 else $as_nop
2895 eval "$3=no"
2897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2899 eval ac_res=\$$3
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 printf "%s\n" "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_objc_check_header_compile
2906 # ac_fn_c_check_func LINENO FUNC VAR
2907 # ----------------------------------
2908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2909 ac_fn_c_check_func ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2913 printf %s "checking for $2... " >&6; }
2914 if eval test \${$3+y}
2915 then :
2916 printf %s "(cached) " >&6
2917 else $as_nop
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2922 #define $2 innocuous_$2
2924 /* System header to define __stub macros and hopefully few prototypes,
2925 which can conflict with char $2 (); below. */
2927 #include <limits.h>
2928 #undef $2
2930 /* Override any GCC internal prototype to avoid an error.
2931 Use char because int might match the return type of a GCC
2932 builtin and then its argument prototype would still apply. */
2933 #ifdef __cplusplus
2934 extern "C"
2935 #endif
2936 char $2 ();
2937 /* The GNU C library defines this for functions which it implements
2938 to always fail with ENOSYS. Some functions are actually named
2939 something starting with __ and the normal name is an alias. */
2940 #if defined __stub_$2 || defined __stub___$2
2941 choke me
2942 #endif
2945 main (void)
2947 return $2 ();
2949 return 0;
2951 _ACEOF
2952 if ac_fn_c_try_link "$LINENO"
2953 then :
2954 eval "$3=yes"
2955 else $as_nop
2956 eval "$3=no"
2958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2959 conftest$ac_exeext conftest.$ac_ext
2961 eval ac_res=\$$3
2962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2963 printf "%s\n" "$ac_res" >&6; }
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 } # ac_fn_c_check_func
2968 # ac_fn_c_try_cpp LINENO
2969 # ----------------------
2970 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2971 ac_fn_c_try_cpp ()
2973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2974 if { { ac_try="$ac_cpp conftest.$ac_ext"
2975 case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 printf "%s\n" "$ac_try_echo"; } >&5
2981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2982 ac_status=$?
2983 if test -s conftest.err; then
2984 grep -v '^ *+' conftest.err >conftest.er1
2985 cat conftest.er1 >&5
2986 mv -f conftest.er1 conftest.err
2988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; } > conftest.i && {
2990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2991 test ! -s conftest.err
2993 then :
2994 ac_retval=0
2995 else $as_nop
2996 printf "%s\n" "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2999 ac_retval=1
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 as_fn_set_status $ac_retval
3004 } # ac_fn_c_try_cpp
3006 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3007 # ----------------------------------------------------
3008 # Tries to find if the field MEMBER exists in type AGGR, after including
3009 # INCLUDES, setting cache variable VAR accordingly.
3010 ac_fn_c_check_member ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3014 printf %s "checking for $2.$3... " >&6; }
3015 if eval test \${$4+y}
3016 then :
3017 printf %s "(cached) " >&6
3018 else $as_nop
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main (void)
3025 static $2 ac_aggr;
3026 if (ac_aggr.$3)
3027 return 0;
3029 return 0;
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"
3033 then :
3034 eval "$4=yes"
3035 else $as_nop
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3040 main (void)
3042 static $2 ac_aggr;
3043 if (sizeof ac_aggr.$3)
3044 return 0;
3046 return 0;
3048 _ACEOF
3049 if ac_fn_c_try_compile "$LINENO"
3050 then :
3051 eval "$4=yes"
3052 else $as_nop
3053 eval "$4=no"
3055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3059 eval ac_res=\$$4
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3061 printf "%s\n" "$ac_res" >&6; }
3062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 } # ac_fn_c_check_member
3066 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3067 # -------------------------------------------
3068 # Tests whether TYPE exists after having included INCLUDES, setting cache
3069 # variable VAR accordingly.
3070 ac_fn_c_check_type ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3074 printf %s "checking for $2... " >&6; }
3075 if eval test \${$3+y}
3076 then :
3077 printf %s "(cached) " >&6
3078 else $as_nop
3079 eval "$3=no"
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3084 main (void)
3086 if (sizeof ($2))
3087 return 0;
3089 return 0;
3091 _ACEOF
3092 if ac_fn_c_try_compile "$LINENO"
3093 then :
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3098 main (void)
3100 if (sizeof (($2)))
3101 return 0;
3103 return 0;
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"
3107 then :
3109 else $as_nop
3110 eval "$3=yes"
3112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3116 eval ac_res=\$$3
3117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3118 printf "%s\n" "$ac_res" >&6; }
3119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3121 } # ac_fn_c_check_type
3122 ac_configure_args_raw=
3123 for ac_arg
3125 case $ac_arg in
3126 *\'*)
3127 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3128 esac
3129 as_fn_append ac_configure_args_raw " '$ac_arg'"
3130 done
3132 case $ac_configure_args_raw in
3133 *$as_nl*)
3134 ac_safe_unquote= ;;
3136 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3137 ac_unsafe_a="$ac_unsafe_z#~"
3138 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3139 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3140 esac
3142 cat >config.log <<_ACEOF
3143 This file contains any messages produced by compilers while
3144 running configure, to aid debugging if configure makes a mistake.
3146 It was created by Wine $as_me 7.20, which was
3147 generated by GNU Autoconf 2.71. Invocation command line was
3149 $ $0$ac_configure_args_raw
3151 _ACEOF
3152 exec 5>>config.log
3154 cat <<_ASUNAME
3155 ## --------- ##
3156 ## Platform. ##
3157 ## --------- ##
3159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3166 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3168 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3169 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3171 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3172 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3173 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3174 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3176 _ASUNAME
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 case $as_dir in #(((
3183 '') as_dir=./ ;;
3184 */) ;;
3185 *) as_dir=$as_dir/ ;;
3186 esac
3187 printf "%s\n" "PATH: $as_dir"
3188 done
3189 IFS=$as_save_IFS
3191 } >&5
3193 cat >&5 <<_ACEOF
3196 ## ----------- ##
3197 ## Core tests. ##
3198 ## ----------- ##
3200 _ACEOF
3203 # Keep a trace of the command line.
3204 # Strip out --no-create and --no-recursion so they do not pile up.
3205 # Strip out --silent because we don't want to record it for future runs.
3206 # Also quote any args containing shell meta-characters.
3207 # Make two passes to allow for proper duplicate-argument suppression.
3208 ac_configure_args=
3209 ac_configure_args0=
3210 ac_configure_args1=
3211 ac_must_keep_next=false
3212 for ac_pass in 1 2
3214 for ac_arg
3216 case $ac_arg in
3217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3219 | -silent | --silent | --silen | --sile | --sil)
3220 continue ;;
3221 *\'*)
3222 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3223 esac
3224 case $ac_pass in
3225 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3227 as_fn_append ac_configure_args1 " '$ac_arg'"
3228 if test $ac_must_keep_next = true; then
3229 ac_must_keep_next=false # Got value, back to normal.
3230 else
3231 case $ac_arg in
3232 *=* | --config-cache | -C | -disable-* | --disable-* \
3233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3235 | -with-* | --with-* | -without-* | --without-* | --x)
3236 case "$ac_configure_args0 " in
3237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3238 esac
3240 -* ) ac_must_keep_next=true ;;
3241 esac
3243 as_fn_append ac_configure_args " '$ac_arg'"
3245 esac
3246 done
3247 done
3248 { ac_configure_args0=; unset ac_configure_args0;}
3249 { ac_configure_args1=; unset ac_configure_args1;}
3251 # When interrupted or exit'd, cleanup temporary files, and complete
3252 # config.log. We remove comments because anyway the quotes in there
3253 # would cause problems or look ugly.
3254 # WARNING: Use '\'' to represent an apostrophe within the trap.
3255 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3256 trap 'exit_status=$?
3257 # Sanitize IFS.
3258 IFS=" "" $as_nl"
3259 # Save into config.log some information that might help in debugging.
3261 echo
3263 printf "%s\n" "## ---------------- ##
3264 ## Cache variables. ##
3265 ## ---------------- ##"
3266 echo
3267 # The following way of writing the cache mishandles newlines in values,
3269 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3270 eval ac_val=\$$ac_var
3271 case $ac_val in #(
3272 *${as_nl}*)
3273 case $ac_var in #(
3274 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3275 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3276 esac
3277 case $ac_var in #(
3278 _ | IFS | as_nl) ;; #(
3279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3280 *) { eval $ac_var=; unset $ac_var;} ;;
3281 esac ;;
3282 esac
3283 done
3284 (set) 2>&1 |
3285 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3286 *${as_nl}ac_space=\ *)
3287 sed -n \
3288 "s/'\''/'\''\\\\'\'''\''/g;
3289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3290 ;; #(
3292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3294 esac |
3295 sort
3297 echo
3299 printf "%s\n" "## ----------------- ##
3300 ## Output variables. ##
3301 ## ----------------- ##"
3302 echo
3303 for ac_var in $ac_subst_vars
3305 eval ac_val=\$$ac_var
3306 case $ac_val in
3307 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3308 esac
3309 printf "%s\n" "$ac_var='\''$ac_val'\''"
3310 done | sort
3311 echo
3313 if test -n "$ac_subst_files"; then
3314 printf "%s\n" "## ------------------- ##
3315 ## File substitutions. ##
3316 ## ------------------- ##"
3317 echo
3318 for ac_var in $ac_subst_files
3320 eval ac_val=\$$ac_var
3321 case $ac_val in
3322 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3323 esac
3324 printf "%s\n" "$ac_var='\''$ac_val'\''"
3325 done | sort
3326 echo
3329 if test -s confdefs.h; then
3330 printf "%s\n" "## ----------- ##
3331 ## confdefs.h. ##
3332 ## ----------- ##"
3333 echo
3334 cat confdefs.h
3335 echo
3337 test "$ac_signal" != 0 &&
3338 printf "%s\n" "$as_me: caught signal $ac_signal"
3339 printf "%s\n" "$as_me: exit $exit_status"
3340 } >&5
3341 rm -f core *.core core.conftest.* &&
3342 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3343 exit $exit_status
3345 for ac_signal in 1 2 13 15; do
3346 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3347 done
3348 ac_signal=0
3350 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3351 rm -f -r conftest* confdefs.h
3353 printf "%s\n" "/* confdefs.h */" > confdefs.h
3355 # Predefined preprocessor variables.
3357 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3365 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3367 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3370 # Let the site file select an alternate cache file if it wants to.
3371 # Prefer an explicitly selected file to automatically selected ones.
3372 if test -n "$CONFIG_SITE"; then
3373 ac_site_files="$CONFIG_SITE"
3374 elif test "x$prefix" != xNONE; then
3375 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3376 else
3377 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3380 for ac_site_file in $ac_site_files
3382 case $ac_site_file in #(
3383 */*) :
3384 ;; #(
3385 *) :
3386 ac_site_file=./$ac_site_file ;;
3387 esac
3388 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3390 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3391 sed 's/^/| /' "$ac_site_file" >&5
3392 . "$ac_site_file" \
3393 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3394 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3395 as_fn_error $? "failed to load site script $ac_site_file
3396 See \`config.log' for more details" "$LINENO" 5; }
3398 done
3400 if test -r "$cache_file"; then
3401 # Some versions of bash will fail to source /dev/null (special files
3402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3403 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3405 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3406 case $cache_file in
3407 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3408 *) . "./$cache_file";;
3409 esac
3411 else
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3413 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3414 >$cache_file
3417 # Test code for whether the C compiler supports C89 (global declarations)
3418 ac_c_conftest_c89_globals='
3419 /* Does the compiler advertise C89 conformance?
3420 Do not test the value of __STDC__, because some compilers set it to 0
3421 while being otherwise adequately conformant. */
3422 #if !defined __STDC__
3423 # error "Compiler does not advertise C89 conformance"
3424 #endif
3426 #include <stddef.h>
3427 #include <stdarg.h>
3428 struct stat;
3429 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3430 struct buf { int x; };
3431 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3432 static char *e (p, i)
3433 char **p;
3434 int i;
3436 return p[i];
3438 static char *f (char * (*g) (char **, int), char **p, ...)
3440 char *s;
3441 va_list v;
3442 va_start (v,p);
3443 s = g (p, va_arg (v,int));
3444 va_end (v);
3445 return s;
3448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3449 function prototypes and stuff, but not \xHH hex character constants.
3450 These do not provoke an error unfortunately, instead are silently treated
3451 as an "x". The following induces an error, until -std is added to get
3452 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3453 array size at least. It is necessary to write \x00 == 0 to get something
3454 that is true only with -std. */
3455 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3458 inside strings and character constants. */
3459 #define FOO(x) '\''x'\''
3460 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3462 int test (int i, double x);
3463 struct s1 {int (*f) (int a);};
3464 struct s2 {int (*f) (double a);};
3465 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3466 int, int);'
3468 # Test code for whether the C compiler supports C89 (body of main).
3469 ac_c_conftest_c89_main='
3470 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3473 # Test code for whether the C compiler supports C99 (global declarations)
3474 ac_c_conftest_c99_globals='
3475 // Does the compiler advertise C99 conformance?
3476 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3477 # error "Compiler does not advertise C99 conformance"
3478 #endif
3480 #include <stdbool.h>
3481 extern int puts (const char *);
3482 extern int printf (const char *, ...);
3483 extern int dprintf (int, const char *, ...);
3484 extern void *malloc (size_t);
3486 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3487 // dprintf is used instead of fprintf to avoid needing to declare
3488 // FILE and stderr.
3489 #define debug(...) dprintf (2, __VA_ARGS__)
3490 #define showlist(...) puts (#__VA_ARGS__)
3491 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3492 static void
3493 test_varargs_macros (void)
3495 int x = 1234;
3496 int y = 5678;
3497 debug ("Flag");
3498 debug ("X = %d\n", x);
3499 showlist (The first, second, and third items.);
3500 report (x>y, "x is %d but y is %d", x, y);
3503 // Check long long types.
3504 #define BIG64 18446744073709551615ull
3505 #define BIG32 4294967295ul
3506 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3507 #if !BIG_OK
3508 #error "your preprocessor is broken"
3509 #endif
3510 #if BIG_OK
3511 #else
3512 #error "your preprocessor is broken"
3513 #endif
3514 static long long int bignum = -9223372036854775807LL;
3515 static unsigned long long int ubignum = BIG64;
3517 struct incomplete_array
3519 int datasize;
3520 double data[];
3523 struct named_init {
3524 int number;
3525 const wchar_t *name;
3526 double average;
3529 typedef const char *ccp;
3531 static inline int
3532 test_restrict (ccp restrict text)
3534 // See if C++-style comments work.
3535 // Iterate through items via the restricted pointer.
3536 // Also check for declarations in for loops.
3537 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3538 continue;
3539 return 0;
3542 // Check varargs and va_copy.
3543 static bool
3544 test_varargs (const char *format, ...)
3546 va_list args;
3547 va_start (args, format);
3548 va_list args_copy;
3549 va_copy (args_copy, args);
3551 const char *str = "";
3552 int number = 0;
3553 float fnumber = 0;
3555 while (*format)
3557 switch (*format++)
3559 case '\''s'\'': // string
3560 str = va_arg (args_copy, const char *);
3561 break;
3562 case '\''d'\'': // int
3563 number = va_arg (args_copy, int);
3564 break;
3565 case '\''f'\'': // float
3566 fnumber = va_arg (args_copy, double);
3567 break;
3568 default:
3569 break;
3572 va_end (args_copy);
3573 va_end (args);
3575 return *str && number && fnumber;
3579 # Test code for whether the C compiler supports C99 (body of main).
3580 ac_c_conftest_c99_main='
3581 // Check bool.
3582 _Bool success = false;
3583 success |= (argc != 0);
3585 // Check restrict.
3586 if (test_restrict ("String literal") == 0)
3587 success = true;
3588 char *restrict newvar = "Another string";
3590 // Check varargs.
3591 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3592 test_varargs_macros ();
3594 // Check flexible array members.
3595 struct incomplete_array *ia =
3596 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3597 ia->datasize = 10;
3598 for (int i = 0; i < ia->datasize; ++i)
3599 ia->data[i] = i * 1.234;
3601 // Check named initializers.
3602 struct named_init ni = {
3603 .number = 34,
3604 .name = L"Test wide string",
3605 .average = 543.34343,
3608 ni.number = 58;
3610 int dynamic_array[ni.number];
3611 dynamic_array[0] = argv[0][0];
3612 dynamic_array[ni.number - 1] = 543;
3614 // work around unused variable warnings
3615 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3616 || dynamic_array[ni.number - 1] != 543);
3619 # Test code for whether the C compiler supports C11 (global declarations)
3620 ac_c_conftest_c11_globals='
3621 // Does the compiler advertise C11 conformance?
3622 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3623 # error "Compiler does not advertise C11 conformance"
3624 #endif
3626 // Check _Alignas.
3627 char _Alignas (double) aligned_as_double;
3628 char _Alignas (0) no_special_alignment;
3629 extern char aligned_as_int;
3630 char _Alignas (0) _Alignas (int) aligned_as_int;
3632 // Check _Alignof.
3633 enum
3635 int_alignment = _Alignof (int),
3636 int_array_alignment = _Alignof (int[100]),
3637 char_alignment = _Alignof (char)
3639 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3641 // Check _Noreturn.
3642 int _Noreturn does_not_return (void) { for (;;) continue; }
3644 // Check _Static_assert.
3645 struct test_static_assert
3647 int x;
3648 _Static_assert (sizeof (int) <= sizeof (long int),
3649 "_Static_assert does not work in struct");
3650 long int y;
3653 // Check UTF-8 literals.
3654 #define u8 syntax error!
3655 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3657 // Check duplicate typedefs.
3658 typedef long *long_ptr;
3659 typedef long int *long_ptr;
3660 typedef long_ptr long_ptr;
3662 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3663 struct anonymous
3665 union {
3666 struct { int i; int j; };
3667 struct { int k; long int l; } w;
3669 int m;
3670 } v1;
3673 # Test code for whether the C compiler supports C11 (body of main).
3674 ac_c_conftest_c11_main='
3675 _Static_assert ((offsetof (struct anonymous, i)
3676 == offsetof (struct anonymous, w.k)),
3677 "Anonymous union alignment botch");
3678 v1.i = 2;
3679 v1.w.k = 5;
3680 ok |= v1.i != 5;
3683 # Test code for whether the C compiler supports C11 (complete).
3684 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3685 ${ac_c_conftest_c99_globals}
3686 ${ac_c_conftest_c11_globals}
3689 main (int argc, char **argv)
3691 int ok = 0;
3692 ${ac_c_conftest_c89_main}
3693 ${ac_c_conftest_c99_main}
3694 ${ac_c_conftest_c11_main}
3695 return ok;
3699 # Test code for whether the C compiler supports C99 (complete).
3700 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3704 main (int argc, char **argv)
3706 int ok = 0;
3707 ${ac_c_conftest_c89_main}
3708 ${ac_c_conftest_c99_main}
3709 return ok;
3713 # Test code for whether the C compiler supports C89 (complete).
3714 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3717 main (int argc, char **argv)
3719 int ok = 0;
3720 ${ac_c_conftest_c89_main}
3721 return ok;
3725 # Test code for whether the C++ compiler supports C++98 (global declarations)
3726 ac_cxx_conftest_cxx98_globals='
3727 // Does the compiler advertise C++98 conformance?
3728 #if !defined __cplusplus || __cplusplus < 199711L
3729 # error "Compiler does not advertise C++98 conformance"
3730 #endif
3732 // These inclusions are to reject old compilers that
3733 // lack the unsuffixed header files.
3734 #include <cstdlib>
3735 #include <exception>
3737 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3738 extern void assert (int);
3739 namespace std {
3740 extern int strcmp (const char *, const char *);
3743 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3744 using std::exception;
3745 using std::strcmp;
3747 namespace {
3749 void test_exception_syntax()
3751 try {
3752 throw "test";
3753 } catch (const char *s) {
3754 // Extra parentheses suppress a warning when building autoconf itself,
3755 // due to lint rules shared with more typical C programs.
3756 assert (!(strcmp) (s, "test"));
3760 template <typename T> struct test_template
3762 T const val;
3763 explicit test_template(T t) : val(t) {}
3764 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3767 } // anonymous namespace
3770 # Test code for whether the C++ compiler supports C++98 (body of main)
3771 ac_cxx_conftest_cxx98_main='
3772 assert (argc);
3773 assert (! argv[0]);
3775 test_exception_syntax ();
3776 test_template<double> tt (2.0);
3777 assert (tt.add (4) == 6.0);
3778 assert (true && !false);
3782 # Test code for whether the C++ compiler supports C++11 (global declarations)
3783 ac_cxx_conftest_cxx11_globals='
3784 // Does the compiler advertise C++ 2011 conformance?
3785 #if !defined __cplusplus || __cplusplus < 201103L
3786 # error "Compiler does not advertise C++11 conformance"
3787 #endif
3789 namespace cxx11test
3791 constexpr int get_val() { return 20; }
3793 struct testinit
3795 int i;
3796 double d;
3799 class delegate
3801 public:
3802 delegate(int n) : n(n) {}
3803 delegate(): delegate(2354) {}
3805 virtual int getval() { return this->n; };
3806 protected:
3807 int n;
3810 class overridden : public delegate
3812 public:
3813 overridden(int n): delegate(n) {}
3814 virtual int getval() override final { return this->n * 2; }
3817 class nocopy
3819 public:
3820 nocopy(int i): i(i) {}
3821 nocopy() = default;
3822 nocopy(const nocopy&) = delete;
3823 nocopy & operator=(const nocopy&) = delete;
3824 private:
3825 int i;
3828 // for testing lambda expressions
3829 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3831 return f(v);
3834 // for testing variadic templates and trailing return types
3835 template <typename V> auto sum(V first) -> V
3837 return first;
3839 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3841 return first + sum(rest...);
3846 # Test code for whether the C++ compiler supports C++11 (body of main)
3847 ac_cxx_conftest_cxx11_main='
3849 // Test auto and decltype
3850 auto a1 = 6538;
3851 auto a2 = 48573953.4;
3852 auto a3 = "String literal";
3854 int total = 0;
3855 for (auto i = a3; *i; ++i) { total += *i; }
3857 decltype(a2) a4 = 34895.034;
3860 // Test constexpr
3861 short sa[cxx11test::get_val()] = { 0 };
3864 // Test initializer lists
3865 cxx11test::testinit il = { 4323, 435234.23544 };
3868 // Test range-based for
3869 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3870 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3871 for (auto &x : array) { x += 23; }
3874 // Test lambda expressions
3875 using cxx11test::eval;
3876 assert (eval ([](int x) { return x*2; }, 21) == 42);
3877 double d = 2.0;
3878 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3879 assert (d == 5.0);
3880 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3881 assert (d == 5.0);
3884 // Test use of variadic templates
3885 using cxx11test::sum;
3886 auto a = sum(1);
3887 auto b = sum(1, 2);
3888 auto c = sum(1.0, 2.0, 3.0);
3891 // Test constructor delegation
3892 cxx11test::delegate d1;
3893 cxx11test::delegate d2();
3894 cxx11test::delegate d3(45);
3897 // Test override and final
3898 cxx11test::overridden o1(55464);
3901 // Test nullptr
3902 char *c = nullptr;
3905 // Test template brackets
3906 test_template<::test_template<int>> v(test_template<int>(12));
3909 // Unicode literals
3910 char const *utf8 = u8"UTF-8 string \u2500";
3911 char16_t const *utf16 = u"UTF-8 string \u2500";
3912 char32_t const *utf32 = U"UTF-32 string \u2500";
3916 # Test code for whether the C compiler supports C++11 (complete).
3917 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3918 ${ac_cxx_conftest_cxx11_globals}
3921 main (int argc, char **argv)
3923 int ok = 0;
3924 ${ac_cxx_conftest_cxx98_main}
3925 ${ac_cxx_conftest_cxx11_main}
3926 return ok;
3930 # Test code for whether the C compiler supports C++98 (complete).
3931 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3933 main (int argc, char **argv)
3935 int ok = 0;
3936 ${ac_cxx_conftest_cxx98_main}
3937 return ok;
3941 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3942 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3943 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3944 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3945 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3946 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3947 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3948 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3949 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3951 # Auxiliary files required by this configure script.
3952 ac_aux_files="config.guess config.sub"
3954 # Locations in which to look for auxiliary files.
3955 ac_aux_dir_candidates="${srcdir}/tools"
3957 # Search for a directory containing all of the required auxiliary files,
3958 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3959 # If we don't find one directory that contains all the files we need,
3960 # we report the set of missing files from the *first* directory in
3961 # $ac_aux_dir_candidates and give up.
3962 ac_missing_aux_files=""
3963 ac_first_candidate=:
3964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 as_found=false
3967 for as_dir in $ac_aux_dir_candidates
3969 IFS=$as_save_IFS
3970 case $as_dir in #(((
3971 '') as_dir=./ ;;
3972 */) ;;
3973 *) as_dir=$as_dir/ ;;
3974 esac
3975 as_found=:
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3978 ac_aux_dir_found=yes
3979 ac_install_sh=
3980 for ac_aux in $ac_aux_files
3982 # As a special case, if "install-sh" is required, that requirement
3983 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3984 # and $ac_install_sh is set appropriately for whichever one is found.
3985 if test x"$ac_aux" = x"install-sh"
3986 then
3987 if test -f "${as_dir}install-sh"; then
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3989 ac_install_sh="${as_dir}install-sh -c"
3990 elif test -f "${as_dir}install.sh"; then
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3992 ac_install_sh="${as_dir}install.sh -c"
3993 elif test -f "${as_dir}shtool"; then
3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3995 ac_install_sh="${as_dir}shtool install -c"
3996 else
3997 ac_aux_dir_found=no
3998 if $ac_first_candidate; then
3999 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4000 else
4001 break
4004 else
4005 if test -f "${as_dir}${ac_aux}"; then
4006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4007 else
4008 ac_aux_dir_found=no
4009 if $ac_first_candidate; then
4010 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4011 else
4012 break
4016 done
4017 if test "$ac_aux_dir_found" = yes; then
4018 ac_aux_dir="$as_dir"
4019 break
4021 ac_first_candidate=false
4023 as_found=false
4024 done
4025 IFS=$as_save_IFS
4026 if $as_found
4027 then :
4029 else $as_nop
4030 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4034 # These three variables are undocumented and unsupported,
4035 # and are intended to be withdrawn in a future Autoconf release.
4036 # They can cause serious problems if a builder's source tree is in a directory
4037 # whose full name contains unusual characters.
4038 if test -f "${ac_aux_dir}config.guess"; then
4039 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4041 if test -f "${ac_aux_dir}config.sub"; then
4042 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4044 if test -f "$ac_aux_dir/configure"; then
4045 ac_configure="$SHELL ${ac_aux_dir}configure"
4048 # Check that the precious variables saved in the cache have kept the same
4049 # value.
4050 ac_cache_corrupted=false
4051 for ac_var in $ac_precious_vars; do
4052 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4053 eval ac_new_set=\$ac_env_${ac_var}_set
4054 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4055 eval ac_new_val=\$ac_env_${ac_var}_value
4056 case $ac_old_set,$ac_new_set in
4057 set,)
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4059 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4060 ac_cache_corrupted=: ;;
4061 ,set)
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4063 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4064 ac_cache_corrupted=: ;;
4065 ,);;
4067 if test "x$ac_old_val" != "x$ac_new_val"; then
4068 # differences in whitespace do not lead to failure.
4069 ac_old_val_w=`echo x $ac_old_val`
4070 ac_new_val_w=`echo x $ac_new_val`
4071 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4073 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4074 ac_cache_corrupted=:
4075 else
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4077 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4078 eval $ac_var=\$ac_old_val
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4081 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4083 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4084 fi;;
4085 esac
4086 # Pass precious variables to config.status.
4087 if test "$ac_new_set" = set; then
4088 case $ac_new_val in
4089 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4090 *) ac_arg=$ac_var=$ac_new_val ;;
4091 esac
4092 case " $ac_configure_args " in
4093 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4094 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4095 esac
4097 done
4098 if $ac_cache_corrupted; then
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4102 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4103 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4104 and start over" "$LINENO" 5
4106 ## -------------------- ##
4107 ## Main body of script. ##
4108 ## -------------------- ##
4110 ac_ext=c
4111 ac_cpp='$CPP $CPPFLAGS'
4112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4118 ac_config_headers="$ac_config_headers include/config.h"
4122 libwine_version="1.0"
4125 # Check whether --enable-archs was given.
4126 if test ${enable_archs+y}
4127 then :
4128 enableval=$enable_archs;
4131 # Check whether --enable-win16 was given.
4132 if test ${enable_win16+y}
4133 then :
4134 enableval=$enable_win16;
4137 # Check whether --enable-win64 was given.
4138 if test ${enable_win64+y}
4139 then :
4140 enableval=$enable_win64;
4143 # Check whether --enable-tests was given.
4144 if test ${enable_tests+y}
4145 then :
4146 enableval=$enable_tests;
4149 # Check whether --enable-build-id was given.
4150 if test ${enable_build_id+y}
4151 then :
4152 enableval=$enable_build_id;
4155 # Check whether --enable-maintainer-mode was given.
4156 if test ${enable_maintainer_mode+y}
4157 then :
4158 enableval=$enable_maintainer_mode;
4161 # Check whether --enable-silent-rules was given.
4162 if test ${enable_silent_rules+y}
4163 then :
4164 enableval=$enable_silent_rules;
4167 # Check whether --enable-werror was given.
4168 if test ${enable_werror+y}
4169 then :
4170 enableval=$enable_werror;
4175 # Check whether --with-alsa was given.
4176 if test ${with_alsa+y}
4177 then :
4178 withval=$with_alsa;
4182 # Check whether --with-capi was given.
4183 if test ${with_capi+y}
4184 then :
4185 withval=$with_capi;
4189 # Check whether --with-coreaudio was given.
4190 if test ${with_coreaudio+y}
4191 then :
4192 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4196 # Check whether --with-cups was given.
4197 if test ${with_cups+y}
4198 then :
4199 withval=$with_cups;
4203 # Check whether --with-dbus was given.
4204 if test ${with_dbus+y}
4205 then :
4206 withval=$with_dbus;
4210 # Check whether --with-float-abi was given.
4211 if test ${with_float_abi+y}
4212 then :
4213 withval=$with_float_abi;
4217 # Check whether --with-fontconfig was given.
4218 if test ${with_fontconfig+y}
4219 then :
4220 withval=$with_fontconfig;
4224 # Check whether --with-freetype was given.
4225 if test ${with_freetype+y}
4226 then :
4227 withval=$with_freetype;
4231 # Check whether --with-gettext was given.
4232 if test ${with_gettext+y}
4233 then :
4234 withval=$with_gettext;
4238 # Check whether --with-gettextpo was given.
4239 if test ${with_gettextpo+y}
4240 then :
4241 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4245 # Check whether --with-gphoto was given.
4246 if test ${with_gphoto+y}
4247 then :
4248 withval=$with_gphoto;
4252 # Check whether --with-gnutls was given.
4253 if test ${with_gnutls+y}
4254 then :
4255 withval=$with_gnutls;
4259 # Check whether --with-gssapi was given.
4260 if test ${with_gssapi+y}
4261 then :
4262 withval=$with_gssapi;
4266 # Check whether --with-gstreamer was given.
4267 if test ${with_gstreamer+y}
4268 then :
4269 withval=$with_gstreamer;
4273 # Check whether --with-inotify was given.
4274 if test ${with_inotify+y}
4275 then :
4276 withval=$with_inotify;
4280 # Check whether --with-krb5 was given.
4281 if test ${with_krb5+y}
4282 then :
4283 withval=$with_krb5;
4287 # Check whether --with-ldap was given.
4288 if test ${with_ldap+y}
4289 then :
4290 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4294 # Check whether --with-mingw was given.
4295 if test ${with_mingw+y}
4296 then :
4297 withval=$with_mingw;
4301 # Check whether --with-netapi was given.
4302 if test ${with_netapi+y}
4303 then :
4304 withval=$with_netapi;
4308 # Check whether --with-openal was given.
4309 if test ${with_openal+y}
4310 then :
4311 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4315 # Check whether --with-opencl was given.
4316 if test ${with_opencl+y}
4317 then :
4318 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4322 # Check whether --with-opengl was given.
4323 if test ${with_opengl+y}
4324 then :
4325 withval=$with_opengl;
4329 # Check whether --with-osmesa was given.
4330 if test ${with_osmesa+y}
4331 then :
4332 withval=$with_osmesa;
4336 # Check whether --with-oss was given.
4337 if test ${with_oss+y}
4338 then :
4339 withval=$with_oss;
4343 # Check whether --with-pcap was given.
4344 if test ${with_pcap+y}
4345 then :
4346 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4350 # Check whether --with-pthread was given.
4351 if test ${with_pthread+y}
4352 then :
4353 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4357 # Check whether --with-pulse was given.
4358 if test ${with_pulse+y}
4359 then :
4360 withval=$with_pulse;
4364 # Check whether --with-sane was given.
4365 if test ${with_sane+y}
4366 then :
4367 withval=$with_sane;
4371 # Check whether --with-sdl was given.
4372 if test ${with_sdl+y}
4373 then :
4374 withval=$with_sdl;
4378 # Check whether --with-udev was given.
4379 if test ${with_udev+y}
4380 then :
4381 withval=$with_udev;
4385 # Check whether --with-unwind was given.
4386 if test ${with_unwind+y}
4387 then :
4388 withval=$with_unwind;
4392 # Check whether --with-usb was given.
4393 if test ${with_usb+y}
4394 then :
4395 withval=$with_usb;
4399 # Check whether --with-v4l2 was given.
4400 if test ${with_v4l2+y}
4401 then :
4402 withval=$with_v4l2;
4406 # Check whether --with-vulkan was given.
4407 if test ${with_vulkan+y}
4408 then :
4409 withval=$with_vulkan;
4413 # Check whether --with-xcomposite was given.
4414 if test ${with_xcomposite+y}
4415 then :
4416 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4420 # Check whether --with-xcursor was given.
4421 if test ${with_xcursor+y}
4422 then :
4423 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4427 # Check whether --with-xfixes was given.
4428 if test ${with_xfixes+y}
4429 then :
4430 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4434 # Check whether --with-xinerama was given.
4435 if test ${with_xinerama+y}
4436 then :
4437 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4441 # Check whether --with-xinput was given.
4442 if test ${with_xinput+y}
4443 then :
4444 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4448 # Check whether --with-xinput2 was given.
4449 if test ${with_xinput2+y}
4450 then :
4451 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4455 # Check whether --with-xrandr was given.
4456 if test ${with_xrandr+y}
4457 then :
4458 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4462 # Check whether --with-xrender was given.
4463 if test ${with_xrender+y}
4464 then :
4465 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4469 # Check whether --with-xshape was given.
4470 if test ${with_xshape+y}
4471 then :
4472 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4476 # Check whether --with-xshm was given.
4477 if test ${with_xshm+y}
4478 then :
4479 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4483 # Check whether --with-xxf86vm was given.
4484 if test ${with_xxf86vm+y}
4485 then :
4486 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
4491 # Check whether --with-system-dllpath was given.
4492 if test ${with_system_dllpath+y}
4493 then :
4494 withval=$with_system_dllpath; system_dllpath=$withval
4499 # Check whether --with-wine-tools was given.
4500 if test ${with_wine_tools+y}
4501 then :
4502 withval=$with_wine_tools;
4506 # Check whether --with-wine64 was given.
4507 if test ${with_wine64+y}
4508 then :
4509 withval=$with_wine64;
4516 # Make sure we can run config.sub.
4517 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4518 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4521 printf %s "checking build system type... " >&6; }
4522 if test ${ac_cv_build+y}
4523 then :
4524 printf %s "(cached) " >&6
4525 else $as_nop
4526 ac_build_alias=$build_alias
4527 test "x$ac_build_alias" = x &&
4528 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4529 test "x$ac_build_alias" = x &&
4530 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4531 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4532 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4536 printf "%s\n" "$ac_cv_build" >&6; }
4537 case $ac_cv_build in
4538 *-*-*) ;;
4539 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4540 esac
4541 build=$ac_cv_build
4542 ac_save_IFS=$IFS; IFS='-'
4543 set x $ac_cv_build
4544 shift
4545 build_cpu=$1
4546 build_vendor=$2
4547 shift; shift
4548 # Remember, the first character of IFS is used to create $*,
4549 # except with old shells:
4550 build_os=$*
4551 IFS=$ac_save_IFS
4552 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4556 printf %s "checking host system type... " >&6; }
4557 if test ${ac_cv_host+y}
4558 then :
4559 printf %s "(cached) " >&6
4560 else $as_nop
4561 if test "x$host_alias" = x; then
4562 ac_cv_host=$ac_cv_build
4563 else
4564 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4565 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4570 printf "%s\n" "$ac_cv_host" >&6; }
4571 case $ac_cv_host in
4572 *-*-*) ;;
4573 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4574 esac
4575 host=$ac_cv_host
4576 ac_save_IFS=$IFS; IFS='-'
4577 set x $ac_cv_host
4578 shift
4579 host_cpu=$1
4580 host_vendor=$2
4581 shift; shift
4582 # Remember, the first character of IFS is used to create $*,
4583 # except with old shells:
4584 host_os=$*
4585 IFS=$ac_save_IFS
4586 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4590 dlldir=\${libdir}/wine
4592 fontdir=\${datadir}/wine/fonts
4594 nlsdir=\${datadir}/wine/nls
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4600 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4601 set x ${MAKE-make}
4602 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4603 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4604 then :
4605 printf %s "(cached) " >&6
4606 else $as_nop
4607 cat >conftest.make <<\_ACEOF
4608 SHELL = /bin/sh
4609 all:
4610 @echo '@@@%%%=$(MAKE)=@@@%%%'
4611 _ACEOF
4612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4613 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4614 *@@@%%%=?*=@@@%%%*)
4615 eval ac_cv_prog_make_${ac_make}_set=yes;;
4617 eval ac_cv_prog_make_${ac_make}_set=no;;
4618 esac
4619 rm -f conftest.make
4621 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4623 printf "%s\n" "yes" >&6; }
4624 SET_MAKE=
4625 else
4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 printf "%s\n" "no" >&6; }
4628 SET_MAKE="MAKE=${MAKE-make}"
4640 ac_ext=c
4641 ac_cpp='$CPP $CPPFLAGS'
4642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4647 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 printf %s "checking for $ac_word... " >&6; }
4650 if test ${ac_cv_prog_CC+y}
4651 then :
4652 printf %s "(cached) " >&6
4653 else $as_nop
4654 if test -n "$CC"; then
4655 ac_cv_prog_CC="$CC" # Let the user override the test.
4656 else
4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 for as_dir in $PATH
4660 IFS=$as_save_IFS
4661 case $as_dir in #(((
4662 '') as_dir=./ ;;
4663 */) ;;
4664 *) as_dir=$as_dir/ ;;
4665 esac
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4670 break 2
4672 done
4673 done
4674 IFS=$as_save_IFS
4678 CC=$ac_cv_prog_CC
4679 if test -n "$CC"; then
4680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4681 printf "%s\n" "$CC" >&6; }
4682 else
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 printf "%s\n" "no" >&6; }
4689 if test -z "$ac_cv_prog_CC"; then
4690 ac_ct_CC=$CC
4691 # Extract the first word of "gcc", so it can be a program name with args.
4692 set dummy gcc; ac_word=$2
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 printf %s "checking for $ac_word... " >&6; }
4695 if test ${ac_cv_prog_ac_ct_CC+y}
4696 then :
4697 printf %s "(cached) " >&6
4698 else $as_nop
4699 if test -n "$ac_ct_CC"; then
4700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4701 else
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH
4705 IFS=$as_save_IFS
4706 case $as_dir in #(((
4707 '') as_dir=./ ;;
4708 */) ;;
4709 *) as_dir=$as_dir/ ;;
4710 esac
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CC="gcc"
4714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4715 break 2
4717 done
4718 done
4719 IFS=$as_save_IFS
4723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4724 if test -n "$ac_ct_CC"; then
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4726 printf "%s\n" "$ac_ct_CC" >&6; }
4727 else
4728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 printf "%s\n" "no" >&6; }
4732 if test "x$ac_ct_CC" = x; then
4733 CC=""
4734 else
4735 case $cross_compiling:$ac_tool_warned in
4736 yes:)
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4740 esac
4741 CC=$ac_ct_CC
4743 else
4744 CC="$ac_cv_prog_CC"
4747 if test -z "$CC"; then
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4750 set dummy ${ac_tool_prefix}cc; ac_word=$2
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 printf %s "checking for $ac_word... " >&6; }
4753 if test ${ac_cv_prog_CC+y}
4754 then :
4755 printf %s "(cached) " >&6
4756 else $as_nop
4757 if test -n "$CC"; then
4758 ac_cv_prog_CC="$CC" # Let the user override the test.
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763 IFS=$as_save_IFS
4764 case $as_dir in #(((
4765 '') as_dir=./ ;;
4766 */) ;;
4767 *) as_dir=$as_dir/ ;;
4768 esac
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_CC="${ac_tool_prefix}cc"
4772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4773 break 2
4775 done
4776 done
4777 IFS=$as_save_IFS
4781 CC=$ac_cv_prog_CC
4782 if test -n "$CC"; then
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4784 printf "%s\n" "$CC" >&6; }
4785 else
4786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 printf "%s\n" "no" >&6; }
4793 if test -z "$CC"; then
4794 # Extract the first word of "cc", so it can be a program name with args.
4795 set dummy cc; ac_word=$2
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 printf %s "checking for $ac_word... " >&6; }
4798 if test ${ac_cv_prog_CC+y}
4799 then :
4800 printf %s "(cached) " >&6
4801 else $as_nop
4802 if test -n "$CC"; then
4803 ac_cv_prog_CC="$CC" # Let the user override the test.
4804 else
4805 ac_prog_rejected=no
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH
4809 IFS=$as_save_IFS
4810 case $as_dir in #(((
4811 '') as_dir=./ ;;
4812 */) ;;
4813 *) as_dir=$as_dir/ ;;
4814 esac
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4817 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4818 ac_prog_rejected=yes
4819 continue
4821 ac_cv_prog_CC="cc"
4822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4823 break 2
4825 done
4826 done
4827 IFS=$as_save_IFS
4829 if test $ac_prog_rejected = yes; then
4830 # We found a bogon in the path, so make sure we never use it.
4831 set dummy $ac_cv_prog_CC
4832 shift
4833 if test $# != 0; then
4834 # We chose a different compiler from the bogus one.
4835 # However, it has the same basename, so the bogon will be chosen
4836 # first if we set CC to just the basename; use the full file name.
4837 shift
4838 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4843 CC=$ac_cv_prog_CC
4844 if test -n "$CC"; then
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4846 printf "%s\n" "$CC" >&6; }
4847 else
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 printf "%s\n" "no" >&6; }
4854 if test -z "$CC"; then
4855 if test -n "$ac_tool_prefix"; then
4856 for ac_prog in cl.exe
4858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4859 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 printf %s "checking for $ac_word... " >&6; }
4862 if test ${ac_cv_prog_CC+y}
4863 then :
4864 printf %s "(cached) " >&6
4865 else $as_nop
4866 if test -n "$CC"; then
4867 ac_cv_prog_CC="$CC" # Let the user override the test.
4868 else
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 for as_dir in $PATH
4872 IFS=$as_save_IFS
4873 case $as_dir in #(((
4874 '') as_dir=./ ;;
4875 */) ;;
4876 *) as_dir=$as_dir/ ;;
4877 esac
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4882 break 2
4884 done
4885 done
4886 IFS=$as_save_IFS
4890 CC=$ac_cv_prog_CC
4891 if test -n "$CC"; then
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4893 printf "%s\n" "$CC" >&6; }
4894 else
4895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 printf "%s\n" "no" >&6; }
4900 test -n "$CC" && break
4901 done
4903 if test -z "$CC"; then
4904 ac_ct_CC=$CC
4905 for ac_prog in cl.exe
4907 # Extract the first word of "$ac_prog", so it can be a program name with args.
4908 set dummy $ac_prog; ac_word=$2
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910 printf %s "checking for $ac_word... " >&6; }
4911 if test ${ac_cv_prog_ac_ct_CC+y}
4912 then :
4913 printf %s "(cached) " >&6
4914 else $as_nop
4915 if test -n "$ac_ct_CC"; then
4916 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4917 else
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919 for as_dir in $PATH
4921 IFS=$as_save_IFS
4922 case $as_dir in #(((
4923 '') as_dir=./ ;;
4924 */) ;;
4925 *) as_dir=$as_dir/ ;;
4926 esac
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_CC="$ac_prog"
4930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4931 break 2
4933 done
4934 done
4935 IFS=$as_save_IFS
4939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4940 if test -n "$ac_ct_CC"; then
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4942 printf "%s\n" "$ac_ct_CC" >&6; }
4943 else
4944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 printf "%s\n" "no" >&6; }
4949 test -n "$ac_ct_CC" && break
4950 done
4952 if test "x$ac_ct_CC" = x; then
4953 CC=""
4954 else
4955 case $cross_compiling:$ac_tool_warned in
4956 yes:)
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4958 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4959 ac_tool_warned=yes ;;
4960 esac
4961 CC=$ac_ct_CC
4966 if test -z "$CC"; then
4967 if test -n "$ac_tool_prefix"; then
4968 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4969 set dummy ${ac_tool_prefix}clang; ac_word=$2
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 printf %s "checking for $ac_word... " >&6; }
4972 if test ${ac_cv_prog_CC+y}
4973 then :
4974 printf %s "(cached) " >&6
4975 else $as_nop
4976 if test -n "$CC"; then
4977 ac_cv_prog_CC="$CC" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4982 IFS=$as_save_IFS
4983 case $as_dir in #(((
4984 '') as_dir=./ ;;
4985 */) ;;
4986 *) as_dir=$as_dir/ ;;
4987 esac
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_CC="${ac_tool_prefix}clang"
4991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4992 break 2
4994 done
4995 done
4996 IFS=$as_save_IFS
5000 CC=$ac_cv_prog_CC
5001 if test -n "$CC"; then
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5003 printf "%s\n" "$CC" >&6; }
5004 else
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 printf "%s\n" "no" >&6; }
5011 if test -z "$ac_cv_prog_CC"; then
5012 ac_ct_CC=$CC
5013 # Extract the first word of "clang", so it can be a program name with args.
5014 set dummy clang; ac_word=$2
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 printf %s "checking for $ac_word... " >&6; }
5017 if test ${ac_cv_prog_ac_ct_CC+y}
5018 then :
5019 printf %s "(cached) " >&6
5020 else $as_nop
5021 if test -n "$ac_ct_CC"; then
5022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5027 IFS=$as_save_IFS
5028 case $as_dir in #(((
5029 '') as_dir=./ ;;
5030 */) ;;
5031 *) as_dir=$as_dir/ ;;
5032 esac
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_CC="clang"
5036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5046 if test -n "$ac_ct_CC"; then
5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5048 printf "%s\n" "$ac_ct_CC" >&6; }
5049 else
5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 printf "%s\n" "no" >&6; }
5054 if test "x$ac_ct_CC" = x; then
5055 CC=""
5056 else
5057 case $cross_compiling:$ac_tool_warned in
5058 yes:)
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned=yes ;;
5062 esac
5063 CC=$ac_ct_CC
5065 else
5066 CC="$ac_cv_prog_CC"
5072 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5073 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5074 as_fn_error $? "no acceptable C compiler found in \$PATH
5075 See \`config.log' for more details" "$LINENO" 5; }
5077 # Provide some information about the compiler.
5078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5079 set X $ac_compile
5080 ac_compiler=$2
5081 for ac_option in --version -v -V -qversion -version; do
5082 { { ac_try="$ac_compiler $ac_option >&5"
5083 case "(($ac_try" in
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5086 esac
5087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5088 printf "%s\n" "$ac_try_echo"; } >&5
5089 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5090 ac_status=$?
5091 if test -s conftest.err; then
5092 sed '10a\
5093 ... rest of stderr output deleted ...
5094 10q' conftest.err >conftest.er1
5095 cat conftest.er1 >&5
5097 rm -f conftest.er1 conftest.err
5098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }
5100 done
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5106 main (void)
5110 return 0;
5112 _ACEOF
5113 ac_clean_files_save=$ac_clean_files
5114 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5115 # Try to create an executable without -o first, disregard a.out.
5116 # It will help us diagnose broken compilers, and finding out an intuition
5117 # of exeext.
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5119 printf %s "checking whether the C compiler works... " >&6; }
5120 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5122 # The possible output files:
5123 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5125 ac_rmfiles=
5126 for ac_file in $ac_files
5128 case $ac_file in
5129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5130 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5131 esac
5132 done
5133 rm -f $ac_rmfiles
5135 if { { ac_try="$ac_link_default"
5136 case "(($ac_try" in
5137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5138 *) ac_try_echo=$ac_try;;
5139 esac
5140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5141 printf "%s\n" "$ac_try_echo"; } >&5
5142 (eval "$ac_link_default") 2>&5
5143 ac_status=$?
5144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5145 test $ac_status = 0; }
5146 then :
5147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5150 # so that the user can short-circuit this test for compilers unknown to
5151 # Autoconf.
5152 for ac_file in $ac_files ''
5154 test -f "$ac_file" || continue
5155 case $ac_file in
5156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5158 [ab].out )
5159 # We found the default executable, but exeext='' is most
5160 # certainly right.
5161 break;;
5162 *.* )
5163 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5164 then :; else
5165 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5167 # We set ac_cv_exeext here because the later test for it is not
5168 # safe: cross compilers may not add the suffix if given an `-o'
5169 # argument, so we may need to know it at that point already.
5170 # Even if this section looks crufty: it has the advantage of
5171 # actually working.
5172 break;;
5174 break;;
5175 esac
5176 done
5177 test "$ac_cv_exeext" = no && ac_cv_exeext=
5179 else $as_nop
5180 ac_file=''
5182 if test -z "$ac_file"
5183 then :
5184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 printf "%s\n" "no" >&6; }
5186 printf "%s\n" "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.$ac_ext >&5
5189 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5190 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5191 as_fn_error 77 "C compiler cannot create executables
5192 See \`config.log' for more details" "$LINENO" 5; }
5193 else $as_nop
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5195 printf "%s\n" "yes" >&6; }
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5198 printf %s "checking for C compiler default output file name... " >&6; }
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5200 printf "%s\n" "$ac_file" >&6; }
5201 ac_exeext=$ac_cv_exeext
5203 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5204 ac_clean_files=$ac_clean_files_save
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5206 printf %s "checking for suffix of executables... " >&6; }
5207 if { { ac_try="$ac_link"
5208 case "(($ac_try" in
5209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210 *) ac_try_echo=$ac_try;;
5211 esac
5212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5213 printf "%s\n" "$ac_try_echo"; } >&5
5214 (eval "$ac_link") 2>&5
5215 ac_status=$?
5216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5217 test $ac_status = 0; }
5218 then :
5219 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5220 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5221 # work properly (i.e., refer to `conftest.exe'), while it won't with
5222 # `rm'.
5223 for ac_file in conftest.exe conftest conftest.*; do
5224 test -f "$ac_file" || continue
5225 case $ac_file in
5226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5227 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5228 break;;
5229 * ) break;;
5230 esac
5231 done
5232 else $as_nop
5233 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5234 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5235 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5236 See \`config.log' for more details" "$LINENO" 5; }
5238 rm -f conftest conftest$ac_cv_exeext
5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5240 printf "%s\n" "$ac_cv_exeext" >&6; }
5242 rm -f conftest.$ac_ext
5243 EXEEXT=$ac_cv_exeext
5244 ac_exeext=$EXEEXT
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247 #include <stdio.h>
5249 main (void)
5251 FILE *f = fopen ("conftest.out", "w");
5252 return ferror (f) || fclose (f) != 0;
5255 return 0;
5257 _ACEOF
5258 ac_clean_files="$ac_clean_files conftest.out"
5259 # Check that the compiler produces executables we can run. If not, either
5260 # the compiler is broken, or we cross compile.
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5262 printf %s "checking whether we are cross compiling... " >&6; }
5263 if test "$cross_compiling" != yes; then
5264 { { ac_try="$ac_link"
5265 case "(($ac_try" in
5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267 *) ac_try_echo=$ac_try;;
5268 esac
5269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270 printf "%s\n" "$ac_try_echo"; } >&5
5271 (eval "$ac_link") 2>&5
5272 ac_status=$?
5273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274 test $ac_status = 0; }
5275 if { ac_try='./conftest$ac_cv_exeext'
5276 { { case "(($ac_try" in
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5279 esac
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 printf "%s\n" "$ac_try_echo"; } >&5
5282 (eval "$ac_try") 2>&5
5283 ac_status=$?
5284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }; }; then
5286 cross_compiling=no
5287 else
5288 if test "$cross_compiling" = maybe; then
5289 cross_compiling=yes
5290 else
5291 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5292 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5293 as_fn_error 77 "cannot run C compiled programs.
5294 If you meant to cross compile, use \`--host'.
5295 See \`config.log' for more details" "$LINENO" 5; }
5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5300 printf "%s\n" "$cross_compiling" >&6; }
5302 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5303 ac_clean_files=$ac_clean_files_save
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5305 printf %s "checking for suffix of object files... " >&6; }
5306 if test ${ac_cv_objext+y}
5307 then :
5308 printf %s "(cached) " >&6
5309 else $as_nop
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main (void)
5318 return 0;
5320 _ACEOF
5321 rm -f conftest.o conftest.obj
5322 if { { ac_try="$ac_compile"
5323 case "(($ac_try" in
5324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325 *) ac_try_echo=$ac_try;;
5326 esac
5327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5328 printf "%s\n" "$ac_try_echo"; } >&5
5329 (eval "$ac_compile") 2>&5
5330 ac_status=$?
5331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5332 test $ac_status = 0; }
5333 then :
5334 for ac_file in conftest.o conftest.obj conftest.*; do
5335 test -f "$ac_file" || continue;
5336 case $ac_file in
5337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5338 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5339 break;;
5340 esac
5341 done
5342 else $as_nop
5343 printf "%s\n" "$as_me: failed program was:" >&5
5344 sed 's/^/| /' conftest.$ac_ext >&5
5346 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5347 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5348 as_fn_error $? "cannot compute suffix of object files: cannot compile
5349 See \`config.log' for more details" "$LINENO" 5; }
5351 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5354 printf "%s\n" "$ac_cv_objext" >&6; }
5355 OBJEXT=$ac_cv_objext
5356 ac_objext=$OBJEXT
5357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5358 printf %s "checking whether the compiler supports GNU C... " >&6; }
5359 if test ${ac_cv_c_compiler_gnu+y}
5360 then :
5361 printf %s "(cached) " >&6
5362 else $as_nop
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5367 main (void)
5369 #ifndef __GNUC__
5370 choke me
5371 #endif
5374 return 0;
5376 _ACEOF
5377 if ac_fn_c_try_compile "$LINENO"
5378 then :
5379 ac_compiler_gnu=yes
5380 else $as_nop
5381 ac_compiler_gnu=no
5383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5388 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 if test $ac_compiler_gnu = yes; then
5392 GCC=yes
5393 else
5394 GCC=
5396 ac_test_CFLAGS=${CFLAGS+y}
5397 ac_save_CFLAGS=$CFLAGS
5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5399 printf %s "checking whether $CC accepts -g... " >&6; }
5400 if test ${ac_cv_prog_cc_g+y}
5401 then :
5402 printf %s "(cached) " >&6
5403 else $as_nop
5404 ac_save_c_werror_flag=$ac_c_werror_flag
5405 ac_c_werror_flag=yes
5406 ac_cv_prog_cc_g=no
5407 CFLAGS="-g"
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5412 main (void)
5416 return 0;
5418 _ACEOF
5419 if ac_fn_c_try_compile "$LINENO"
5420 then :
5421 ac_cv_prog_cc_g=yes
5422 else $as_nop
5423 CFLAGS=""
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5428 main (void)
5432 return 0;
5434 _ACEOF
5435 if ac_fn_c_try_compile "$LINENO"
5436 then :
5438 else $as_nop
5439 ac_c_werror_flag=$ac_save_c_werror_flag
5440 CFLAGS="-g"
5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5445 main (void)
5449 return 0;
5451 _ACEOF
5452 if ac_fn_c_try_compile "$LINENO"
5453 then :
5454 ac_cv_prog_cc_g=yes
5456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5461 ac_c_werror_flag=$ac_save_c_werror_flag
5463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5464 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5465 if test $ac_test_CFLAGS; then
5466 CFLAGS=$ac_save_CFLAGS
5467 elif test $ac_cv_prog_cc_g = yes; then
5468 if test "$GCC" = yes; then
5469 CFLAGS="-g -O2"
5470 else
5471 CFLAGS="-g"
5473 else
5474 if test "$GCC" = yes; then
5475 CFLAGS="-O2"
5476 else
5477 CFLAGS=
5480 ac_prog_cc_stdc=no
5481 if test x$ac_prog_cc_stdc = xno
5482 then :
5483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5484 printf %s "checking for $CC option to enable C11 features... " >&6; }
5485 if test ${ac_cv_prog_cc_c11+y}
5486 then :
5487 printf %s "(cached) " >&6
5488 else $as_nop
5489 ac_cv_prog_cc_c11=no
5490 ac_save_CC=$CC
5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5493 $ac_c_conftest_c11_program
5494 _ACEOF
5495 for ac_arg in '' -std=gnu11
5497 CC="$ac_save_CC $ac_arg"
5498 if ac_fn_c_try_compile "$LINENO"
5499 then :
5500 ac_cv_prog_cc_c11=$ac_arg
5502 rm -f core conftest.err conftest.$ac_objext conftest.beam
5503 test "x$ac_cv_prog_cc_c11" != "xno" && break
5504 done
5505 rm -f conftest.$ac_ext
5506 CC=$ac_save_CC
5509 if test "x$ac_cv_prog_cc_c11" = xno
5510 then :
5511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5512 printf "%s\n" "unsupported" >&6; }
5513 else $as_nop
5514 if test "x$ac_cv_prog_cc_c11" = x
5515 then :
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5517 printf "%s\n" "none needed" >&6; }
5518 else $as_nop
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5520 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5521 CC="$CC $ac_cv_prog_cc_c11"
5523 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5524 ac_prog_cc_stdc=c11
5527 if test x$ac_prog_cc_stdc = xno
5528 then :
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5530 printf %s "checking for $CC option to enable C99 features... " >&6; }
5531 if test ${ac_cv_prog_cc_c99+y}
5532 then :
5533 printf %s "(cached) " >&6
5534 else $as_nop
5535 ac_cv_prog_cc_c99=no
5536 ac_save_CC=$CC
5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5539 $ac_c_conftest_c99_program
5540 _ACEOF
5541 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5543 CC="$ac_save_CC $ac_arg"
5544 if ac_fn_c_try_compile "$LINENO"
5545 then :
5546 ac_cv_prog_cc_c99=$ac_arg
5548 rm -f core conftest.err conftest.$ac_objext conftest.beam
5549 test "x$ac_cv_prog_cc_c99" != "xno" && break
5550 done
5551 rm -f conftest.$ac_ext
5552 CC=$ac_save_CC
5555 if test "x$ac_cv_prog_cc_c99" = xno
5556 then :
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5558 printf "%s\n" "unsupported" >&6; }
5559 else $as_nop
5560 if test "x$ac_cv_prog_cc_c99" = x
5561 then :
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5563 printf "%s\n" "none needed" >&6; }
5564 else $as_nop
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5566 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5567 CC="$CC $ac_cv_prog_cc_c99"
5569 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5570 ac_prog_cc_stdc=c99
5573 if test x$ac_prog_cc_stdc = xno
5574 then :
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5576 printf %s "checking for $CC option to enable C89 features... " >&6; }
5577 if test ${ac_cv_prog_cc_c89+y}
5578 then :
5579 printf %s "(cached) " >&6
5580 else $as_nop
5581 ac_cv_prog_cc_c89=no
5582 ac_save_CC=$CC
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5585 $ac_c_conftest_c89_program
5586 _ACEOF
5587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5589 CC="$ac_save_CC $ac_arg"
5590 if ac_fn_c_try_compile "$LINENO"
5591 then :
5592 ac_cv_prog_cc_c89=$ac_arg
5594 rm -f core conftest.err conftest.$ac_objext conftest.beam
5595 test "x$ac_cv_prog_cc_c89" != "xno" && break
5596 done
5597 rm -f conftest.$ac_ext
5598 CC=$ac_save_CC
5601 if test "x$ac_cv_prog_cc_c89" = xno
5602 then :
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5604 printf "%s\n" "unsupported" >&6; }
5605 else $as_nop
5606 if test "x$ac_cv_prog_cc_c89" = x
5607 then :
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5609 printf "%s\n" "none needed" >&6; }
5610 else $as_nop
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5612 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5613 CC="$CC $ac_cv_prog_cc_c89"
5615 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5616 ac_prog_cc_stdc=c89
5620 ac_ext=c
5621 ac_cpp='$CPP $CPPFLAGS'
5622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5632 ac_ext=cpp
5633 ac_cpp='$CXXCPP $CPPFLAGS'
5634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5637 if test -z "$CXX"; then
5638 if test -n "$CCC"; then
5639 CXX=$CCC
5640 else
5641 if test -n "$ac_tool_prefix"; then
5642 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 printf %s "checking for $ac_word... " >&6; }
5648 if test ${ac_cv_prog_CXX+y}
5649 then :
5650 printf %s "(cached) " >&6
5651 else $as_nop
5652 if test -n "$CXX"; then
5653 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5658 IFS=$as_save_IFS
5659 case $as_dir in #(((
5660 '') as_dir=./ ;;
5661 */) ;;
5662 *) as_dir=$as_dir/ ;;
5663 esac
5664 for ac_exec_ext in '' $ac_executable_extensions; do
5665 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5666 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5668 break 2
5670 done
5671 done
5672 IFS=$as_save_IFS
5676 CXX=$ac_cv_prog_CXX
5677 if test -n "$CXX"; then
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5679 printf "%s\n" "$CXX" >&6; }
5680 else
5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 printf "%s\n" "no" >&6; }
5686 test -n "$CXX" && break
5687 done
5689 if test -z "$CXX"; then
5690 ac_ct_CXX=$CXX
5691 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5693 # Extract the first word of "$ac_prog", so it can be a program name with args.
5694 set dummy $ac_prog; ac_word=$2
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5696 printf %s "checking for $ac_word... " >&6; }
5697 if test ${ac_cv_prog_ac_ct_CXX+y}
5698 then :
5699 printf %s "(cached) " >&6
5700 else $as_nop
5701 if test -n "$ac_ct_CXX"; then
5702 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5703 else
5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 for as_dir in $PATH
5707 IFS=$as_save_IFS
5708 case $as_dir in #(((
5709 '') as_dir=./ ;;
5710 */) ;;
5711 *) as_dir=$as_dir/ ;;
5712 esac
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_ac_ct_CXX="$ac_prog"
5716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5717 break 2
5719 done
5720 done
5721 IFS=$as_save_IFS
5725 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5726 if test -n "$ac_ct_CXX"; then
5727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5728 printf "%s\n" "$ac_ct_CXX" >&6; }
5729 else
5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 printf "%s\n" "no" >&6; }
5735 test -n "$ac_ct_CXX" && break
5736 done
5738 if test "x$ac_ct_CXX" = x; then
5739 CXX="g++"
5740 else
5741 case $cross_compiling:$ac_tool_warned in
5742 yes:)
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5744 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5745 ac_tool_warned=yes ;;
5746 esac
5747 CXX=$ac_ct_CXX
5753 # Provide some information about the compiler.
5754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5755 set X $ac_compile
5756 ac_compiler=$2
5757 for ac_option in --version -v -V -qversion; do
5758 { { ac_try="$ac_compiler $ac_option >&5"
5759 case "(($ac_try" in
5760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5761 *) ac_try_echo=$ac_try;;
5762 esac
5763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5764 printf "%s\n" "$ac_try_echo"; } >&5
5765 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5766 ac_status=$?
5767 if test -s conftest.err; then
5768 sed '10a\
5769 ... rest of stderr output deleted ...
5770 10q' conftest.err >conftest.er1
5771 cat conftest.er1 >&5
5773 rm -f conftest.er1 conftest.err
5774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5775 test $ac_status = 0; }
5776 done
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5779 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5780 if test ${ac_cv_cxx_compiler_gnu+y}
5781 then :
5782 printf %s "(cached) " >&6
5783 else $as_nop
5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5788 main (void)
5790 #ifndef __GNUC__
5791 choke me
5792 #endif
5795 return 0;
5797 _ACEOF
5798 if ac_fn_cxx_try_compile "$LINENO"
5799 then :
5800 ac_compiler_gnu=yes
5801 else $as_nop
5802 ac_compiler_gnu=no
5804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5805 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5809 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5812 if test $ac_compiler_gnu = yes; then
5813 GXX=yes
5814 else
5815 GXX=
5817 ac_test_CXXFLAGS=${CXXFLAGS+y}
5818 ac_save_CXXFLAGS=$CXXFLAGS
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5820 printf %s "checking whether $CXX accepts -g... " >&6; }
5821 if test ${ac_cv_prog_cxx_g+y}
5822 then :
5823 printf %s "(cached) " >&6
5824 else $as_nop
5825 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5826 ac_cxx_werror_flag=yes
5827 ac_cv_prog_cxx_g=no
5828 CXXFLAGS="-g"
5829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */
5833 main (void)
5837 return 0;
5839 _ACEOF
5840 if ac_fn_cxx_try_compile "$LINENO"
5841 then :
5842 ac_cv_prog_cxx_g=yes
5843 else $as_nop
5844 CXXFLAGS=""
5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5849 main (void)
5853 return 0;
5855 _ACEOF
5856 if ac_fn_cxx_try_compile "$LINENO"
5857 then :
5859 else $as_nop
5860 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5861 CXXFLAGS="-g"
5862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5863 /* end confdefs.h. */
5866 main (void)
5870 return 0;
5872 _ACEOF
5873 if ac_fn_cxx_try_compile "$LINENO"
5874 then :
5875 ac_cv_prog_cxx_g=yes
5877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5882 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5885 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5886 if test $ac_test_CXXFLAGS; then
5887 CXXFLAGS=$ac_save_CXXFLAGS
5888 elif test $ac_cv_prog_cxx_g = yes; then
5889 if test "$GXX" = yes; then
5890 CXXFLAGS="-g -O2"
5891 else
5892 CXXFLAGS="-g"
5894 else
5895 if test "$GXX" = yes; then
5896 CXXFLAGS="-O2"
5897 else
5898 CXXFLAGS=
5901 ac_prog_cxx_stdcxx=no
5902 if test x$ac_prog_cxx_stdcxx = xno
5903 then :
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5905 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5906 if test ${ac_cv_prog_cxx_11+y}
5907 then :
5908 printf %s "(cached) " >&6
5909 else $as_nop
5910 ac_cv_prog_cxx_11=no
5911 ac_save_CXX=$CXX
5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 $ac_cxx_conftest_cxx11_program
5915 _ACEOF
5916 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5918 CXX="$ac_save_CXX $ac_arg"
5919 if ac_fn_cxx_try_compile "$LINENO"
5920 then :
5921 ac_cv_prog_cxx_cxx11=$ac_arg
5923 rm -f core conftest.err conftest.$ac_objext conftest.beam
5924 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5925 done
5926 rm -f conftest.$ac_ext
5927 CXX=$ac_save_CXX
5930 if test "x$ac_cv_prog_cxx_cxx11" = xno
5931 then :
5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5933 printf "%s\n" "unsupported" >&6; }
5934 else $as_nop
5935 if test "x$ac_cv_prog_cxx_cxx11" = x
5936 then :
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5938 printf "%s\n" "none needed" >&6; }
5939 else $as_nop
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5941 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5942 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5944 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5945 ac_prog_cxx_stdcxx=cxx11
5948 if test x$ac_prog_cxx_stdcxx = xno
5949 then :
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5951 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5952 if test ${ac_cv_prog_cxx_98+y}
5953 then :
5954 printf %s "(cached) " >&6
5955 else $as_nop
5956 ac_cv_prog_cxx_98=no
5957 ac_save_CXX=$CXX
5958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5959 /* end confdefs.h. */
5960 $ac_cxx_conftest_cxx98_program
5961 _ACEOF
5962 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5964 CXX="$ac_save_CXX $ac_arg"
5965 if ac_fn_cxx_try_compile "$LINENO"
5966 then :
5967 ac_cv_prog_cxx_cxx98=$ac_arg
5969 rm -f core conftest.err conftest.$ac_objext conftest.beam
5970 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5971 done
5972 rm -f conftest.$ac_ext
5973 CXX=$ac_save_CXX
5976 if test "x$ac_cv_prog_cxx_cxx98" = xno
5977 then :
5978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5979 printf "%s\n" "unsupported" >&6; }
5980 else $as_nop
5981 if test "x$ac_cv_prog_cxx_cxx98" = x
5982 then :
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5984 printf "%s\n" "none needed" >&6; }
5985 else $as_nop
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5987 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5988 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5990 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5991 ac_prog_cxx_stdcxx=cxx98
5995 ac_ext=c
5996 ac_cpp='$CPP $CPPFLAGS'
5997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6001 if test -n "$ac_tool_prefix"; then
6002 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6003 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 printf %s "checking for $ac_word... " >&6; }
6006 if test ${ac_cv_prog_CPPBIN+y}
6007 then :
6008 printf %s "(cached) " >&6
6009 else $as_nop
6010 if test -n "$CPPBIN"; then
6011 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 case $as_dir in #(((
6018 '') as_dir=./ ;;
6019 */) ;;
6020 *) as_dir=$as_dir/ ;;
6021 esac
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6024 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6026 break 2
6028 done
6029 done
6030 IFS=$as_save_IFS
6034 CPPBIN=$ac_cv_prog_CPPBIN
6035 if test -n "$CPPBIN"; then
6036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6037 printf "%s\n" "$CPPBIN" >&6; }
6038 else
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 printf "%s\n" "no" >&6; }
6045 if test -z "$ac_cv_prog_CPPBIN"; then
6046 ac_ct_CPPBIN=$CPPBIN
6047 # Extract the first word of "cpp", so it can be a program name with args.
6048 set dummy cpp; ac_word=$2
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 printf %s "checking for $ac_word... " >&6; }
6051 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6052 then :
6053 printf %s "(cached) " >&6
6054 else $as_nop
6055 if test -n "$ac_ct_CPPBIN"; then
6056 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6061 IFS=$as_save_IFS
6062 case $as_dir in #(((
6063 '') as_dir=./ ;;
6064 */) ;;
6065 *) as_dir=$as_dir/ ;;
6066 esac
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_ac_ct_CPPBIN="cpp"
6070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6080 if test -n "$ac_ct_CPPBIN"; then
6081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6082 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6083 else
6084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 printf "%s\n" "no" >&6; }
6088 if test "x$ac_ct_CPPBIN" = x; then
6089 CPPBIN="cpp"
6090 else
6091 case $cross_compiling:$ac_tool_warned in
6092 yes:)
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6094 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6095 ac_tool_warned=yes ;;
6096 esac
6097 CPPBIN=$ac_ct_CPPBIN
6099 else
6100 CPPBIN="$ac_cv_prog_CPPBIN"
6104 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6106 if test -n "$ac_tool_prefix"; then
6107 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6108 set dummy ${ac_tool_prefix}ld; ac_word=$2
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 printf %s "checking for $ac_word... " >&6; }
6111 if test ${ac_cv_prog_LD+y}
6112 then :
6113 printf %s "(cached) " >&6
6114 else $as_nop
6115 if test -n "$LD"; then
6116 ac_cv_prog_LD="$LD" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 case $as_dir in #(((
6123 '') as_dir=./ ;;
6124 */) ;;
6125 *) as_dir=$as_dir/ ;;
6126 esac
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_LD="${ac_tool_prefix}ld"
6130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 LD=$ac_cv_prog_LD
6140 if test -n "$LD"; then
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6142 printf "%s\n" "$LD" >&6; }
6143 else
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 printf "%s\n" "no" >&6; }
6150 if test -z "$ac_cv_prog_LD"; then
6151 ac_ct_LD=$LD
6152 # Extract the first word of "ld", so it can be a program name with args.
6153 set dummy ld; ac_word=$2
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 printf %s "checking for $ac_word... " >&6; }
6156 if test ${ac_cv_prog_ac_ct_LD+y}
6157 then :
6158 printf %s "(cached) " >&6
6159 else $as_nop
6160 if test -n "$ac_ct_LD"; then
6161 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6162 else
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164 for as_dir in $PATH
6166 IFS=$as_save_IFS
6167 case $as_dir in #(((
6168 '') as_dir=./ ;;
6169 */) ;;
6170 *) as_dir=$as_dir/ ;;
6171 esac
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6174 ac_cv_prog_ac_ct_LD="ld"
6175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6176 break 2
6178 done
6179 done
6180 IFS=$as_save_IFS
6184 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6185 if test -n "$ac_ct_LD"; then
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6187 printf "%s\n" "$ac_ct_LD" >&6; }
6188 else
6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 printf "%s\n" "no" >&6; }
6193 if test "x$ac_ct_LD" = x; then
6194 LD=""
6195 else
6196 case $cross_compiling:$ac_tool_warned in
6197 yes:)
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6201 esac
6202 LD=$ac_ct_LD
6204 else
6205 LD="$ac_cv_prog_LD"
6209 case $host in
6210 *-darwin*)
6211 with_fontconfig=${with_fontconfig:-no}
6213 *-mingw32*|*-cygwin*)
6214 enable_win16=${enable_win16:-no}
6215 with_mingw=${with_mingw:-no}
6217 esac
6220 case $host in
6221 x86_64*|amd64*)
6222 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6223 then
6224 CC="$CC -m32"
6225 CXX="$CXX -m32"
6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6228 printf %s "checking whether $CC works... " >&6; }
6229 if test ${wine_cv_cc_m32+y}
6230 then :
6231 printf %s "(cached) " >&6
6232 else $as_nop
6233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6237 main (void)
6241 return 0;
6243 _ACEOF
6244 if ac_fn_c_try_link "$LINENO"
6245 then :
6246 wine_cv_cc_m32=yes
6247 else $as_nop
6248 wine_cv_cc_m32=no
6250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6251 conftest$ac_exeext conftest.$ac_ext
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6254 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6255 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
6256 host_cpu="i386"
6257 notice_platform="32-bit "
6258 TARGETFLAGS="$TARGETFLAGS -m32"
6259 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6260 export PKG_CONFIG_PATH
6261 with_unwind=${with_unwind:-no}
6262 else
6263 if test "x${GCC}" = "xyes"
6264 then
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6266 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6267 if test ${wine_cv_builtin_ms_va_list+y}
6268 then :
6269 printf %s "(cached) " >&6
6270 else $as_nop
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6273 #include <stdarg.h>
6275 main (void)
6277 void func(__builtin_ms_va_list *args);
6279 return 0;
6281 _ACEOF
6282 if ac_fn_c_try_compile "$LINENO"
6283 then :
6284 wine_cv_builtin_ms_va_list=yes
6285 else $as_nop
6286 wine_cv_builtin_ms_va_list=no
6288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6291 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6292 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
6294 CC="$CC -m64"
6295 CXX="$CXX -m64"
6296 host_cpu="x86_64"
6297 notice_platform="64-bit "
6298 TARGETFLAGS="$TARGETFLAGS -m64"
6301 arm*)
6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6303 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6304 if test ${wine_cv_thumb2+y}
6305 then :
6306 printf %s "(cached) " >&6
6307 else $as_nop
6308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6312 main (void)
6314 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6316 return 0;
6318 _ACEOF
6319 if ac_fn_c_try_link "$LINENO"
6320 then :
6321 wine_cv_thumb2=yes
6322 else $as_nop
6323 wine_cv_thumb2=no
6325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6326 conftest$ac_exeext conftest.$ac_ext
6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6329 printf "%s\n" "$wine_cv_thumb2" >&6; }
6330 if test x"$wine_cv_thumb2" = xyes
6331 then
6332 CFLAGS="$CFLAGS -mthumb"
6333 TARGETFLAGS="$TARGETFLAGS -mthumb"
6334 else
6335 CFLAGS="$CFLAGS -marm"
6336 TARGETFLAGS="$TARGETFLAGS -marm"
6338 case $with_float_abi in
6339 soft|softfp|hard)
6340 float_abi=$with_float_abi ;;
6342 case $host_os in
6343 *eabihf)
6344 float_abi=hard ;;
6346 float_abi=softfp
6347 saved_CFLAGS=$CFLAGS
6348 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6350 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6351 if test ${wine_cv_float_abi+y}
6352 then :
6353 printf %s "(cached) " >&6
6354 else $as_nop
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6359 main (void)
6361 asm("vmrs r2,fpscr");
6363 return 0;
6365 _ACEOF
6366 if ac_fn_c_try_link "$LINENO"
6367 then :
6368 wine_cv_float_abi=yes
6369 else $as_nop
6370 wine_cv_float_abi=no
6372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6373 conftest$ac_exeext conftest.$ac_ext
6375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6376 printf "%s\n" "$wine_cv_float_abi" >&6; }
6377 if test $wine_cv_float_abi = no
6378 then
6379 float_abi=soft
6380 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6382 CFLAGS=$saved_CFLAGS
6383 esac
6385 esac
6386 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6387 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6389 i[3456789]86*)
6390 with_unwind=${with_unwind:-no}
6392 esac
6394 enable_win16=${enable_win16:-i386}
6395 enable_win64=${enable_win64:-no}
6396 enable_wow64=${enable_wow64:-aarch64,x86_64}
6397 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6398 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6400 enable_winetest=${enable_winetest:-$enable_tests}
6402 if test "x$enable_win64" = "xyes"
6403 then
6404 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6405 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6408 case $build_os in
6409 cygwin*|mingw32*) toolsext=".exe"
6411 *) toolsext=""
6413 esac
6415 HOST_ARCH=unknown
6416 case "$host_cpu" in
6417 aarch64*) HOST_ARCH=aarch64 ;;
6418 arm*) HOST_ARCH=arm ;;
6419 i[3456789]86*) HOST_ARCH=i386 ;;
6420 x86_64) HOST_ARCH=x86_64 ;;
6421 esac
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6425 printf %s "checking for the directory containing the Wine tools... " >&6; }
6426 if test ${wine_cv_toolsdir+y}
6427 then :
6428 printf %s "(cached) " >&6
6429 else $as_nop
6430 wine_cv_toolsdir="$with_wine_tools"
6431 if test -z "$with_wine_tools"; then
6432 if test "$cross_compiling" = "yes"; then
6433 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6434 elif test -n "$with_wine64"; then
6435 wine_cv_toolsdir="$with_wine64"
6439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6440 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6441 if test -z "$wine_cv_toolsdir"; then
6442 wine_makedep=tools/makedep$toolsext
6443 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6444 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6445 enable_tools=${enable_tools:-no}
6446 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6447 else
6448 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6450 toolsdir=$wine_cv_toolsdir
6452 MAKEDEP=$wine_makedep
6454 RUNTESTFLAGS="-q -P wine"
6456 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'"
6459 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6460 then
6461 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6464 for ac_prog in flex
6466 # Extract the first word of "$ac_prog", so it can be a program name with args.
6467 set dummy $ac_prog; ac_word=$2
6468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 printf %s "checking for $ac_word... " >&6; }
6470 if test ${ac_cv_prog_FLEX+y}
6471 then :
6472 printf %s "(cached) " >&6
6473 else $as_nop
6474 if test -n "$FLEX"; then
6475 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 case $as_dir in #(((
6482 '') as_dir=./ ;;
6483 */) ;;
6484 *) as_dir=$as_dir/ ;;
6485 esac
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_FLEX="$ac_prog"
6489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6490 break 2
6492 done
6493 done
6494 IFS=$as_save_IFS
6498 FLEX=$ac_cv_prog_FLEX
6499 if test -n "$FLEX"; then
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6501 printf "%s\n" "$FLEX" >&6; }
6502 else
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 printf "%s\n" "no" >&6; }
6508 test -n "$FLEX" && break
6509 done
6510 test -n "$FLEX" || FLEX="none"
6512 if test "$FLEX" = "none"
6513 then
6514 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6517 printf %s "checking whether flex is recent enough... " >&6; }
6518 if test ${wine_cv_recent_flex+y}
6519 then :
6520 printf %s "(cached) " >&6
6521 else $as_nop
6522 cat >conftest.l <<EOF
6523 %top{
6524 #include "prediluvian.h"
6528 if $FLEX -t conftest.l >/dev/null 2>&5
6529 then
6530 wine_cv_recent_flex=yes
6531 else
6532 wine_cv_recent_flex=no
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6536 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6537 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
6539 for ac_prog in bison
6541 # Extract the first word of "$ac_prog", so it can be a program name with args.
6542 set dummy $ac_prog; ac_word=$2
6543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544 printf %s "checking for $ac_word... " >&6; }
6545 if test ${ac_cv_prog_BISON+y}
6546 then :
6547 printf %s "(cached) " >&6
6548 else $as_nop
6549 if test -n "$BISON"; then
6550 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 case $as_dir in #(((
6557 '') as_dir=./ ;;
6558 */) ;;
6559 *) as_dir=$as_dir/ ;;
6560 esac
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6563 ac_cv_prog_BISON="$ac_prog"
6564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6565 break 2
6567 done
6568 done
6569 IFS=$as_save_IFS
6573 BISON=$ac_cv_prog_BISON
6574 if test -n "$BISON"; then
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6576 printf "%s\n" "$BISON" >&6; }
6577 else
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 printf "%s\n" "no" >&6; }
6583 test -n "$BISON" && break
6584 done
6585 test -n "$BISON" || BISON="none"
6587 if test "$BISON" = "none"
6588 then
6589 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6592 printf %s "checking whether bison is recent enough... " >&6; }
6593 if test ${wine_cv_recent_bison+y}
6594 then :
6595 printf %s "(cached) " >&6
6596 else $as_nop
6597 cat >conftest.y <<EOF
6598 %define parse.error verbose
6600 empty: ;
6602 if $BISON conftest.y >/dev/null 2>&5
6603 then
6604 wine_cv_recent_bison=yes
6605 else
6606 wine_cv_recent_bison=no
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6610 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6611 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
6613 if test -n "$ac_tool_prefix"; then
6614 for ac_prog in ar gar
6616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 printf %s "checking for $ac_word... " >&6; }
6620 if test ${ac_cv_prog_AR+y}
6621 then :
6622 printf %s "(cached) " >&6
6623 else $as_nop
6624 if test -n "$AR"; then
6625 ac_cv_prog_AR="$AR" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6630 IFS=$as_save_IFS
6631 case $as_dir in #(((
6632 '') as_dir=./ ;;
6633 */) ;;
6634 *) as_dir=$as_dir/ ;;
6635 esac
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6640 break 2
6642 done
6643 done
6644 IFS=$as_save_IFS
6648 AR=$ac_cv_prog_AR
6649 if test -n "$AR"; then
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6651 printf "%s\n" "$AR" >&6; }
6652 else
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 printf "%s\n" "no" >&6; }
6658 test -n "$AR" && break
6659 done
6661 if test -z "$AR"; then
6662 ac_ct_AR=$AR
6663 for ac_prog in ar gar
6665 # Extract the first word of "$ac_prog", so it can be a program name with args.
6666 set dummy $ac_prog; ac_word=$2
6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 printf %s "checking for $ac_word... " >&6; }
6669 if test ${ac_cv_prog_ac_ct_AR+y}
6670 then :
6671 printf %s "(cached) " >&6
6672 else $as_nop
6673 if test -n "$ac_ct_AR"; then
6674 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6679 IFS=$as_save_IFS
6680 case $as_dir in #(((
6681 '') as_dir=./ ;;
6682 */) ;;
6683 *) as_dir=$as_dir/ ;;
6684 esac
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6687 ac_cv_prog_ac_ct_AR="$ac_prog"
6688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6689 break 2
6691 done
6692 done
6693 IFS=$as_save_IFS
6697 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6698 if test -n "$ac_ct_AR"; then
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6700 printf "%s\n" "$ac_ct_AR" >&6; }
6701 else
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 printf "%s\n" "no" >&6; }
6707 test -n "$ac_ct_AR" && break
6708 done
6710 if test "x$ac_ct_AR" = x; then
6711 AR="ar"
6712 else
6713 case $cross_compiling:$ac_tool_warned in
6714 yes:)
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6716 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6717 ac_tool_warned=yes ;;
6718 esac
6719 AR=$ac_ct_AR
6723 if test -n "$ac_tool_prefix"; then
6724 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6725 set dummy ${ac_tool_prefix}strip; ac_word=$2
6726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 printf %s "checking for $ac_word... " >&6; }
6728 if test ${ac_cv_prog_STRIP+y}
6729 then :
6730 printf %s "(cached) " >&6
6731 else $as_nop
6732 if test -n "$STRIP"; then
6733 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6734 else
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 for as_dir in $PATH
6738 IFS=$as_save_IFS
6739 case $as_dir in #(((
6740 '') as_dir=./ ;;
6741 */) ;;
6742 *) as_dir=$as_dir/ ;;
6743 esac
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 STRIP=$ac_cv_prog_STRIP
6757 if test -n "$STRIP"; then
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6759 printf "%s\n" "$STRIP" >&6; }
6760 else
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 printf "%s\n" "no" >&6; }
6767 if test -z "$ac_cv_prog_STRIP"; then
6768 ac_ct_STRIP=$STRIP
6769 # Extract the first word of "strip", so it can be a program name with args.
6770 set dummy strip; ac_word=$2
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 printf %s "checking for $ac_word... " >&6; }
6773 if test ${ac_cv_prog_ac_ct_STRIP+y}
6774 then :
6775 printf %s "(cached) " >&6
6776 else $as_nop
6777 if test -n "$ac_ct_STRIP"; then
6778 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6779 else
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781 for as_dir in $PATH
6783 IFS=$as_save_IFS
6784 case $as_dir in #(((
6785 '') as_dir=./ ;;
6786 */) ;;
6787 *) as_dir=$as_dir/ ;;
6788 esac
6789 for ac_exec_ext in '' $ac_executable_extensions; do
6790 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6791 ac_cv_prog_ac_ct_STRIP="strip"
6792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6793 break 2
6795 done
6796 done
6797 IFS=$as_save_IFS
6801 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6802 if test -n "$ac_ct_STRIP"; then
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6804 printf "%s\n" "$ac_ct_STRIP" >&6; }
6805 else
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 printf "%s\n" "no" >&6; }
6810 if test "x$ac_ct_STRIP" = x; then
6811 STRIP="strip"
6812 else
6813 case $cross_compiling:$ac_tool_warned in
6814 yes:)
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817 ac_tool_warned=yes ;;
6818 esac
6819 STRIP=$ac_ct_STRIP
6821 else
6822 STRIP="$ac_cv_prog_STRIP"
6825 if test -n "$ac_tool_prefix"; then
6826 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6827 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 printf %s "checking for $ac_word... " >&6; }
6830 if test ${ac_cv_prog_RANLIB+y}
6831 then :
6832 printf %s "(cached) " >&6
6833 else $as_nop
6834 if test -n "$RANLIB"; then
6835 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6836 else
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 for as_dir in $PATH
6840 IFS=$as_save_IFS
6841 case $as_dir in #(((
6842 '') as_dir=./ ;;
6843 */) ;;
6844 *) as_dir=$as_dir/ ;;
6845 esac
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6850 break 2
6852 done
6853 done
6854 IFS=$as_save_IFS
6858 RANLIB=$ac_cv_prog_RANLIB
6859 if test -n "$RANLIB"; then
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6861 printf "%s\n" "$RANLIB" >&6; }
6862 else
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 printf "%s\n" "no" >&6; }
6869 if test -z "$ac_cv_prog_RANLIB"; then
6870 ac_ct_RANLIB=$RANLIB
6871 # Extract the first word of "ranlib", so it can be a program name with args.
6872 set dummy ranlib; ac_word=$2
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 printf %s "checking for $ac_word... " >&6; }
6875 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6876 then :
6877 printf %s "(cached) " >&6
6878 else $as_nop
6879 if test -n "$ac_ct_RANLIB"; then
6880 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6881 else
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 for as_dir in $PATH
6885 IFS=$as_save_IFS
6886 case $as_dir in #(((
6887 '') as_dir=./ ;;
6888 */) ;;
6889 *) as_dir=$as_dir/ ;;
6890 esac
6891 for ac_exec_ext in '' $ac_executable_extensions; do
6892 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6893 ac_cv_prog_ac_ct_RANLIB="ranlib"
6894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6895 break 2
6897 done
6898 done
6899 IFS=$as_save_IFS
6903 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6904 if test -n "$ac_ct_RANLIB"; then
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6906 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6907 else
6908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6909 printf "%s\n" "no" >&6; }
6912 if test "x$ac_ct_RANLIB" = x; then
6913 RANLIB=":"
6914 else
6915 case $cross_compiling:$ac_tool_warned in
6916 yes:)
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6918 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6919 ac_tool_warned=yes ;;
6920 esac
6921 RANLIB=$ac_ct_RANLIB
6923 else
6924 RANLIB="$ac_cv_prog_RANLIB"
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6928 printf %s "checking whether ln -s works... " >&6; }
6929 LN_S=$as_ln_s
6930 if test "$LN_S" = "ln -s"; then
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6932 printf "%s\n" "yes" >&6; }
6933 else
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6935 printf "%s\n" "no, using $LN_S" >&6; }
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6939 printf %s "checking for grep that handles long lines and -e... " >&6; }
6940 if test ${ac_cv_path_GREP+y}
6941 then :
6942 printf %s "(cached) " >&6
6943 else $as_nop
6944 if test -z "$GREP"; then
6945 ac_path_GREP_found=false
6946 # Loop through the user's path and test for each of PROGNAME-LIST
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6950 IFS=$as_save_IFS
6951 case $as_dir in #(((
6952 '') as_dir=./ ;;
6953 */) ;;
6954 *) as_dir=$as_dir/ ;;
6955 esac
6956 for ac_prog in grep ggrep
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6960 as_fn_executable_p "$ac_path_GREP" || continue
6961 # Check for GNU ac_path_GREP and select it if it is found.
6962 # Check for GNU $ac_path_GREP
6963 case `"$ac_path_GREP" --version 2>&1` in
6964 *GNU*)
6965 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6967 ac_count=0
6968 printf %s 0123456789 >"conftest.in"
6969 while :
6971 cat "conftest.in" "conftest.in" >"conftest.tmp"
6972 mv "conftest.tmp" "conftest.in"
6973 cp "conftest.in" "conftest.nl"
6974 printf "%s\n" 'GREP' >> "conftest.nl"
6975 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6976 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6977 as_fn_arith $ac_count + 1 && ac_count=$as_val
6978 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6979 # Best one so far, save it but keep looking for a better one
6980 ac_cv_path_GREP="$ac_path_GREP"
6981 ac_path_GREP_max=$ac_count
6983 # 10*(2^10) chars as input seems more than enough
6984 test $ac_count -gt 10 && break
6985 done
6986 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6987 esac
6989 $ac_path_GREP_found && break 3
6990 done
6991 done
6992 done
6993 IFS=$as_save_IFS
6994 if test -z "$ac_cv_path_GREP"; then
6995 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6997 else
6998 ac_cv_path_GREP=$GREP
7002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7003 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7004 GREP="$ac_cv_path_GREP"
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7008 printf %s "checking for egrep... " >&6; }
7009 if test ${ac_cv_path_EGREP+y}
7010 then :
7011 printf %s "(cached) " >&6
7012 else $as_nop
7013 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7014 then ac_cv_path_EGREP="$GREP -E"
7015 else
7016 if test -z "$EGREP"; then
7017 ac_path_EGREP_found=false
7018 # Loop through the user's path and test for each of PROGNAME-LIST
7019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7022 IFS=$as_save_IFS
7023 case $as_dir in #(((
7024 '') as_dir=./ ;;
7025 */) ;;
7026 *) as_dir=$as_dir/ ;;
7027 esac
7028 for ac_prog in egrep
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7032 as_fn_executable_p "$ac_path_EGREP" || continue
7033 # Check for GNU ac_path_EGREP and select it if it is found.
7034 # Check for GNU $ac_path_EGREP
7035 case `"$ac_path_EGREP" --version 2>&1` in
7036 *GNU*)
7037 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7039 ac_count=0
7040 printf %s 0123456789 >"conftest.in"
7041 while :
7043 cat "conftest.in" "conftest.in" >"conftest.tmp"
7044 mv "conftest.tmp" "conftest.in"
7045 cp "conftest.in" "conftest.nl"
7046 printf "%s\n" 'EGREP' >> "conftest.nl"
7047 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7048 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7049 as_fn_arith $ac_count + 1 && ac_count=$as_val
7050 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7051 # Best one so far, save it but keep looking for a better one
7052 ac_cv_path_EGREP="$ac_path_EGREP"
7053 ac_path_EGREP_max=$ac_count
7055 # 10*(2^10) chars as input seems more than enough
7056 test $ac_count -gt 10 && break
7057 done
7058 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7059 esac
7061 $ac_path_EGREP_found && break 3
7062 done
7063 done
7064 done
7065 IFS=$as_save_IFS
7066 if test -z "$ac_cv_path_EGREP"; then
7067 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7069 else
7070 ac_cv_path_EGREP=$EGREP
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7076 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7077 EGREP="$ac_cv_path_EGREP"
7080 # Extract the first word of "ldconfig", so it can be a program name with args.
7081 set dummy ldconfig; ac_word=$2
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 printf %s "checking for $ac_word... " >&6; }
7084 if test ${ac_cv_path_LDCONFIG+y}
7085 then :
7086 printf %s "(cached) " >&6
7087 else $as_nop
7088 case $LDCONFIG in
7089 [\\/]* | ?:[\\/]*)
7090 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 for as_dir in /sbin /usr/sbin $PATH
7096 IFS=$as_save_IFS
7097 case $as_dir in #(((
7098 '') as_dir=./ ;;
7099 */) ;;
7100 *) as_dir=$as_dir/ ;;
7101 esac
7102 for ac_exec_ext in '' $ac_executable_extensions; do
7103 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7104 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7106 break 2
7108 done
7109 done
7110 IFS=$as_save_IFS
7112 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7114 esac
7116 LDCONFIG=$ac_cv_path_LDCONFIG
7117 if test -n "$LDCONFIG"; then
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7119 printf "%s\n" "$LDCONFIG" >&6; }
7120 else
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 printf "%s\n" "no" >&6; }
7126 for ac_prog in msgfmt
7128 # Extract the first word of "$ac_prog", so it can be a program name with args.
7129 set dummy $ac_prog; ac_word=$2
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 printf %s "checking for $ac_word... " >&6; }
7132 if test ${ac_cv_prog_MSGFMT+y}
7133 then :
7134 printf %s "(cached) " >&6
7135 else $as_nop
7136 if test -n "$MSGFMT"; then
7137 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7138 else
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 for as_dir in $PATH
7142 IFS=$as_save_IFS
7143 case $as_dir in #(((
7144 '') as_dir=./ ;;
7145 */) ;;
7146 *) as_dir=$as_dir/ ;;
7147 esac
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_MSGFMT="$ac_prog"
7151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7152 break 2
7154 done
7155 done
7156 IFS=$as_save_IFS
7160 MSGFMT=$ac_cv_prog_MSGFMT
7161 if test -n "$MSGFMT"; then
7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7163 printf "%s\n" "$MSGFMT" >&6; }
7164 else
7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 printf "%s\n" "no" >&6; }
7170 test -n "$MSGFMT" && break
7171 done
7172 test -n "$MSGFMT" || MSGFMT="false"
7174 if test ${ac_tool_prefix+y}
7175 then :
7176 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7177 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 printf %s "checking for $ac_word... " >&6; }
7180 if test ${ac_cv_prog_PKG_CONFIG+y}
7181 then :
7182 printf %s "(cached) " >&6
7183 else $as_nop
7184 if test -n "$PKG_CONFIG"; then
7185 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7190 IFS=$as_save_IFS
7191 case $as_dir in #(((
7192 '') as_dir=./ ;;
7193 */) ;;
7194 *) as_dir=$as_dir/ ;;
7195 esac
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7200 break 2
7202 done
7203 done
7204 IFS=$as_save_IFS
7208 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7209 if test -n "$PKG_CONFIG"; then
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7211 printf "%s\n" "$PKG_CONFIG" >&6; }
7212 else
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 printf "%s\n" "no" >&6; }
7219 if ${ac_cv_prog_PKG_CONFIG:+false} :
7220 then :
7221 if test "x$cross_compiling" = xyes
7222 then :
7224 else $as_nop
7225 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7226 # Extract the first word of "pkg-config", so it can be a program name with args.
7227 set dummy pkg-config; ac_word=$2
7228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 printf %s "checking for $ac_word... " >&6; }
7230 if test ${ac_cv_prog_PKG_CONFIG+y}
7231 then :
7232 printf %s "(cached) " >&6
7233 else $as_nop
7234 if test -n "$PKG_CONFIG"; then
7235 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7236 else
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7238 for as_dir in $PATH
7240 IFS=$as_save_IFS
7241 case $as_dir in #(((
7242 '') as_dir=./ ;;
7243 */) ;;
7244 *) as_dir=$as_dir/ ;;
7245 esac
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7248 ac_cv_prog_PKG_CONFIG="pkg-config"
7249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7259 if test -n "$PKG_CONFIG"; then
7260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7261 printf "%s\n" "$PKG_CONFIG" >&6; }
7262 else
7263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 printf "%s\n" "no" >&6; }
7269 else $as_nop
7270 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7273 if test "x$enable_maintainer_mode" != "xyes"
7274 then
7275 FONTFORGE=""
7276 RSVG=""
7277 CONVERT=""
7278 ICOTOOL=""
7279 else
7280 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7281 for ac_prog in fontforge
7283 # Extract the first word of "$ac_prog", so it can be a program name with args.
7284 set dummy $ac_prog; ac_word=$2
7285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 printf %s "checking for $ac_word... " >&6; }
7287 if test ${ac_cv_prog_FONTFORGE+y}
7288 then :
7289 printf %s "(cached) " >&6
7290 else $as_nop
7291 if test -n "$FONTFORGE"; then
7292 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7297 IFS=$as_save_IFS
7298 case $as_dir in #(((
7299 '') as_dir=./ ;;
7300 */) ;;
7301 *) as_dir=$as_dir/ ;;
7302 esac
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_FONTFORGE="$ac_prog"
7306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7307 break 2
7309 done
7310 done
7311 IFS=$as_save_IFS
7315 FONTFORGE=$ac_cv_prog_FONTFORGE
7316 if test -n "$FONTFORGE"; then
7317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7318 printf "%s\n" "$FONTFORGE" >&6; }
7319 else
7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 printf "%s\n" "no" >&6; }
7325 test -n "$FONTFORGE" && break
7326 done
7327 test -n "$FONTFORGE" || FONTFORGE="false"
7329 for ac_prog in rsvg-convert rsvg
7331 # Extract the first word of "$ac_prog", so it can be a program name with args.
7332 set dummy $ac_prog; ac_word=$2
7333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 printf %s "checking for $ac_word... " >&6; }
7335 if test ${ac_cv_prog_RSVG+y}
7336 then :
7337 printf %s "(cached) " >&6
7338 else $as_nop
7339 if test -n "$RSVG"; then
7340 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7345 IFS=$as_save_IFS
7346 case $as_dir in #(((
7347 '') as_dir=./ ;;
7348 */) ;;
7349 *) as_dir=$as_dir/ ;;
7350 esac
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7353 ac_cv_prog_RSVG="$ac_prog"
7354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7355 break 2
7357 done
7358 done
7359 IFS=$as_save_IFS
7363 RSVG=$ac_cv_prog_RSVG
7364 if test -n "$RSVG"; then
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7366 printf "%s\n" "$RSVG" >&6; }
7367 else
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 printf "%s\n" "no" >&6; }
7373 test -n "$RSVG" && break
7374 done
7375 test -n "$RSVG" || RSVG="false"
7377 for ac_prog in convert
7379 # Extract the first word of "$ac_prog", so it can be a program name with args.
7380 set dummy $ac_prog; ac_word=$2
7381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 printf %s "checking for $ac_word... " >&6; }
7383 if test ${ac_cv_prog_CONVERT+y}
7384 then :
7385 printf %s "(cached) " >&6
7386 else $as_nop
7387 if test -n "$CONVERT"; then
7388 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7389 else
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in $PATH
7393 IFS=$as_save_IFS
7394 case $as_dir in #(((
7395 '') as_dir=./ ;;
7396 */) ;;
7397 *) as_dir=$as_dir/ ;;
7398 esac
7399 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7401 ac_cv_prog_CONVERT="$ac_prog"
7402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7403 break 2
7405 done
7406 done
7407 IFS=$as_save_IFS
7411 CONVERT=$ac_cv_prog_CONVERT
7412 if test -n "$CONVERT"; then
7413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7414 printf "%s\n" "$CONVERT" >&6; }
7415 else
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 printf "%s\n" "no" >&6; }
7421 test -n "$CONVERT" && break
7422 done
7423 test -n "$CONVERT" || CONVERT="false"
7425 for ac_prog in icotool
7427 # Extract the first word of "$ac_prog", so it can be a program name with args.
7428 set dummy $ac_prog; ac_word=$2
7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 printf %s "checking for $ac_word... " >&6; }
7431 if test ${ac_cv_prog_ICOTOOL+y}
7432 then :
7433 printf %s "(cached) " >&6
7434 else $as_nop
7435 if test -n "$ICOTOOL"; then
7436 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7441 IFS=$as_save_IFS
7442 case $as_dir in #(((
7443 '') as_dir=./ ;;
7444 */) ;;
7445 *) as_dir=$as_dir/ ;;
7446 esac
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_ICOTOOL="$ac_prog"
7450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7451 break 2
7453 done
7454 done
7455 IFS=$as_save_IFS
7459 ICOTOOL=$ac_cv_prog_ICOTOOL
7460 if test -n "$ICOTOOL"; then
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7462 printf "%s\n" "$ICOTOOL" >&6; }
7463 else
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 printf "%s\n" "no" >&6; }
7469 test -n "$ICOTOOL" && break
7470 done
7471 test -n "$ICOTOOL" || ICOTOOL="false"
7473 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7474 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7476 if test "$CONVERT" = false
7477 then
7478 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7479 else
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7481 printf %s "checking for recent enough imagemagick... " >&6; }
7482 convert_version=`convert --version | head -n1`
7483 if test "x$convert_version" != "x"
7484 then
7485 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7486 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7487 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7488 then
7489 CONVERT=false
7492 if test "$CONVERT" = false
7493 then
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7495 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7496 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7497 else
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7499 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7503 if test "$ICOTOOL" = false
7504 then
7505 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7506 else
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7508 printf %s "checking for recent enough icotool... " >&6; }
7509 icotool_version=`icotool --version | head -n1`
7510 if test "x$icotool_version" != "x"
7511 then
7512 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7513 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7514 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7515 then
7516 ICOTOOL=false
7517 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7520 if test "$ICOTOOL" = false
7521 then
7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7523 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7524 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7525 else
7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7527 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7531 with_gettext=yes
7532 with_gettextpo=yes
7534 enable_werror=yes
7537 test "x$with_gettext" != xno || MSGFMT=false
7538 if test "$MSGFMT" != "false"
7539 then
7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7541 printf %s "checking whether msgfmt supports contexts... " >&6; }
7542 if test ${wine_cv_msgfmt_contexts+y}
7543 then :
7544 printf %s "(cached) " >&6
7545 else $as_nop
7546 cat >conftest.po <<EOF
7547 # comment
7548 msgctxt "ctxt"
7549 msgid "id"
7550 msgstr "str"
7552 if $MSGFMT -o /dev/null conftest.po 2>&5
7553 then
7554 wine_cv_msgfmt_contexts=yes
7555 else
7556 wine_cv_msgfmt_contexts=no
7559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7560 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7561 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7563 if test "$MSGFMT" = false
7564 then :
7565 case "x$with_gettext" in
7566 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7567 xno) ;;
7568 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7569 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7570 esac
7571 enable_po=${enable_po:-no}
7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7576 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7577 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7578 then :
7579 printf %s "(cached) " >&6
7580 else $as_nop
7581 ac_check_lib_save_LIBS=$LIBS
7582 LIBS="-li386 $LIBS"
7583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584 /* end confdefs.h. */
7586 /* Override any GCC internal prototype to avoid an error.
7587 Use char because int might match the return type of a GCC
7588 builtin and then its argument prototype would still apply. */
7589 char i386_set_ldt ();
7591 main (void)
7593 return i386_set_ldt ();
7595 return 0;
7597 _ACEOF
7598 if ac_fn_c_try_link "$LINENO"
7599 then :
7600 ac_cv_lib_i386_i386_set_ldt=yes
7601 else $as_nop
7602 ac_cv_lib_i386_i386_set_ldt=no
7604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7605 conftest$ac_exeext conftest.$ac_ext
7606 LIBS=$ac_check_lib_save_LIBS
7608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7609 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7610 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7611 then :
7612 I386_LIBS="-li386"
7617 OPENGL_LIBS=""
7621 # Check whether --enable-largefile was given.
7622 if test ${enable_largefile+y}
7623 then :
7624 enableval=$enable_largefile;
7627 if test "$enable_largefile" != no; then
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7630 printf %s "checking for special C compiler options needed for large files... " >&6; }
7631 if test ${ac_cv_sys_largefile_CC+y}
7632 then :
7633 printf %s "(cached) " >&6
7634 else $as_nop
7635 ac_cv_sys_largefile_CC=no
7636 if test "$GCC" != yes; then
7637 ac_save_CC=$CC
7638 while :; do
7639 # IRIX 6.2 and later do not support large files by default,
7640 # so use the C compiler's -n32 option if that helps.
7641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h. */
7643 #include <sys/types.h>
7644 /* Check that off_t can represent 2**63 - 1 correctly.
7645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7646 since some C++ compilers masquerading as C compilers
7647 incorrectly reject 9223372036854775807. */
7648 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7650 && LARGE_OFF_T % 2147483647 == 1)
7651 ? 1 : -1];
7653 main (void)
7657 return 0;
7659 _ACEOF
7660 if ac_fn_c_try_compile "$LINENO"
7661 then :
7662 break
7664 rm -f core conftest.err conftest.$ac_objext conftest.beam
7665 CC="$CC -n32"
7666 if ac_fn_c_try_compile "$LINENO"
7667 then :
7668 ac_cv_sys_largefile_CC=' -n32'; break
7670 rm -f core conftest.err conftest.$ac_objext conftest.beam
7671 break
7672 done
7673 CC=$ac_save_CC
7674 rm -f conftest.$ac_ext
7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7678 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7679 if test "$ac_cv_sys_largefile_CC" != no; then
7680 CC=$CC$ac_cv_sys_largefile_CC
7683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7684 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7685 if test ${ac_cv_sys_file_offset_bits+y}
7686 then :
7687 printf %s "(cached) " >&6
7688 else $as_nop
7689 while :; do
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #include <sys/types.h>
7693 /* Check that off_t can represent 2**63 - 1 correctly.
7694 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7695 since some C++ compilers masquerading as C compilers
7696 incorrectly reject 9223372036854775807. */
7697 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7698 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7699 && LARGE_OFF_T % 2147483647 == 1)
7700 ? 1 : -1];
7702 main (void)
7706 return 0;
7708 _ACEOF
7709 if ac_fn_c_try_compile "$LINENO"
7710 then :
7711 ac_cv_sys_file_offset_bits=no; break
7713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7716 #define _FILE_OFFSET_BITS 64
7717 #include <sys/types.h>
7718 /* Check that off_t can represent 2**63 - 1 correctly.
7719 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7720 since some C++ compilers masquerading as C compilers
7721 incorrectly reject 9223372036854775807. */
7722 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7723 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7724 && LARGE_OFF_T % 2147483647 == 1)
7725 ? 1 : -1];
7727 main (void)
7731 return 0;
7733 _ACEOF
7734 if ac_fn_c_try_compile "$LINENO"
7735 then :
7736 ac_cv_sys_file_offset_bits=64; break
7738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7739 ac_cv_sys_file_offset_bits=unknown
7740 break
7741 done
7743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7744 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7745 case $ac_cv_sys_file_offset_bits in #(
7746 no | unknown) ;;
7748 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7750 esac
7751 rm -rf conftest*
7752 if test $ac_cv_sys_file_offset_bits = unknown; then
7753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7754 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7755 if test ${ac_cv_sys_large_files+y}
7756 then :
7757 printf %s "(cached) " >&6
7758 else $as_nop
7759 while :; do
7760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7762 #include <sys/types.h>
7763 /* Check that off_t can represent 2**63 - 1 correctly.
7764 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7765 since some C++ compilers masquerading as C compilers
7766 incorrectly reject 9223372036854775807. */
7767 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7768 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7769 && LARGE_OFF_T % 2147483647 == 1)
7770 ? 1 : -1];
7772 main (void)
7776 return 0;
7778 _ACEOF
7779 if ac_fn_c_try_compile "$LINENO"
7780 then :
7781 ac_cv_sys_large_files=no; break
7783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7786 #define _LARGE_FILES 1
7787 #include <sys/types.h>
7788 /* Check that off_t can represent 2**63 - 1 correctly.
7789 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7790 since some C++ compilers masquerading as C compilers
7791 incorrectly reject 9223372036854775807. */
7792 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7793 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7794 && LARGE_OFF_T % 2147483647 == 1)
7795 ? 1 : -1];
7797 main (void)
7801 return 0;
7803 _ACEOF
7804 if ac_fn_c_try_compile "$LINENO"
7805 then :
7806 ac_cv_sys_large_files=1; break
7808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7809 ac_cv_sys_large_files=unknown
7810 break
7811 done
7813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7814 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7815 case $ac_cv_sys_large_files in #(
7816 no | unknown) ;;
7818 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7820 esac
7821 rm -rf conftest*
7826 ac_header= ac_cache=
7827 for ac_item in $ac_header_c_list
7829 if test $ac_cache; then
7830 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7831 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7832 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7834 ac_header= ac_cache=
7835 elif test $ac_header; then
7836 ac_cache=$ac_item
7837 else
7838 ac_header=$ac_item
7840 done
7849 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7850 then :
7852 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_AL_al_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_CL_cl_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_EGL_egl_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_Security_Security_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_arpa_inet_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_asm_types_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_asm_user_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_elf_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_float_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_gettext_po_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_libproc_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_link_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_filter_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_linux_input_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_linux_major_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_linux_param_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_linux_serial_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_linux_types_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_lwp_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_mach_mach_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_machine_cpu_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_mntent_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_netdb_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_netinet_in_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_port_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_pthread_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_pwd_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sched_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_scsi_sg_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_stdint_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_attr_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_auxv_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_cdio_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_epoll_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_event_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_filio_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_ipc_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_link_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_modem_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_mtio_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_param_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_prctl_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_queue_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_random_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_resource_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_shm_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_signal_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_sockio_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_strtio_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_sys_syscall_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_times_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_sys_uio_h" = xyes
8343 then :
8344 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_user_h" = xyes
8349 then :
8350 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_sys_utsname_h" = xyes
8355 then :
8356 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8359 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_sys_vnode_h" = xyes
8361 then :
8362 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8365 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8366 if test "x$ac_cv_header_sys_xattr_h" = xyes
8367 then :
8368 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8372 if test "x$ac_cv_header_syscall_h" = xyes
8373 then :
8374 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8377 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8378 if test "x$ac_cv_header_utime_h" = xyes
8379 then :
8380 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8383 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8384 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8385 then :
8386 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8389 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8390 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8391 then :
8392 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8396 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8397 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8398 then :
8400 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8404 if test $ac_cv_header_sys_mkdev_h = no; then
8405 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8406 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8407 then :
8409 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8415 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8416 if test ${ac_cv_header_stat_broken+y}
8417 then :
8418 printf %s "(cached) " >&6
8419 else $as_nop
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 #include <sys/types.h>
8423 #include <sys/stat.h>
8425 #if defined S_ISBLK && defined S_IFDIR
8426 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8427 #endif
8429 #if defined S_ISBLK && defined S_IFCHR
8430 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8431 #endif
8433 #if defined S_ISLNK && defined S_IFREG
8434 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8435 #endif
8437 #if defined S_ISSOCK && defined S_IFREG
8438 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8439 #endif
8441 _ACEOF
8442 if ac_fn_c_try_compile "$LINENO"
8443 then :
8444 ac_cv_header_stat_broken=no
8445 else $as_nop
8446 ac_cv_header_stat_broken=yes
8448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8451 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8452 if test $ac_cv_header_stat_broken = yes; then
8454 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8460 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8461 #ifdef HAVE_SYS_PARAM_H
8462 # include <sys/param.h>
8463 #endif
8465 if test "x$ac_cv_header_sys_conf_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8471 #ifdef HAVE_SYS_PARAM_H
8472 # include <sys/param.h>
8473 #endif
8475 if test "x$ac_cv_header_sys_mount_h" = xyes
8476 then :
8477 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8480 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8481 #ifdef HAVE_SYS_PARAM_H
8482 # include <sys/param.h>
8483 #endif
8485 if test "x$ac_cv_header_sys_statfs_h" = xyes
8486 then :
8487 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8490 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8491 #ifdef HAVE_SYS_PARAM_H
8492 # include <sys/param.h>
8493 #endif
8495 if test "x$ac_cv_header_sys_user_h" = xyes
8496 then :
8497 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8501 #ifdef HAVE_SYS_PARAM_H
8502 # include <sys/param.h>
8503 #endif
8505 if test "x$ac_cv_header_sys_vfs_h" = xyes
8506 then :
8507 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8512 saved_sysctl_h_CFLAGS=$CFLAGS
8513 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8514 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8515 #ifdef HAVE_SYS_PARAM_H
8516 # include <sys/param.h>
8517 #endif
8519 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8525 CFLAGS=$saved_sysctl_h_CFLAGS
8527 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8528 #include <sys/socket.h>
8529 #ifdef HAVE_SYS_SOCKETVAR_H
8530 # include <sys/socketvar.h>
8531 #endif
8532 #ifdef HAVE_NET_ROUTE_H
8533 # include <net/route.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IN_H
8536 # include <netinet/in.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_SYSTM_H
8539 # include <netinet/in_systm.h>
8540 #endif
8541 #ifdef HAVE_NET_IF_H
8542 # include <net/if.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IP_H
8545 # include <netinet/ip.h>
8546 #endif
8548 if test "x$ac_cv_header_netinet_ip_h" = xyes
8549 then :
8550 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8553 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8554 #include <sys/socket.h>
8555 #ifdef HAVE_SYS_SOCKETVAR_H
8556 # include <sys/socketvar.h>
8557 #endif
8558 #ifdef HAVE_NET_ROUTE_H
8559 # include <net/route.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IN_H
8562 # include <netinet/in.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_SYSTM_H
8565 # include <netinet/in_systm.h>
8566 #endif
8567 #ifdef HAVE_NET_IF_H
8568 # include <net/if.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IP_H
8571 # include <netinet/ip.h>
8572 #endif
8574 if test "x$ac_cv_header_net_if_h" = xyes
8575 then :
8576 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8579 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8580 #include <sys/socket.h>
8581 #ifdef HAVE_SYS_SOCKETVAR_H
8582 # include <sys/socketvar.h>
8583 #endif
8584 #ifdef HAVE_NET_ROUTE_H
8585 # include <net/route.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IN_H
8588 # include <netinet/in.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_SYSTM_H
8591 # include <netinet/in_systm.h>
8592 #endif
8593 #ifdef HAVE_NET_IF_H
8594 # include <net/if.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IP_H
8597 # include <netinet/ip.h>
8598 #endif
8600 if test "x$ac_cv_header_net_if_arp_h" = xyes
8601 then :
8602 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8605 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8606 #include <sys/socket.h>
8607 #ifdef HAVE_SYS_SOCKETVAR_H
8608 # include <sys/socketvar.h>
8609 #endif
8610 #ifdef HAVE_NET_ROUTE_H
8611 # include <net/route.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IN_H
8614 # include <netinet/in.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_SYSTM_H
8617 # include <netinet/in_systm.h>
8618 #endif
8619 #ifdef HAVE_NET_IF_H
8620 # include <net/if.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IP_H
8623 # include <netinet/ip.h>
8624 #endif
8626 if test "x$ac_cv_header_net_if_dl_h" = xyes
8627 then :
8628 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8631 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8632 #include <sys/socket.h>
8633 #ifdef HAVE_SYS_SOCKETVAR_H
8634 # include <sys/socketvar.h>
8635 #endif
8636 #ifdef HAVE_NET_ROUTE_H
8637 # include <net/route.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IN_H
8640 # include <netinet/in.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_SYSTM_H
8643 # include <netinet/in_systm.h>
8644 #endif
8645 #ifdef HAVE_NET_IF_H
8646 # include <net/if.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IP_H
8649 # include <netinet/ip.h>
8650 #endif
8652 if test "x$ac_cv_header_net_if_types_h" = xyes
8653 then :
8654 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8657 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8658 #include <sys/socket.h>
8659 #ifdef HAVE_SYS_SOCKETVAR_H
8660 # include <sys/socketvar.h>
8661 #endif
8662 #ifdef HAVE_NET_ROUTE_H
8663 # include <net/route.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IN_H
8666 # include <netinet/in.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_SYSTM_H
8669 # include <netinet/in_systm.h>
8670 #endif
8671 #ifdef HAVE_NET_IF_H
8672 # include <net/if.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IP_H
8675 # include <netinet/ip.h>
8676 #endif
8678 if test "x$ac_cv_header_net_route_h" = xyes
8679 then :
8680 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8683 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8684 #include <sys/socket.h>
8685 #ifdef HAVE_SYS_SOCKETVAR_H
8686 # include <sys/socketvar.h>
8687 #endif
8688 #ifdef HAVE_NET_ROUTE_H
8689 # include <net/route.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IN_H
8692 # include <netinet/in.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_SYSTM_H
8695 # include <netinet/in_systm.h>
8696 #endif
8697 #ifdef HAVE_NET_IF_H
8698 # include <net/if.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IP_H
8701 # include <netinet/ip.h>
8702 #endif
8704 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8705 then :
8706 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8709 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8710 #include <sys/socket.h>
8711 #ifdef HAVE_SYS_SOCKETVAR_H
8712 # include <sys/socketvar.h>
8713 #endif
8714 #ifdef HAVE_NET_ROUTE_H
8715 # include <net/route.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IN_H
8718 # include <netinet/in.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_SYSTM_H
8721 # include <netinet/in_systm.h>
8722 #endif
8723 #ifdef HAVE_NET_IF_H
8724 # include <net/if.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IP_H
8727 # include <netinet/ip.h>
8728 #endif
8730 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8731 then :
8732 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8735 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8736 #include <sys/socket.h>
8737 #ifdef HAVE_SYS_SOCKETVAR_H
8738 # include <sys/socketvar.h>
8739 #endif
8740 #ifdef HAVE_NET_ROUTE_H
8741 # include <net/route.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IN_H
8744 # include <netinet/in.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_SYSTM_H
8747 # include <netinet/in_systm.h>
8748 #endif
8749 #ifdef HAVE_NET_IF_H
8750 # include <net/if.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IP_H
8753 # include <netinet/ip.h>
8754 #endif
8756 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8757 then :
8758 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8761 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8762 #include <sys/socket.h>
8763 #ifdef HAVE_SYS_SOCKETVAR_H
8764 # include <sys/socketvar.h>
8765 #endif
8766 #ifdef HAVE_NET_ROUTE_H
8767 # include <net/route.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IN_H
8770 # include <netinet/in.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_SYSTM_H
8773 # include <netinet/in_systm.h>
8774 #endif
8775 #ifdef HAVE_NET_IF_H
8776 # include <net/if.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IP_H
8779 # include <netinet/ip.h>
8780 #endif
8782 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8783 then :
8784 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8787 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8788 #include <sys/socket.h>
8789 #ifdef HAVE_SYS_SOCKETVAR_H
8790 # include <sys/socketvar.h>
8791 #endif
8792 #ifdef HAVE_NET_ROUTE_H
8793 # include <net/route.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IN_H
8796 # include <netinet/in.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_SYSTM_H
8799 # include <netinet/in_systm.h>
8800 #endif
8801 #ifdef HAVE_NET_IF_H
8802 # include <net/if.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IP_H
8805 # include <netinet/ip.h>
8806 #endif
8808 if test "x$ac_cv_header_netinet_udp_h" = xyes
8809 then :
8810 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8813 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8814 #include <sys/socket.h>
8815 #ifdef HAVE_SYS_SOCKETVAR_H
8816 # include <sys/socketvar.h>
8817 #endif
8818 #ifdef HAVE_NET_ROUTE_H
8819 # include <net/route.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8826 #endif
8827 #ifdef HAVE_NET_IF_H
8828 # include <net/if.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_H
8831 # include <netinet/ip.h>
8832 #endif
8834 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8835 then :
8836 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8839 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8840 #include <sys/socket.h>
8841 #ifdef HAVE_SYS_SOCKETVAR_H
8842 # include <sys/socketvar.h>
8843 #endif
8844 #ifdef HAVE_NET_ROUTE_H
8845 # include <net/route.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_H
8848 # include <netinet/in.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_SYSTM_H
8851 # include <netinet/in_systm.h>
8852 #endif
8853 #ifdef HAVE_NET_IF_H
8854 # include <net/if.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_H
8857 # include <netinet/ip.h>
8858 #endif
8860 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8861 then :
8862 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8865 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8866 #include <sys/socket.h>
8867 #ifdef HAVE_SYS_SOCKETVAR_H
8868 # include <sys/socketvar.h>
8869 #endif
8870 #ifdef HAVE_NET_ROUTE_H
8871 # include <net/route.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8878 #endif
8879 #ifdef HAVE_NET_IF_H
8880 # include <net/if.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_H
8883 # include <netinet/ip.h>
8884 #endif
8886 if test "x$ac_cv_header_sys_un_h" = xyes
8887 then :
8888 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8893 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8894 #include <sys/socket.h>
8895 #ifdef HAVE_SYS_SOCKETVAR_H
8896 # include <sys/socketvar.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IN_H
8899 # include <netinet/in.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IN_SYSTM_H
8902 # include <netinet/in_systm.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_H
8905 # include <netinet/ip.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_VAR_H
8908 # include <netinet/ip_var.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_ICMP_H
8911 # include <netinet/ip_icmp.h>
8912 #endif
8913 #ifdef HAVE_NETINET_UDP_H
8914 # include <netinet/udp.h>
8915 #endif
8916 #ifdef HAVE_NETINET_TCP_H
8917 # include <netinet/tcp.h>
8918 #endif
8920 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8921 then :
8922 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8925 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8926 #include <sys/socket.h>
8927 #ifdef HAVE_SYS_SOCKETVAR_H
8928 # include <sys/socketvar.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IN_H
8931 # include <netinet/in.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IN_SYSTM_H
8934 # include <netinet/in_systm.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_H
8937 # include <netinet/ip.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IP_VAR_H
8940 # include <netinet/ip_var.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IP_ICMP_H
8943 # include <netinet/ip_icmp.h>
8944 #endif
8945 #ifdef HAVE_NETINET_UDP_H
8946 # include <netinet/udp.h>
8947 #endif
8948 #ifdef HAVE_NETINET_TCP_H
8949 # include <netinet/tcp.h>
8950 #endif
8952 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8953 then :
8954 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8957 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8958 #include <sys/socket.h>
8959 #ifdef HAVE_SYS_SOCKETVAR_H
8960 # include <sys/socketvar.h>
8961 #endif
8962 #ifdef HAVE_NETINET_IN_H
8963 # include <netinet/in.h>
8964 #endif
8965 #ifdef HAVE_NETINET_IN_SYSTM_H
8966 # include <netinet/in_systm.h>
8967 #endif
8968 #ifdef HAVE_NETINET_IP_H
8969 # include <netinet/ip.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IP_VAR_H
8972 # include <netinet/ip_var.h>
8973 #endif
8974 #ifdef HAVE_NETINET_IP_ICMP_H
8975 # include <netinet/ip_icmp.h>
8976 #endif
8977 #ifdef HAVE_NETINET_UDP_H
8978 # include <netinet/udp.h>
8979 #endif
8980 #ifdef HAVE_NETINET_TCP_H
8981 # include <netinet/tcp.h>
8982 #endif
8984 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8985 then :
8986 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8989 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8990 #include <sys/socket.h>
8991 #ifdef HAVE_SYS_SOCKETVAR_H
8992 # include <sys/socketvar.h>
8993 #endif
8994 #ifdef HAVE_NETINET_IN_H
8995 # include <netinet/in.h>
8996 #endif
8997 #ifdef HAVE_NETINET_IN_SYSTM_H
8998 # include <netinet/in_systm.h>
8999 #endif
9000 #ifdef HAVE_NETINET_IP_H
9001 # include <netinet/ip.h>
9002 #endif
9003 #ifdef HAVE_NETINET_IP_VAR_H
9004 # include <netinet/ip_var.h>
9005 #endif
9006 #ifdef HAVE_NETINET_IP_ICMP_H
9007 # include <netinet/ip_icmp.h>
9008 #endif
9009 #ifdef HAVE_NETINET_UDP_H
9010 # include <netinet/udp.h>
9011 #endif
9012 #ifdef HAVE_NETINET_TCP_H
9013 # include <netinet/tcp.h>
9014 #endif
9016 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9017 then :
9018 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9024 #include <sys/socket.h>
9025 #ifdef HAVE_ASM_TYPES_H
9026 # include <asm/types.h>
9027 #endif
9028 #ifdef HAVE_LINUX_TYPES_H
9029 # include <linux/types.h>
9030 #endif
9032 if test "x$ac_cv_header_linux_ipx_h" = xyes
9033 then :
9034 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9037 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9038 #include <sys/socket.h>
9039 #ifdef HAVE_ASM_TYPES_H
9040 # include <asm/types.h>
9041 #endif
9042 #ifdef HAVE_LINUX_TYPES_H
9043 # include <linux/types.h>
9044 #endif
9046 if test "x$ac_cv_header_linux_irda_h" = xyes
9047 then :
9048 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9051 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9052 #include <sys/socket.h>
9053 #ifdef HAVE_ASM_TYPES_H
9054 # include <asm/types.h>
9055 #endif
9056 #ifdef HAVE_LINUX_TYPES_H
9057 # include <linux/types.h>
9058 #endif
9060 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9068 #include <sys/socket.h>
9069 #ifdef HAVE_NETINET_IN_H
9070 # include <netinet/in.h>
9071 #endif
9072 #ifdef HAVE_ARPA_NAMESER_H
9073 # include <arpa/nameser.h>
9074 #endif
9076 if test "x$ac_cv_header_resolv_h" = xyes
9077 then :
9078 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9083 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9085 if test "x$ac_cv_header_ifaddrs_h" = xyes
9086 then :
9087 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9092 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9094 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9102 #ifdef HAVE_SYS_UCONTEXT_H
9103 #include <sys/ucontext.h>
9104 #endif
9106 if test "x$ac_cv_header_sys_thr_h" = xyes
9107 then :
9108 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9113 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9114 #include <pthread.h>
9115 #endif
9117 if test "x$ac_cv_header_pthread_np_h" = xyes
9118 then :
9119 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9124 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9125 #include <sys/types.h>
9126 #ifdef HAVE_ASM_TYPES_H
9127 #include <asm/types.h>
9128 #endif
9130 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9131 then :
9132 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9137 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9138 #include <sys/param.h>
9139 #endif
9140 #include <sys/socket.h>
9141 #ifdef HAVE_SYS_QUEUE_H
9142 #include <sys/queue.h>
9143 #endif
9145 if test "x$ac_cv_header_libprocstat_h" = xyes
9146 then :
9147 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9152 if test "x$ac_cv_header_sys_xattr_h" = xyes
9153 then
9154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9155 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9156 if test ${wine_cv_xattr_extra_args+y}
9157 then :
9158 printf %s "(cached) " >&6
9159 else $as_nop
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 #include <sys/xattr.h>
9164 main (void)
9166 getxattr("", "", "", 0, 0, 0);
9168 return 0;
9170 _ACEOF
9171 if ac_fn_c_try_compile "$LINENO"
9172 then :
9173 wine_cv_xattr_extra_args=yes
9174 else $as_nop
9175 wine_cv_xattr_extra_args=no
9177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9180 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9181 test $wine_cv_xattr_extra_args != yes ||
9182 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9187 DLLFLAGS=""
9189 LDDLLFLAGS=""
9191 LDEXECFLAGS=""
9193 EXTRACFLAGS=""
9195 UNIXDLLFLAGS="-fPIC"
9197 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9199 TOP_INSTALL_LIB=""
9201 TOP_INSTALL_DEV=""
9203 WINELOADER_LDFLAGS=""
9205 WINEPRELOADER_LDFLAGS=""
9207 LIBEXT="so"
9208 # Extract the first word of "ldd", so it can be a program name with args.
9209 set dummy ldd; ac_word=$2
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9211 printf %s "checking for $ac_word... " >&6; }
9212 if test ${ac_cv_path_LDD+y}
9213 then :
9214 printf %s "(cached) " >&6
9215 else $as_nop
9216 case $LDD in
9217 [\\/]* | ?:[\\/]*)
9218 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9222 as_dummy="/sbin:/usr/sbin:$PATH"
9223 for as_dir in $as_dummy
9225 IFS=$as_save_IFS
9226 case $as_dir in #(((
9227 '') as_dir=./ ;;
9228 */) ;;
9229 *) as_dir=$as_dir/ ;;
9230 esac
9231 for ac_exec_ext in '' $ac_executable_extensions; do
9232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9233 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9235 break 2
9237 done
9238 done
9239 IFS=$as_save_IFS
9241 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9243 esac
9245 LDD=$ac_cv_path_LDD
9246 if test -n "$LDD"; then
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9248 printf "%s\n" "$LDD" >&6; }
9249 else
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9251 printf "%s\n" "no" >&6; }
9255 if test -n "$ac_tool_prefix"; then
9256 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9257 set dummy ${ac_tool_prefix}otool; ac_word=$2
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9259 printf %s "checking for $ac_word... " >&6; }
9260 if test ${ac_cv_prog_OTOOL+y}
9261 then :
9262 printf %s "(cached) " >&6
9263 else $as_nop
9264 if test -n "$OTOOL"; then
9265 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9266 else
9267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9268 for as_dir in $PATH
9270 IFS=$as_save_IFS
9271 case $as_dir in #(((
9272 '') as_dir=./ ;;
9273 */) ;;
9274 *) as_dir=$as_dir/ ;;
9275 esac
9276 for ac_exec_ext in '' $ac_executable_extensions; do
9277 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9278 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9280 break 2
9282 done
9283 done
9284 IFS=$as_save_IFS
9288 OTOOL=$ac_cv_prog_OTOOL
9289 if test -n "$OTOOL"; then
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9291 printf "%s\n" "$OTOOL" >&6; }
9292 else
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9294 printf "%s\n" "no" >&6; }
9299 if test -z "$ac_cv_prog_OTOOL"; then
9300 ac_ct_OTOOL=$OTOOL
9301 # Extract the first word of "otool", so it can be a program name with args.
9302 set dummy otool; ac_word=$2
9303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9304 printf %s "checking for $ac_word... " >&6; }
9305 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9306 then :
9307 printf %s "(cached) " >&6
9308 else $as_nop
9309 if test -n "$ac_ct_OTOOL"; then
9310 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9311 else
9312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9313 for as_dir in $PATH
9315 IFS=$as_save_IFS
9316 case $as_dir in #(((
9317 '') as_dir=./ ;;
9318 */) ;;
9319 *) as_dir=$as_dir/ ;;
9320 esac
9321 for ac_exec_ext in '' $ac_executable_extensions; do
9322 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9323 ac_cv_prog_ac_ct_OTOOL="otool"
9324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9325 break 2
9327 done
9328 done
9329 IFS=$as_save_IFS
9333 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9334 if test -n "$ac_ct_OTOOL"; then
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9336 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9337 else
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9339 printf "%s\n" "no" >&6; }
9342 if test "x$ac_ct_OTOOL" = x; then
9343 OTOOL="otool"
9344 else
9345 case $cross_compiling:$ac_tool_warned in
9346 yes:)
9347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9348 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9349 ac_tool_warned=yes ;;
9350 esac
9351 OTOOL=$ac_ct_OTOOL
9353 else
9354 OTOOL="$ac_cv_prog_OTOOL"
9357 if test -n "$ac_tool_prefix"; then
9358 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9359 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9361 printf %s "checking for $ac_word... " >&6; }
9362 if test ${ac_cv_prog_READELF+y}
9363 then :
9364 printf %s "(cached) " >&6
9365 else $as_nop
9366 if test -n "$READELF"; then
9367 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9368 else
9369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9370 for as_dir in $PATH
9372 IFS=$as_save_IFS
9373 case $as_dir in #(((
9374 '') as_dir=./ ;;
9375 */) ;;
9376 *) as_dir=$as_dir/ ;;
9377 esac
9378 for ac_exec_ext in '' $ac_executable_extensions; do
9379 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9380 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9382 break 2
9384 done
9385 done
9386 IFS=$as_save_IFS
9390 READELF=$ac_cv_prog_READELF
9391 if test -n "$READELF"; then
9392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9393 printf "%s\n" "$READELF" >&6; }
9394 else
9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9396 printf "%s\n" "no" >&6; }
9401 if test -z "$ac_cv_prog_READELF"; then
9402 ac_ct_READELF=$READELF
9403 # Extract the first word of "readelf", so it can be a program name with args.
9404 set dummy readelf; ac_word=$2
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406 printf %s "checking for $ac_word... " >&6; }
9407 if test ${ac_cv_prog_ac_ct_READELF+y}
9408 then :
9409 printf %s "(cached) " >&6
9410 else $as_nop
9411 if test -n "$ac_ct_READELF"; then
9412 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9413 else
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9415 for as_dir in $PATH
9417 IFS=$as_save_IFS
9418 case $as_dir in #(((
9419 '') as_dir=./ ;;
9420 */) ;;
9421 *) as_dir=$as_dir/ ;;
9422 esac
9423 for ac_exec_ext in '' $ac_executable_extensions; do
9424 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9425 ac_cv_prog_ac_ct_READELF="readelf"
9426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9427 break 2
9429 done
9430 done
9431 IFS=$as_save_IFS
9435 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9436 if test -n "$ac_ct_READELF"; then
9437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9438 printf "%s\n" "$ac_ct_READELF" >&6; }
9439 else
9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9441 printf "%s\n" "no" >&6; }
9444 if test "x$ac_ct_READELF" = x; then
9445 READELF="true"
9446 else
9447 case $cross_compiling:$ac_tool_warned in
9448 yes:)
9449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9450 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9451 ac_tool_warned=yes ;;
9452 esac
9453 READELF=$ac_ct_READELF
9455 else
9456 READELF="$ac_cv_prog_READELF"
9459 wine_rules="all:"
9460 SUBDIRS=""
9462 DISABLED_SUBDIRS=""
9464 CONFIGURE_TARGETS=""
9467 wine_fn_config_makefile ()
9469 as_fn_append SUBDIRS " \\$as_nl $1"
9470 eval enable=\$$2
9471 case "$enable" in
9472 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9473 *aarch64*|*arm*|*i386*|*x86_64*)
9474 if test -n "$PE_ARCHS"
9475 then
9476 for i in $PE_ARCHS
9478 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9479 done
9480 else
9481 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9482 fi;;
9483 esac
9486 wine_fn_config_symlink ()
9488 ac_links=$@
9489 as_fn_append wine_rules "
9490 $ac_links:
9491 @./config.status \$@"
9492 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9495 wine_binary="wine"
9496 test "$HOST_ARCH" != x86_64 || wine_binary="wine64"
9497 WINELOADER_PROGRAMS="$wine_binary"
9499 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9501 case $host_os in
9502 cygwin*|mingw32*)
9503 LIBEXT="dll"
9504 EXTRACFLAGS="-D__WINE_PE_BUILD"
9505 case $host_cpu in
9506 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9507 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9508 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9509 then :
9510 printf %s "(cached) " >&6
9511 else $as_nop
9512 ac_wine_try_cflags_saved=$CFLAGS
9513 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"
9519 then :
9520 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9521 else $as_nop
9522 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9525 conftest$ac_exeext conftest.$ac_ext
9526 CFLAGS=$ac_wine_try_cflags_saved
9528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9529 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9530 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9531 then :
9532 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9533 fi ;;
9534 esac
9535 enable_loader=${enable_loader:-no}
9536 enable_server=${enable_server:-no}
9537 with_x=${with_x:-no}
9538 with_pthread=${with_pthread:-no}
9541 darwin*|macosx*)
9542 ac_ext=m
9543 ac_cpp='$OBJCPP $CPPFLAGS'
9544 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9545 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9546 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9548 ac_ext=m
9549 ac_cpp='$OBJCPP $CPPFLAGS'
9550 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9551 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9552 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9553 if test -n "$ac_tool_prefix"; then
9554 for ac_prog in gcc objcc objc cc CC clang
9556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9557 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9559 printf %s "checking for $ac_word... " >&6; }
9560 if test ${ac_cv_prog_OBJC+y}
9561 then :
9562 printf %s "(cached) " >&6
9563 else $as_nop
9564 if test -n "$OBJC"; then
9565 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9566 else
9567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9568 for as_dir in $PATH
9570 IFS=$as_save_IFS
9571 case $as_dir in #(((
9572 '') as_dir=./ ;;
9573 */) ;;
9574 *) as_dir=$as_dir/ ;;
9575 esac
9576 for ac_exec_ext in '' $ac_executable_extensions; do
9577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9578 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9580 break 2
9582 done
9583 done
9584 IFS=$as_save_IFS
9588 OBJC=$ac_cv_prog_OBJC
9589 if test -n "$OBJC"; then
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9591 printf "%s\n" "$OBJC" >&6; }
9592 else
9593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 printf "%s\n" "no" >&6; }
9598 test -n "$OBJC" && break
9599 done
9601 if test -z "$OBJC"; then
9602 ac_ct_OBJC=$OBJC
9603 for ac_prog in gcc objcc objc cc CC clang
9605 # Extract the first word of "$ac_prog", so it can be a program name with args.
9606 set dummy $ac_prog; ac_word=$2
9607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9608 printf %s "checking for $ac_word... " >&6; }
9609 if test ${ac_cv_prog_ac_ct_OBJC+y}
9610 then :
9611 printf %s "(cached) " >&6
9612 else $as_nop
9613 if test -n "$ac_ct_OBJC"; then
9614 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9615 else
9616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9617 for as_dir in $PATH
9619 IFS=$as_save_IFS
9620 case $as_dir in #(((
9621 '') as_dir=./ ;;
9622 */) ;;
9623 *) as_dir=$as_dir/ ;;
9624 esac
9625 for ac_exec_ext in '' $ac_executable_extensions; do
9626 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9627 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9629 break 2
9631 done
9632 done
9633 IFS=$as_save_IFS
9637 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9638 if test -n "$ac_ct_OBJC"; then
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9640 printf "%s\n" "$ac_ct_OBJC" >&6; }
9641 else
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9643 printf "%s\n" "no" >&6; }
9647 test -n "$ac_ct_OBJC" && break
9648 done
9650 if test "x$ac_ct_OBJC" = x; then
9651 OBJC="gcc"
9652 else
9653 case $cross_compiling:$ac_tool_warned in
9654 yes:)
9655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9656 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9657 ac_tool_warned=yes ;;
9658 esac
9659 OBJC=$ac_ct_OBJC
9663 # Provide some information about the compiler.
9664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9665 set X $ac_compile
9666 ac_compiler=$2
9667 for ac_option in --version -v -V -qversion; do
9668 { { ac_try="$ac_compiler $ac_option >&5"
9669 case "(($ac_try" in
9670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9671 *) ac_try_echo=$ac_try;;
9672 esac
9673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9674 printf "%s\n" "$ac_try_echo"; } >&5
9675 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9676 ac_status=$?
9677 if test -s conftest.err; then
9678 sed '10a\
9679 ... rest of stderr output deleted ...
9680 10q' conftest.err >conftest.er1
9681 cat conftest.er1 >&5
9683 rm -f conftest.er1 conftest.err
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9685 test $ac_status = 0; }
9686 done
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9689 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9690 if test ${ac_cv_objc_compiler_gnu+y}
9691 then :
9692 printf %s "(cached) " >&6
9693 else $as_nop
9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h. */
9698 main (void)
9700 #ifndef __GNUC__
9701 choke me
9702 #endif
9705 return 0;
9707 _ACEOF
9708 if ac_fn_objc_try_compile "$LINENO"
9709 then :
9710 ac_compiler_gnu=yes
9711 else $as_nop
9712 ac_compiler_gnu=no
9714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9715 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9719 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9720 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9722 if test $ac_compiler_gnu = yes; then
9723 GOBJC=yes
9724 else
9725 GOBJC=
9727 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9728 ac_save_OBJCFLAGS=$OBJCFLAGS
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9730 printf %s "checking whether $OBJC accepts -g... " >&6; }
9731 if test ${ac_cv_prog_objc_g+y}
9732 then :
9733 printf %s "(cached) " >&6
9734 else $as_nop
9735 ac_save_objc_werror_flag=$ac_objc_werror_flag
9736 ac_objc_werror_flag=yes
9737 ac_cv_prog_objc_g=no
9738 OBJCFLAGS="-g"
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9743 main (void)
9747 return 0;
9749 _ACEOF
9750 if ac_fn_objc_try_compile "$LINENO"
9751 then :
9752 ac_cv_prog_objc_g=yes
9753 else $as_nop
9754 OBJCFLAGS=""
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9759 main (void)
9763 return 0;
9765 _ACEOF
9766 if ac_fn_objc_try_compile "$LINENO"
9767 then :
9769 else $as_nop
9770 ac_objc_werror_flag=$ac_save_objc_werror_flag
9771 OBJCFLAGS="-g"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9776 main (void)
9780 return 0;
9782 _ACEOF
9783 if ac_fn_objc_try_compile "$LINENO"
9784 then :
9785 ac_cv_prog_objc_g=yes
9787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9792 ac_objc_werror_flag=$ac_save_objc_werror_flag
9794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9795 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9796 if test $ac_test_OBJCFLAGS; then
9797 OBJCFLAGS=$ac_save_OBJCFLAGS
9798 elif test $ac_cv_prog_objc_g = yes; then
9799 if test "$GOBJC" = yes; then
9800 OBJCFLAGS="-g -O2"
9801 else
9802 OBJCFLAGS="-g"
9804 else
9805 if test "$GOBJC" = yes; then
9806 OBJCFLAGS="-O2"
9807 else
9808 OBJCFLAGS=
9811 ac_ext=m
9812 ac_cpp='$OBJCPP $CPPFLAGS'
9813 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9814 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9815 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9818 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9819 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9820 then :
9821 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9825 ac_ext=c
9826 ac_cpp='$CPP $CPPFLAGS'
9827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9831 LIBEXT="dylib"
9832 DLLFLAGS="$DLLFLAGS -fPIC"
9833 LDDLLFLAGS="-fPIC"
9834 COREFOUNDATION_LIBS="-framework CoreFoundation"
9836 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9838 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9840 CORESERVICES_LIBS="-framework CoreServices"
9842 APPKIT_LIBS="-framework AppKit"
9844 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9847 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9849 wine_can_build_preloader=yes
9850 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"
9851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9852 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9853 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9854 then :
9855 printf %s "(cached) " >&6
9856 else $as_nop
9857 ac_wine_try_cflags_saved=$CFLAGS
9858 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9861 int main(int argc, char **argv) { return 0; }
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"
9864 then :
9865 ac_cv_cflags__Wl__no_new_main__e__main=yes
9866 else $as_nop
9867 ac_cv_cflags__Wl__no_new_main__e__main=no
9869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9870 conftest$ac_exeext conftest.$ac_ext
9871 CFLAGS=$ac_wine_try_cflags_saved
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9874 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9875 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9876 then :
9877 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9878 { 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
9879 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9880 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9881 then :
9882 printf %s "(cached) " >&6
9883 else $as_nop
9884 ac_wine_try_cflags_saved=$CFLAGS
9885 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9888 int main(int argc, char **argv) { return 0; }
9889 _ACEOF
9890 if ac_fn_c_try_link "$LINENO"
9891 then :
9892 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9893 else $as_nop
9894 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9897 conftest$ac_exeext conftest.$ac_ext
9898 CFLAGS=$ac_wine_try_cflags_saved
9900 { 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
9901 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9902 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9903 then :
9904 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9905 else $as_nop
9906 wine_can_build_preloader=no
9908 else $as_nop
9909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9910 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9911 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9912 then :
9913 printf %s "(cached) " >&6
9914 else $as_nop
9915 ac_wine_try_cflags_saved=$CFLAGS
9916 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9919 int main(int argc, char **argv) { return 0; }
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"
9922 then :
9923 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9924 else $as_nop
9925 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9928 conftest$ac_exeext conftest.$ac_ext
9929 CFLAGS=$ac_wine_try_cflags_saved
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9932 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9933 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9934 then :
9935 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9936 else $as_nop
9937 wine_can_build_preloader=no
9940 if test "$wine_can_build_preloader" = "yes"
9941 then
9942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9943 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9944 if test ${ac_cv_cflags__Wl__no_pie+y}
9945 then :
9946 printf %s "(cached) " >&6
9947 else $as_nop
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 CFLAGS="$CFLAGS -Wl,-no_pie"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int main(int argc, char **argv) { return 0; }
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"
9955 then :
9956 ac_cv_cflags__Wl__no_pie=yes
9957 else $as_nop
9958 ac_cv_cflags__Wl__no_pie=no
9960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9961 conftest$ac_exeext conftest.$ac_ext
9962 CFLAGS=$ac_wine_try_cflags_saved
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9965 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9966 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9967 then :
9968 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9970 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9971 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9972 else
9973 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9976 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9977 then
9978 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9981 if test "$ac_cv_header_Security_Security_h" = "yes"
9982 then
9983 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9986 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9987 then
9988 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9990 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9992 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9993 then
9994 OPENAL_LIBS="-framework OpenAL"
9997 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9999 ac_cv_lib_openal=yes
10001 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10002 then
10003 OPENCL_LIBS="-framework OpenCL"
10005 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10007 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10008 then
10009 ac_save_LIBS="$LIBS"
10010 LIBS="$LIBS $IOKIT_LIBS"
10011 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10012 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10013 then :
10014 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10018 LIBS="$ac_save_LIBS"
10021 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10022 then
10023 CARBON_LIBS="-framework Carbon"
10026 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10027 then
10028 METAL_LIBS="-framework Metal"
10032 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10033 then
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10035 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10036 ac_ext=m
10037 ac_cpp='$OBJCPP $CPPFLAGS'
10038 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10039 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10040 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 #include <Metal/Metal.h>
10046 main (void)
10048 id<MTLDevice> device; device.registryID;
10050 return 0;
10052 _ACEOF
10053 if ac_fn_objc_try_compile "$LINENO"
10054 then :
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10056 printf "%s\n" "yes" >&6; }
10058 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10060 else $as_nop
10061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10062 printf "%s\n" "no" >&6; }
10064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10065 ac_ext=c
10066 ac_cpp='$CPP $CPPFLAGS'
10067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10073 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10074 then
10075 ac_save_LIBS="$LIBS"
10076 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10077 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10078 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10079 then :
10080 enable_winemac_drv=${enable_winemac_drv:-yes}
10083 LIBS="$ac_save_LIBS"
10086 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10087 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10089 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10091 WINELOADER_DEPENDS="wine_info.plist"
10093 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10096 linux-android*)
10098 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10100 DLLFLAGS="$DLLFLAGS -fPIC"
10101 LDDLLFLAGS="-fPIC"
10102 LDEXECFLAGS="-Wl,-pie"
10103 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10105 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10106 if test ${ac_cv_cflags__Wl__z_defs+y}
10107 then :
10108 printf %s "(cached) " >&6
10109 else $as_nop
10110 ac_wine_try_cflags_saved=$CFLAGS
10111 CFLAGS="$CFLAGS -Wl,-z,defs"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10114 int main(int argc, char **argv) { return 0; }
10115 _ACEOF
10116 if ac_fn_c_try_link "$LINENO"
10117 then :
10118 ac_cv_cflags__Wl__z_defs=yes
10119 else $as_nop
10120 ac_cv_cflags__Wl__z_defs=no
10122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10123 conftest$ac_exeext conftest.$ac_ext
10124 CFLAGS=$ac_wine_try_cflags_saved
10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10127 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10128 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10129 then :
10130 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10133 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10134 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10135 then :
10136 printf %s "(cached) " >&6
10137 else $as_nop
10138 ac_wine_try_cflags_saved=$CFLAGS
10139 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int main(int argc, char **argv) { return 0; }
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"
10145 then :
10146 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10147 else $as_nop
10148 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10155 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10156 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10157 then :
10158 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10160 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10163 printf %s "checking for -lEGL... " >&6; }
10164 if test ${ac_cv_lib_soname_EGL+y}
10165 then :
10166 printf %s "(cached) " >&6
10167 else $as_nop
10168 ac_check_soname_save_LIBS=$LIBS
10169 LIBS="-lEGL $LIBS"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10173 /* Override any GCC internal prototype to avoid an error.
10174 Use char because int might match the return type of a GCC
10175 builtin and then its argument prototype would still apply. */
10176 char eglGetProcAddress ();
10178 main (void)
10180 return eglGetProcAddress ();
10182 return 0;
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"
10186 then :
10187 case "$LIBEXT" in
10188 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10191 if ${ac_cv_lib_soname_EGL:+false} :
10192 then :
10193 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10194 fi ;;
10195 esac
10196 else $as_nop
10197 ac_cv_lib_soname_EGL=
10199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_EGL:+false} :
10204 then :
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10206 printf "%s\n" "not found" >&6; }
10208 else $as_nop
10209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10210 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10212 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10217 printf %s "checking for -lGLESv2... " >&6; }
10218 if test ${ac_cv_lib_soname_GLESv2+y}
10219 then :
10220 printf %s "(cached) " >&6
10221 else $as_nop
10222 ac_check_soname_save_LIBS=$LIBS
10223 LIBS="-lGLESv2 $LIBS"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10227 /* Override any GCC internal prototype to avoid an error.
10228 Use char because int might match the return type of a GCC
10229 builtin and then its argument prototype would still apply. */
10230 char glFlush ();
10232 main (void)
10234 return glFlush ();
10236 return 0;
10238 _ACEOF
10239 if ac_fn_c_try_link "$LINENO"
10240 then :
10241 case "$LIBEXT" in
10242 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10243 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'` ;;
10244 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10245 if ${ac_cv_lib_soname_GLESv2:+false} :
10246 then :
10247 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10248 fi ;;
10249 esac
10250 else $as_nop
10251 ac_cv_lib_soname_GLESv2=
10253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10254 conftest$ac_exeext conftest.$ac_ext
10255 LIBS=$ac_check_soname_save_LIBS
10257 if ${ac_cv_lib_soname_GLESv2:+false} :
10258 then :
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10260 printf "%s\n" "not found" >&6; }
10262 else $as_nop
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10264 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10266 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10271 if test "x$exec_prefix" = xNONE
10272 then
10273 case $host_cpu in
10274 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10275 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10276 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10277 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10278 esac
10284 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10286 test "$ac_cv_sys_file_offset_bits" = 64 &&
10287 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10289 case $host_cpu in
10290 *i[3456789]86*)
10291 DLLFLAGS="$DLLFLAGS -fno-PIC"
10292 LDDLLFLAGS="-fno-PIC"
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10294 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10295 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10296 then :
10297 printf %s "(cached) " >&6
10298 else $as_nop
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 int main(int argc, char **argv) { return 0; }
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"
10306 then :
10307 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10308 else $as_nop
10309 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10316 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10317 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10318 then :
10319 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10323 DLLFLAGS="$DLLFLAGS -fPIC"
10324 LDDLLFLAGS="-fPIC" ;;
10325 esac
10326 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10328 echo '{ global: *; };' >conftest.map
10329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10330 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10331 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10332 then :
10333 printf %s "(cached) " >&6
10334 else $as_nop
10335 ac_wine_try_cflags_saved=$CFLAGS
10336 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10339 int main(int argc, char **argv) { return 0; }
10340 _ACEOF
10341 if ac_fn_c_try_link "$LINENO"
10342 then :
10343 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10344 else $as_nop
10345 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10352 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10353 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10354 then :
10355 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10357 rm -f conftest.map
10359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10360 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10361 if test ${ac_cv_cflags__Wl__z_defs+y}
10362 then :
10363 printf %s "(cached) " >&6
10364 else $as_nop
10365 ac_wine_try_cflags_saved=$CFLAGS
10366 CFLAGS="$CFLAGS -Wl,-z,defs"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10369 int main(int argc, char **argv) { return 0; }
10370 _ACEOF
10371 if ac_fn_c_try_link "$LINENO"
10372 then :
10373 ac_cv_cflags__Wl__z_defs=yes
10374 else $as_nop
10375 ac_cv_cflags__Wl__z_defs=no
10377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10378 conftest$ac_exeext conftest.$ac_ext
10379 CFLAGS=$ac_wine_try_cflags_saved
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10382 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10383 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10384 then :
10385 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10388 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10389 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10390 then :
10391 printf %s "(cached) " >&6
10392 else $as_nop
10393 ac_wine_try_cflags_saved=$CFLAGS
10394 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 int main(int argc, char **argv) { return 0; }
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"
10400 then :
10401 ac_cv_cflags__Wl___export_dynamic=yes
10402 else $as_nop
10403 ac_cv_cflags__Wl___export_dynamic=no
10405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10406 conftest$ac_exeext conftest.$ac_ext
10407 CFLAGS=$ac_wine_try_cflags_saved
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10410 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10411 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10412 then :
10413 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10415 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10417 case $host_cpu in
10418 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10420 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10421 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10422 then :
10423 printf %s "(cached) " >&6
10424 else $as_nop
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 int main(int argc, char **argv) { return 0; }
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"
10432 then :
10433 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10434 else $as_nop
10435 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10438 conftest$ac_exeext conftest.$ac_ext
10439 CFLAGS=$ac_wine_try_cflags_saved
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10442 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10443 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10444 then :
10445 case $host_os in
10446 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10447 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10448 esac
10449 else $as_nop
10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10451 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10452 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10453 then :
10454 printf %s "(cached) " >&6
10455 else $as_nop
10456 ac_wine_try_cflags_saved=$CFLAGS
10457 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 int main(int argc, char **argv) { return 0; }
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"
10463 then :
10464 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10465 else $as_nop
10466 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10469 conftest$ac_exeext conftest.$ac_ext
10470 CFLAGS=$ac_wine_try_cflags_saved
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10473 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10474 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10475 then :
10476 case $host_os in
10477 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10478 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10479 esac
10481 # Extract the first word of "prelink", so it can be a program name with args.
10482 set dummy prelink; ac_word=$2
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10484 printf %s "checking for $ac_word... " >&6; }
10485 if test ${ac_cv_path_PRELINK+y}
10486 then :
10487 printf %s "(cached) " >&6
10488 else $as_nop
10489 case $PRELINK in
10490 [\\/]* | ?:[\\/]*)
10491 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495 for as_dir in /sbin /usr/sbin $PATH
10497 IFS=$as_save_IFS
10498 case $as_dir in #(((
10499 '') as_dir=./ ;;
10500 */) ;;
10501 *) as_dir=$as_dir/ ;;
10502 esac
10503 for ac_exec_ext in '' $ac_executable_extensions; do
10504 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10505 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10507 break 2
10509 done
10510 done
10511 IFS=$as_save_IFS
10513 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10515 esac
10517 PRELINK=$ac_cv_path_PRELINK
10518 if test -n "$PRELINK"; then
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10520 printf "%s\n" "$PRELINK" >&6; }
10521 else
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10523 printf "%s\n" "no" >&6; }
10527 if test "x$PRELINK" = xfalse
10528 then
10529 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10533 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10534 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10535 then :
10536 printf %s "(cached) " >&6
10537 else $as_nop
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10542 int main(int argc, char **argv) { return 0; }
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"
10545 then :
10546 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10547 else $as_nop
10548 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10551 conftest$ac_exeext conftest.$ac_ext
10552 CFLAGS=$ac_wine_try_cflags_saved
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10555 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10556 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10557 then :
10558 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10561 esac
10562 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10564 LIBWINE_DEPENDS="wine.map"
10566 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10568 esac
10570 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10571 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10572 enable_winemac_drv=${enable_winemac_drv:-no}
10574 PE_ARCHS=""
10576 cross_archs=
10577 if test ${enable_archs+y}
10578 then :
10579 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10580 ac_save_IFS=$IFS
10581 IFS=' ,'
10582 set x $enable_archs
10583 IFS=$ac_save_IFS
10584 shift
10585 for arch
10587 case $arch in
10588 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10589 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10590 esac
10591 done
10592 else $as_nop
10593 if test "x$with_mingw" != xno
10594 then
10595 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10596 case "x$with_mingw" in
10597 x|xyes) ;;
10598 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10599 esac
10603 for wine_arch in $cross_archs
10605 if eval \${${wine_arch}_CC:+false} :
10606 then :
10607 case $wine_arch in
10608 aarch64)
10609 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10611 # Extract the first word of "$ac_prog", so it can be a program name with args.
10612 set dummy $ac_prog; ac_word=$2
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10614 printf %s "checking for $ac_word... " >&6; }
10615 if test ${ac_cv_prog_aarch64_CC+y}
10616 then :
10617 printf %s "(cached) " >&6
10618 else $as_nop
10619 if test -n "$aarch64_CC"; then
10620 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10621 else
10622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10623 for as_dir in $PATH
10625 IFS=$as_save_IFS
10626 case $as_dir in #(((
10627 '') as_dir=./ ;;
10628 */) ;;
10629 *) as_dir=$as_dir/ ;;
10630 esac
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_aarch64_CC="$ac_prog"
10634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10635 break 2
10637 done
10638 done
10639 IFS=$as_save_IFS
10643 aarch64_CC=$ac_cv_prog_aarch64_CC
10644 if test -n "$aarch64_CC"; then
10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10646 printf "%s\n" "$aarch64_CC" >&6; }
10647 else
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649 printf "%s\n" "no" >&6; }
10653 test -n "$aarch64_CC" && break
10654 done
10655 test -n "$aarch64_CC" || aarch64_CC="false"
10658 arm)
10659 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10661 # Extract the first word of "$ac_prog", so it can be a program name with args.
10662 set dummy $ac_prog; ac_word=$2
10663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10664 printf %s "checking for $ac_word... " >&6; }
10665 if test ${ac_cv_prog_arm_CC+y}
10666 then :
10667 printf %s "(cached) " >&6
10668 else $as_nop
10669 if test -n "$arm_CC"; then
10670 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10671 else
10672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10673 for as_dir in $PATH
10675 IFS=$as_save_IFS
10676 case $as_dir in #(((
10677 '') as_dir=./ ;;
10678 */) ;;
10679 *) as_dir=$as_dir/ ;;
10680 esac
10681 for ac_exec_ext in '' $ac_executable_extensions; do
10682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10683 ac_cv_prog_arm_CC="$ac_prog"
10684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10685 break 2
10687 done
10688 done
10689 IFS=$as_save_IFS
10693 arm_CC=$ac_cv_prog_arm_CC
10694 if test -n "$arm_CC"; then
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10696 printf "%s\n" "$arm_CC" >&6; }
10697 else
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10699 printf "%s\n" "no" >&6; }
10703 test -n "$arm_CC" && break
10704 done
10705 test -n "$arm_CC" || arm_CC="false"
10708 i386)
10709 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 "
10710 for ac_prog in $ac_prefix_list clang
10712 # Extract the first word of "$ac_prog", so it can be a program name with args.
10713 set dummy $ac_prog; ac_word=$2
10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10715 printf %s "checking for $ac_word... " >&6; }
10716 if test ${ac_cv_prog_i386_CC+y}
10717 then :
10718 printf %s "(cached) " >&6
10719 else $as_nop
10720 if test -n "$i386_CC"; then
10721 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10722 else
10723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10724 for as_dir in $PATH
10726 IFS=$as_save_IFS
10727 case $as_dir in #(((
10728 '') as_dir=./ ;;
10729 */) ;;
10730 *) as_dir=$as_dir/ ;;
10731 esac
10732 for ac_exec_ext in '' $ac_executable_extensions; do
10733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10734 ac_cv_prog_i386_CC="$ac_prog"
10735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10736 break 2
10738 done
10739 done
10740 IFS=$as_save_IFS
10744 i386_CC=$ac_cv_prog_i386_CC
10745 if test -n "$i386_CC"; then
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10747 printf "%s\n" "$i386_CC" >&6; }
10748 else
10749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10750 printf "%s\n" "no" >&6; }
10754 test -n "$i386_CC" && break
10755 done
10756 test -n "$i386_CC" || i386_CC="false"
10759 x86_64)
10760 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10761 for ac_prog in $ac_prefix_list clang
10763 # Extract the first word of "$ac_prog", so it can be a program name with args.
10764 set dummy $ac_prog; ac_word=$2
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10766 printf %s "checking for $ac_word... " >&6; }
10767 if test ${ac_cv_prog_x86_64_CC+y}
10768 then :
10769 printf %s "(cached) " >&6
10770 else $as_nop
10771 if test -n "$x86_64_CC"; then
10772 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10773 else
10774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10775 for as_dir in $PATH
10777 IFS=$as_save_IFS
10778 case $as_dir in #(((
10779 '') as_dir=./ ;;
10780 */) ;;
10781 *) as_dir=$as_dir/ ;;
10782 esac
10783 for ac_exec_ext in '' $ac_executable_extensions; do
10784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10785 ac_cv_prog_x86_64_CC="$ac_prog"
10786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10787 break 2
10789 done
10790 done
10791 IFS=$as_save_IFS
10795 x86_64_CC=$ac_cv_prog_x86_64_CC
10796 if test -n "$x86_64_CC"; then
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10798 printf "%s\n" "$x86_64_CC" >&6; }
10799 else
10800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10801 printf "%s\n" "no" >&6; }
10805 test -n "$x86_64_CC" && break
10806 done
10807 test -n "$x86_64_CC" || x86_64_CC="false"
10810 esac
10813 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10814 then :
10815 continue
10818 saved_CC=$CC
10819 saved_CFLAGS=$CFLAGS
10821 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10822 eval CC=\$${wine_arch}_CC
10823 eval ${wine_arch}_CFLAGS=\$CFLAGS
10824 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10825 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10827 target=""
10828 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10831 printf %s "checking whether $CC works... " >&6; }
10832 if eval test \${$as_wine_cv_crosscc+y}
10833 then :
10834 printf %s "(cached) " >&6
10835 else $as_nop
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10840 main (void)
10844 return 0;
10846 _ACEOF
10847 if ac_fn_c_try_compile "$LINENO"
10848 then :
10849 eval "$as_wine_cv_crosscc=yes"
10850 else $as_nop
10851 eval "$as_wine_cv_crosscc=no"
10853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10855 eval ac_res=\$$as_wine_cv_crosscc
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_wine_cv_crosscc"\" = x"yes"
10859 then :
10860 set x $CC
10861 shift
10862 while test $# -ge 1
10864 case "$1" in
10865 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10866 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10867 esac
10868 shift
10869 done
10871 llvm_target=$target
10872 llvm_cflags="-fuse-ld=lld"
10873 if test -z "$llvm_target"
10874 then
10875 case $wine_arch in
10876 i386) llvm_target=i686-windows ;;
10877 arm) llvm_target=armv7-windows ;;
10878 *) llvm_target=$wine_arch-windows ;;
10879 esac
10881 case $llvm_target in
10882 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10883 esac
10884 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10886 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10887 if eval test \${$as_ac_var+y}
10888 then :
10889 printf %s "(cached) " >&6
10890 else $as_nop
10891 ac_wine_try_cflags_saved=$CFLAGS
10892 ac_wine_try_cflags_saved_exeext=$ac_exeext
10893 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10894 ac_exeext=".exe"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897 int __cdecl mainCRTStartup(void) { return 0; }
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"
10900 then :
10901 eval "$as_ac_var=yes"
10902 else $as_nop
10903 eval "$as_ac_var=no"
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906 conftest$ac_exeext conftest.$ac_ext
10907 CFLAGS=$ac_wine_try_cflags_saved
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 eval ac_res=\$$as_ac_var
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10912 printf "%s\n" "$ac_res" >&6; }
10913 if eval test \"x\$"$as_ac_var"\" = x"yes"
10914 then :
10915 target=$llvm_target
10916 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10917 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10918 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10919 fi }
10920 eval "${wine_arch}_TARGET=\$target"
10921 PE_ARCHS="$PE_ARCHS $wine_arch"
10925 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10928 printf %s "checking for $CC option to enable C99 features... " >&6; }
10929 if eval test \${$as_wine_cv_crosscc_c99+y}
10930 then :
10931 printf %s "(cached) " >&6
10932 else $as_nop
10933 eval "$as_wine_cv_crosscc_c99=no"
10934 for arg in '' '-std=gnu99'
10936 test -z "$arg" || CC="$CC $arg"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 $ac_c_conftest_c99_program
10940 _ACEOF
10941 if ac_fn_c_try_compile "$LINENO"
10942 then :
10943 eval "$as_wine_cv_crosscc_c99=\$arg"
10944 else $as_nop
10945 eval "$as_wine_cv_crosscc_c99=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10948 eval CC=\$${wine_arch}_CC
10949 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10950 then :
10952 else $as_nop
10953 break
10955 done
10958 eval res=\$$as_wine_cv_crosscc_c99
10959 case "x$res" in
10960 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10961 printf "%s\n" "none needed" >&6; } ;;
10962 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10963 printf "%s\n" "unsupported" >&6; } ;;
10964 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10965 printf "%s\n" "$res" >&6; }
10966 as_fn_append ${wine_arch}_CC " $res" ;;
10967 esac
10970 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10972 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10973 if eval test \${$as_ac_var+y}
10974 then :
10975 printf %s "(cached) " >&6
10976 else $as_nop
10977 ac_wine_try_cflags_saved=$CFLAGS
10978 ac_wine_try_cflags_saved_exeext=$ac_exeext
10979 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10980 ac_exeext=".exe"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10983 int __cdecl mainCRTStartup(void) { return 0; }
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"
10986 then :
10987 eval "$as_ac_var=yes"
10988 else $as_nop
10989 eval "$as_ac_var=no"
10991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10992 conftest$ac_exeext conftest.$ac_ext
10993 CFLAGS=$ac_wine_try_cflags_saved
10994 ac_exeext=$ac_wine_try_cflags_saved_exeext
10996 eval ac_res=\$$as_ac_var
10997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10998 printf "%s\n" "$ac_res" >&6; }
10999 if eval test \"x\$"$as_ac_var"\" = x"yes"
11000 then :
11001 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
11002 fi }
11003 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
11004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
11005 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
11006 if eval test \${$as_ac_var+y}
11007 then :
11008 printf %s "(cached) " >&6
11009 else $as_nop
11010 ac_wine_try_cflags_saved=$CFLAGS
11011 ac_wine_try_cflags_saved_exeext=$ac_exeext
11012 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11013 ac_exeext=".exe"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016 int __cdecl mainCRTStartup(void) { return 0; }
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"
11019 then :
11020 eval "$as_ac_var=yes"
11021 else $as_nop
11022 eval "$as_ac_var=no"
11024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11025 conftest$ac_exeext conftest.$ac_ext
11026 CFLAGS=$ac_wine_try_cflags_saved
11027 ac_exeext=$ac_wine_try_cflags_saved_exeext
11029 eval ac_res=\$$as_ac_var
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11031 printf "%s\n" "$ac_res" >&6; }
11032 if eval test \"x\$"$as_ac_var"\" = x"yes"
11033 then :
11034 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11035 fi }
11036 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11038 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11039 if eval test \${$as_ac_var+y}
11040 then :
11041 printf %s "(cached) " >&6
11042 else $as_nop
11043 ac_wine_try_cflags_saved=$CFLAGS
11044 ac_wine_try_cflags_saved_exeext=$ac_exeext
11045 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11046 ac_exeext=".exe"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11049 int __cdecl mainCRTStartup(void) { return 0; }
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"
11052 then :
11053 eval "$as_ac_var=yes"
11054 else $as_nop
11055 eval "$as_ac_var=no"
11057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11058 conftest$ac_exeext conftest.$ac_ext
11059 CFLAGS=$ac_wine_try_cflags_saved
11060 ac_exeext=$ac_wine_try_cflags_saved_exeext
11062 eval ac_res=\$$as_ac_var
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11064 printf "%s\n" "$ac_res" >&6; }
11065 if eval test \"x\$"$as_ac_var"\" = x"yes"
11066 then :
11067 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11068 fi }
11069 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11071 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11072 if eval test \${$as_ac_var+y}
11073 then :
11074 printf %s "(cached) " >&6
11075 else $as_nop
11076 ac_wine_try_cflags_saved=$CFLAGS
11077 ac_wine_try_cflags_saved_exeext=$ac_exeext
11078 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11079 ac_exeext=".exe"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 int __cdecl mainCRTStartup(void) { return 0; }
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"
11085 then :
11086 eval "$as_ac_var=yes"
11087 else $as_nop
11088 eval "$as_ac_var=no"
11090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11091 conftest$ac_exeext conftest.$ac_ext
11092 CFLAGS=$ac_wine_try_cflags_saved
11093 ac_exeext=$ac_wine_try_cflags_saved_exeext
11095 eval ac_res=\$$as_ac_var
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11097 printf "%s\n" "$ac_res" >&6; }
11098 if eval test \"x\$"$as_ac_var"\" = x"yes"
11099 then :
11100 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11101 fi }
11102 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11104 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11105 if eval test \${$as_ac_var+y}
11106 then :
11107 printf %s "(cached) " >&6
11108 else $as_nop
11109 ac_wine_try_cflags_saved=$CFLAGS
11110 ac_wine_try_cflags_saved_exeext=$ac_exeext
11111 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11112 ac_exeext=".exe"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11115 int __cdecl mainCRTStartup(void) { return 0; }
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"
11118 then :
11119 eval "$as_ac_var=yes"
11120 else $as_nop
11121 eval "$as_ac_var=no"
11123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11124 conftest$ac_exeext conftest.$ac_ext
11125 CFLAGS=$ac_wine_try_cflags_saved
11126 ac_exeext=$ac_wine_try_cflags_saved_exeext
11128 eval ac_res=\$$as_ac_var
11129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11130 printf "%s\n" "$ac_res" >&6; }
11131 if eval test \"x\$"$as_ac_var"\" = x"yes"
11132 then :
11133 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11134 fi }
11135 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11137 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11138 if eval test \${$as_ac_var+y}
11139 then :
11140 printf %s "(cached) " >&6
11141 else $as_nop
11142 ac_wine_try_cflags_saved=$CFLAGS
11143 ac_wine_try_cflags_saved_exeext=$ac_exeext
11144 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11145 ac_exeext=".exe"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 int __cdecl mainCRTStartup(void) { return 0; }
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"
11151 then :
11152 eval "$as_ac_var=yes"
11153 else $as_nop
11154 eval "$as_ac_var=no"
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 CFLAGS=$ac_wine_try_cflags_saved
11159 ac_exeext=$ac_wine_try_cflags_saved_exeext
11161 eval ac_res=\$$as_ac_var
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11163 printf "%s\n" "$ac_res" >&6; }
11164 if eval test \"x\$"$as_ac_var"\" = x"yes"
11165 then :
11166 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11167 fi }
11168 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11170 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11171 if eval test \${$as_ac_var+y}
11172 then :
11173 printf %s "(cached) " >&6
11174 else $as_nop
11175 ac_wine_try_cflags_saved=$CFLAGS
11176 ac_wine_try_cflags_saved_exeext=$ac_exeext
11177 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11178 ac_exeext=".exe"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11181 int __cdecl mainCRTStartup(void) { return 0; }
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"
11184 then :
11185 eval "$as_ac_var=yes"
11186 else $as_nop
11187 eval "$as_ac_var=no"
11189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11190 conftest$ac_exeext conftest.$ac_ext
11191 CFLAGS=$ac_wine_try_cflags_saved
11192 ac_exeext=$ac_wine_try_cflags_saved_exeext
11194 eval ac_res=\$$as_ac_var
11195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11196 printf "%s\n" "$ac_res" >&6; }
11197 if eval test \"x\$"$as_ac_var"\" = x"yes"
11198 then :
11199 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11200 fi }
11201 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11203 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11204 if eval test \${$as_ac_var+y}
11205 then :
11206 printf %s "(cached) " >&6
11207 else $as_nop
11208 ac_wine_try_cflags_saved=$CFLAGS
11209 ac_wine_try_cflags_saved_exeext=$ac_exeext
11210 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11211 ac_exeext=".exe"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 int __cdecl mainCRTStartup(void) { return 0; }
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"
11217 then :
11218 eval "$as_ac_var=yes"
11219 else $as_nop
11220 eval "$as_ac_var=no"
11222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11223 conftest$ac_exeext conftest.$ac_ext
11224 CFLAGS=$ac_wine_try_cflags_saved
11225 ac_exeext=$ac_wine_try_cflags_saved_exeext
11227 eval ac_res=\$$as_ac_var
11228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11229 printf "%s\n" "$ac_res" >&6; }
11230 if eval test \"x\$"$as_ac_var"\" = x"yes"
11231 then :
11232 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11233 fi }
11234 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11236 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11237 if eval test \${$as_ac_var+y}
11238 then :
11239 printf %s "(cached) " >&6
11240 else $as_nop
11241 ac_wine_try_cflags_saved=$CFLAGS
11242 ac_wine_try_cflags_saved_exeext=$ac_exeext
11243 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11244 ac_exeext=".exe"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11247 int __cdecl mainCRTStartup(void) { return 0; }
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"
11250 then :
11251 eval "$as_ac_var=yes"
11252 else $as_nop
11253 eval "$as_ac_var=no"
11255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11256 conftest$ac_exeext conftest.$ac_ext
11257 CFLAGS=$ac_wine_try_cflags_saved
11258 ac_exeext=$ac_wine_try_cflags_saved_exeext
11260 eval ac_res=\$$as_ac_var
11261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11262 printf "%s\n" "$ac_res" >&6; }
11263 if eval test \"x\$"$as_ac_var"\" = x"yes"
11264 then :
11265 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11266 fi }
11267 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11269 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11270 if eval test \${$as_ac_var+y}
11271 then :
11272 printf %s "(cached) " >&6
11273 else $as_nop
11274 ac_wine_try_cflags_saved=$CFLAGS
11275 ac_wine_try_cflags_saved_exeext=$ac_exeext
11276 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11277 ac_exeext=".exe"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11280 int __cdecl mainCRTStartup(void) { return 0; }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"
11283 then :
11284 eval "$as_ac_var=yes"
11285 else $as_nop
11286 eval "$as_ac_var=no"
11288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11289 conftest$ac_exeext conftest.$ac_ext
11290 CFLAGS=$ac_wine_try_cflags_saved
11291 ac_exeext=$ac_wine_try_cflags_saved_exeext
11293 eval ac_res=\$$as_ac_var
11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11295 printf "%s\n" "$ac_res" >&6; }
11296 if eval test \"x\$"$as_ac_var"\" = x"yes"
11297 then :
11298 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11299 fi }
11300 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11302 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11303 if eval test \${$as_ac_var+y}
11304 then :
11305 printf %s "(cached) " >&6
11306 else $as_nop
11307 ac_wine_try_cflags_saved=$CFLAGS
11308 ac_wine_try_cflags_saved_exeext=$ac_exeext
11309 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11310 ac_exeext=".exe"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11313 int __cdecl mainCRTStartup(void) { return 0; }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"
11316 then :
11317 eval "$as_ac_var=yes"
11318 else $as_nop
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 ac_exeext=$ac_wine_try_cflags_saved_exeext
11326 eval ac_res=\$$as_ac_var
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11328 printf "%s\n" "$ac_res" >&6; }
11329 if eval test \"x\$"$as_ac_var"\" = x"yes"
11330 then :
11331 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11332 fi }
11333 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11335 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11336 if eval test \${$as_ac_var+y}
11337 then :
11338 printf %s "(cached) " >&6
11339 else $as_nop
11340 ac_wine_try_cflags_saved=$CFLAGS
11341 ac_wine_try_cflags_saved_exeext=$ac_exeext
11342 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11343 ac_exeext=".exe"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 int __cdecl mainCRTStartup(void) { return 0; }
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"
11349 then :
11350 eval "$as_ac_var=yes"
11351 else $as_nop
11352 eval "$as_ac_var=no"
11354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11355 conftest$ac_exeext conftest.$ac_ext
11356 CFLAGS=$ac_wine_try_cflags_saved
11357 ac_exeext=$ac_wine_try_cflags_saved_exeext
11359 eval ac_res=\$$as_ac_var
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11361 printf "%s\n" "$ac_res" >&6; }
11362 if eval test \"x\$"$as_ac_var"\" = x"yes"
11363 then :
11364 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11365 fi }
11366 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11368 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11369 if eval test \${$as_ac_var+y}
11370 then :
11371 printf %s "(cached) " >&6
11372 else $as_nop
11373 ac_wine_try_cflags_saved=$CFLAGS
11374 ac_wine_try_cflags_saved_exeext=$ac_exeext
11375 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11376 ac_exeext=".exe"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379 int __cdecl mainCRTStartup(void) { return 0; }
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"
11382 then :
11383 eval "$as_ac_var=yes"
11384 else $as_nop
11385 eval "$as_ac_var=no"
11387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11388 conftest$ac_exeext conftest.$ac_ext
11389 CFLAGS=$ac_wine_try_cflags_saved
11390 ac_exeext=$ac_wine_try_cflags_saved_exeext
11392 eval ac_res=\$$as_ac_var
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11394 printf "%s\n" "$ac_res" >&6; }
11395 if eval test \"x\$"$as_ac_var"\" = x"yes"
11396 then :
11397 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11398 fi }
11399 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11401 printf %s "checking whether $CC supports -Wvla... " >&6; }
11402 if eval test \${$as_ac_var+y}
11403 then :
11404 printf %s "(cached) " >&6
11405 else $as_nop
11406 ac_wine_try_cflags_saved=$CFLAGS
11407 ac_wine_try_cflags_saved_exeext=$ac_exeext
11408 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11409 ac_exeext=".exe"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 int __cdecl mainCRTStartup(void) { return 0; }
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"
11415 then :
11416 eval "$as_ac_var=yes"
11417 else $as_nop
11418 eval "$as_ac_var=no"
11420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11421 conftest$ac_exeext conftest.$ac_ext
11422 CFLAGS=$ac_wine_try_cflags_saved
11423 ac_exeext=$ac_wine_try_cflags_saved_exeext
11425 eval ac_res=\$$as_ac_var
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11427 printf "%s\n" "$ac_res" >&6; }
11428 if eval test \"x\$"$as_ac_var"\" = x"yes"
11429 then :
11430 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11431 fi }
11432 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11434 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11435 if eval test \${$as_ac_var+y}
11436 then :
11437 printf %s "(cached) " >&6
11438 else $as_nop
11439 ac_wine_try_cflags_saved=$CFLAGS
11440 ac_wine_try_cflags_saved_exeext=$ac_exeext
11441 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11442 ac_exeext=".exe"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11445 int __cdecl mainCRTStartup(void) { return 0; }
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"
11448 then :
11449 eval "$as_ac_var=yes"
11450 else $as_nop
11451 eval "$as_ac_var=no"
11453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11454 conftest$ac_exeext conftest.$ac_ext
11455 CFLAGS=$ac_wine_try_cflags_saved
11456 ac_exeext=$ac_wine_try_cflags_saved_exeext
11458 eval ac_res=\$$as_ac_var
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11460 printf "%s\n" "$ac_res" >&6; }
11461 if eval test \"x\$"$as_ac_var"\" = x"yes"
11462 then :
11463 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11464 fi }
11465 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11467 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11468 if eval test \${$as_ac_var+y}
11469 then :
11470 printf %s "(cached) " >&6
11471 else $as_nop
11472 ac_wine_try_cflags_saved=$CFLAGS
11473 ac_wine_try_cflags_saved_exeext=$ac_exeext
11474 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11475 ac_exeext=".exe"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478 int __cdecl mainCRTStartup(void) { return 0; }
11479 _ACEOF
11480 if ac_fn_c_try_link "$LINENO"
11481 then :
11482 eval "$as_ac_var=yes"
11483 else $as_nop
11484 eval "$as_ac_var=no"
11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11487 conftest$ac_exeext conftest.$ac_ext
11488 CFLAGS=$ac_wine_try_cflags_saved
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 eval ac_res=\$$as_ac_var
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11493 printf "%s\n" "$ac_res" >&6; }
11494 if eval test \"x\$"$as_ac_var"\" = x"yes"
11495 then :
11496 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11497 fi }
11498 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11500 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11501 if eval test \${$as_ac_var+y}
11502 then :
11503 printf %s "(cached) " >&6
11504 else $as_nop
11505 ac_wine_try_cflags_saved=$CFLAGS
11506 ac_wine_try_cflags_saved_exeext=$ac_exeext
11507 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11508 ac_exeext=".exe"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 int __cdecl mainCRTStartup(void) { return 0; }
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"
11514 then :
11515 eval "$as_ac_var=yes"
11516 else $as_nop
11517 eval "$as_ac_var=no"
11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11520 conftest$ac_exeext conftest.$ac_ext
11521 CFLAGS=$ac_wine_try_cflags_saved
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 eval ac_res=\$$as_ac_var
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11526 printf "%s\n" "$ac_res" >&6; }
11527 if eval test \"x\$"$as_ac_var"\" = x"yes"
11528 then :
11529 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11530 fi }
11531 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11533 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11534 if eval test \${$as_ac_var+y}
11535 then :
11536 printf %s "(cached) " >&6
11537 else $as_nop
11538 ac_wine_try_cflags_saved=$CFLAGS
11539 ac_wine_try_cflags_saved_exeext=$ac_exeext
11540 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11541 ac_exeext=".exe"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"
11547 then :
11548 eval "$as_ac_var=yes"
11549 else $as_nop
11550 eval "$as_ac_var=no"
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 ac_exeext=$ac_wine_try_cflags_saved_exeext
11557 eval ac_res=\$$as_ac_var
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11559 printf "%s\n" "$ac_res" >&6; }
11560 if eval test \"x\$"$as_ac_var"\" = x"yes"
11561 then :
11562 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11563 fi }
11565 case $wine_arch in
11566 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11568 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11569 if eval test \${$as_ac_var+y}
11570 then :
11571 printf %s "(cached) " >&6
11572 else $as_nop
11573 ac_wine_try_cflags_saved=$CFLAGS
11574 ac_wine_try_cflags_saved_exeext=$ac_exeext
11575 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11576 ac_exeext=".exe"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 int __cdecl mainCRTStartup(void) { return 0; }
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"
11582 then :
11583 eval "$as_ac_var=yes"
11584 else $as_nop
11585 eval "$as_ac_var=no"
11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11588 conftest$ac_exeext conftest.$ac_ext
11589 CFLAGS=$ac_wine_try_cflags_saved
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 eval ac_res=\$$as_ac_var
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11594 printf "%s\n" "$ac_res" >&6; }
11595 if eval test \"x\$"$as_ac_var"\" = x"yes"
11596 then :
11597 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11598 fi }
11599 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11601 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11602 if eval test \${$as_ac_var+y}
11603 then :
11604 printf %s "(cached) " >&6
11605 else $as_nop
11606 ac_wine_try_cflags_saved=$CFLAGS
11607 ac_wine_try_cflags_saved_exeext=$ac_exeext
11608 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11609 ac_exeext=".exe"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 int __cdecl mainCRTStartup(void) { return 0; }
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"
11615 then :
11616 eval "$as_ac_var=yes"
11617 else $as_nop
11618 eval "$as_ac_var=no"
11620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11621 conftest$ac_exeext conftest.$ac_ext
11622 CFLAGS=$ac_wine_try_cflags_saved
11623 ac_exeext=$ac_wine_try_cflags_saved_exeext
11625 eval ac_res=\$$as_ac_var
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11627 printf "%s\n" "$ac_res" >&6; }
11628 if eval test \"x\$"$as_ac_var"\" = x"yes"
11629 then :
11630 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11631 fi } ;;
11632 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11634 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11635 if eval test \${$as_ac_var+y}
11636 then :
11637 printf %s "(cached) " >&6
11638 else $as_nop
11639 ac_wine_try_cflags_saved=$CFLAGS
11640 ac_wine_try_cflags_saved_exeext=$ac_exeext
11641 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11642 ac_exeext=".exe"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11645 int __cdecl mainCRTStartup(void) { return 0; }
11646 _ACEOF
11647 if ac_fn_c_try_link "$LINENO"
11648 then :
11649 eval "$as_ac_var=yes"
11650 else $as_nop
11651 eval "$as_ac_var=no"
11653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11654 conftest$ac_exeext conftest.$ac_ext
11655 CFLAGS=$ac_wine_try_cflags_saved
11656 ac_exeext=$ac_wine_try_cflags_saved_exeext
11658 eval ac_res=\$$as_ac_var
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11660 printf "%s\n" "$ac_res" >&6; }
11661 if eval test \"x\$"$as_ac_var"\" = x"yes"
11662 then :
11663 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11664 fi }
11665 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11667 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11668 if eval test \${$as_ac_var+y}
11669 then :
11670 printf %s "(cached) " >&6
11671 else $as_nop
11672 ac_wine_try_cflags_saved=$CFLAGS
11673 ac_wine_try_cflags_saved_exeext=$ac_exeext
11674 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11675 ac_exeext=".exe"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678 int __cdecl mainCRTStartup(void) { return 0; }
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"
11681 then :
11682 eval "$as_ac_var=yes"
11683 else $as_nop
11684 eval "$as_ac_var=no"
11686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11687 conftest$ac_exeext conftest.$ac_ext
11688 CFLAGS=$ac_wine_try_cflags_saved
11689 ac_exeext=$ac_wine_try_cflags_saved_exeext
11691 eval ac_res=\$$as_ac_var
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11693 printf "%s\n" "$ac_res" >&6; }
11694 if eval test \"x\$"$as_ac_var"\" = x"yes"
11695 then :
11696 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11697 fi }
11698 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11700 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11701 if eval test \${$as_ac_var+y}
11702 then :
11703 printf %s "(cached) " >&6
11704 else $as_nop
11705 ac_wine_try_cflags_saved=$CFLAGS
11706 ac_wine_try_cflags_saved_exeext=$ac_exeext
11707 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11708 ac_exeext=".exe"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11711 int __cdecl mainCRTStartup(void) { return 0; }
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"
11714 then :
11715 eval "$as_ac_var=yes"
11716 else $as_nop
11717 eval "$as_ac_var=no"
11719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11720 conftest$ac_exeext conftest.$ac_ext
11721 CFLAGS=$ac_wine_try_cflags_saved
11722 ac_exeext=$ac_wine_try_cflags_saved_exeext
11724 eval ac_res=\$$as_ac_var
11725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11726 printf "%s\n" "$ac_res" >&6; }
11727 if eval test \"x\$"$as_ac_var"\" = x"yes"
11728 then :
11729 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11730 fi }
11731 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11733 printf %s "checking whether $CC supports -mcx16... " >&6; }
11734 if eval test \${$as_ac_var+y}
11735 then :
11736 printf %s "(cached) " >&6
11737 else $as_nop
11738 ac_wine_try_cflags_saved=$CFLAGS
11739 ac_wine_try_cflags_saved_exeext=$ac_exeext
11740 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11741 ac_exeext=".exe"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11744 int __cdecl mainCRTStartup(void) { return 0; }
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"
11747 then :
11748 eval "$as_ac_var=yes"
11749 else $as_nop
11750 eval "$as_ac_var=no"
11752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11753 conftest$ac_exeext conftest.$ac_ext
11754 CFLAGS=$ac_wine_try_cflags_saved
11755 ac_exeext=$ac_wine_try_cflags_saved_exeext
11757 eval ac_res=\$$as_ac_var
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11759 printf "%s\n" "$ac_res" >&6; }
11760 if eval test \"x\$"$as_ac_var"\" = x"yes"
11761 then :
11762 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11763 fi } ;;
11764 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11766 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11767 if eval test \${$as_ac_var+y}
11768 then :
11769 printf %s "(cached) " >&6
11770 else $as_nop
11771 ac_wine_try_cflags_saved=$CFLAGS
11772 ac_wine_try_cflags_saved_exeext=$ac_exeext
11773 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11774 ac_exeext=".exe"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 int __cdecl mainCRTStartup(void) { return 0; }
11778 _ACEOF
11779 if ac_fn_c_try_link "$LINENO"
11780 then :
11781 eval "$as_ac_var=yes"
11782 else $as_nop
11783 eval "$as_ac_var=no"
11785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11786 conftest$ac_exeext conftest.$ac_ext
11787 CFLAGS=$ac_wine_try_cflags_saved
11788 ac_exeext=$ac_wine_try_cflags_saved_exeext
11790 eval ac_res=\$$as_ac_var
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11792 printf "%s\n" "$ac_res" >&6; }
11793 if eval test \"x\$"$as_ac_var"\" = x"yes"
11794 then :
11795 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11796 fi } ;;
11797 esac
11799 wine_crossdebug=$CROSSDEBUG
11800 if test -z "$wine_crossdebug"
11801 then
11802 for ac_flag in $CFLAGS; do
11803 case $ac_flag in
11804 -gdwarf*) wine_crossdebug=dwarf ;;
11805 -gcodeview) wine_crossdebug=pdb ;;
11806 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11807 esac
11808 done
11811 ac_debug_format_seen=""
11812 for ac_flag in $CFLAGS; do
11813 case $ac_flag in
11814 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11815 esac
11816 done
11817 if test "x$ac_debug_format_seen" = x
11818 then
11819 case $wine_crossdebug in
11820 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11822 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11823 if eval test \${$as_ac_var+y}
11824 then :
11825 printf %s "(cached) " >&6
11826 else $as_nop
11827 ac_wine_try_cflags_saved=$CFLAGS
11828 ac_wine_try_cflags_saved_exeext=$ac_exeext
11829 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11830 ac_exeext=".exe"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11833 int __cdecl mainCRTStartup(void) { return 0; }
11834 _ACEOF
11835 if ac_fn_c_try_link "$LINENO"
11836 then :
11837 eval "$as_ac_var=yes"
11838 else $as_nop
11839 eval "$as_ac_var=no"
11841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11842 conftest$ac_exeext conftest.$ac_ext
11843 CFLAGS=$ac_wine_try_cflags_saved
11844 ac_exeext=$ac_wine_try_cflags_saved_exeext
11846 eval ac_res=\$$as_ac_var
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11848 printf "%s\n" "$ac_res" >&6; }
11849 if eval test \"x\$"$as_ac_var"\" = x"yes"
11850 then :
11851 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11852 fi } ;;
11853 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11855 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11856 if eval test \${$as_ac_var+y}
11857 then :
11858 printf %s "(cached) " >&6
11859 else $as_nop
11860 ac_wine_try_cflags_saved=$CFLAGS
11861 ac_wine_try_cflags_saved_exeext=$ac_exeext
11862 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11863 ac_exeext=".exe"
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11866 int __cdecl mainCRTStartup(void) { return 0; }
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"
11869 then :
11870 eval "$as_ac_var=yes"
11871 else $as_nop
11872 eval "$as_ac_var=no"
11874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11875 conftest$ac_exeext conftest.$ac_ext
11876 CFLAGS=$ac_wine_try_cflags_saved
11877 ac_exeext=$ac_wine_try_cflags_saved_exeext
11879 eval ac_res=\$$as_ac_var
11880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11881 printf "%s\n" "$ac_res" >&6; }
11882 if eval test \"x\$"$as_ac_var"\" = x"yes"
11883 then :
11884 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11885 fi } ;;
11886 esac
11888 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11890 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11892 printf %s "checking whether $CC supports -Werror... " >&6; }
11893 if eval test \${$as_ac_var+y}
11894 then :
11895 printf %s "(cached) " >&6
11896 else $as_nop
11897 ac_wine_try_cflags_saved=$CFLAGS
11898 ac_wine_try_cflags_saved_exeext=$ac_exeext
11899 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11900 ac_exeext=".exe"
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11903 int __cdecl mainCRTStartup(void) { return 0; }
11904 _ACEOF
11905 if ac_fn_c_try_link "$LINENO"
11906 then :
11907 eval "$as_ac_var=yes"
11908 else $as_nop
11909 eval "$as_ac_var=no"
11911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11912 conftest$ac_exeext conftest.$ac_ext
11913 CFLAGS=$ac_wine_try_cflags_saved
11914 ac_exeext=$ac_wine_try_cflags_saved_exeext
11916 eval ac_res=\$$as_ac_var
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11918 printf "%s\n" "$ac_res" >&6; }
11919 if eval test \"x\$"$as_ac_var"\" = x"yes"
11920 then :
11921 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11922 fi }
11923 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11925 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11926 if eval test \${$as_ac_var+y}
11927 then :
11928 printf %s "(cached) " >&6
11929 else $as_nop
11930 ac_wine_try_cflags_saved=$CFLAGS
11931 ac_wine_try_cflags_saved_exeext=$ac_exeext
11932 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11933 ac_exeext=".exe"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 int __cdecl mainCRTStartup(void) { return 0; }
11937 _ACEOF
11938 if ac_fn_c_try_link "$LINENO"
11939 then :
11940 eval "$as_ac_var=yes"
11941 else $as_nop
11942 eval "$as_ac_var=no"
11944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11945 conftest$ac_exeext conftest.$ac_ext
11946 CFLAGS=$ac_wine_try_cflags_saved
11947 ac_exeext=$ac_wine_try_cflags_saved_exeext
11949 eval ac_res=\$$as_ac_var
11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11951 printf "%s\n" "$ac_res" >&6; }
11952 if eval test \"x\$"$as_ac_var"\" = x"yes"
11953 then :
11954 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11955 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11956 fi }
11958 CC=$saved_CC
11959 CFLAGS=$saved_CFLAGS
11960 done
11962 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11963 then
11964 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11967 if test "x$PE_ARCHS" = "x"
11968 then :
11969 case "x$with_mingw" in
11970 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11971 xno) ;;
11972 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11973 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11974 esac
11979 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11980 then
11981 case "$host_cpu" in
11982 i[3456789]86*)
11983 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11985 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11986 esac
11987 for ac_prog in $ac_prefix_list
11989 # Extract the first word of "$ac_prog", so it can be a program name with args.
11990 set dummy $ac_prog; ac_word=$2
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 printf %s "checking for $ac_word... " >&6; }
11993 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11994 then :
11995 printf %s "(cached) " >&6
11996 else $as_nop
11997 if test -n "$MINGW_PKG_CONFIG"; then
11998 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11999 else
12000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12001 for as_dir in $PATH
12003 IFS=$as_save_IFS
12004 case $as_dir in #(((
12005 '') as_dir=./ ;;
12006 */) ;;
12007 *) as_dir=$as_dir/ ;;
12008 esac
12009 for ac_exec_ext in '' $ac_executable_extensions; do
12010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12011 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12013 break 2
12015 done
12016 done
12017 IFS=$as_save_IFS
12021 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12022 if test -n "$MINGW_PKG_CONFIG"; then
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12024 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12025 else
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12027 printf "%s\n" "no" >&6; }
12031 test -n "$MINGW_PKG_CONFIG" && break
12032 done
12033 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12035 if ${FAUDIO_PE_CFLAGS:+false} :
12036 then :
12037 if test ${MINGW_PKG_CONFIG+y}
12038 then :
12039 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12042 if ${FAUDIO_PE_LIBS:+false} :
12043 then :
12044 if test ${MINGW_PKG_CONFIG+y}
12045 then :
12046 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12049 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12050 ac_save_CPPFLAGS=$CPPFLAGS
12051 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12053 printf %s "checking for MinGW FAudio.h... " >&6; }
12054 if test ${ac_cv_mingw_header_FAudio_h+y}
12055 then :
12056 printf %s "(cached) " >&6
12057 else $as_nop
12058 ac_wine_check_headers_saved_cc=$CC
12059 ac_wine_check_headers_saved_exeext=$ac_exeext
12060 eval CC=\$${wine_arch}_CC
12061 ac_exeext=".exe"
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 #include <FAudio.h>
12067 main (void)
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_compile "$LINENO"
12075 then :
12076 ac_cv_mingw_header_FAudio_h=yes
12077 else $as_nop
12078 ac_cv_mingw_header_FAudio_h=no
12080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12081 CC=$ac_wine_check_headers_saved_cc
12082 ac_exeext=$ac_wine_check_headers_saved_exeext
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12085 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12086 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12087 then :
12088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12089 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12090 if test ${ac_cv_mingw_lib_FAudio+y}
12091 then :
12092 printf %s "(cached) " >&6
12093 else $as_nop
12094 ac_wine_check_headers_saved_cc=$CC
12095 ac_wine_check_headers_saved_exeext=$ac_exeext
12096 ac_wine_check_headers_saved_libs=$LIBS
12097 eval CC=\$${wine_arch}_CC
12098 ac_exeext=".exe"
12099 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12106 char FAudio_CommitOperationSet ();
12108 main (void)
12110 return FAudio_CommitOperationSet ();
12112 return 0;
12114 _ACEOF
12115 if ac_fn_c_try_link "$LINENO"
12116 then :
12117 ac_cv_mingw_lib_FAudio=yes
12118 else $as_nop
12119 ac_cv_mingw_lib_FAudio=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12122 conftest$ac_exeext conftest.$ac_ext
12123 CC=$ac_wine_check_headers_saved_cc
12124 ac_exeext=$ac_wine_check_headers_saved_exeext
12125 LIBS=$ac_wine_check_headers_saved_libs
12127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12128 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12129 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12130 then :
12132 else $as_nop
12133 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12135 else $as_nop
12136 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12138 CPPFLAGS=$ac_save_CPPFLAGS
12140 if test "x$FAUDIO_PE_LIBS" = "x"
12141 then
12142 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12145 if ${JPEG_PE_CFLAGS:+false} :
12146 then :
12147 if test ${MINGW_PKG_CONFIG+y}
12148 then :
12149 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12152 if ${JPEG_PE_LIBS:+false} :
12153 then :
12154 if test ${MINGW_PKG_CONFIG+y}
12155 then :
12156 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12160 ac_save_CPPFLAGS=$CPPFLAGS
12161 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12163 printf %s "checking for MinGW jpeglib.h... " >&6; }
12164 if test ${ac_cv_mingw_header_jpeglib_h+y}
12165 then :
12166 printf %s "(cached) " >&6
12167 else $as_nop
12168 ac_wine_check_headers_saved_cc=$CC
12169 ac_wine_check_headers_saved_exeext=$ac_exeext
12170 eval CC=\$${wine_arch}_CC
12171 ac_exeext=".exe"
12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12174 #include <stddef.h>
12175 #include <stdio.h>
12176 #include <jpeglib.h>
12178 main (void)
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_compile "$LINENO"
12186 then :
12187 ac_cv_mingw_header_jpeglib_h=yes
12188 else $as_nop
12189 ac_cv_mingw_header_jpeglib_h=no
12191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12192 CC=$ac_wine_check_headers_saved_cc
12193 ac_exeext=$ac_wine_check_headers_saved_exeext
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12196 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12197 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12198 then :
12199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12200 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12201 if test ${ac_cv_mingw_lib_jpeg+y}
12202 then :
12203 printf %s "(cached) " >&6
12204 else $as_nop
12205 ac_wine_check_headers_saved_cc=$CC
12206 ac_wine_check_headers_saved_exeext=$ac_exeext
12207 ac_wine_check_headers_saved_libs=$LIBS
12208 eval CC=\$${wine_arch}_CC
12209 ac_exeext=".exe"
12210 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12217 char jpeg_start_decompress ();
12219 main (void)
12221 return jpeg_start_decompress ();
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_link "$LINENO"
12227 then :
12228 ac_cv_mingw_lib_jpeg=yes
12229 else $as_nop
12230 ac_cv_mingw_lib_jpeg=no
12232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12233 conftest$ac_exeext conftest.$ac_ext
12234 CC=$ac_wine_check_headers_saved_cc
12235 ac_exeext=$ac_wine_check_headers_saved_exeext
12236 LIBS=$ac_wine_check_headers_saved_libs
12238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12239 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12240 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12241 then :
12243 else $as_nop
12244 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12246 else $as_nop
12247 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12249 CPPFLAGS=$ac_save_CPPFLAGS
12251 if test "x$JPEG_PE_LIBS" = "x"
12252 then
12253 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12256 if ${LCMS2_PE_CFLAGS:+false} :
12257 then :
12258 if test ${MINGW_PKG_CONFIG+y}
12259 then :
12260 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12263 if ${LCMS2_PE_LIBS:+false} :
12264 then :
12265 if test ${MINGW_PKG_CONFIG+y}
12266 then :
12267 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12270 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12271 ac_save_CPPFLAGS=$CPPFLAGS
12272 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12274 printf %s "checking for MinGW lcms2.h... " >&6; }
12275 if test ${ac_cv_mingw_header_lcms2_h+y}
12276 then :
12277 printf %s "(cached) " >&6
12278 else $as_nop
12279 ac_wine_check_headers_saved_cc=$CC
12280 ac_wine_check_headers_saved_exeext=$ac_exeext
12281 eval CC=\$${wine_arch}_CC
12282 ac_exeext=".exe"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 #include <lcms2.h>
12288 main (void)
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_compile "$LINENO"
12296 then :
12297 ac_cv_mingw_header_lcms2_h=yes
12298 else $as_nop
12299 ac_cv_mingw_header_lcms2_h=no
12301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12302 CC=$ac_wine_check_headers_saved_cc
12303 ac_exeext=$ac_wine_check_headers_saved_exeext
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12306 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12307 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12308 then :
12309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12310 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12311 if test ${ac_cv_mingw_lib_lcms2+y}
12312 then :
12313 printf %s "(cached) " >&6
12314 else $as_nop
12315 ac_wine_check_headers_saved_cc=$CC
12316 ac_wine_check_headers_saved_exeext=$ac_exeext
12317 ac_wine_check_headers_saved_libs=$LIBS
12318 eval CC=\$${wine_arch}_CC
12319 ac_exeext=".exe"
12320 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 char cmsOpenProfileFromFile ();
12329 main (void)
12331 return cmsOpenProfileFromFile ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"
12337 then :
12338 ac_cv_mingw_lib_lcms2=yes
12339 else $as_nop
12340 ac_cv_mingw_lib_lcms2=no
12342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12343 conftest$ac_exeext conftest.$ac_ext
12344 CC=$ac_wine_check_headers_saved_cc
12345 ac_exeext=$ac_wine_check_headers_saved_exeext
12346 LIBS=$ac_wine_check_headers_saved_libs
12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12349 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12350 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12351 then :
12353 else $as_nop
12354 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12356 else $as_nop
12357 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12359 CPPFLAGS=$ac_save_CPPFLAGS
12361 if test "x$LCMS2_PE_LIBS" = "x"
12362 then
12363 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12366 if ${MPG123_PE_CFLAGS:+false} :
12367 then :
12368 if test ${MINGW_PKG_CONFIG+y}
12369 then :
12370 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12373 if ${MPG123_PE_LIBS:+false} :
12374 then :
12375 if test ${MINGW_PKG_CONFIG+y}
12376 then :
12377 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12380 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12381 ac_save_CPPFLAGS=$CPPFLAGS
12382 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12384 printf %s "checking for MinGW mpg123.h... " >&6; }
12385 if test ${ac_cv_mingw_header_mpg123_h+y}
12386 then :
12387 printf %s "(cached) " >&6
12388 else $as_nop
12389 ac_wine_check_headers_saved_cc=$CC
12390 ac_wine_check_headers_saved_exeext=$ac_exeext
12391 eval CC=\$${wine_arch}_CC
12392 ac_exeext=".exe"
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 #include <mpg123.h>
12398 main (void)
12402 return 0;
12404 _ACEOF
12405 if ac_fn_c_try_compile "$LINENO"
12406 then :
12407 ac_cv_mingw_header_mpg123_h=yes
12408 else $as_nop
12409 ac_cv_mingw_header_mpg123_h=no
12411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12412 CC=$ac_wine_check_headers_saved_cc
12413 ac_exeext=$ac_wine_check_headers_saved_exeext
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12416 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12417 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12418 then :
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12420 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12421 if test ${ac_cv_mingw_lib_mpg123+y}
12422 then :
12423 printf %s "(cached) " >&6
12424 else $as_nop
12425 ac_wine_check_headers_saved_cc=$CC
12426 ac_wine_check_headers_saved_exeext=$ac_exeext
12427 ac_wine_check_headers_saved_libs=$LIBS
12428 eval CC=\$${wine_arch}_CC
12429 ac_exeext=".exe"
12430 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 char mpg123_feed ();
12439 main (void)
12441 return mpg123_feed ();
12443 return 0;
12445 _ACEOF
12446 if ac_fn_c_try_link "$LINENO"
12447 then :
12448 ac_cv_mingw_lib_mpg123=yes
12449 else $as_nop
12450 ac_cv_mingw_lib_mpg123=no
12452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12453 conftest$ac_exeext conftest.$ac_ext
12454 CC=$ac_wine_check_headers_saved_cc
12455 ac_exeext=$ac_wine_check_headers_saved_exeext
12456 LIBS=$ac_wine_check_headers_saved_libs
12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12459 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12460 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12461 then :
12463 else $as_nop
12464 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12466 else $as_nop
12467 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12469 CPPFLAGS=$ac_save_CPPFLAGS
12471 if test "x$MPG123_PE_LIBS" = "x"
12472 then
12473 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12476 if ${PNG_PE_CFLAGS:+false} :
12477 then :
12478 if test ${MINGW_PKG_CONFIG+y}
12479 then :
12480 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12483 if ${PNG_PE_LIBS:+false} :
12484 then :
12485 if test ${MINGW_PKG_CONFIG+y}
12486 then :
12487 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12491 ac_save_CPPFLAGS=$CPPFLAGS
12492 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12494 printf %s "checking for MinGW png.h... " >&6; }
12495 if test ${ac_cv_mingw_header_png_h+y}
12496 then :
12497 printf %s "(cached) " >&6
12498 else $as_nop
12499 ac_wine_check_headers_saved_cc=$CC
12500 ac_wine_check_headers_saved_exeext=$ac_exeext
12501 eval CC=\$${wine_arch}_CC
12502 ac_exeext=".exe"
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12506 #include <png.h>
12508 main (void)
12512 return 0;
12514 _ACEOF
12515 if ac_fn_c_try_compile "$LINENO"
12516 then :
12517 ac_cv_mingw_header_png_h=yes
12518 else $as_nop
12519 ac_cv_mingw_header_png_h=no
12521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12522 CC=$ac_wine_check_headers_saved_cc
12523 ac_exeext=$ac_wine_check_headers_saved_exeext
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12526 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12527 if test "x$ac_cv_mingw_header_png_h" = xyes
12528 then :
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12530 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12531 if test ${ac_cv_mingw_lib_png+y}
12532 then :
12533 printf %s "(cached) " >&6
12534 else $as_nop
12535 ac_wine_check_headers_saved_cc=$CC
12536 ac_wine_check_headers_saved_exeext=$ac_exeext
12537 ac_wine_check_headers_saved_libs=$LIBS
12538 eval CC=\$${wine_arch}_CC
12539 ac_exeext=".exe"
12540 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 char png_create_read_struct ();
12549 main (void)
12551 return png_create_read_struct ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"
12557 then :
12558 ac_cv_mingw_lib_png=yes
12559 else $as_nop
12560 ac_cv_mingw_lib_png=no
12562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12563 conftest$ac_exeext conftest.$ac_ext
12564 CC=$ac_wine_check_headers_saved_cc
12565 ac_exeext=$ac_wine_check_headers_saved_exeext
12566 LIBS=$ac_wine_check_headers_saved_libs
12568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12569 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12570 if test "x$ac_cv_mingw_lib_png" = xyes
12571 then :
12573 else $as_nop
12574 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12576 else $as_nop
12577 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12579 CPPFLAGS=$ac_save_CPPFLAGS
12581 if test "x$PNG_PE_LIBS" = "x"
12582 then
12583 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12586 if ${TIFF_PE_CFLAGS:+false} :
12587 then :
12588 if test ${MINGW_PKG_CONFIG+y}
12589 then :
12590 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12593 if ${TIFF_PE_LIBS:+false} :
12594 then :
12595 if test ${MINGW_PKG_CONFIG+y}
12596 then :
12597 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12601 ac_save_CPPFLAGS=$CPPFLAGS
12602 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12604 printf %s "checking for MinGW tiffio.h... " >&6; }
12605 if test ${ac_cv_mingw_header_tiffio_h+y}
12606 then :
12607 printf %s "(cached) " >&6
12608 else $as_nop
12609 ac_wine_check_headers_saved_cc=$CC
12610 ac_wine_check_headers_saved_exeext=$ac_exeext
12611 eval CC=\$${wine_arch}_CC
12612 ac_exeext=".exe"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 #include <tiffio.h>
12618 main (void)
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_compile "$LINENO"
12626 then :
12627 ac_cv_mingw_header_tiffio_h=yes
12628 else $as_nop
12629 ac_cv_mingw_header_tiffio_h=no
12631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12632 CC=$ac_wine_check_headers_saved_cc
12633 ac_exeext=$ac_wine_check_headers_saved_exeext
12635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12636 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12637 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12638 then :
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12640 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12641 if test ${ac_cv_mingw_lib_tiff+y}
12642 then :
12643 printf %s "(cached) " >&6
12644 else $as_nop
12645 ac_wine_check_headers_saved_cc=$CC
12646 ac_wine_check_headers_saved_exeext=$ac_exeext
12647 ac_wine_check_headers_saved_libs=$LIBS
12648 eval CC=\$${wine_arch}_CC
12649 ac_exeext=".exe"
12650 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 char TIFFClientOpen ();
12659 main (void)
12661 return TIFFClientOpen ();
12663 return 0;
12665 _ACEOF
12666 if ac_fn_c_try_link "$LINENO"
12667 then :
12668 ac_cv_mingw_lib_tiff=yes
12669 else $as_nop
12670 ac_cv_mingw_lib_tiff=no
12672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12673 conftest$ac_exeext conftest.$ac_ext
12674 CC=$ac_wine_check_headers_saved_cc
12675 ac_exeext=$ac_wine_check_headers_saved_exeext
12676 LIBS=$ac_wine_check_headers_saved_libs
12678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12679 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12680 if test "x$ac_cv_mingw_lib_tiff" = xyes
12681 then :
12683 else $as_nop
12684 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12686 else $as_nop
12687 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12689 CPPFLAGS=$ac_save_CPPFLAGS
12691 if test "x$TIFF_PE_LIBS" = "x"
12692 then
12693 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12696 if ${XML2_PE_CFLAGS:+false} :
12697 then :
12698 if test ${MINGW_PKG_CONFIG+y}
12699 then :
12700 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12703 if ${XML2_PE_LIBS:+false} :
12704 then :
12705 if test ${MINGW_PKG_CONFIG+y}
12706 then :
12707 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12710 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12711 ac_save_CPPFLAGS=$CPPFLAGS
12712 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12714 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12715 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12716 then :
12717 printf %s "(cached) " >&6
12718 else $as_nop
12719 ac_wine_check_headers_saved_cc=$CC
12720 ac_wine_check_headers_saved_exeext=$ac_exeext
12721 eval CC=\$${wine_arch}_CC
12722 ac_exeext=".exe"
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 #include <libxml/parser.h>
12728 main (void)
12732 return 0;
12734 _ACEOF
12735 if ac_fn_c_try_compile "$LINENO"
12736 then :
12737 ac_cv_mingw_header_libxml_parser_h=yes
12738 else $as_nop
12739 ac_cv_mingw_header_libxml_parser_h=no
12741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12742 CC=$ac_wine_check_headers_saved_cc
12743 ac_exeext=$ac_wine_check_headers_saved_exeext
12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12746 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12747 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12748 then :
12751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12752 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12753 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12754 then :
12755 printf %s "(cached) " >&6
12756 else $as_nop
12757 ac_wine_check_headers_saved_cc=$CC
12758 ac_wine_check_headers_saved_exeext=$ac_exeext
12759 eval CC=\$${wine_arch}_CC
12760 ac_exeext=".exe"
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12764 #include <libxml/xmlsave.h>
12766 main (void)
12770 return 0;
12772 _ACEOF
12773 if ac_fn_c_try_compile "$LINENO"
12774 then :
12775 ac_cv_mingw_header_libxml_xmlsave_h=yes
12776 else $as_nop
12777 ac_cv_mingw_header_libxml_xmlsave_h=no
12779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12780 CC=$ac_wine_check_headers_saved_cc
12781 ac_exeext=$ac_wine_check_headers_saved_exeext
12783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12784 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12785 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12786 then :
12789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12790 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12791 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12792 then :
12793 printf %s "(cached) " >&6
12794 else $as_nop
12795 ac_wine_check_headers_saved_cc=$CC
12796 ac_wine_check_headers_saved_exeext=$ac_exeext
12797 eval CC=\$${wine_arch}_CC
12798 ac_exeext=".exe"
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 #include <libxml/SAX2.h>
12804 main (void)
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_compile "$LINENO"
12812 then :
12813 ac_cv_mingw_header_libxml_SAX2_h=yes
12814 else $as_nop
12815 ac_cv_mingw_header_libxml_SAX2_h=no
12817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12818 CC=$ac_wine_check_headers_saved_cc
12819 ac_exeext=$ac_wine_check_headers_saved_exeext
12821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12822 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12823 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12824 then :
12827 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"
12828 then
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12830 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12831 if test ${ac_cv_mingw_lib_xml2+y}
12832 then :
12833 printf %s "(cached) " >&6
12834 else $as_nop
12835 ac_wine_check_headers_saved_cc=$CC
12836 ac_wine_check_headers_saved_exeext=$ac_exeext
12837 ac_wine_check_headers_saved_libs=$LIBS
12838 eval CC=\$${wine_arch}_CC
12839 ac_exeext=".exe"
12840 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12847 char xmlFirstElementChild ();
12849 main (void)
12851 return xmlFirstElementChild ();
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_link "$LINENO"
12857 then :
12858 ac_cv_mingw_lib_xml2=yes
12859 else $as_nop
12860 ac_cv_mingw_lib_xml2=no
12862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12863 conftest$ac_exeext conftest.$ac_ext
12864 CC=$ac_wine_check_headers_saved_cc
12865 ac_exeext=$ac_wine_check_headers_saved_exeext
12866 LIBS=$ac_wine_check_headers_saved_libs
12868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12869 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12870 if test "x$ac_cv_mingw_lib_xml2" = xyes
12871 then :
12873 else $as_nop
12874 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12876 else
12877 XML2_PE_CFLAGS=""
12878 XML2_PE_LIBS=""
12880 CPPFLAGS=$ac_save_CPPFLAGS
12882 if test "x$XML2_PE_LIBS" = "x"
12883 then
12884 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12887 if ${XSLT_PE_CFLAGS:+false} :
12888 then :
12889 if test ${MINGW_PKG_CONFIG+y}
12890 then :
12891 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12894 if ${XSLT_PE_LIBS:+false} :
12895 then :
12896 if test ${MINGW_PKG_CONFIG+y}
12897 then :
12898 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12901 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12905 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12906 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12907 then :
12908 printf %s "(cached) " >&6
12909 else $as_nop
12910 ac_wine_check_headers_saved_cc=$CC
12911 ac_wine_check_headers_saved_exeext=$ac_exeext
12912 eval CC=\$${wine_arch}_CC
12913 ac_exeext=".exe"
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 #include <libxslt/pattern.h>
12919 main (void)
12923 return 0;
12925 _ACEOF
12926 if ac_fn_c_try_compile "$LINENO"
12927 then :
12928 ac_cv_mingw_header_libxslt_pattern_h=yes
12929 else $as_nop
12930 ac_cv_mingw_header_libxslt_pattern_h=no
12932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12933 CC=$ac_wine_check_headers_saved_cc
12934 ac_exeext=$ac_wine_check_headers_saved_exeext
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12937 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12938 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12939 then :
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12943 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12944 if test ${ac_cv_mingw_header_libxslt_transform_h+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 eval CC=\$${wine_arch}_CC
12951 ac_exeext=".exe"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 #include <libxslt/transform.h>
12957 main (void)
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_compile "$LINENO"
12965 then :
12966 ac_cv_mingw_header_libxslt_transform_h=yes
12967 else $as_nop
12968 ac_cv_mingw_header_libxslt_transform_h=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12971 CC=$ac_wine_check_headers_saved_cc
12972 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12975 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12976 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12977 then :
12980 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12981 then
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12983 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12984 if test ${ac_cv_mingw_lib_xslt+y}
12985 then :
12986 printf %s "(cached) " >&6
12987 else $as_nop
12988 ac_wine_check_headers_saved_cc=$CC
12989 ac_wine_check_headers_saved_exeext=$ac_exeext
12990 ac_wine_check_headers_saved_libs=$LIBS
12991 eval CC=\$${wine_arch}_CC
12992 ac_exeext=".exe"
12993 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13000 char xsltCompilePattern ();
13002 main (void)
13004 return xsltCompilePattern ();
13006 return 0;
13008 _ACEOF
13009 if ac_fn_c_try_link "$LINENO"
13010 then :
13011 ac_cv_mingw_lib_xslt=yes
13012 else $as_nop
13013 ac_cv_mingw_lib_xslt=no
13015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13016 conftest$ac_exeext conftest.$ac_ext
13017 CC=$ac_wine_check_headers_saved_cc
13018 ac_exeext=$ac_wine_check_headers_saved_exeext
13019 LIBS=$ac_wine_check_headers_saved_libs
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13022 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13023 if test "x$ac_cv_mingw_lib_xslt" = xyes
13024 then :
13026 else $as_nop
13027 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13029 else
13030 XSLT_PE_CFLAGS=""
13031 XSLT_PE_LIBS=""
13033 CPPFLAGS=$ac_save_CPPFLAGS
13035 if test "x$XSLT_PE_LIBS" = "x"
13036 then
13037 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13040 if ${VKD3D_PE_CFLAGS:+false} :
13041 then :
13042 if test ${MINGW_PKG_CONFIG+y}
13043 then :
13044 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13047 if ${VKD3D_PE_LIBS:+false} :
13048 then :
13049 if test ${MINGW_PKG_CONFIG+y}
13050 then :
13051 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13054 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13055 ac_save_CPPFLAGS=$CPPFLAGS
13056 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13058 printf %s "checking for MinGW vkd3d.h... " >&6; }
13059 if test ${ac_cv_mingw_header_vkd3d_h+y}
13060 then :
13061 printf %s "(cached) " >&6
13062 else $as_nop
13063 ac_wine_check_headers_saved_cc=$CC
13064 ac_wine_check_headers_saved_exeext=$ac_exeext
13065 eval CC=\$${wine_arch}_CC
13066 ac_exeext=".exe"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 #include <vkd3d.h>
13072 main (void)
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_compile "$LINENO"
13080 then :
13081 ac_cv_mingw_header_vkd3d_h=yes
13082 else $as_nop
13083 ac_cv_mingw_header_vkd3d_h=no
13085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13086 CC=$ac_wine_check_headers_saved_cc
13087 ac_exeext=$ac_wine_check_headers_saved_exeext
13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13090 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13091 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13092 then :
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13096 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13097 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13098 then :
13099 printf %s "(cached) " >&6
13100 else $as_nop
13101 ac_wine_check_headers_saved_cc=$CC
13102 ac_wine_check_headers_saved_exeext=$ac_exeext
13103 eval CC=\$${wine_arch}_CC
13104 ac_exeext=".exe"
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 #include <vkd3d_shader.h>
13110 main (void)
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_compile "$LINENO"
13118 then :
13119 ac_cv_mingw_header_vkd3d_shader_h=yes
13120 else $as_nop
13121 ac_cv_mingw_header_vkd3d_shader_h=no
13123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13124 CC=$ac_wine_check_headers_saved_cc
13125 ac_exeext=$ac_wine_check_headers_saved_exeext
13127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13128 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13129 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13130 then :
13133 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13134 then
13135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13136 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13137 if test ${ac_cv_mingw_lib_vkd3d+y}
13138 then :
13139 printf %s "(cached) " >&6
13140 else $as_nop
13141 ac_wine_check_headers_saved_cc=$CC
13142 ac_wine_check_headers_saved_exeext=$ac_exeext
13143 ac_wine_check_headers_saved_libs=$LIBS
13144 eval CC=\$${wine_arch}_CC
13145 ac_exeext=".exe"
13146 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 char vkd3d_set_log_callback ();
13155 main (void)
13157 return vkd3d_set_log_callback ();
13159 return 0;
13161 _ACEOF
13162 if ac_fn_c_try_link "$LINENO"
13163 then :
13164 ac_cv_mingw_lib_vkd3d=yes
13165 else $as_nop
13166 ac_cv_mingw_lib_vkd3d=no
13168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13169 conftest$ac_exeext conftest.$ac_ext
13170 CC=$ac_wine_check_headers_saved_cc
13171 ac_exeext=$ac_wine_check_headers_saved_exeext
13172 LIBS=$ac_wine_check_headers_saved_libs
13174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13175 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13176 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13177 then :
13179 else $as_nop
13182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13183 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13184 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13185 then :
13186 printf %s "(cached) " >&6
13187 else $as_nop
13188 ac_wine_check_headers_saved_cc=$CC
13189 ac_wine_check_headers_saved_exeext=$ac_exeext
13190 ac_wine_check_headers_saved_libs=$LIBS
13191 eval CC=\$${wine_arch}_CC
13192 ac_exeext=".exe"
13193 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13200 char vkd3d_shader_compile ();
13202 main (void)
13204 return vkd3d_shader_compile ();
13206 return 0;
13208 _ACEOF
13209 if ac_fn_c_try_link "$LINENO"
13210 then :
13211 ac_cv_mingw_lib_vkd3d_shader=yes
13212 else $as_nop
13213 ac_cv_mingw_lib_vkd3d_shader=no
13215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13216 conftest$ac_exeext conftest.$ac_ext
13217 CC=$ac_wine_check_headers_saved_cc
13218 ac_exeext=$ac_wine_check_headers_saved_exeext
13219 LIBS=$ac_wine_check_headers_saved_libs
13221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13222 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13223 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13224 then :
13226 else $as_nop
13229 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13230 then
13231 VKD3D_PE_CFLAGS=""
13232 VKD3D_PE_LIBS=""
13234 else
13235 VKD3D_PE_CFLAGS=""
13236 VKD3D_PE_LIBS=""
13238 CPPFLAGS=$ac_save_CPPFLAGS
13240 if test "x$VKD3D_PE_LIBS" = "x"
13241 then
13242 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13245 if ${ZLIB_PE_CFLAGS:+false} :
13246 then :
13247 if test ${MINGW_PKG_CONFIG+y}
13248 then :
13249 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13252 if ${ZLIB_PE_LIBS:+false} :
13253 then :
13254 if test ${MINGW_PKG_CONFIG+y}
13255 then :
13256 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13259 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13260 ac_save_CPPFLAGS=$CPPFLAGS
13261 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13263 printf %s "checking for MinGW zlib.h... " >&6; }
13264 if test ${ac_cv_mingw_header_zlib_h+y}
13265 then :
13266 printf %s "(cached) " >&6
13267 else $as_nop
13268 ac_wine_check_headers_saved_cc=$CC
13269 ac_wine_check_headers_saved_exeext=$ac_exeext
13270 eval CC=\$${wine_arch}_CC
13271 ac_exeext=".exe"
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13275 #include <zlib.h>
13277 main (void)
13281 return 0;
13283 _ACEOF
13284 if ac_fn_c_try_compile "$LINENO"
13285 then :
13286 ac_cv_mingw_header_zlib_h=yes
13287 else $as_nop
13288 ac_cv_mingw_header_zlib_h=no
13290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13291 CC=$ac_wine_check_headers_saved_cc
13292 ac_exeext=$ac_wine_check_headers_saved_exeext
13294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13295 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13296 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13297 then :
13298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13299 printf %s "checking for inflate in MinGW -lz... " >&6; }
13300 if test ${ac_cv_mingw_lib_z+y}
13301 then :
13302 printf %s "(cached) " >&6
13303 else $as_nop
13304 ac_wine_check_headers_saved_cc=$CC
13305 ac_wine_check_headers_saved_exeext=$ac_exeext
13306 ac_wine_check_headers_saved_libs=$LIBS
13307 eval CC=\$${wine_arch}_CC
13308 ac_exeext=".exe"
13309 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 char inflate ();
13318 main (void)
13320 return inflate ();
13322 return 0;
13324 _ACEOF
13325 if ac_fn_c_try_link "$LINENO"
13326 then :
13327 ac_cv_mingw_lib_z=yes
13328 else $as_nop
13329 ac_cv_mingw_lib_z=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13332 conftest$ac_exeext conftest.$ac_ext
13333 CC=$ac_wine_check_headers_saved_cc
13334 ac_exeext=$ac_wine_check_headers_saved_exeext
13335 LIBS=$ac_wine_check_headers_saved_libs
13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13338 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13339 if test "x$ac_cv_mingw_lib_z" = xyes
13340 then :
13342 else $as_nop
13343 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13345 else $as_nop
13346 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13348 CPPFLAGS=$ac_save_CPPFLAGS
13350 if test "x$ZLIB_PE_LIBS" = "x"
13351 then
13352 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13356 if ${FAUDIO_PE_LIBS:+false} :
13357 then :
13358 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13359 if ${FAUDIO_PE_CFLAGS:+false} :
13360 then :
13361 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13362 else $as_nop
13363 enable_faudio=no
13365 else $as_nop
13366 enable_faudio=no
13368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13371 if ${GSM_PE_LIBS:+false} :
13372 then :
13373 GSM_PE_LIBS=gsm
13374 if ${GSM_PE_CFLAGS:+false} :
13375 then :
13376 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13377 else $as_nop
13378 enable_gsm=no
13380 else $as_nop
13381 enable_gsm=no
13383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13386 if ${JPEG_PE_LIBS:+false} :
13387 then :
13388 JPEG_PE_LIBS=jpeg
13389 if ${JPEG_PE_CFLAGS:+false} :
13390 then :
13391 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13392 else $as_nop
13393 enable_jpeg=no
13395 else $as_nop
13396 enable_jpeg=no
13398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13401 if ${JXR_PE_LIBS:+false} :
13402 then :
13403 JXR_PE_LIBS=jxr
13404 if ${JXR_PE_CFLAGS:+false} :
13405 then :
13406 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13407 else $as_nop
13408 enable_jxr=no
13410 else $as_nop
13411 enable_jxr=no
13413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13416 if ${LCMS2_PE_LIBS:+false} :
13417 then :
13418 LCMS2_PE_LIBS=lcms2
13419 if ${LCMS2_PE_CFLAGS:+false} :
13420 then :
13421 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13422 else $as_nop
13423 enable_lcms2=no
13425 else $as_nop
13426 enable_lcms2=no
13428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13431 if ${MPG123_PE_LIBS:+false} :
13432 then :
13433 MPG123_PE_LIBS=mpg123
13434 if ${MPG123_PE_CFLAGS:+false} :
13435 then :
13436 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13437 else $as_nop
13438 enable_mpg123=no
13440 else $as_nop
13441 enable_mpg123=no
13443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13446 if ${PNG_PE_LIBS:+false} :
13447 then :
13448 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13449 if ${PNG_PE_CFLAGS:+false} :
13450 then :
13451 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13452 else $as_nop
13453 enable_png=no
13455 else $as_nop
13456 enable_png=no
13458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13461 if ${TIFF_PE_LIBS:+false} :
13462 then :
13463 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13464 if ${TIFF_PE_CFLAGS:+false} :
13465 then :
13466 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13467 else $as_nop
13468 enable_tiff=no
13470 else $as_nop
13471 enable_tiff=no
13473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13476 if ${VKD3D_PE_LIBS:+false} :
13477 then :
13478 VKD3D_PE_LIBS=vkd3d
13479 if ${VKD3D_PE_CFLAGS:+false} :
13480 then :
13481 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13482 else $as_nop
13483 enable_vkd3d=no
13485 else $as_nop
13486 enable_vkd3d=no
13488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13491 if ${XML2_PE_LIBS:+false} :
13492 then :
13493 XML2_PE_LIBS=xml2
13494 if ${XML2_PE_CFLAGS:+false} :
13495 then :
13496 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13497 else $as_nop
13498 enable_xml2=no
13500 else $as_nop
13501 enable_xml2=no
13503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13506 if ${XSLT_PE_LIBS:+false} :
13507 then :
13508 XSLT_PE_LIBS=xslt
13509 if ${XSLT_PE_CFLAGS:+false} :
13510 then :
13511 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13512 else $as_nop
13513 enable_xslt=no
13515 else $as_nop
13516 enable_xslt=no
13518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13521 if ${ZLIB_PE_LIBS:+false} :
13522 then :
13523 ZLIB_PE_LIBS=z
13524 if ${ZLIB_PE_CFLAGS:+false} :
13525 then :
13526 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13527 else $as_nop
13528 enable_zlib=no
13530 else $as_nop
13531 enable_zlib=no
13533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13538 if test "$ac_cv_header_pthread_h" = "yes"
13539 then
13540 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13541 if test "x$ac_cv_func_pthread_create" = xyes
13542 then :
13544 else $as_nop
13545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13546 printf %s "checking for pthread_create in -lpthread... " >&6; }
13547 if test ${ac_cv_lib_pthread_pthread_create+y}
13548 then :
13549 printf %s "(cached) " >&6
13550 else $as_nop
13551 ac_check_lib_save_LIBS=$LIBS
13552 LIBS="-lpthread $LIBS"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13556 /* Override any GCC internal prototype to avoid an error.
13557 Use char because int might match the return type of a GCC
13558 builtin and then its argument prototype would still apply. */
13559 char pthread_create ();
13561 main (void)
13563 return pthread_create ();
13565 return 0;
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"
13569 then :
13570 ac_cv_lib_pthread_pthread_create=yes
13571 else $as_nop
13572 ac_cv_lib_pthread_pthread_create=no
13574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13575 conftest$ac_exeext conftest.$ac_ext
13576 LIBS=$ac_check_lib_save_LIBS
13578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13579 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13580 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13581 then :
13582 PTHREAD_LIBS="-lpthread"
13589 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13590 then :
13591 case "x$with_pthread" in
13592 xno) ;;
13593 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13594 Wine cannot support threads without libpthread.
13595 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13596 esac
13601 ac_ext=c
13602 ac_cpp='$CPP $CPPFLAGS'
13603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13607 printf %s "checking how to run the C preprocessor... " >&6; }
13608 # On Suns, sometimes $CPP names a directory.
13609 if test -n "$CPP" && test -d "$CPP"; then
13610 CPP=
13612 if test -z "$CPP"; then
13613 if test ${ac_cv_prog_CPP+y}
13614 then :
13615 printf %s "(cached) " >&6
13616 else $as_nop
13617 # Double quotes because $CC needs to be expanded
13618 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13620 ac_preproc_ok=false
13621 for ac_c_preproc_warn_flag in '' yes
13623 # Use a header file that comes with gcc, so configuring glibc
13624 # with a fresh cross-compiler works.
13625 # On the NeXT, cc -E runs the code through the compiler's parser,
13626 # not just through cpp. "Syntax error" is here to catch this case.
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <limits.h>
13630 Syntax error
13631 _ACEOF
13632 if ac_fn_c_try_cpp "$LINENO"
13633 then :
13635 else $as_nop
13636 # Broken: fails on valid input.
13637 continue
13639 rm -f conftest.err conftest.i conftest.$ac_ext
13641 # OK, works on sane cases. Now check whether nonexistent headers
13642 # can be detected and how.
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <ac_nonexistent.h>
13646 _ACEOF
13647 if ac_fn_c_try_cpp "$LINENO"
13648 then :
13649 # Broken: success on invalid input.
13650 continue
13651 else $as_nop
13652 # Passes both tests.
13653 ac_preproc_ok=:
13654 break
13656 rm -f conftest.err conftest.i conftest.$ac_ext
13658 done
13659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13660 rm -f conftest.i conftest.err conftest.$ac_ext
13661 if $ac_preproc_ok
13662 then :
13663 break
13666 done
13667 ac_cv_prog_CPP=$CPP
13670 CPP=$ac_cv_prog_CPP
13671 else
13672 ac_cv_prog_CPP=$CPP
13674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13675 printf "%s\n" "$CPP" >&6; }
13676 ac_preproc_ok=false
13677 for ac_c_preproc_warn_flag in '' yes
13679 # Use a header file that comes with gcc, so configuring glibc
13680 # with a fresh cross-compiler works.
13681 # On the NeXT, cc -E runs the code through the compiler's parser,
13682 # not just through cpp. "Syntax error" is here to catch this case.
13683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13685 #include <limits.h>
13686 Syntax error
13687 _ACEOF
13688 if ac_fn_c_try_cpp "$LINENO"
13689 then :
13691 else $as_nop
13692 # Broken: fails on valid input.
13693 continue
13695 rm -f conftest.err conftest.i conftest.$ac_ext
13697 # OK, works on sane cases. Now check whether nonexistent headers
13698 # can be detected and how.
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 #include <ac_nonexistent.h>
13702 _ACEOF
13703 if ac_fn_c_try_cpp "$LINENO"
13704 then :
13705 # Broken: success on invalid input.
13706 continue
13707 else $as_nop
13708 # Passes both tests.
13709 ac_preproc_ok=:
13710 break
13712 rm -f conftest.err conftest.i conftest.$ac_ext
13714 done
13715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13716 rm -f conftest.i conftest.err conftest.$ac_ext
13717 if $ac_preproc_ok
13718 then :
13720 else $as_nop
13721 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13722 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13723 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13724 See \`config.log' for more details" "$LINENO" 5; }
13727 ac_ext=c
13728 ac_cpp='$CPP $CPPFLAGS'
13729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13735 printf %s "checking for X... " >&6; }
13738 # Check whether --with-x was given.
13739 if test ${with_x+y}
13740 then :
13741 withval=$with_x;
13744 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13745 if test "x$with_x" = xno; then
13746 # The user explicitly disabled X.
13747 have_x=disabled
13748 else
13749 case $x_includes,$x_libraries in #(
13750 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13751 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13752 then :
13753 printf %s "(cached) " >&6
13754 else $as_nop
13755 # One or both of the vars are not set, and there is no cached value.
13756 ac_x_includes=no
13757 ac_x_libraries=no
13758 # Do we need to do anything special at all?
13759 ac_save_LIBS=$LIBS
13760 LIBS="-lX11 $LIBS"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 #include <X11/Xlib.h>
13765 main (void)
13767 XrmInitialize ()
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"
13773 then :
13774 # We can compile and link X programs with no special options.
13775 ac_x_includes=
13776 ac_x_libraries=
13778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13779 conftest$ac_exeext conftest.$ac_ext
13780 LIBS="$ac_save_LIBS"
13781 # If that didn't work, only try xmkmf and file system searches
13782 # for native compilation.
13783 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13784 then :
13785 rm -f -r conftest.dir
13786 if mkdir conftest.dir; then
13787 cd conftest.dir
13788 cat >Imakefile <<'_ACEOF'
13789 incroot:
13790 @echo incroot='${INCROOT}'
13791 usrlibdir:
13792 @echo usrlibdir='${USRLIBDIR}'
13793 libdir:
13794 @echo libdir='${LIBDIR}'
13795 _ACEOF
13796 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13797 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13798 for ac_var in incroot usrlibdir libdir; do
13799 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13800 done
13801 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13802 for ac_extension in a so sl dylib la dll; do
13803 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13804 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13805 ac_im_usrlibdir=$ac_im_libdir; break
13807 done
13808 # Screen out bogus values from the imake configuration. They are
13809 # bogus both because they are the default anyway, and because
13810 # using them would break gcc on systems where it needs fixed includes.
13811 case $ac_im_incroot in
13812 /usr/include) ac_x_includes= ;;
13813 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13814 esac
13815 case $ac_im_usrlibdir in
13816 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13817 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13818 esac
13820 cd ..
13821 rm -f -r conftest.dir
13824 # Standard set of common directories for X headers.
13825 # Check X11 before X11Rn because it is often a symlink to the current release.
13826 ac_x_header_dirs='
13827 /usr/X11/include
13828 /usr/X11R7/include
13829 /usr/X11R6/include
13830 /usr/X11R5/include
13831 /usr/X11R4/include
13833 /usr/include/X11
13834 /usr/include/X11R7
13835 /usr/include/X11R6
13836 /usr/include/X11R5
13837 /usr/include/X11R4
13839 /usr/local/X11/include
13840 /usr/local/X11R7/include
13841 /usr/local/X11R6/include
13842 /usr/local/X11R5/include
13843 /usr/local/X11R4/include
13845 /usr/local/include/X11
13846 /usr/local/include/X11R7
13847 /usr/local/include/X11R6
13848 /usr/local/include/X11R5
13849 /usr/local/include/X11R4
13851 /opt/X11/include
13853 /usr/X386/include
13854 /usr/x386/include
13855 /usr/XFree86/include/X11
13857 /usr/include
13858 /usr/local/include
13859 /usr/unsupported/include
13860 /usr/athena/include
13861 /usr/local/x11r5/include
13862 /usr/lpp/Xamples/include
13864 /usr/openwin/include
13865 /usr/openwin/share/include'
13867 if test "$ac_x_includes" = no; then
13868 # Guess where to find include files, by looking for Xlib.h.
13869 # First, try using that file with no special directory specified.
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 #include <X11/Xlib.h>
13873 _ACEOF
13874 if ac_fn_c_try_cpp "$LINENO"
13875 then :
13876 # We can compile using X headers with no special include directory.
13877 ac_x_includes=
13878 else $as_nop
13879 for ac_dir in $ac_x_header_dirs; do
13880 if test -r "$ac_dir/X11/Xlib.h"; then
13881 ac_x_includes=$ac_dir
13882 break
13884 done
13886 rm -f conftest.err conftest.i conftest.$ac_ext
13887 fi # $ac_x_includes = no
13889 if test "$ac_x_libraries" = no; then
13890 # Check for the libraries.
13891 # See if we find them without any special options.
13892 # Don't add to $LIBS permanently.
13893 ac_save_LIBS=$LIBS
13894 LIBS="-lX11 $LIBS"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 #include <X11/Xlib.h>
13899 main (void)
13901 XrmInitialize ()
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"
13907 then :
13908 LIBS=$ac_save_LIBS
13909 # We can link X programs with no special library path.
13910 ac_x_libraries=
13911 else $as_nop
13912 LIBS=$ac_save_LIBS
13913 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13915 # Don't even attempt the hair of trying to link an X program!
13916 for ac_extension in a so sl dylib la dll; do
13917 if test -r "$ac_dir/libX11.$ac_extension"; then
13918 ac_x_libraries=$ac_dir
13919 break 2
13921 done
13922 done
13924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13925 conftest$ac_exeext conftest.$ac_ext
13926 fi # $ac_x_libraries = no
13929 # Record the results.
13930 case $ac_x_includes,$ac_x_libraries in #(
13931 no,* | *,no | *\'*) :
13932 # Didn't find X, or a directory has "'" in its name.
13933 ac_cv_have_x="have_x=no" ;; #(
13934 *) :
13935 # Record where we found X for the cache.
13936 ac_cv_have_x="have_x=yes\
13937 ac_x_includes='$ac_x_includes'\
13938 ac_x_libraries='$ac_x_libraries'" ;;
13939 esac
13941 ;; #(
13942 *) have_x=yes;;
13943 esac
13944 eval "$ac_cv_have_x"
13945 fi # $with_x != no
13947 if test "$have_x" != yes; then
13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13949 printf "%s\n" "$have_x" >&6; }
13950 no_x=yes
13951 else
13952 # If each of the values was on the command line, it overrides each guess.
13953 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13954 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13955 # Update the cache value to reflect the command line values.
13956 ac_cv_have_x="have_x=yes\
13957 ac_x_includes='$x_includes'\
13958 ac_x_libraries='$x_libraries'"
13959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13960 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13963 if test "$no_x" = yes; then
13964 # Not all programs may use this symbol, but it does not hurt to define it.
13966 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13968 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13969 else
13970 if test -n "$x_includes"; then
13971 X_CFLAGS="$X_CFLAGS -I$x_includes"
13974 # It would also be nice to do this for all -L options, not just this one.
13975 if test -n "$x_libraries"; then
13976 X_LIBS="$X_LIBS -L$x_libraries"
13977 # For Solaris; some versions of Sun CC require a space after -R and
13978 # others require no space. Words are not sufficient . . . .
13979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13980 printf %s "checking whether -R must be followed by a space... " >&6; }
13981 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13982 ac_xsave_c_werror_flag=$ac_c_werror_flag
13983 ac_c_werror_flag=yes
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13988 main (void)
13992 return 0;
13994 _ACEOF
13995 if ac_fn_c_try_link "$LINENO"
13996 then :
13997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13998 printf "%s\n" "no" >&6; }
13999 X_LIBS="$X_LIBS -R$x_libraries"
14000 else $as_nop
14001 LIBS="$ac_xsave_LIBS -R $x_libraries"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14006 main (void)
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"
14014 then :
14015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14016 printf "%s\n" "yes" >&6; }
14017 X_LIBS="$X_LIBS -R $x_libraries"
14018 else $as_nop
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14020 printf "%s\n" "neither works" >&6; }
14022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14023 conftest$ac_exeext conftest.$ac_ext
14025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14026 conftest$ac_exeext conftest.$ac_ext
14027 ac_c_werror_flag=$ac_xsave_c_werror_flag
14028 LIBS=$ac_xsave_LIBS
14031 # Check for system-dependent libraries X programs must link with.
14032 # Do this before checking for the system-independent R6 libraries
14033 # (-lICE), since we may need -lsocket or whatever for X linking.
14035 if test "$ISC" = yes; then
14036 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14037 else
14038 # Martyn Johnson says this is needed for Ultrix, if the X
14039 # libraries were built with DECnet support. And Karl Berry says
14040 # the Alpha needs dnet_stub (dnet does not exist).
14041 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 char XOpenDisplay ();
14050 main (void)
14052 return XOpenDisplay ();
14054 return 0;
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"
14058 then :
14060 else $as_nop
14061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14062 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14063 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14064 then :
14065 printf %s "(cached) " >&6
14066 else $as_nop
14067 ac_check_lib_save_LIBS=$LIBS
14068 LIBS="-ldnet $LIBS"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14072 /* Override any GCC internal prototype to avoid an error.
14073 Use char because int might match the return type of a GCC
14074 builtin and then its argument prototype would still apply. */
14075 char dnet_ntoa ();
14077 main (void)
14079 return dnet_ntoa ();
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"
14085 then :
14086 ac_cv_lib_dnet_dnet_ntoa=yes
14087 else $as_nop
14088 ac_cv_lib_dnet_dnet_ntoa=no
14090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14091 conftest$ac_exeext conftest.$ac_ext
14092 LIBS=$ac_check_lib_save_LIBS
14094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14095 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14096 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14097 then :
14098 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14101 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14103 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14104 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14105 then :
14106 printf %s "(cached) " >&6
14107 else $as_nop
14108 ac_check_lib_save_LIBS=$LIBS
14109 LIBS="-ldnet_stub $LIBS"
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14113 /* Override any GCC internal prototype to avoid an error.
14114 Use char because int might match the return type of a GCC
14115 builtin and then its argument prototype would still apply. */
14116 char dnet_ntoa ();
14118 main (void)
14120 return dnet_ntoa ();
14122 return 0;
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"
14126 then :
14127 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14128 else $as_nop
14129 ac_cv_lib_dnet_stub_dnet_ntoa=no
14131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_lib_save_LIBS
14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14136 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14137 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14138 then :
14139 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14145 conftest$ac_exeext conftest.$ac_ext
14146 LIBS="$ac_xsave_LIBS"
14148 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14149 # to get the SysV transport functions.
14150 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14151 # needs -lnsl.
14152 # The nsl library prevents programs from opening the X display
14153 # on Irix 5.2, according to T.E. Dickey.
14154 # The functions gethostbyname, getservbyname, and inet_addr are
14155 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14156 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14157 if test "x$ac_cv_func_gethostbyname" = xyes
14158 then :
14162 if test $ac_cv_func_gethostbyname = no; then
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14164 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14165 if test ${ac_cv_lib_nsl_gethostbyname+y}
14166 then :
14167 printf %s "(cached) " >&6
14168 else $as_nop
14169 ac_check_lib_save_LIBS=$LIBS
14170 LIBS="-lnsl $LIBS"
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14177 char gethostbyname ();
14179 main (void)
14181 return gethostbyname ();
14183 return 0;
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"
14187 then :
14188 ac_cv_lib_nsl_gethostbyname=yes
14189 else $as_nop
14190 ac_cv_lib_nsl_gethostbyname=no
14192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14193 conftest$ac_exeext conftest.$ac_ext
14194 LIBS=$ac_check_lib_save_LIBS
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14197 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14198 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14199 then :
14200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14203 if test $ac_cv_lib_nsl_gethostbyname = no; then
14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14205 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14206 if test ${ac_cv_lib_bsd_gethostbyname+y}
14207 then :
14208 printf %s "(cached) " >&6
14209 else $as_nop
14210 ac_check_lib_save_LIBS=$LIBS
14211 LIBS="-lbsd $LIBS"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14218 char gethostbyname ();
14220 main (void)
14222 return gethostbyname ();
14224 return 0;
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"
14228 then :
14229 ac_cv_lib_bsd_gethostbyname=yes
14230 else $as_nop
14231 ac_cv_lib_bsd_gethostbyname=no
14233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_lib_save_LIBS
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14238 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14239 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14240 then :
14241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14247 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14248 # socket/setsockopt and other routines are undefined under SCO ODT
14249 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14250 # on later versions), says Simon Leinen: it contains gethostby*
14251 # variants that don't use the name server (or something). -lsocket
14252 # must be given before -lnsl if both are needed. We assume that
14253 # if connect needs -lnsl, so does gethostbyname.
14254 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14255 if test "x$ac_cv_func_connect" = xyes
14256 then :
14260 if test $ac_cv_func_connect = no; then
14261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14262 printf %s "checking for connect in -lsocket... " >&6; }
14263 if test ${ac_cv_lib_socket_connect+y}
14264 then :
14265 printf %s "(cached) " >&6
14266 else $as_nop
14267 ac_check_lib_save_LIBS=$LIBS
14268 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14272 /* Override any GCC internal prototype to avoid an error.
14273 Use char because int might match the return type of a GCC
14274 builtin and then its argument prototype would still apply. */
14275 char connect ();
14277 main (void)
14279 return connect ();
14281 return 0;
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"
14285 then :
14286 ac_cv_lib_socket_connect=yes
14287 else $as_nop
14288 ac_cv_lib_socket_connect=no
14290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14291 conftest$ac_exeext conftest.$ac_ext
14292 LIBS=$ac_check_lib_save_LIBS
14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14295 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14296 if test "x$ac_cv_lib_socket_connect" = xyes
14297 then :
14298 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14303 # Guillermo Gomez says -lposix is necessary on A/UX.
14304 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14305 if test "x$ac_cv_func_remove" = xyes
14306 then :
14310 if test $ac_cv_func_remove = no; then
14311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14312 printf %s "checking for remove in -lposix... " >&6; }
14313 if test ${ac_cv_lib_posix_remove+y}
14314 then :
14315 printf %s "(cached) " >&6
14316 else $as_nop
14317 ac_check_lib_save_LIBS=$LIBS
14318 LIBS="-lposix $LIBS"
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14322 /* Override any GCC internal prototype to avoid an error.
14323 Use char because int might match the return type of a GCC
14324 builtin and then its argument prototype would still apply. */
14325 char remove ();
14327 main (void)
14329 return remove ();
14331 return 0;
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"
14335 then :
14336 ac_cv_lib_posix_remove=yes
14337 else $as_nop
14338 ac_cv_lib_posix_remove=no
14340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14341 conftest$ac_exeext conftest.$ac_ext
14342 LIBS=$ac_check_lib_save_LIBS
14344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14345 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14346 if test "x$ac_cv_lib_posix_remove" = xyes
14347 then :
14348 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14353 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14354 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14355 if test "x$ac_cv_func_shmat" = xyes
14356 then :
14360 if test $ac_cv_func_shmat = no; then
14361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14362 printf %s "checking for shmat in -lipc... " >&6; }
14363 if test ${ac_cv_lib_ipc_shmat+y}
14364 then :
14365 printf %s "(cached) " >&6
14366 else $as_nop
14367 ac_check_lib_save_LIBS=$LIBS
14368 LIBS="-lipc $LIBS"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 char shmat ();
14377 main (void)
14379 return shmat ();
14381 return 0;
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"
14385 then :
14386 ac_cv_lib_ipc_shmat=yes
14387 else $as_nop
14388 ac_cv_lib_ipc_shmat=no
14390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_check_lib_save_LIBS
14394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14395 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14396 if test "x$ac_cv_lib_ipc_shmat" = xyes
14397 then :
14398 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14404 # Check for libraries that X11R6 Xt/Xaw programs need.
14405 ac_save_LDFLAGS=$LDFLAGS
14406 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14407 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14408 # check for ICE first), but we must link in the order -lSM -lICE or
14409 # we get undefined symbols. So assume we have SM if we have ICE.
14410 # These have to be linked with before -lX11, unlike the other
14411 # libraries we check for below, so use a different variable.
14412 # John Interrante, Karl Berry
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14414 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14415 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14416 then :
14417 printf %s "(cached) " >&6
14418 else $as_nop
14419 ac_check_lib_save_LIBS=$LIBS
14420 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14427 char IceConnectionNumber ();
14429 main (void)
14431 return IceConnectionNumber ();
14433 return 0;
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"
14437 then :
14438 ac_cv_lib_ICE_IceConnectionNumber=yes
14439 else $as_nop
14440 ac_cv_lib_ICE_IceConnectionNumber=no
14442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14443 conftest$ac_exeext conftest.$ac_ext
14444 LIBS=$ac_check_lib_save_LIBS
14446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14447 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14448 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14449 then :
14450 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14453 LDFLAGS=$ac_save_LDFLAGS
14458 if test "$have_x" = "yes"
14459 then
14460 ac_save_CPPFLAGS="$CPPFLAGS"
14461 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14464 printf %s "checking for -lX11... " >&6; }
14465 if test ${ac_cv_lib_soname_X11+y}
14466 then :
14467 printf %s "(cached) " >&6
14468 else $as_nop
14469 ac_check_soname_save_LIBS=$LIBS
14470 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14474 /* Override any GCC internal prototype to avoid an error.
14475 Use char because int might match the return type of a GCC
14476 builtin and then its argument prototype would still apply. */
14477 char XCreateWindow ();
14479 main (void)
14481 return XCreateWindow ();
14483 return 0;
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"
14487 then :
14488 case "$LIBEXT" in
14489 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14490 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'` ;;
14491 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14492 if ${ac_cv_lib_soname_X11:+false} :
14493 then :
14494 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14495 fi ;;
14496 esac
14497 else $as_nop
14498 ac_cv_lib_soname_X11=
14500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_soname_save_LIBS
14504 if ${ac_cv_lib_soname_X11:+false} :
14505 then :
14506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14507 printf "%s\n" "not found" >&6; }
14509 else $as_nop
14510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14511 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14513 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14518 printf %s "checking for -lXext... " >&6; }
14519 if test ${ac_cv_lib_soname_Xext+y}
14520 then :
14521 printf %s "(cached) " >&6
14522 else $as_nop
14523 ac_check_soname_save_LIBS=$LIBS
14524 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14528 /* Override any GCC internal prototype to avoid an error.
14529 Use char because int might match the return type of a GCC
14530 builtin and then its argument prototype would still apply. */
14531 char XextCreateExtension ();
14533 main (void)
14535 return XextCreateExtension ();
14537 return 0;
14539 _ACEOF
14540 if ac_fn_c_try_link "$LINENO"
14541 then :
14542 case "$LIBEXT" in
14543 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14544 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'` ;;
14545 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14546 if ${ac_cv_lib_soname_Xext:+false} :
14547 then :
14548 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14549 fi ;;
14550 esac
14551 else $as_nop
14552 ac_cv_lib_soname_Xext=
14554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14555 conftest$ac_exeext conftest.$ac_ext
14556 LIBS=$ac_check_soname_save_LIBS
14558 if ${ac_cv_lib_soname_Xext:+false} :
14559 then :
14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14561 printf "%s\n" "not found" >&6; }
14563 else $as_nop
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14565 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14567 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14569 X_LIBS="$X_LIBS -lXext"
14571 X_LIBS="$X_LIBS -lX11"
14573 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14574 # include <X11/Xlib.h>
14575 #endif
14576 #ifdef HAVE_X11_XUTIL_H
14577 # include <X11/Xutil.h>
14578 #endif
14580 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14581 then :
14582 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14585 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14586 # include <X11/Xlib.h>
14587 #endif
14588 #ifdef HAVE_X11_XUTIL_H
14589 # include <X11/Xutil.h>
14590 #endif
14592 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14593 then :
14594 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14597 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14598 # include <X11/Xlib.h>
14599 #endif
14600 #ifdef HAVE_X11_XUTIL_H
14601 # include <X11/Xutil.h>
14602 #endif
14604 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14605 then :
14606 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14609 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14610 # include <X11/Xlib.h>
14611 #endif
14612 #ifdef HAVE_X11_XUTIL_H
14613 # include <X11/Xutil.h>
14614 #endif
14616 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14617 then :
14618 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14621 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14622 # include <X11/Xlib.h>
14623 #endif
14624 #ifdef HAVE_X11_XUTIL_H
14625 # include <X11/Xutil.h>
14626 #endif
14628 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14629 then :
14630 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14633 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14634 # include <X11/Xlib.h>
14635 #endif
14636 #ifdef HAVE_X11_XUTIL_H
14637 # include <X11/Xutil.h>
14638 #endif
14640 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14641 then :
14642 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14645 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14646 # include <X11/Xlib.h>
14647 #endif
14648 #ifdef HAVE_X11_XUTIL_H
14649 # include <X11/Xutil.h>
14650 #endif
14652 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14653 then :
14654 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14657 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14658 # include <X11/Xlib.h>
14659 #endif
14660 #ifdef HAVE_X11_XUTIL_H
14661 # include <X11/Xutil.h>
14662 #endif
14664 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14665 then :
14666 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14669 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14670 # include <X11/Xlib.h>
14671 #endif
14672 #ifdef HAVE_X11_XUTIL_H
14673 # include <X11/Xutil.h>
14674 #endif
14676 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14677 then :
14678 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14681 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14682 # include <X11/Xlib.h>
14683 #endif
14684 #ifdef HAVE_X11_XUTIL_H
14685 # include <X11/Xutil.h>
14686 #endif
14688 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14689 then :
14690 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14693 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14694 # include <X11/Xlib.h>
14695 #endif
14696 #ifdef HAVE_X11_XUTIL_H
14697 # include <X11/Xutil.h>
14698 #endif
14700 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14701 then :
14702 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14705 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14706 # include <X11/Xlib.h>
14707 #endif
14708 #ifdef HAVE_X11_XUTIL_H
14709 # include <X11/Xutil.h>
14710 #endif
14712 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14713 then :
14714 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14717 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14718 # include <X11/Xlib.h>
14719 #endif
14720 #ifdef HAVE_X11_XUTIL_H
14721 # include <X11/Xutil.h>
14722 #endif
14724 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14725 then :
14726 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14729 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14730 # include <X11/Xlib.h>
14731 #endif
14732 #ifdef HAVE_X11_XUTIL_H
14733 # include <X11/Xutil.h>
14734 #endif
14736 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14737 then :
14738 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14741 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14742 # include <X11/Xlib.h>
14743 #endif
14744 #ifdef HAVE_X11_XUTIL_H
14745 # include <X11/Xutil.h>
14746 #endif
14748 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14749 then :
14750 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14755 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14756 then
14757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14758 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14759 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14760 then :
14761 printf %s "(cached) " >&6
14762 else $as_nop
14763 ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 char XkbQueryExtension ();
14773 main (void)
14775 return XkbQueryExtension ();
14777 return 0;
14779 _ACEOF
14780 if ac_fn_c_try_link "$LINENO"
14781 then :
14782 ac_cv_lib_X11_XkbQueryExtension=yes
14783 else $as_nop
14784 ac_cv_lib_X11_XkbQueryExtension=no
14786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_lib_save_LIBS
14790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14791 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14792 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14793 then :
14795 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14801 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14802 then
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14804 printf %s "checking for -lXcursor... " >&6; }
14805 if test ${ac_cv_lib_soname_Xcursor+y}
14806 then :
14807 printf %s "(cached) " >&6
14808 else $as_nop
14809 ac_check_soname_save_LIBS=$LIBS
14810 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 char XcursorImageLoadCursor ();
14819 main (void)
14821 return XcursorImageLoadCursor ();
14823 return 0;
14825 _ACEOF
14826 if ac_fn_c_try_link "$LINENO"
14827 then :
14828 case "$LIBEXT" in
14829 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14830 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'` ;;
14831 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14832 if ${ac_cv_lib_soname_Xcursor:+false} :
14833 then :
14834 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14835 fi ;;
14836 esac
14837 else $as_nop
14838 ac_cv_lib_soname_Xcursor=
14840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14841 conftest$ac_exeext conftest.$ac_ext
14842 LIBS=$ac_check_soname_save_LIBS
14844 if ${ac_cv_lib_soname_Xcursor:+false} :
14845 then :
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14847 printf "%s\n" "not found" >&6; }
14849 else $as_nop
14850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14851 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14853 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14858 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14859 then :
14860 case "x$with_xcursor" in
14861 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14862 xno) ;;
14863 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14864 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14865 esac
14869 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14870 then
14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14872 printf %s "checking for -lXi... " >&6; }
14873 if test ${ac_cv_lib_soname_Xi+y}
14874 then :
14875 printf %s "(cached) " >&6
14876 else $as_nop
14877 ac_check_soname_save_LIBS=$LIBS
14878 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 char XOpenDevice ();
14887 main (void)
14889 return XOpenDevice ();
14891 return 0;
14893 _ACEOF
14894 if ac_fn_c_try_link "$LINENO"
14895 then :
14896 case "$LIBEXT" in
14897 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14898 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'` ;;
14899 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14900 if ${ac_cv_lib_soname_Xi:+false} :
14901 then :
14902 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14903 fi ;;
14904 esac
14905 else $as_nop
14906 ac_cv_lib_soname_Xi=
14908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_soname_save_LIBS
14912 if ${ac_cv_lib_soname_Xi:+false} :
14913 then :
14914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14915 printf "%s\n" "not found" >&6; }
14917 else $as_nop
14918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14919 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14921 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14926 if test "x$ac_cv_lib_soname_Xi" = "x"
14927 then :
14928 case "x$with_xinput" in
14929 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14930 xno) ;;
14931 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14932 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14933 esac
14937 if test "x$ac_cv_lib_soname_Xi" != x
14938 then
14939 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14940 then :
14941 case "x$with_xinput2" in
14942 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14943 xno) ;;
14944 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14945 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14946 esac
14951 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14952 then
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14954 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14955 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14956 then :
14957 printf %s "(cached) " >&6
14958 else $as_nop
14959 ac_check_lib_save_LIBS=$LIBS
14960 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14967 char XShmQueryExtension ();
14969 main (void)
14971 return XShmQueryExtension ();
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"
14977 then :
14978 ac_cv_lib_Xext_XShmQueryExtension=yes
14979 else $as_nop
14980 ac_cv_lib_Xext_XShmQueryExtension=no
14982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14983 conftest$ac_exeext conftest.$ac_ext
14984 LIBS=$ac_check_lib_save_LIBS
14986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14987 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14988 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14989 then :
14991 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14996 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14997 then :
14998 case "x$with_xshm" in
14999 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15000 xno) ;;
15001 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15002 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15003 esac
15007 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15008 then
15009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15010 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15011 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15012 then :
15013 printf %s "(cached) " >&6
15014 else $as_nop
15015 ac_check_lib_save_LIBS=$LIBS
15016 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15020 /* Override any GCC internal prototype to avoid an error.
15021 Use char because int might match the return type of a GCC
15022 builtin and then its argument prototype would still apply. */
15023 char XShapeQueryExtension ();
15025 main (void)
15027 return XShapeQueryExtension ();
15029 return 0;
15031 _ACEOF
15032 if ac_fn_c_try_link "$LINENO"
15033 then :
15034 ac_cv_lib_Xext_XShapeQueryExtension=yes
15035 else $as_nop
15036 ac_cv_lib_Xext_XShapeQueryExtension=no
15038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15039 conftest$ac_exeext conftest.$ac_ext
15040 LIBS=$ac_check_lib_save_LIBS
15042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15043 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15044 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15045 then :
15047 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15052 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15053 then :
15054 case "x$with_xshape" in
15055 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15056 xno) ;;
15057 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15058 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15059 esac
15063 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15064 then
15065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15066 printf %s "checking for -lXxf86vm... " >&6; }
15067 if test ${ac_cv_lib_soname_Xxf86vm+y}
15068 then :
15069 printf %s "(cached) " >&6
15070 else $as_nop
15071 ac_check_soname_save_LIBS=$LIBS
15072 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15079 char XF86VidModeQueryExtension ();
15081 main (void)
15083 return XF86VidModeQueryExtension ();
15085 return 0;
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"
15089 then :
15090 case "$LIBEXT" in
15091 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15092 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'` ;;
15093 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15094 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15095 then :
15096 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15097 fi ;;
15098 esac
15099 else $as_nop
15100 ac_cv_lib_soname_Xxf86vm=
15102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15103 conftest$ac_exeext conftest.$ac_ext
15104 LIBS=$ac_check_soname_save_LIBS
15106 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15107 then :
15108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15109 printf "%s\n" "not found" >&6; }
15111 else $as_nop
15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15113 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15115 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15120 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15121 then :
15122 case "x$with_xxf86vm" in
15123 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15124 xno) ;;
15125 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15126 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15127 esac
15131 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15132 then
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15134 printf %s "checking for -lXrender... " >&6; }
15135 if test ${ac_cv_lib_soname_Xrender+y}
15136 then :
15137 printf %s "(cached) " >&6
15138 else $as_nop
15139 ac_check_soname_save_LIBS=$LIBS
15140 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15147 char XRenderQueryExtension ();
15149 main (void)
15151 return XRenderQueryExtension ();
15153 return 0;
15155 _ACEOF
15156 if ac_fn_c_try_link "$LINENO"
15157 then :
15158 case "$LIBEXT" in
15159 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15160 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'` ;;
15161 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15162 if ${ac_cv_lib_soname_Xrender:+false} :
15163 then :
15164 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15165 fi ;;
15166 esac
15167 else $as_nop
15168 ac_cv_lib_soname_Xrender=
15170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15171 conftest$ac_exeext conftest.$ac_ext
15172 LIBS=$ac_check_soname_save_LIBS
15174 if ${ac_cv_lib_soname_Xrender:+false} :
15175 then :
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15177 printf "%s\n" "not found" >&6; }
15179 else $as_nop
15180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15181 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15183 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15186 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15187 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15188 then :
15189 printf %s "(cached) " >&6
15190 else $as_nop
15191 ac_check_lib_save_LIBS=$LIBS
15192 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15196 /* Override any GCC internal prototype to avoid an error.
15197 Use char because int might match the return type of a GCC
15198 builtin and then its argument prototype would still apply. */
15199 char XRenderSetPictureTransform ();
15201 main (void)
15203 return XRenderSetPictureTransform ();
15205 return 0;
15207 _ACEOF
15208 if ac_fn_c_try_link "$LINENO"
15209 then :
15210 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15211 else $as_nop
15212 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15215 conftest$ac_exeext conftest.$ac_ext
15216 LIBS=$ac_check_lib_save_LIBS
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15219 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15220 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15221 then :
15223 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15228 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15229 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15230 then :
15231 printf %s "(cached) " >&6
15232 else $as_nop
15233 ac_check_lib_save_LIBS=$LIBS
15234 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 char XRenderCreateLinearGradient ();
15243 main (void)
15245 return XRenderCreateLinearGradient ();
15247 return 0;
15249 _ACEOF
15250 if ac_fn_c_try_link "$LINENO"
15251 then :
15252 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15253 else $as_nop
15254 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15257 conftest$ac_exeext conftest.$ac_ext
15258 LIBS=$ac_check_lib_save_LIBS
15260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15261 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15262 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15263 then :
15265 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15272 if test "x$ac_cv_lib_soname_Xrender" = "x"
15273 then :
15274 case "x$with_xrender" in
15275 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15276 xno) ;;
15277 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15278 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15279 esac
15283 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15284 then
15285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #include <X11/Xlib.h>
15288 #include <X11/extensions/Xrandr.h>
15290 main (void)
15292 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15294 return 0;
15296 _ACEOF
15297 if ac_fn_c_try_compile "$LINENO"
15298 then :
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15300 printf %s "checking for -lXrandr... " >&6; }
15301 if test ${ac_cv_lib_soname_Xrandr+y}
15302 then :
15303 printf %s "(cached) " >&6
15304 else $as_nop
15305 ac_check_soname_save_LIBS=$LIBS
15306 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 char XRRQueryExtension ();
15315 main (void)
15317 return XRRQueryExtension ();
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"
15323 then :
15324 case "$LIBEXT" in
15325 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15326 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'` ;;
15327 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15328 if ${ac_cv_lib_soname_Xrandr:+false} :
15329 then :
15330 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15331 fi ;;
15332 esac
15333 else $as_nop
15334 ac_cv_lib_soname_Xrandr=
15336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15337 conftest$ac_exeext conftest.$ac_ext
15338 LIBS=$ac_check_soname_save_LIBS
15340 if ${ac_cv_lib_soname_Xrandr:+false} :
15341 then :
15342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 printf "%s\n" "not found" >&6; }
15345 else $as_nop
15346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15347 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15349 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15353 #include <X11/Xlib.h>
15354 #include <X11/extensions/Xrandr.h>
15356 main (void)
15358 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15360 return 0;
15362 _ACEOF
15363 if ac_fn_c_try_compile "$LINENO"
15364 then :
15366 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15368 else $as_nop
15369 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15376 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15377 then :
15378 case "x$with_xrandr" in
15379 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15380 xno) ;;
15381 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15382 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15383 esac
15387 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15388 then
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15391 #include <X11/Xlib.h>
15392 #include <X11/extensions/Xfixes.h>
15394 main (void)
15396 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15398 return 0;
15400 _ACEOF
15401 if ac_fn_c_try_compile "$LINENO"
15402 then :
15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15404 printf %s "checking for -lXfixes... " >&6; }
15405 if test ${ac_cv_lib_soname_Xfixes+y}
15406 then :
15407 printf %s "(cached) " >&6
15408 else $as_nop
15409 ac_check_soname_save_LIBS=$LIBS
15410 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15414 /* Override any GCC internal prototype to avoid an error.
15415 Use char because int might match the return type of a GCC
15416 builtin and then its argument prototype would still apply. */
15417 char XFixesQueryVersion ();
15419 main (void)
15421 return XFixesQueryVersion ();
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_link "$LINENO"
15427 then :
15428 case "$LIBEXT" in
15429 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15430 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'` ;;
15431 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15432 if ${ac_cv_lib_soname_Xfixes:+false} :
15433 then :
15434 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15435 fi ;;
15436 esac
15437 else $as_nop
15438 ac_cv_lib_soname_Xfixes=
15440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15441 conftest$ac_exeext conftest.$ac_ext
15442 LIBS=$ac_check_soname_save_LIBS
15444 if ${ac_cv_lib_soname_Xfixes:+false} :
15445 then :
15446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15447 printf "%s\n" "not found" >&6; }
15449 else $as_nop
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15451 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15453 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15460 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15461 then :
15462 case "x$with_xfixes" in
15463 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15464 xno) ;;
15465 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15466 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15467 esac
15471 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15472 then
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15475 #include <X11/Xlib.h>
15476 #include <X11/extensions/Xinerama.h>
15478 main (void)
15480 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15482 return 0;
15484 _ACEOF
15485 if ac_fn_c_try_compile "$LINENO"
15486 then :
15487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15488 printf %s "checking for -lXinerama... " >&6; }
15489 if test ${ac_cv_lib_soname_Xinerama+y}
15490 then :
15491 printf %s "(cached) " >&6
15492 else $as_nop
15493 ac_check_soname_save_LIBS=$LIBS
15494 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15498 /* Override any GCC internal prototype to avoid an error.
15499 Use char because int might match the return type of a GCC
15500 builtin and then its argument prototype would still apply. */
15501 char XineramaQueryScreens ();
15503 main (void)
15505 return XineramaQueryScreens ();
15507 return 0;
15509 _ACEOF
15510 if ac_fn_c_try_link "$LINENO"
15511 then :
15512 case "$LIBEXT" in
15513 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15514 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'` ;;
15515 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15516 if ${ac_cv_lib_soname_Xinerama:+false} :
15517 then :
15518 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15519 fi ;;
15520 esac
15521 else $as_nop
15522 ac_cv_lib_soname_Xinerama=
15524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15525 conftest$ac_exeext conftest.$ac_ext
15526 LIBS=$ac_check_soname_save_LIBS
15528 if ${ac_cv_lib_soname_Xinerama:+false} :
15529 then :
15530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15531 printf "%s\n" "not found" >&6; }
15533 else $as_nop
15534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15535 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15537 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15544 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15545 then :
15546 case "x$with_xinerama" in
15547 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15548 xno) ;;
15549 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15550 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15551 esac
15555 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15556 then
15557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15558 printf %s "checking for -lXcomposite... " >&6; }
15559 if test ${ac_cv_lib_soname_Xcomposite+y}
15560 then :
15561 printf %s "(cached) " >&6
15562 else $as_nop
15563 ac_check_soname_save_LIBS=$LIBS
15564 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15566 /* end confdefs.h. */
15568 /* Override any GCC internal prototype to avoid an error.
15569 Use char because int might match the return type of a GCC
15570 builtin and then its argument prototype would still apply. */
15571 char XCompositeRedirectWindow ();
15573 main (void)
15575 return XCompositeRedirectWindow ();
15577 return 0;
15579 _ACEOF
15580 if ac_fn_c_try_link "$LINENO"
15581 then :
15582 case "$LIBEXT" in
15583 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15584 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'` ;;
15585 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15586 if ${ac_cv_lib_soname_Xcomposite:+false} :
15587 then :
15588 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15589 fi ;;
15590 esac
15591 else $as_nop
15592 ac_cv_lib_soname_Xcomposite=
15594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15595 conftest$ac_exeext conftest.$ac_ext
15596 LIBS=$ac_check_soname_save_LIBS
15598 if ${ac_cv_lib_soname_Xcomposite:+false} :
15599 then :
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15601 printf "%s\n" "not found" >&6; }
15603 else $as_nop
15604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15605 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15607 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15612 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15613 then :
15614 case "x$with_xcomposite" in
15615 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15616 xno) ;;
15617 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15618 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15619 esac
15623 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15624 #include <X11/Xlib.h>
15625 #endif
15627 if test "x$ac_cv_member_XICCallback_callback" = xyes
15628 then :
15630 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15634 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15635 #include <X11/Xlib.h>
15636 #endif
15638 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15639 then :
15641 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15648 opengl_msg=""
15649 if test "x$with_opengl" != "xno"
15650 then
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15652 printf %s "checking for -lGL... " >&6; }
15653 if test ${ac_cv_lib_soname_GL+y}
15654 then :
15655 printf %s "(cached) " >&6
15656 else $as_nop
15657 ac_check_soname_save_LIBS=$LIBS
15658 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15665 char glXCreateContext ();
15667 main (void)
15669 return glXCreateContext ();
15671 return 0;
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"
15675 then :
15676 case "$LIBEXT" in
15677 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15678 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'` ;;
15679 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15680 if ${ac_cv_lib_soname_GL:+false} :
15681 then :
15682 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15683 fi ;;
15684 esac
15685 else $as_nop
15686 ac_cv_lib_soname_GL=
15688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15689 conftest$ac_exeext conftest.$ac_ext
15690 LIBS=$ac_check_soname_save_LIBS
15692 if ${ac_cv_lib_soname_GL:+false} :
15693 then :
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15695 printf "%s\n" "not found" >&6; }
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15697 printf %s "checking for -lGL... " >&6; }
15698 if test ${ac_cv_lib_soname_GL+y}
15699 then :
15700 printf %s "(cached) " >&6
15701 else $as_nop
15702 ac_check_soname_save_LIBS=$LIBS
15703 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"
15704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15707 /* Override any GCC internal prototype to avoid an error.
15708 Use char because int might match the return type of a GCC
15709 builtin and then its argument prototype would still apply. */
15710 char glXCreateContext ();
15712 main (void)
15714 return glXCreateContext ();
15716 return 0;
15718 _ACEOF
15719 if ac_fn_c_try_link "$LINENO"
15720 then :
15721 case "$LIBEXT" in
15722 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15723 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'` ;;
15724 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15725 if ${ac_cv_lib_soname_GL:+false} :
15726 then :
15727 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15728 fi ;;
15729 esac
15730 else $as_nop
15731 ac_cv_lib_soname_GL=
15733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15734 conftest$ac_exeext conftest.$ac_ext
15735 LIBS=$ac_check_soname_save_LIBS
15737 if ${ac_cv_lib_soname_GL:+false} :
15738 then :
15739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15740 printf "%s\n" "not found" >&6; }
15741 if test -f /usr/X11R6/lib/libGL.a
15742 then
15743 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15744 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15745 else
15746 opengl_msg="No OpenGL library found on this system."
15748 else $as_nop
15749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15750 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15752 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15754 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"
15756 else $as_nop
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15758 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15760 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15762 OPENGL_LIBS="-lGL"
15764 if test "x$with_osmesa" != "xno"
15765 then
15766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15767 printf %s "checking for -lOSMesa... " >&6; }
15768 if test ${ac_cv_lib_soname_OSMesa+y}
15769 then :
15770 printf %s "(cached) " >&6
15771 else $as_nop
15772 ac_check_soname_save_LIBS=$LIBS
15773 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15777 /* Override any GCC internal prototype to avoid an error.
15778 Use char because int might match the return type of a GCC
15779 builtin and then its argument prototype would still apply. */
15780 char OSMesaGetProcAddress ();
15782 main (void)
15784 return OSMesaGetProcAddress ();
15786 return 0;
15788 _ACEOF
15789 if ac_fn_c_try_link "$LINENO"
15790 then :
15791 case "$LIBEXT" in
15792 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15793 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'` ;;
15794 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15795 if ${ac_cv_lib_soname_OSMesa:+false} :
15796 then :
15797 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15798 fi ;;
15799 esac
15800 else $as_nop
15801 ac_cv_lib_soname_OSMesa=
15803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15804 conftest$ac_exeext conftest.$ac_ext
15805 LIBS=$ac_check_soname_save_LIBS
15807 if ${ac_cv_lib_soname_OSMesa:+false} :
15808 then :
15809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15810 printf "%s\n" "not found" >&6; }
15812 else $as_nop
15813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15814 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15816 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15820 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15821 then :
15822 case "x$with_osmesa" in
15823 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15824 xno) ;;
15825 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15826 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15827 esac
15832 if test -n "$opengl_msg"
15833 then :
15834 case "x$with_opengl" in
15835 x) as_fn_append wine_warnings "|$opengl_msg
15836 OpenGL and Direct3D won't be supported." ;;
15837 xno) ;;
15838 *) as_fn_error $? "$opengl_msg
15839 OpenGL and Direct3D won't be supported.
15840 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15841 esac
15845 CPPFLAGS="$ac_save_CPPFLAGS"
15846 else
15847 X_CFLAGS=""
15848 X_LIBS=""
15851 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15852 then
15853 if test "x$X_LIBS" = "x"
15854 then :
15855 case "x$with_x" in
15856 xno) ;;
15857 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15858 without X support, which probably isn't what you want. You will need
15859 to install ${notice_platform}development packages of Xlib at the very least.
15860 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15861 esac
15862 enable_winex11_drv=${enable_winex11_drv:-no}
15864 else
15865 if test "x$X_LIBS" = "x"
15866 then :
15867 case "x$with_x" in
15868 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15869 xno) ;;
15870 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15871 This is an error since --with-x was requested." "$LINENO" 5 ;;
15872 esac
15873 enable_winex11_drv=${enable_winex11_drv:-no}
15877 if test "$ac_cv_header_CL_cl_h" = "yes"
15878 then
15879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15880 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15881 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15882 then :
15883 printf %s "(cached) " >&6
15884 else $as_nop
15885 ac_check_lib_save_LIBS=$LIBS
15886 LIBS="-lOpenCL $LIBS"
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15893 char clGetPlatformInfo ();
15895 main (void)
15897 return clGetPlatformInfo ();
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_link "$LINENO"
15903 then :
15904 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15905 else $as_nop
15906 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15909 conftest$ac_exeext conftest.$ac_ext
15910 LIBS=$ac_check_lib_save_LIBS
15912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15913 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15914 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15915 then :
15916 OPENCL_LIBS="-lOpenCL"
15921 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15922 then :
15923 case "x$with_opencl" in
15924 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15925 xno) ;;
15926 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15927 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15928 esac
15929 enable_opencl=${enable_opencl:-no}
15932 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15933 then
15934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15935 printf %s "checking for pcap_create in -lpcap... " >&6; }
15936 if test ${ac_cv_lib_pcap_pcap_create+y}
15937 then :
15938 printf %s "(cached) " >&6
15939 else $as_nop
15940 ac_check_lib_save_LIBS=$LIBS
15941 LIBS="-lpcap $LIBS"
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15945 /* Override any GCC internal prototype to avoid an error.
15946 Use char because int might match the return type of a GCC
15947 builtin and then its argument prototype would still apply. */
15948 char pcap_create ();
15950 main (void)
15952 return pcap_create ();
15954 return 0;
15956 _ACEOF
15957 if ac_fn_c_try_link "$LINENO"
15958 then :
15959 ac_cv_lib_pcap_pcap_create=yes
15960 else $as_nop
15961 ac_cv_lib_pcap_pcap_create=no
15963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15964 conftest$ac_exeext conftest.$ac_ext
15965 LIBS=$ac_check_lib_save_LIBS
15967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15968 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15969 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15970 then :
15971 PCAP_LIBS="-lpcap"
15976 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15977 then :
15978 case "x$with_pcap" in
15979 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15980 xno) ;;
15981 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15982 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15983 esac
15984 enable_wpcap=${enable_wpcap:-no}
15987 if test "x$with_inotify" != "xno"
15988 then
15989 if ${INOTIFY_CFLAGS:+false} :
15990 then :
15991 if test ${PKG_CONFIG+y}
15992 then :
15993 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15997 if ${INOTIFY_LIBS:+false} :
15998 then :
15999 if test ${PKG_CONFIG+y}
16000 then :
16001 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16008 ac_save_CPPFLAGS=$CPPFLAGS
16009 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16010 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16011 if test "x$ac_cv_header_sys_inotify_h" = xyes
16012 then :
16013 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16018 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16019 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16020 then :
16021 printf %s "(cached) " >&6
16022 else $as_nop
16023 ac_check_lib_save_LIBS=$LIBS
16024 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16028 /* Override any GCC internal prototype to avoid an error.
16029 Use char because int might match the return type of a GCC
16030 builtin and then its argument prototype would still apply. */
16031 char inotify_add_watch ();
16033 main (void)
16035 return inotify_add_watch ();
16037 return 0;
16039 _ACEOF
16040 if ac_fn_c_try_link "$LINENO"
16041 then :
16042 ac_cv_lib_inotify_inotify_add_watch=yes
16043 else $as_nop
16044 ac_cv_lib_inotify_inotify_add_watch=no
16046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16047 conftest$ac_exeext conftest.$ac_ext
16048 LIBS=$ac_check_lib_save_LIBS
16050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16051 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16052 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16053 then :
16055 else $as_nop
16056 INOTIFY_LIBS=""
16059 CPPFLAGS=$ac_save_CPPFLAGS
16062 if test "$ac_cv_header_sys_inotify_h" != "yes"
16063 then :
16064 case "x$with_inotify" in
16065 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16066 xno) ;;
16067 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16068 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16069 esac
16073 if test "x$with_dbus" != "xno"
16074 then
16075 if ${DBUS_CFLAGS:+false} :
16076 then :
16077 if test ${PKG_CONFIG+y}
16078 then :
16079 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16083 if ${DBUS_LIBS:+false} :
16084 then :
16085 if test ${PKG_CONFIG+y}
16086 then :
16087 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16094 ac_save_CPPFLAGS=$CPPFLAGS
16095 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16096 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16097 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16098 then :
16099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16100 printf %s "checking for -ldbus-1... " >&6; }
16101 if test ${ac_cv_lib_soname_dbus_1+y}
16102 then :
16103 printf %s "(cached) " >&6
16104 else $as_nop
16105 ac_check_soname_save_LIBS=$LIBS
16106 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16110 /* Override any GCC internal prototype to avoid an error.
16111 Use char because int might match the return type of a GCC
16112 builtin and then its argument prototype would still apply. */
16113 char dbus_connection_close ();
16115 main (void)
16117 return dbus_connection_close ();
16119 return 0;
16121 _ACEOF
16122 if ac_fn_c_try_link "$LINENO"
16123 then :
16124 case "$LIBEXT" in
16125 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16126 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'` ;;
16127 *) 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'`
16128 if ${ac_cv_lib_soname_dbus_1:+false} :
16129 then :
16130 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16131 fi ;;
16132 esac
16133 else $as_nop
16134 ac_cv_lib_soname_dbus_1=
16136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16137 conftest$ac_exeext conftest.$ac_ext
16138 LIBS=$ac_check_soname_save_LIBS
16140 if ${ac_cv_lib_soname_dbus_1:+false} :
16141 then :
16142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16143 printf "%s\n" "not found" >&6; }
16144 DBUS_CFLAGS=""
16145 else $as_nop
16146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16147 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16149 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16153 else $as_nop
16154 DBUS_CFLAGS=""
16157 CPPFLAGS=$ac_save_CPPFLAGS
16160 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16161 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16162 then :
16163 case "x$with_dbus" in
16164 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16165 xno) ;;
16166 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16167 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16168 esac
16172 if test "x$with_gnutls" != "xno"
16173 then
16174 if ${GNUTLS_CFLAGS:+false} :
16175 then :
16176 if test ${PKG_CONFIG+y}
16177 then :
16178 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16182 if ${GNUTLS_LIBS:+false} :
16183 then :
16184 if test ${PKG_CONFIG+y}
16185 then :
16186 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16190 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16193 ac_save_CPPFLAGS=$CPPFLAGS
16194 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16195 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16196 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16197 then :
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16200 #include <gnutls/gnutls.h>
16201 #include <gnutls/crypto.h>
16203 main (void)
16205 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16207 return 0;
16209 _ACEOF
16210 if ac_fn_c_try_compile "$LINENO"
16211 then :
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16213 printf %s "checking for -lgnutls... " >&6; }
16214 if test ${ac_cv_lib_soname_gnutls+y}
16215 then :
16216 printf %s "(cached) " >&6
16217 else $as_nop
16218 ac_check_soname_save_LIBS=$LIBS
16219 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 char gnutls_global_init ();
16228 main (void)
16230 return gnutls_global_init ();
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"
16236 then :
16237 case "$LIBEXT" in
16238 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16239 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'` ;;
16240 *) 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'`
16241 if ${ac_cv_lib_soname_gnutls:+false} :
16242 then :
16243 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'`
16244 fi ;;
16245 esac
16246 else $as_nop
16247 ac_cv_lib_soname_gnutls=
16249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16250 conftest$ac_exeext conftest.$ac_ext
16251 LIBS=$ac_check_soname_save_LIBS
16253 if ${ac_cv_lib_soname_gnutls:+false} :
16254 then :
16255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16256 printf "%s\n" "not found" >&6; }
16257 GNUTLS_CFLAGS=""
16258 else $as_nop
16259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16260 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16262 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16266 ac_wine_check_funcs_save_LIBS="$LIBS"
16267 LIBS="$LIBS $GNUTLS_LIBS"
16269 for ac_func in gnutls_cipher_init
16270 do :
16271 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16272 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16273 then :
16274 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16276 else $as_nop
16277 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16280 done
16281 LIBS="$ac_wine_check_funcs_save_LIBS"
16283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16284 else $as_nop
16285 GNUTLS_CFLAGS=""
16288 CPPFLAGS=$ac_save_CPPFLAGS
16291 if test "x$ac_cv_lib_soname_gnutls" = "x"
16292 then :
16293 case "x$with_gnutls" in
16294 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16295 xno) ;;
16296 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16297 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16298 esac
16302 if test "x$with_sane" != "xno"
16303 then
16304 if ${SANE_CFLAGS:+false} :
16305 then :
16306 if test ${PKG_CONFIG+y}
16307 then :
16308 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16311 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16312 if ${SANE_LIBS:+false} :
16313 then :
16314 if test ${PKG_CONFIG+y}
16315 then :
16316 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16319 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16323 ac_save_CPPFLAGS=$CPPFLAGS
16324 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16325 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16326 if test "x$ac_cv_header_sane_sane_h" = xyes
16327 then :
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16329 printf %s "checking for sane_init in -lsane... " >&6; }
16330 if test ${ac_cv_lib_sane_sane_init+y}
16331 then :
16332 printf %s "(cached) " >&6
16333 else $as_nop
16334 ac_check_lib_save_LIBS=$LIBS
16335 LIBS="-lsane $SANE_LIBS $LIBS"
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16339 /* Override any GCC internal prototype to avoid an error.
16340 Use char because int might match the return type of a GCC
16341 builtin and then its argument prototype would still apply. */
16342 char sane_init ();
16344 main (void)
16346 return sane_init ();
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"
16352 then :
16353 ac_cv_lib_sane_sane_init=yes
16354 else $as_nop
16355 ac_cv_lib_sane_sane_init=no
16357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16358 conftest$ac_exeext conftest.$ac_ext
16359 LIBS=$ac_check_lib_save_LIBS
16361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16362 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16363 if test "x$ac_cv_lib_sane_sane_init" = xyes
16364 then :
16370 CPPFLAGS=$ac_save_CPPFLAGS
16373 if test "$ac_cv_lib_sane_sane_init" != "yes"
16374 then :
16375 case "x$with_sane" in
16376 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16377 xno) ;;
16378 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16379 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16380 esac
16381 enable_sane_ds=${enable_sane_ds:-no}
16384 if test "x$with_usb" != "xno"
16385 then
16386 if ${USB_CFLAGS:+false} :
16387 then :
16388 if test ${PKG_CONFIG+y}
16389 then :
16390 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16394 if ${USB_LIBS:+false} :
16395 then :
16396 if test ${PKG_CONFIG+y}
16397 then :
16398 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16402 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16405 ac_save_CPPFLAGS=$CPPFLAGS
16406 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16407 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_libusb_h" = xyes
16409 then :
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16411 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16412 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16413 then :
16414 printf %s "(cached) " >&6
16415 else $as_nop
16416 ac_check_lib_save_LIBS=$LIBS
16417 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 char libusb_interrupt_event_handler ();
16426 main (void)
16428 return libusb_interrupt_event_handler ();
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"
16434 then :
16435 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16436 else $as_nop
16437 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16440 conftest$ac_exeext conftest.$ac_ext
16441 LIBS=$ac_check_lib_save_LIBS
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16444 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16445 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16446 then :
16448 else $as_nop
16449 USB_LIBS=""
16452 else $as_nop
16453 USB_LIBS=""
16456 CPPFLAGS=$ac_save_CPPFLAGS
16459 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16460 then :
16461 case "x$with_usb" in
16462 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16463 xno) ;;
16464 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16465 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16466 esac
16467 enable_wineusb_sys=${enable_wineusb_sys:-no}
16470 if test "x$with_v4l2" != "xno"
16471 then
16472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16473 printf %s "checking for -lv4l2... " >&6; }
16474 if test ${ac_cv_lib_soname_v4l2+y}
16475 then :
16476 printf %s "(cached) " >&6
16477 else $as_nop
16478 ac_check_soname_save_LIBS=$LIBS
16479 LIBS="-lv4l2 $LIBS"
16480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16483 /* Override any GCC internal prototype to avoid an error.
16484 Use char because int might match the return type of a GCC
16485 builtin and then its argument prototype would still apply. */
16486 char v4l2_open ();
16488 main (void)
16490 return v4l2_open ();
16492 return 0;
16494 _ACEOF
16495 if ac_fn_c_try_link "$LINENO"
16496 then :
16497 case "$LIBEXT" in
16498 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16499 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'` ;;
16500 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16501 if ${ac_cv_lib_soname_v4l2:+false} :
16502 then :
16503 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16504 fi ;;
16505 esac
16506 else $as_nop
16507 ac_cv_lib_soname_v4l2=
16509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16510 conftest$ac_exeext conftest.$ac_ext
16511 LIBS=$ac_check_soname_save_LIBS
16513 if ${ac_cv_lib_soname_v4l2:+false} :
16514 then :
16515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16516 printf "%s\n" "not found" >&6; }
16518 else $as_nop
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16520 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16522 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16527 if test "x$ac_cv_lib_soname_v4l2" = "x"
16528 then :
16529 case "x$with_v4l2" in
16530 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16531 xno) ;;
16532 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16533 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16534 esac
16538 if test "x$with_gphoto" != "xno"
16539 then
16540 if ${GPHOTO2_CFLAGS:+false} :
16541 then :
16542 if test ${PKG_CONFIG+y}
16543 then :
16544 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16547 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16548 if ${GPHOTO2_LIBS:+false} :
16549 then :
16550 if test ${PKG_CONFIG+y}
16551 then :
16552 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16555 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16556 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16559 ac_save_CPPFLAGS=$CPPFLAGS
16560 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16561 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16562 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16563 then :
16564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16565 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16566 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16567 then :
16568 printf %s "(cached) " >&6
16569 else $as_nop
16570 ac_check_lib_save_LIBS=$LIBS
16571 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16575 /* Override any GCC internal prototype to avoid an error.
16576 Use char because int might match the return type of a GCC
16577 builtin and then its argument prototype would still apply. */
16578 char gp_camera_new ();
16580 main (void)
16582 return gp_camera_new ();
16584 return 0;
16586 _ACEOF
16587 if ac_fn_c_try_link "$LINENO"
16588 then :
16589 ac_cv_lib_gphoto2_gp_camera_new=yes
16590 else $as_nop
16591 ac_cv_lib_gphoto2_gp_camera_new=no
16593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16594 conftest$ac_exeext conftest.$ac_ext
16595 LIBS=$ac_check_lib_save_LIBS
16597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16598 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16599 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16600 then :
16606 CPPFLAGS=$ac_save_CPPFLAGS
16608 if ${GPHOTO2_PORT_CFLAGS:+false} :
16609 then :
16610 if test ${PKG_CONFIG+y}
16611 then :
16612 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16615 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16616 if ${GPHOTO2_PORT_LIBS:+false} :
16617 then :
16618 if test ${PKG_CONFIG+y}
16619 then :
16620 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16623 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16624 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16627 ac_save_CPPFLAGS=$CPPFLAGS
16628 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16629 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16630 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16631 then :
16632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16633 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16634 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16635 then :
16636 printf %s "(cached) " >&6
16637 else $as_nop
16638 ac_check_lib_save_LIBS=$LIBS
16639 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16643 /* Override any GCC internal prototype to avoid an error.
16644 Use char because int might match the return type of a GCC
16645 builtin and then its argument prototype would still apply. */
16646 char gp_port_info_list_new ();
16648 main (void)
16650 return gp_port_info_list_new ();
16652 return 0;
16654 _ACEOF
16655 if ac_fn_c_try_link "$LINENO"
16656 then :
16657 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16658 else $as_nop
16659 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16662 conftest$ac_exeext conftest.$ac_ext
16663 LIBS=$ac_check_lib_save_LIBS
16665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16666 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16667 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16668 then :
16670 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16672 else $as_nop
16673 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16676 else $as_nop
16677 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16680 CPPFLAGS=$ac_save_CPPFLAGS
16683 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16684 then :
16685 case "x$with_gphoto" in
16686 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16687 xno) ;;
16688 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16689 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16690 esac
16691 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16693 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16694 then :
16695 case "x$with_gphoto" in
16696 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16697 xno) ;;
16698 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16699 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16700 esac
16705 if test "$ac_cv_header_resolv_h" = "yes"
16706 then
16707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16708 printf %s "checking for resolver library... " >&6; }
16709 if test ${ac_cv_have_resolv+y}
16710 then :
16711 printf %s "(cached) " >&6
16712 else $as_nop
16713 ac_save_LIBS="$LIBS"
16714 for lib in '' -lresolv
16716 LIBS="$lib $ac_save_LIBS"
16717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16719 #ifdef HAVE_NETINET_IN_H
16720 #include <netinet/in.h>
16721 #endif
16722 #include <resolv.h>
16724 main (void)
16726 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"
16732 then :
16733 ac_cv_have_resolv=${lib:-"none required"}
16734 else $as_nop
16735 ac_cv_have_resolv="not found"
16737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16738 conftest$ac_exeext conftest.$ac_ext
16739 test "x$ac_cv_have_resolv" = "xnot found" || break
16740 done
16741 LIBS="$ac_save_LIBS"
16743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16744 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16746 case "$ac_cv_have_resolv" in
16747 "not found") ;;
16748 "none required")
16750 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16753 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16755 RESOLV_LIBS=$ac_cv_have_resolv
16757 esac
16759 if test "x$ac_cv_have_resolv" != "xnot found"
16760 then
16761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16762 printf %s "checking for res_getservers... " >&6; }
16763 if test ${ac_cv_have_res_getservers+y}
16764 then :
16765 printf %s "(cached) " >&6
16766 else $as_nop
16767 ac_save_LIBS="$LIBS"
16768 LIBS="$RESOLV_LIBS $LIBS"
16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #include <resolv.h>
16773 main (void)
16775 res_getservers(NULL, NULL, 0);
16777 return 0;
16779 _ACEOF
16780 if ac_fn_c_try_link "$LINENO"
16781 then :
16782 ac_cv_have_res_getservers=yes
16783 else $as_nop
16784 ac_cv_have_res_getservers=no
16786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16787 conftest$ac_exeext conftest.$ac_ext
16788 LIBS="$ac_save_LIBS"
16790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16791 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16792 if test "$ac_cv_have_res_getservers" = "yes"
16793 then
16795 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16801 if test "x$with_freetype" != "xno"
16802 then
16803 if ${FREETYPE_CFLAGS:+false} :
16804 then :
16805 if test ${PKG_CONFIG+y}
16806 then :
16807 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16810 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16811 if ${FREETYPE_LIBS:+false} :
16812 then :
16813 if test ${PKG_CONFIG+y}
16814 then :
16815 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16818 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16819 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16822 ac_save_CPPFLAGS=$CPPFLAGS
16823 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16824 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16825 if test "x$ac_cv_header_ft2build_h" = xyes
16826 then :
16827 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16831 if test "$ac_cv_header_ft2build_h" = "yes"
16832 then
16833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16834 printf %s "checking for -lfreetype... " >&6; }
16835 if test ${ac_cv_lib_soname_freetype+y}
16836 then :
16837 printf %s "(cached) " >&6
16838 else $as_nop
16839 ac_check_soname_save_LIBS=$LIBS
16840 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16844 /* Override any GCC internal prototype to avoid an error.
16845 Use char because int might match the return type of a GCC
16846 builtin and then its argument prototype would still apply. */
16847 char FT_Init_FreeType ();
16849 main (void)
16851 return FT_Init_FreeType ();
16853 return 0;
16855 _ACEOF
16856 if ac_fn_c_try_link "$LINENO"
16857 then :
16858 case "$LIBEXT" in
16859 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16860 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'` ;;
16861 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16862 if ${ac_cv_lib_soname_freetype:+false} :
16863 then :
16864 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16865 fi ;;
16866 esac
16867 else $as_nop
16868 ac_cv_lib_soname_freetype=
16870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16871 conftest$ac_exeext conftest.$ac_ext
16872 LIBS=$ac_check_soname_save_LIBS
16874 if ${ac_cv_lib_soname_freetype:+false} :
16875 then :
16876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16877 printf "%s\n" "not found" >&6; }
16878 FREETYPE_LIBS=""
16879 else $as_nop
16880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16881 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16883 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16886 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16888 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16889 #include FT_MODULE_H
16891 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16892 then :
16894 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16900 else
16901 FREETYPE_CFLAGS=""
16902 FREETYPE_LIBS=""
16904 CPPFLAGS=$ac_save_CPPFLAGS
16907 if test "x$ac_cv_lib_soname_freetype" = x
16908 then :
16909 case "x$with_freetype" in
16910 xno) ;;
16911 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16912 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16913 esac
16914 enable_fonts=${enable_fonts:-no}
16917 ac_wine_check_funcs_save_LIBS="$LIBS"
16918 LIBS="$LIBS $PTHREAD_LIBS"
16919 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16920 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16921 then :
16922 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16926 LIBS="$ac_wine_check_funcs_save_LIBS"
16928 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16929 then
16930 if test "$ac_cv_header_gettext_po_h" = "yes"
16931 then
16932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16933 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16934 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16935 then :
16936 printf %s "(cached) " >&6
16937 else $as_nop
16938 ac_check_lib_save_LIBS=$LIBS
16939 LIBS="-lgettextpo $LIBS"
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16943 /* Override any GCC internal prototype to avoid an error.
16944 Use char because int might match the return type of a GCC
16945 builtin and then its argument prototype would still apply. */
16946 char po_message_msgctxt ();
16948 main (void)
16950 return po_message_msgctxt ();
16952 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"
16956 then :
16957 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16958 else $as_nop
16959 ac_cv_lib_gettextpo_po_message_msgctxt=no
16961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16962 conftest$ac_exeext conftest.$ac_ext
16963 LIBS=$ac_check_lib_save_LIBS
16965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16966 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16967 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16968 then :
16970 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16972 GETTEXTPO_LIBS="-lgettextpo"
16977 if test "x$GETTEXTPO_LIBS" = "x"
16978 then :
16979 case "x$with_gettextpo" in
16980 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16981 xno) ;;
16982 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16983 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16984 esac
16987 if test "$srcdir" != .
16988 then :
16989 case "x$with_gettextpo" in
16990 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16991 xno) ;;
16992 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16993 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16994 esac
16999 if test "x$with_pulse" != "xno";
17000 then
17001 if ${PULSE_CFLAGS:+false} :
17002 then :
17003 if test ${PKG_CONFIG+y}
17004 then :
17005 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17009 if ${PULSE_LIBS:+false} :
17010 then :
17011 if test ${PKG_CONFIG+y}
17012 then :
17013 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17018 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17020 ac_save_CPPFLAGS=$CPPFLAGS
17021 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17022 for ac_header in pulse/pulseaudio.h
17023 do :
17024 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17025 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17026 then :
17027 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17029 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17030 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17031 then :
17032 printf %s "(cached) " >&6
17033 else $as_nop
17034 ac_check_lib_save_LIBS=$LIBS
17035 LIBS="-lpulse $PULSE_LIBS $LIBS"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17042 char pa_stream_is_corked ();
17044 main (void)
17046 return pa_stream_is_corked ();
17048 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"
17052 then :
17053 ac_cv_lib_pulse_pa_stream_is_corked=yes
17054 else $as_nop
17055 ac_cv_lib_pulse_pa_stream_is_corked=no
17057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17058 conftest$ac_exeext conftest.$ac_ext
17059 LIBS=$ac_check_lib_save_LIBS
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17062 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17063 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17064 then :
17066 else $as_nop
17067 PULSE_LIBS=""
17070 else $as_nop
17071 PULSE_LIBS=""
17074 done
17075 CPPFLAGS=$ac_save_CPPFLAGS
17078 if test -z "$PULSE_LIBS"
17079 then :
17080 case "x$with_pulse" in
17081 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17082 xno) ;;
17083 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17084 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17085 esac
17086 enable_winepulse_drv=${enable_winepulse_drv:-no}
17089 if test "x$with_gstreamer" != "xno"
17090 then
17091 if ${GSTREAMER_CFLAGS:+false} :
17092 then :
17093 if test ${PKG_CONFIG+y}
17094 then :
17095 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17099 if ${GSTREAMER_LIBS:+false} :
17100 then :
17101 if test ${PKG_CONFIG+y}
17102 then :
17103 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17110 ac_save_CPPFLAGS=$CPPFLAGS
17111 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17112 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17113 if test "x$ac_cv_header_gst_gst_h" = xyes
17114 then :
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17116 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <gst/gst.h>
17121 main (void)
17123 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17125 return 0;
17127 _ACEOF
17128 if ac_fn_c_try_compile "$LINENO"
17129 then :
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17131 printf "%s\n" "yes" >&6; }
17132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17133 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17134 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17135 then :
17136 printf %s "(cached) " >&6
17137 else $as_nop
17138 ac_check_lib_save_LIBS=$LIBS
17139 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17143 /* Override any GCC internal prototype to avoid an error.
17144 Use char because int might match the return type of a GCC
17145 builtin and then its argument prototype would still apply. */
17146 char gst_pad_new ();
17148 main (void)
17150 return gst_pad_new ();
17152 return 0;
17154 _ACEOF
17155 if ac_fn_c_try_link "$LINENO"
17156 then :
17157 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17158 else $as_nop
17159 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17162 conftest$ac_exeext conftest.$ac_ext
17163 LIBS=$ac_check_lib_save_LIBS
17165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17166 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17167 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17168 then :
17172 else $as_nop
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17174 printf "%s\n" "no" >&6; }
17175 ac_glib2_broken=yes
17176 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17181 CPPFLAGS=$ac_save_CPPFLAGS
17184 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17185 then :
17186 case "x$with_gstreamer" in
17187 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17188 xno) ;;
17189 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17190 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17191 esac
17192 enable_winegstreamer=${enable_winegstreamer:-no}
17195 ALSA_LIBS=""
17197 if test "x$with_alsa" != "xno"
17198 then
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17200 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17201 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17202 then :
17203 printf %s "(cached) " >&6
17204 else $as_nop
17205 ac_check_lib_save_LIBS=$LIBS
17206 LIBS="-lasound $LIBS"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 /* Override any GCC internal prototype to avoid an error.
17211 Use char because int might match the return type of a GCC
17212 builtin and then its argument prototype would still apply. */
17213 char snd_pcm_hw_params_get_access_mask ();
17215 main (void)
17217 return snd_pcm_hw_params_get_access_mask ();
17219 return 0;
17221 _ACEOF
17222 if ac_fn_c_try_link "$LINENO"
17223 then :
17224 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17225 else $as_nop
17226 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17229 conftest$ac_exeext conftest.$ac_ext
17230 LIBS=$ac_check_lib_save_LIBS
17232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17233 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17234 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17235 then :
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 #include <alsa/asoundlib.h>
17240 main (void)
17242 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17244 return 0;
17246 _ACEOF
17247 if ac_fn_c_try_compile "$LINENO"
17248 then :
17249 ALSA_LIBS="-lasound"
17251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17255 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17257 if test "x$with_oss" != xno
17258 then
17259 ac_save_CPPFLAGS="$CPPFLAGS"
17260 if test -f /etc/oss.conf
17261 then
17262 . /etc/oss.conf
17264 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17265 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17266 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17267 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17268 then :
17269 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17271 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17272 then :
17274 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17276 OSS4_CFLAGS="$ac_oss_incl"
17278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17279 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17280 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17281 then :
17282 printf %s "(cached) " >&6
17283 else $as_nop
17284 ac_check_lib_save_LIBS=$LIBS
17285 LIBS="-lossaudio $LIBS"
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17289 /* Override any GCC internal prototype to avoid an error.
17290 Use char because int might match the return type of a GCC
17291 builtin and then its argument prototype would still apply. */
17292 char _oss_ioctl ();
17294 main (void)
17296 return _oss_ioctl ();
17298 return 0;
17300 _ACEOF
17301 if ac_fn_c_try_link "$LINENO"
17302 then :
17303 ac_cv_lib_ossaudio__oss_ioctl=yes
17304 else $as_nop
17305 ac_cv_lib_ossaudio__oss_ioctl=no
17307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17308 conftest$ac_exeext conftest.$ac_ext
17309 LIBS=$ac_check_lib_save_LIBS
17311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17312 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17313 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17314 then :
17315 OSS4_LIBS="-lossaudio"
17323 CPPFLAGS="$ac_save_CPPFLAGS"
17325 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17326 then :
17327 case "x$with_oss" in
17328 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17329 xno) ;;
17330 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17331 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17332 esac
17333 enable_wineoss_drv=${enable_wineoss_drv:-no}
17336 if test "x$with_udev" != "xno"
17337 then
17338 if ${UDEV_CFLAGS:+false} :
17339 then :
17340 if test ${PKG_CONFIG+y}
17341 then :
17342 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17346 if ${UDEV_LIBS:+false} :
17347 then :
17348 if test ${PKG_CONFIG+y}
17349 then :
17350 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17354 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17357 ac_save_CPPFLAGS=$CPPFLAGS
17358 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17359 for ac_header in libudev.h
17360 do :
17361 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17362 if test "x$ac_cv_header_libudev_h" = xyes
17363 then :
17364 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17366 printf %s "checking for udev_new in -ludev... " >&6; }
17367 if test ${ac_cv_lib_udev_udev_new+y}
17368 then :
17369 printf %s "(cached) " >&6
17370 else $as_nop
17371 ac_check_lib_save_LIBS=$LIBS
17372 LIBS="-ludev $UDEV_LIBS $LIBS"
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17376 /* Override any GCC internal prototype to avoid an error.
17377 Use char because int might match the return type of a GCC
17378 builtin and then its argument prototype would still apply. */
17379 char udev_new ();
17381 main (void)
17383 return udev_new ();
17385 return 0;
17387 _ACEOF
17388 if ac_fn_c_try_link "$LINENO"
17389 then :
17390 ac_cv_lib_udev_udev_new=yes
17391 else $as_nop
17392 ac_cv_lib_udev_udev_new=no
17394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17395 conftest$ac_exeext conftest.$ac_ext
17396 LIBS=$ac_check_lib_save_LIBS
17398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17399 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17400 if test "x$ac_cv_lib_udev_udev_new" = xyes
17401 then :
17403 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17405 else $as_nop
17406 UDEV_LIBS=""
17409 else $as_nop
17410 UDEV_LIBS=""
17413 done
17414 CPPFLAGS=$ac_save_CPPFLAGS
17417 if test "x$UDEV_LIBS" = "x"
17418 then :
17419 case "x$with_udev" in
17420 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17421 xno) ;;
17422 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17423 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17424 esac
17428 if test "x$with_unwind" != xno
17429 then
17430 if ${UNWIND_CFLAGS:+false} :
17431 then :
17432 if test ${PKG_CONFIG+y}
17433 then :
17434 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17438 if ${UNWIND_LIBS:+false} :
17439 then :
17440 if test ${PKG_CONFIG+y}
17441 then :
17442 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17446 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17449 ac_save_CPPFLAGS=$CPPFLAGS
17450 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17452 printf %s "checking for unw_step... " >&6; }
17453 if test ${wine_cv_have_unw_step+y}
17454 then :
17455 printf %s "(cached) " >&6
17456 else $as_nop
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17459 #define UNW_LOCAL_ONLY
17460 #include <libunwind.h>
17462 main (void)
17464 unw_cursor_t cursor; unw_step( &cursor );
17466 return 0;
17468 _ACEOF
17469 if ac_fn_c_try_link "$LINENO"
17470 then :
17471 wine_cv_have_unw_step="yes"
17472 else $as_nop
17473 wine_cv_have_unw_step="no"
17475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17476 conftest$ac_exeext conftest.$ac_ext
17478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17479 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17480 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17481 then
17482 save_libs=$LIBS
17483 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17484 LIBS="$UNWIND_LIBS $LIBS"
17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17486 printf %s "checking for unw_step in libunwind... " >&6; }
17487 if test ${wine_cv_have_libunwind_unw_step+y}
17488 then :
17489 printf %s "(cached) " >&6
17490 else $as_nop
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #define UNW_LOCAL_ONLY
17494 #include <libunwind.h>
17496 main (void)
17498 unw_cursor_t cursor; unw_step( &cursor );
17500 return 0;
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"
17504 then :
17505 wine_cv_have_libunwind_unw_step="yes"
17506 else $as_nop
17507 wine_cv_have_libunwind_unw_step="no"
17509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17510 conftest$ac_exeext conftest.$ac_ext
17512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17513 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17514 LIBS=$save_libs
17516 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17517 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17518 then
17520 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17523 CPPFLAGS=$ac_save_CPPFLAGS
17526 case $host in
17527 aarch64*|*-darwin*)
17528 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17529 then :
17530 case "x$with_unwind" in
17531 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17532 xno) ;;
17533 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17534 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17535 esac
17537 fi ;;
17538 esac
17540 if test "x$with_sdl" != "xno"
17541 then
17542 if ${SDL2_CFLAGS:+false} :
17543 then :
17544 if test ${PKG_CONFIG+y}
17545 then :
17546 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17550 if ${SDL2_LIBS:+false} :
17551 then :
17552 if test ${PKG_CONFIG+y}
17553 then :
17554 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17558 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17561 ac_save_CPPFLAGS=$CPPFLAGS
17562 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17563 for ac_header in SDL.h
17564 do :
17565 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17566 if test "x$ac_cv_header_SDL_h" = xyes
17567 then :
17568 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17570 printf %s "checking for -lSDL2... " >&6; }
17571 if test ${ac_cv_lib_soname_SDL2+y}
17572 then :
17573 printf %s "(cached) " >&6
17574 else $as_nop
17575 ac_check_soname_save_LIBS=$LIBS
17576 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17580 /* Override any GCC internal prototype to avoid an error.
17581 Use char because int might match the return type of a GCC
17582 builtin and then its argument prototype would still apply. */
17583 char SDL_Init ();
17585 main (void)
17587 return SDL_Init ();
17589 return 0;
17591 _ACEOF
17592 if ac_fn_c_try_link "$LINENO"
17593 then :
17594 case "$LIBEXT" in
17595 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17596 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'` ;;
17597 *) 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'`
17598 if ${ac_cv_lib_soname_SDL2:+false} :
17599 then :
17600 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17601 fi ;;
17602 esac
17603 else $as_nop
17604 ac_cv_lib_soname_SDL2=
17606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17607 conftest$ac_exeext conftest.$ac_ext
17608 LIBS=$ac_check_soname_save_LIBS
17610 if ${ac_cv_lib_soname_SDL2:+false} :
17611 then :
17612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17613 printf "%s\n" "not found" >&6; }
17615 else $as_nop
17616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17617 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17619 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17625 done
17626 CPPFLAGS=$ac_save_CPPFLAGS
17629 if test "x$ac_cv_lib_soname_SDL2" = "x"
17630 then :
17631 case "x$with_sdl" in
17632 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17633 xno) ;;
17634 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17635 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17636 esac
17640 if test "x$with_capi" != "xno"
17641 then
17642 if ${CAPI20_CFLAGS:+false} :
17643 then :
17644 if test ${PKG_CONFIG+y}
17645 then :
17646 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17650 if ${CAPI20_LIBS:+false} :
17651 then :
17652 if test ${PKG_CONFIG+y}
17653 then :
17654 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17661 ac_save_CPPFLAGS=$CPPFLAGS
17662 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17663 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17665 if test "x$ac_cv_header_capi20_h" = xyes
17666 then :
17667 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17670 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17672 if test "x$ac_cv_header_linux_capi_h" = xyes
17673 then :
17674 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17678 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17679 then
17680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17681 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17682 if test ${ac_cv_lib_capi20_capi20_register+y}
17683 then :
17684 printf %s "(cached) " >&6
17685 else $as_nop
17686 ac_check_lib_save_LIBS=$LIBS
17687 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17691 /* Override any GCC internal prototype to avoid an error.
17692 Use char because int might match the return type of a GCC
17693 builtin and then its argument prototype would still apply. */
17694 char capi20_register ();
17696 main (void)
17698 return capi20_register ();
17700 return 0;
17702 _ACEOF
17703 if ac_fn_c_try_link "$LINENO"
17704 then :
17705 ac_cv_lib_capi20_capi20_register=yes
17706 else $as_nop
17707 ac_cv_lib_capi20_capi20_register=no
17709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17710 conftest$ac_exeext conftest.$ac_ext
17711 LIBS=$ac_check_lib_save_LIBS
17713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17714 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17715 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17716 then :
17718 else $as_nop
17719 CAPI20_LIBS=""
17723 CPPFLAGS=$ac_save_CPPFLAGS
17726 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17727 then :
17728 case "x$with_capi" in
17729 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17730 xno) ;;
17731 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17732 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17733 esac
17734 enable_capi2032=${enable_capi2032:-no}
17737 if test "x$with_cups" != "xno"
17738 then
17739 if ${CUPS_CFLAGS:+false} :
17740 then :
17741 if test ${PKG_CONFIG+y}
17742 then :
17743 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17746 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17747 if ${CUPS_LIBS:+false} :
17748 then :
17749 if test ${PKG_CONFIG+y}
17750 then :
17751 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17754 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17755 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17758 ac_save_CPPFLAGS=$CPPFLAGS
17759 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17760 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17761 if test "x$ac_cv_header_cups_cups_h" = xyes
17762 then :
17763 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17766 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17767 if test "x$ac_cv_header_cups_ppd_h" = xyes
17768 then :
17769 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17773 if test "$ac_cv_header_cups_cups_h" = "yes"
17774 then
17775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17776 printf %s "checking for -lcups... " >&6; }
17777 if test ${ac_cv_lib_soname_cups+y}
17778 then :
17779 printf %s "(cached) " >&6
17780 else $as_nop
17781 ac_check_soname_save_LIBS=$LIBS
17782 LIBS="-lcups $CUPS_LIBS $LIBS"
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17786 /* Override any GCC internal prototype to avoid an error.
17787 Use char because int might match the return type of a GCC
17788 builtin and then its argument prototype would still apply. */
17789 char cupsGetDefault ();
17791 main (void)
17793 return cupsGetDefault ();
17795 return 0;
17797 _ACEOF
17798 if ac_fn_c_try_link "$LINENO"
17799 then :
17800 case "$LIBEXT" in
17801 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17802 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'` ;;
17803 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17804 if ${ac_cv_lib_soname_cups:+false} :
17805 then :
17806 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17807 fi ;;
17808 esac
17809 else $as_nop
17810 ac_cv_lib_soname_cups=
17812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17813 conftest$ac_exeext conftest.$ac_ext
17814 LIBS=$ac_check_soname_save_LIBS
17816 if ${ac_cv_lib_soname_cups:+false} :
17817 then :
17818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17819 printf "%s\n" "not found" >&6; }
17820 CUPS_LIBS=""
17821 else $as_nop
17822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17823 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17825 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17829 else
17830 CUPS_CFLAGS=""
17831 CUPS_LIBS=""
17833 CPPFLAGS=$ac_save_CPPFLAGS
17836 if test "x$ac_cv_lib_soname_cups" = "x"
17837 then :
17838 case "x$with_cups" in
17839 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17840 xno) ;;
17841 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17842 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17843 esac
17847 if test "x$with_fontconfig" != "xno"
17848 then
17849 if ${FONTCONFIG_CFLAGS:+false} :
17850 then :
17851 if test ${PKG_CONFIG+y}
17852 then :
17853 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17856 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17857 if ${FONTCONFIG_LIBS:+false} :
17858 then :
17859 if test ${PKG_CONFIG+y}
17860 then :
17861 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17864 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17868 ac_save_CPPFLAGS=$CPPFLAGS
17869 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17870 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17871 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17872 then :
17873 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17877 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17878 then
17879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17880 printf %s "checking for -lfontconfig... " >&6; }
17881 if test ${ac_cv_lib_soname_fontconfig+y}
17882 then :
17883 printf %s "(cached) " >&6
17884 else $as_nop
17885 ac_check_soname_save_LIBS=$LIBS
17886 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17890 /* Override any GCC internal prototype to avoid an error.
17891 Use char because int might match the return type of a GCC
17892 builtin and then its argument prototype would still apply. */
17893 char FcInit ();
17895 main (void)
17897 return FcInit ();
17899 return 0;
17901 _ACEOF
17902 if ac_fn_c_try_link "$LINENO"
17903 then :
17904 case "$LIBEXT" in
17905 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17906 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'` ;;
17907 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17908 if ${ac_cv_lib_soname_fontconfig:+false} :
17909 then :
17910 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17911 fi ;;
17912 esac
17913 else $as_nop
17914 ac_cv_lib_soname_fontconfig=
17916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17917 conftest$ac_exeext conftest.$ac_ext
17918 LIBS=$ac_check_soname_save_LIBS
17920 if ${ac_cv_lib_soname_fontconfig:+false} :
17921 then :
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17923 printf "%s\n" "not found" >&6; }
17924 FONTCONFIG_CFLAGS=""
17925 else $as_nop
17926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17927 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17929 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17933 else
17934 FONTCONFIG_CFLAGS=""
17936 CPPFLAGS=$ac_save_CPPFLAGS
17939 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17940 then :
17941 case "x$with_fontconfig" in
17942 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17943 xno) ;;
17944 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17945 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17946 esac
17950 if test "x$with_krb5" != "xno"
17951 then
17952 if ${KRB5_CFLAGS:+false} :
17953 then :
17954 if test ${PKG_CONFIG+y}
17955 then :
17956 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17959 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17960 if ${KRB5_LIBS:+false} :
17961 then :
17962 if test ${PKG_CONFIG+y}
17963 then :
17964 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17967 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17971 ac_save_CPPFLAGS=$CPPFLAGS
17972 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17973 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17974 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17975 then :
17976 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17980 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17981 then
17982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17983 printf %s "checking for -lkrb5... " >&6; }
17984 if test ${ac_cv_lib_soname_krb5+y}
17985 then :
17986 printf %s "(cached) " >&6
17987 else $as_nop
17988 ac_check_soname_save_LIBS=$LIBS
17989 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17993 /* Override any GCC internal prototype to avoid an error.
17994 Use char because int might match the return type of a GCC
17995 builtin and then its argument prototype would still apply. */
17996 char krb5_is_config_principal ();
17998 main (void)
18000 return krb5_is_config_principal ();
18002 return 0;
18004 _ACEOF
18005 if ac_fn_c_try_link "$LINENO"
18006 then :
18007 case "$LIBEXT" in
18008 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18009 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'` ;;
18010 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18011 if ${ac_cv_lib_soname_krb5:+false} :
18012 then :
18013 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18014 fi ;;
18015 esac
18016 else $as_nop
18017 ac_cv_lib_soname_krb5=
18019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18020 conftest$ac_exeext conftest.$ac_ext
18021 LIBS=$ac_check_soname_save_LIBS
18023 if ${ac_cv_lib_soname_krb5:+false} :
18024 then :
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18026 printf "%s\n" "not found" >&6; }
18027 KRB5_CFLAGS=""
18028 else $as_nop
18029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18030 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18032 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18036 else
18037 KRB5_CFLAGS=""
18039 CPPFLAGS=$ac_save_CPPFLAGS
18042 if test "x$ac_cv_lib_soname_krb5" = "x"
18043 then :
18044 case "x$with_krb5" in
18045 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18046 xno) ;;
18047 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18048 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18049 esac
18052 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18054 if test "x$with_gssapi" != "xno"
18055 then
18056 if ${GSSAPI_CFLAGS:+false} :
18057 then :
18058 if test ${PKG_CONFIG+y}
18059 then :
18060 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18063 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18064 if ${GSSAPI_LIBS:+false} :
18065 then :
18066 if test ${PKG_CONFIG+y}
18067 then :
18068 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18071 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18075 ac_save_CPPFLAGS=$CPPFLAGS
18076 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18077 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18078 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18079 then :
18080 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18083 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18084 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18085 then :
18086 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18090 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18091 then
18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18093 printf %s "checking for -lgssapi_krb5... " >&6; }
18094 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18095 then :
18096 printf %s "(cached) " >&6
18097 else $as_nop
18098 ac_check_soname_save_LIBS=$LIBS
18099 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18103 /* Override any GCC internal prototype to avoid an error.
18104 Use char because int might match the return type of a GCC
18105 builtin and then its argument prototype would still apply. */
18106 char gss_init_sec_context ();
18108 main (void)
18110 return gss_init_sec_context ();
18112 return 0;
18114 _ACEOF
18115 if ac_fn_c_try_link "$LINENO"
18116 then :
18117 case "$LIBEXT" in
18118 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18119 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'` ;;
18120 *) 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'`
18121 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18122 then :
18123 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18124 fi ;;
18125 esac
18126 else $as_nop
18127 ac_cv_lib_soname_gssapi_krb5=
18129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18130 conftest$ac_exeext conftest.$ac_ext
18131 LIBS=$ac_check_soname_save_LIBS
18133 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18134 then :
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18136 printf "%s\n" "not found" >&6; }
18137 GSSAPI_CFLAGS=""
18138 else $as_nop
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18140 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18142 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18146 else
18147 GSSAPI_CFLAGS=""
18149 CPPFLAGS=$ac_save_CPPFLAGS
18152 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18153 then :
18154 case "x$with_gssapi" in
18155 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18156 xno) ;;
18157 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18158 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18159 esac
18163 if test "$ac_cv_header_AL_al_h" = "yes"
18164 then
18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18166 printf %s "checking for -lopenal... " >&6; }
18167 if test ${ac_cv_lib_soname_openal+y}
18168 then :
18169 printf %s "(cached) " >&6
18170 else $as_nop
18171 ac_check_soname_save_LIBS=$LIBS
18172 LIBS="-lopenal $LIBS"
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 char alGetSource3i ();
18181 main (void)
18183 return alGetSource3i ();
18185 return 0;
18187 _ACEOF
18188 if ac_fn_c_try_link "$LINENO"
18189 then :
18190 case "$LIBEXT" in
18191 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18192 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18193 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18194 if ${ac_cv_lib_soname_openal:+false} :
18195 then :
18196 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18197 fi ;;
18198 esac
18199 else $as_nop
18200 ac_cv_lib_soname_openal=
18202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18203 conftest$ac_exeext conftest.$ac_ext
18204 LIBS=$ac_check_soname_save_LIBS
18206 if ${ac_cv_lib_soname_openal:+false} :
18207 then :
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18209 printf "%s\n" "not found" >&6; }
18211 else $as_nop
18212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18213 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18215 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18217 OPENAL_LIBS="-lopenal"
18219 ac_cv_lib_openal=yes
18221 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18225 if test "x$ac_cv_lib_openal" != xyes
18226 then :
18227 case "x$with_openal" in
18228 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18229 xno) ;;
18230 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18231 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18232 esac
18233 enable_openal32=${enable_openal32:-no}
18236 if test "$ac_cv_header_libprocstat_h" = "yes"
18237 then
18238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18239 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18240 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18241 then :
18242 printf %s "(cached) " >&6
18243 else $as_nop
18244 ac_check_lib_save_LIBS=$LIBS
18245 LIBS="-lprocstat $LIBS"
18246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18249 /* Override any GCC internal prototype to avoid an error.
18250 Use char because int might match the return type of a GCC
18251 builtin and then its argument prototype would still apply. */
18252 char procstat_open_sysctl ();
18254 main (void)
18256 return procstat_open_sysctl ();
18258 return 0;
18260 _ACEOF
18261 if ac_fn_c_try_link "$LINENO"
18262 then :
18263 ac_cv_lib_procstat_procstat_open_sysctl=yes
18264 else $as_nop
18265 ac_cv_lib_procstat_procstat_open_sysctl=no
18267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18268 conftest$ac_exeext conftest.$ac_ext
18269 LIBS=$ac_check_lib_save_LIBS
18271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18272 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18273 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18274 then :
18276 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18278 PROCSTAT_LIBS="-lprocstat"
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18285 printf %s "checking for -lodbc... " >&6; }
18286 if test ${ac_cv_lib_soname_odbc+y}
18287 then :
18288 printf %s "(cached) " >&6
18289 else $as_nop
18290 ac_check_soname_save_LIBS=$LIBS
18291 LIBS="-lodbc $LIBS"
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18295 /* Override any GCC internal prototype to avoid an error.
18296 Use char because int might match the return type of a GCC
18297 builtin and then its argument prototype would still apply. */
18298 char SQLConnect ();
18300 main (void)
18302 return SQLConnect ();
18304 return 0;
18306 _ACEOF
18307 if ac_fn_c_try_link "$LINENO"
18308 then :
18309 case "$LIBEXT" in
18310 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18311 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'` ;;
18312 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18313 if ${ac_cv_lib_soname_odbc:+false} :
18314 then :
18315 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18316 fi ;;
18317 esac
18318 else $as_nop
18319 ac_cv_lib_soname_odbc=
18321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18322 conftest$ac_exeext conftest.$ac_ext
18323 LIBS=$ac_check_soname_save_LIBS
18325 if ${ac_cv_lib_soname_odbc:+false} :
18326 then :
18327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18328 printf "%s\n" "not found" >&6; }
18329 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18331 else $as_nop
18332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18333 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18335 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18340 if test "x$with_netapi" != "xno"
18341 then
18342 if ${NETAPI_CFLAGS:+false} :
18343 then :
18344 if test ${PKG_CONFIG+y}
18345 then :
18346 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18350 if ${NETAPI_LIBS:+false} :
18351 then :
18352 if test ${PKG_CONFIG+y}
18353 then :
18354 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18361 ac_save_CPPFLAGS=$CPPFLAGS
18362 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18364 printf %s "checking for -lnetapi... " >&6; }
18365 if test ${ac_cv_lib_soname_netapi+y}
18366 then :
18367 printf %s "(cached) " >&6
18368 else $as_nop
18369 ac_check_soname_save_LIBS=$LIBS
18370 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18374 /* Override any GCC internal prototype to avoid an error.
18375 Use char because int might match the return type of a GCC
18376 builtin and then its argument prototype would still apply. */
18377 char libnetapi_init ();
18379 main (void)
18381 return libnetapi_init ();
18383 return 0;
18385 _ACEOF
18386 if ac_fn_c_try_link "$LINENO"
18387 then :
18388 case "$LIBEXT" in
18389 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18390 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'` ;;
18391 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18392 if ${ac_cv_lib_soname_netapi:+false} :
18393 then :
18394 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18395 fi ;;
18396 esac
18397 else $as_nop
18398 ac_cv_lib_soname_netapi=
18400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_soname_save_LIBS
18404 if ${ac_cv_lib_soname_netapi:+false} :
18405 then :
18406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18407 printf "%s\n" "not found" >&6; }
18408 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18410 else $as_nop
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18412 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18414 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18418 CPPFLAGS=$ac_save_CPPFLAGS
18421 if test "x$ac_cv_lib_soname_netapi" = "x"
18422 then :
18423 case "x$with_netapi" in
18424 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18425 xno) ;;
18426 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18427 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18428 esac
18429 enable_netapi=${enable_netapi:-no}
18433 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18434 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18435 then
18436 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18439 if test "x$with_vulkan" != "xno"
18440 then
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18442 printf %s "checking for -lvulkan... " >&6; }
18443 if test ${ac_cv_lib_soname_vulkan+y}
18444 then :
18445 printf %s "(cached) " >&6
18446 else $as_nop
18447 ac_check_soname_save_LIBS=$LIBS
18448 LIBS="-lvulkan $LIBS"
18449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18452 /* Override any GCC internal prototype to avoid an error.
18453 Use char because int might match the return type of a GCC
18454 builtin and then its argument prototype would still apply. */
18455 char vkGetInstanceProcAddr ();
18457 main (void)
18459 return vkGetInstanceProcAddr ();
18461 return 0;
18463 _ACEOF
18464 if ac_fn_c_try_link "$LINENO"
18465 then :
18466 case "$LIBEXT" in
18467 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18468 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'` ;;
18469 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18470 if ${ac_cv_lib_soname_vulkan:+false} :
18471 then :
18472 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18473 fi ;;
18474 esac
18475 else $as_nop
18476 ac_cv_lib_soname_vulkan=
18478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18479 conftest$ac_exeext conftest.$ac_ext
18480 LIBS=$ac_check_soname_save_LIBS
18482 if ${ac_cv_lib_soname_vulkan:+false} :
18483 then :
18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18485 printf "%s\n" "not found" >&6; }
18487 else $as_nop
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18489 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18491 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18495 if test "x$ac_cv_lib_soname_vulkan" = "x"
18496 then
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18498 printf %s "checking for -lMoltenVK... " >&6; }
18499 if test ${ac_cv_lib_soname_MoltenVK+y}
18500 then :
18501 printf %s "(cached) " >&6
18502 else $as_nop
18503 ac_check_soname_save_LIBS=$LIBS
18504 LIBS="-lMoltenVK $LIBS"
18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18508 /* Override any GCC internal prototype to avoid an error.
18509 Use char because int might match the return type of a GCC
18510 builtin and then its argument prototype would still apply. */
18511 char vkGetInstanceProcAddr ();
18513 main (void)
18515 return vkGetInstanceProcAddr ();
18517 return 0;
18519 _ACEOF
18520 if ac_fn_c_try_link "$LINENO"
18521 then :
18522 case "$LIBEXT" in
18523 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18524 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'` ;;
18525 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18526 if ${ac_cv_lib_soname_MoltenVK:+false} :
18527 then :
18528 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18529 fi ;;
18530 esac
18531 else $as_nop
18532 ac_cv_lib_soname_MoltenVK=
18534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18535 conftest$ac_exeext conftest.$ac_ext
18536 LIBS=$ac_check_soname_save_LIBS
18538 if ${ac_cv_lib_soname_MoltenVK:+false} :
18539 then :
18540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18541 printf "%s\n" "not found" >&6; }
18543 else $as_nop
18544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18545 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18547 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18553 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18554 then :
18555 case "x$with_vulkan" in
18556 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18557 xno) ;;
18558 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18559 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18560 esac
18565 if test "x${GCC}" = "xyes"
18566 then
18567 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18569 saved_CFLAGS=$CFLAGS
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18571 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18572 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18573 then :
18574 printf %s "(cached) " >&6
18575 else $as_nop
18576 ac_wine_try_cflags_saved=$CFLAGS
18577 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 int main(int argc, char **argv) { return 0; }
18581 _ACEOF
18582 if ac_fn_c_try_link "$LINENO"
18583 then :
18584 ac_cv_cflags__Werror_unknown_warning_option=yes
18585 else $as_nop
18586 ac_cv_cflags__Werror_unknown_warning_option=no
18588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18589 conftest$ac_exeext conftest.$ac_ext
18590 CFLAGS=$ac_wine_try_cflags_saved
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18593 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18594 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18595 then :
18596 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18599 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18600 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18601 then :
18602 printf %s "(cached) " >&6
18603 else $as_nop
18604 ac_wine_try_cflags_saved=$CFLAGS
18605 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 int main(int argc, char **argv) { return 0; }
18609 _ACEOF
18610 if ac_fn_c_try_link "$LINENO"
18611 then :
18612 ac_cv_cflags__Werror_unused_command_line_argument=yes
18613 else $as_nop
18614 ac_cv_cflags__Werror_unused_command_line_argument=no
18616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18617 conftest$ac_exeext conftest.$ac_ext
18618 CFLAGS=$ac_wine_try_cflags_saved
18620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18621 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18622 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18623 then :
18624 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18627 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18628 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18629 then :
18630 printf %s "(cached) " >&6
18631 else $as_nop
18632 ac_wine_try_cflags_saved=$CFLAGS
18633 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 int main(int argc, char **argv) { return 0; }
18637 _ACEOF
18638 if ac_fn_c_try_link "$LINENO"
18639 then :
18640 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18641 else $as_nop
18642 ac_cv_cflags__Werror_ignored_optimization_argument=no
18644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18645 conftest$ac_exeext conftest.$ac_ext
18646 CFLAGS=$ac_wine_try_cflags_saved
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18649 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18650 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18651 then :
18652 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18655 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18656 if test ${ac_cv_cflags__fcf_protection_none+y}
18657 then :
18658 printf %s "(cached) " >&6
18659 else $as_nop
18660 ac_wine_try_cflags_saved=$CFLAGS
18661 CFLAGS="$CFLAGS -fcf-protection=none"
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 int main(int argc, char **argv) { return 0; }
18665 _ACEOF
18666 if ac_fn_c_try_link "$LINENO"
18667 then :
18668 ac_cv_cflags__fcf_protection_none=yes
18669 else $as_nop
18670 ac_cv_cflags__fcf_protection_none=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18673 conftest$ac_exeext conftest.$ac_ext
18674 CFLAGS=$ac_wine_try_cflags_saved
18676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18677 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18678 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18679 then :
18680 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18683 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18684 if test ${ac_cv_cflags__fno_stack_protector+y}
18685 then :
18686 printf %s "(cached) " >&6
18687 else $as_nop
18688 ac_wine_try_cflags_saved=$CFLAGS
18689 CFLAGS="$CFLAGS -fno-stack-protector"
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 int main(int argc, char **argv) { return 0; }
18693 _ACEOF
18694 if ac_fn_c_try_link "$LINENO"
18695 then :
18696 ac_cv_cflags__fno_stack_protector=yes
18697 else $as_nop
18698 ac_cv_cflags__fno_stack_protector=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18701 conftest$ac_exeext conftest.$ac_ext
18702 CFLAGS=$ac_wine_try_cflags_saved
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18705 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18706 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18707 then :
18708 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18711 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18712 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18713 then :
18714 printf %s "(cached) " >&6
18715 else $as_nop
18716 ac_wine_try_cflags_saved=$CFLAGS
18717 CFLAGS="$CFLAGS -fno-strict-aliasing"
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 int main(int argc, char **argv) { return 0; }
18721 _ACEOF
18722 if ac_fn_c_try_link "$LINENO"
18723 then :
18724 ac_cv_cflags__fno_strict_aliasing=yes
18725 else $as_nop
18726 ac_cv_cflags__fno_strict_aliasing=no
18728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18729 conftest$ac_exeext conftest.$ac_ext
18730 CFLAGS=$ac_wine_try_cflags_saved
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18733 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18734 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18735 then :
18736 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18739 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18740 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18741 then :
18742 printf %s "(cached) " >&6
18743 else $as_nop
18744 ac_wine_try_cflags_saved=$CFLAGS
18745 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 int main(int argc, char **argv) { return 0; }
18749 _ACEOF
18750 if ac_fn_c_try_link "$LINENO"
18751 then :
18752 ac_cv_cflags__Wdeclaration_after_statement=yes
18753 else $as_nop
18754 ac_cv_cflags__Wdeclaration_after_statement=no
18756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18757 conftest$ac_exeext conftest.$ac_ext
18758 CFLAGS=$ac_wine_try_cflags_saved
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18761 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18762 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18763 then :
18764 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18767 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18768 if test ${ac_cv_cflags__Wempty_body+y}
18769 then :
18770 printf %s "(cached) " >&6
18771 else $as_nop
18772 ac_wine_try_cflags_saved=$CFLAGS
18773 CFLAGS="$CFLAGS -Wempty-body"
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 int main(int argc, char **argv) { return 0; }
18777 _ACEOF
18778 if ac_fn_c_try_link "$LINENO"
18779 then :
18780 ac_cv_cflags__Wempty_body=yes
18781 else $as_nop
18782 ac_cv_cflags__Wempty_body=no
18784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18785 conftest$ac_exeext conftest.$ac_ext
18786 CFLAGS=$ac_wine_try_cflags_saved
18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18789 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18790 if test "x$ac_cv_cflags__Wempty_body" = xyes
18791 then :
18792 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18795 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18796 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18797 then :
18798 printf %s "(cached) " >&6
18799 else $as_nop
18800 ac_wine_try_cflags_saved=$CFLAGS
18801 CFLAGS="$CFLAGS -Wignored-qualifiers"
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 int main(int argc, char **argv) { return 0; }
18805 _ACEOF
18806 if ac_fn_c_try_link "$LINENO"
18807 then :
18808 ac_cv_cflags__Wignored_qualifiers=yes
18809 else $as_nop
18810 ac_cv_cflags__Wignored_qualifiers=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18813 conftest$ac_exeext conftest.$ac_ext
18814 CFLAGS=$ac_wine_try_cflags_saved
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18817 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18818 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18819 then :
18820 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18823 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18824 if test ${ac_cv_cflags__Winit_self+y}
18825 then :
18826 printf %s "(cached) " >&6
18827 else $as_nop
18828 ac_wine_try_cflags_saved=$CFLAGS
18829 CFLAGS="$CFLAGS -Winit-self"
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 int main(int argc, char **argv) { return 0; }
18833 _ACEOF
18834 if ac_fn_c_try_link "$LINENO"
18835 then :
18836 ac_cv_cflags__Winit_self=yes
18837 else $as_nop
18838 ac_cv_cflags__Winit_self=no
18840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18841 conftest$ac_exeext conftest.$ac_ext
18842 CFLAGS=$ac_wine_try_cflags_saved
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18845 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18846 if test "x$ac_cv_cflags__Winit_self" = xyes
18847 then :
18848 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18851 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18852 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18853 then :
18854 printf %s "(cached) " >&6
18855 else $as_nop
18856 ac_wine_try_cflags_saved=$CFLAGS
18857 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 int main(int argc, char **argv) { return 0; }
18861 _ACEOF
18862 if ac_fn_c_try_link "$LINENO"
18863 then :
18864 ac_cv_cflags__Wpacked_not_aligned=yes
18865 else $as_nop
18866 ac_cv_cflags__Wpacked_not_aligned=no
18868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18869 conftest$ac_exeext conftest.$ac_ext
18870 CFLAGS=$ac_wine_try_cflags_saved
18872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18873 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18874 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18875 then :
18876 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18879 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18880 if test ${ac_cv_cflags__Wpragma_pack+y}
18881 then :
18882 printf %s "(cached) " >&6
18883 else $as_nop
18884 ac_wine_try_cflags_saved=$CFLAGS
18885 CFLAGS="$CFLAGS -Wpragma-pack"
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 int main(int argc, char **argv) { return 0; }
18889 _ACEOF
18890 if ac_fn_c_try_link "$LINENO"
18891 then :
18892 ac_cv_cflags__Wpragma_pack=yes
18893 else $as_nop
18894 ac_cv_cflags__Wpragma_pack=no
18896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18897 conftest$ac_exeext conftest.$ac_ext
18898 CFLAGS=$ac_wine_try_cflags_saved
18900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18901 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18902 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18903 then :
18904 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18907 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18908 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18909 then :
18910 printf %s "(cached) " >&6
18911 else $as_nop
18912 ac_wine_try_cflags_saved=$CFLAGS
18913 CFLAGS="$CFLAGS -Wshift-overflow=2"
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18916 int main(int argc, char **argv) { return 0; }
18917 _ACEOF
18918 if ac_fn_c_try_link "$LINENO"
18919 then :
18920 ac_cv_cflags__Wshift_overflow_2=yes
18921 else $as_nop
18922 ac_cv_cflags__Wshift_overflow_2=no
18924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18925 conftest$ac_exeext conftest.$ac_ext
18926 CFLAGS=$ac_wine_try_cflags_saved
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18929 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18930 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18931 then :
18932 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18935 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18936 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18937 then :
18938 printf %s "(cached) " >&6
18939 else $as_nop
18940 ac_wine_try_cflags_saved=$CFLAGS
18941 CFLAGS="$CFLAGS -Wstrict-prototypes"
18942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18944 int main(int argc, char **argv) { return 0; }
18945 _ACEOF
18946 if ac_fn_c_try_link "$LINENO"
18947 then :
18948 ac_cv_cflags__Wstrict_prototypes=yes
18949 else $as_nop
18950 ac_cv_cflags__Wstrict_prototypes=no
18952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18953 conftest$ac_exeext conftest.$ac_ext
18954 CFLAGS=$ac_wine_try_cflags_saved
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18957 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18958 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18959 then :
18960 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18963 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18964 if test ${ac_cv_cflags__Wtype_limits+y}
18965 then :
18966 printf %s "(cached) " >&6
18967 else $as_nop
18968 ac_wine_try_cflags_saved=$CFLAGS
18969 CFLAGS="$CFLAGS -Wtype-limits"
18970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18972 int main(int argc, char **argv) { return 0; }
18973 _ACEOF
18974 if ac_fn_c_try_link "$LINENO"
18975 then :
18976 ac_cv_cflags__Wtype_limits=yes
18977 else $as_nop
18978 ac_cv_cflags__Wtype_limits=no
18980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18981 conftest$ac_exeext conftest.$ac_ext
18982 CFLAGS=$ac_wine_try_cflags_saved
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18985 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18986 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18987 then :
18988 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18991 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18992 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18993 then :
18994 printf %s "(cached) " >&6
18995 else $as_nop
18996 ac_wine_try_cflags_saved=$CFLAGS
18997 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 int main(int argc, char **argv) { return 0; }
19001 _ACEOF
19002 if ac_fn_c_try_link "$LINENO"
19003 then :
19004 ac_cv_cflags__Wunused_but_set_parameter=yes
19005 else $as_nop
19006 ac_cv_cflags__Wunused_but_set_parameter=no
19008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19009 conftest$ac_exeext conftest.$ac_ext
19010 CFLAGS=$ac_wine_try_cflags_saved
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19013 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19014 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19015 then :
19016 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19019 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19020 if test ${ac_cv_cflags__Wvla+y}
19021 then :
19022 printf %s "(cached) " >&6
19023 else $as_nop
19024 ac_wine_try_cflags_saved=$CFLAGS
19025 CFLAGS="$CFLAGS -Wvla"
19026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 int main(int argc, char **argv) { return 0; }
19029 _ACEOF
19030 if ac_fn_c_try_link "$LINENO"
19031 then :
19032 ac_cv_cflags__Wvla=yes
19033 else $as_nop
19034 ac_cv_cflags__Wvla=no
19036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19037 conftest$ac_exeext conftest.$ac_ext
19038 CFLAGS=$ac_wine_try_cflags_saved
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19041 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19042 if test "x$ac_cv_cflags__Wvla" = xyes
19043 then :
19044 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19047 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19048 if test ${ac_cv_cflags__Wwrite_strings+y}
19049 then :
19050 printf %s "(cached) " >&6
19051 else $as_nop
19052 ac_wine_try_cflags_saved=$CFLAGS
19053 CFLAGS="$CFLAGS -Wwrite-strings"
19054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19056 int main(int argc, char **argv) { return 0; }
19057 _ACEOF
19058 if ac_fn_c_try_link "$LINENO"
19059 then :
19060 ac_cv_cflags__Wwrite_strings=yes
19061 else $as_nop
19062 ac_cv_cflags__Wwrite_strings=no
19064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19065 conftest$ac_exeext conftest.$ac_ext
19066 CFLAGS=$ac_wine_try_cflags_saved
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19069 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19070 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19071 then :
19072 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19076 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19077 if test ${ac_cv_cflags__Wpointer_arith+y}
19078 then :
19079 printf %s "(cached) " >&6
19080 else $as_nop
19081 ac_wine_try_cflags_saved=$CFLAGS
19082 CFLAGS="$CFLAGS -Wpointer-arith"
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 int main(int argc, char **argv) { return 0; }
19086 _ACEOF
19087 if ac_fn_c_try_link "$LINENO"
19088 then :
19089 ac_cv_cflags__Wpointer_arith=yes
19090 else $as_nop
19091 ac_cv_cflags__Wpointer_arith=no
19093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19094 conftest$ac_exeext conftest.$ac_ext
19095 CFLAGS=$ac_wine_try_cflags_saved
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19098 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19099 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19100 then :
19101 saved_string_h_CFLAGS=$CFLAGS
19102 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19104 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19105 if test ${ac_cv_c_string_h_warnings+y}
19106 then :
19107 printf %s "(cached) " >&6
19108 else $as_nop
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111 #include <string.h>
19113 main (void)
19117 return 0;
19119 _ACEOF
19120 if ac_fn_c_try_compile "$LINENO"
19121 then :
19122 ac_cv_c_string_h_warnings=no
19123 else $as_nop
19124 ac_cv_c_string_h_warnings=yes
19126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19129 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19130 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19131 CFLAGS=$saved_string_h_CFLAGS
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19135 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19136 if test ${ac_cv_cflags__Wlogical_op+y}
19137 then :
19138 printf %s "(cached) " >&6
19139 else $as_nop
19140 ac_wine_try_cflags_saved=$CFLAGS
19141 CFLAGS="$CFLAGS -Wlogical-op"
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 int main(int argc, char **argv) { return 0; }
19145 _ACEOF
19146 if ac_fn_c_try_link "$LINENO"
19147 then :
19148 ac_cv_cflags__Wlogical_op=yes
19149 else $as_nop
19150 ac_cv_cflags__Wlogical_op=no
19152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19153 conftest$ac_exeext conftest.$ac_ext
19154 CFLAGS=$ac_wine_try_cflags_saved
19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19157 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19158 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19159 then :
19160 saved_string_h_CFLAGS=$CFLAGS
19161 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19163 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19164 if test ${ac_cv_c_logicalop_noisy+y}
19165 then :
19166 printf %s "(cached) " >&6
19167 else $as_nop
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 #include <string.h>
19171 char*f(const char *h,char n) {return strchr(h,n);}
19173 main (void)
19177 return 0;
19179 _ACEOF
19180 if ac_fn_c_try_compile "$LINENO"
19181 then :
19182 ac_cv_c_logicalop_noisy=no
19183 else $as_nop
19184 ac_cv_c_logicalop_noisy=yes
19186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19189 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19190 CFLAGS=$saved_string_h_CFLAGS
19191 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19195 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19196 if test ${wine_cv_64bit_compare_swap+y}
19197 then :
19198 printf %s "(cached) " >&6
19199 else $as_nop
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19203 #error no
19204 #endif
19206 main (void)
19210 return 0;
19212 _ACEOF
19213 if ac_fn_c_try_compile "$LINENO"
19214 then :
19215 wine_cv_64bit_compare_swap="none needed"
19216 else $as_nop
19217 case $host_cpu in
19218 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19219 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19220 *) wine_cv_64bit_compare_swap="unknown" ;;
19221 esac
19222 if test "x$wine_cv_64bit_compare_swap" != xunknown
19223 then
19224 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19228 #error no
19229 #endif
19231 main (void)
19235 return 0;
19237 _ACEOF
19238 if ac_fn_c_try_compile "$LINENO"
19239 then :
19241 else $as_nop
19242 wine_cv_64bit_compare_swap="unknown"
19244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19245 CFLAGS=$saved_CFLAGS
19248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19251 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19252 case "$wine_cv_64bit_compare_swap" in
19253 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19254 "none needed") ;;
19255 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19256 esac
19258 ac_debug_format_seen=""
19259 for ac_flag in $CFLAGS; do
19260 case $ac_flag in
19261 -gdwarf*) ac_debug_format_seen=yes ;;
19262 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19263 esac
19264 done
19265 if test "x$ac_debug_format_seen" = xdefault
19266 then
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19268 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19269 if test ${ac_cv_cflags__gdwarf_4+y}
19270 then :
19271 printf %s "(cached) " >&6
19272 else $as_nop
19273 ac_wine_try_cflags_saved=$CFLAGS
19274 CFLAGS="$CFLAGS -gdwarf-4"
19275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h. */
19277 int main(int argc, char **argv) { return 0; }
19278 _ACEOF
19279 if ac_fn_c_try_link "$LINENO"
19280 then :
19281 ac_cv_cflags__gdwarf_4=yes
19282 else $as_nop
19283 ac_cv_cflags__gdwarf_4=no
19285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19286 conftest$ac_exeext conftest.$ac_ext
19287 CFLAGS=$ac_wine_try_cflags_saved
19289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19290 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19291 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19292 then :
19293 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19297 MSVCRTFLAGS=""
19299 case $host_os in
19300 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19301 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19302 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19303 then :
19304 printf %s "(cached) " >&6
19305 else $as_nop
19306 ac_wine_try_cflags_saved=$CFLAGS
19307 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19309 /* end confdefs.h. */
19310 int main(int argc, char **argv) { return 0; }
19311 _ACEOF
19312 if ac_fn_c_try_link "$LINENO"
19313 then :
19314 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19315 else $as_nop
19316 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19319 conftest$ac_exeext conftest.$ac_ext
19320 CFLAGS=$ac_wine_try_cflags_saved
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19323 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19324 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19325 then :
19326 DELAYLOADFLAG="-Wl,-delayload,"
19328 fi ;;
19329 *) MSVCRTFLAGS="-D_WIN32"
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19331 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19332 if test ${ac_cv_cflags__fno_builtin+y}
19333 then :
19334 printf %s "(cached) " >&6
19335 else $as_nop
19336 ac_wine_try_cflags_saved=$CFLAGS
19337 CFLAGS="$CFLAGS -fno-builtin"
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__fno_builtin=yes
19345 else $as_nop
19346 ac_cv_cflags__fno_builtin=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__fno_builtin" >&5
19353 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19354 if test "x$ac_cv_cflags__fno_builtin" = xyes
19355 then :
19356 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19359 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19360 if test ${ac_cv_cflags__fshort_wchar+y}
19361 then :
19362 printf %s "(cached) " >&6
19363 else $as_nop
19364 ac_wine_try_cflags_saved=$CFLAGS
19365 CFLAGS="$CFLAGS -fshort-wchar"
19366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19368 int main(int argc, char **argv) { return 0; }
19369 _ACEOF
19370 if ac_fn_c_try_link "$LINENO"
19371 then :
19372 ac_cv_cflags__fshort_wchar=yes
19373 else $as_nop
19374 ac_cv_cflags__fshort_wchar=no
19376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19377 conftest$ac_exeext conftest.$ac_ext
19378 CFLAGS=$ac_wine_try_cflags_saved
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19381 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19382 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19383 then :
19384 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19387 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19388 if test ${ac_cv_cflags__Wno_format+y}
19389 then :
19390 printf %s "(cached) " >&6
19391 else $as_nop
19392 ac_wine_try_cflags_saved=$CFLAGS
19393 CFLAGS="$CFLAGS -Wno-format"
19394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19396 int main(int argc, char **argv) { return 0; }
19397 _ACEOF
19398 if ac_fn_c_try_link "$LINENO"
19399 then :
19400 ac_cv_cflags__Wno_format=yes
19401 else $as_nop
19402 ac_cv_cflags__Wno_format=no
19404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19405 conftest$ac_exeext conftest.$ac_ext
19406 CFLAGS=$ac_wine_try_cflags_saved
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19409 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19410 if test "x$ac_cv_cflags__Wno_format" = xyes
19411 then :
19412 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19413 fi ;;
19414 esac
19416 case $host_cpu in
19417 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19418 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19419 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19420 then :
19421 printf %s "(cached) " >&6
19422 else $as_nop
19423 ac_wine_try_cflags_saved=$CFLAGS
19424 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 int main(int argc, char **argv) { return 0; }
19428 _ACEOF
19429 if ac_fn_c_try_link "$LINENO"
19430 then :
19431 ac_cv_cflags__fno_omit_frame_pointer=yes
19432 else $as_nop
19433 ac_cv_cflags__fno_omit_frame_pointer=no
19435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19436 conftest$ac_exeext conftest.$ac_ext
19437 CFLAGS=$ac_wine_try_cflags_saved
19439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19440 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19441 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19442 then :
19443 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19444 fi ;;
19445 *x86_64*)
19446 case $host_os in
19447 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19448 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19449 if test ${ac_cv_cflags__Wno_format+y}
19450 then :
19451 printf %s "(cached) " >&6
19452 else $as_nop
19453 ac_wine_try_cflags_saved=$CFLAGS
19454 CFLAGS="$CFLAGS -Wno-format"
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19457 int main(int argc, char **argv) { return 0; }
19458 _ACEOF
19459 if ac_fn_c_try_link "$LINENO"
19460 then :
19461 ac_cv_cflags__Wno_format=yes
19462 else $as_nop
19463 ac_cv_cflags__Wno_format=no
19465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19466 conftest$ac_exeext conftest.$ac_ext
19467 CFLAGS=$ac_wine_try_cflags_saved
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19470 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19471 if test "x$ac_cv_cflags__Wno_format" = xyes
19472 then :
19473 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19474 fi ;;
19475 *) if test -z "$PE_ARCHS"
19476 then
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19478 printf %s "checking for working -mabi=ms... " >&6; }
19479 if test ${ac_cv_mabi_ms+y}
19480 then :
19481 printf %s "(cached) " >&6
19482 else $as_nop
19483 CFLAGS="$CFLAGS -mabi=ms"
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 #include <stdarg.h>
19487 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19489 main (void)
19493 return 0;
19495 _ACEOF
19496 if ac_fn_c_try_compile "$LINENO"
19497 then :
19498 ac_cv_mabi_ms=yes
19499 else $as_nop
19500 ac_cv_mabi_ms=no
19502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19503 CFLAGS=$saved_CFLAGS
19505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19506 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19507 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
19509 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19510 esac ;;
19511 arm*)
19512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19513 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19514 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19515 then :
19516 printf %s "(cached) " >&6
19517 else $as_nop
19518 ac_wine_try_cflags_saved=$CFLAGS
19519 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522 int main(int argc, char **argv) { return 0; }
19523 _ACEOF
19524 if ac_fn_c_try_link "$LINENO"
19525 then :
19526 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19527 else $as_nop
19528 ac_cv_cflags__Wincompatible_function_pointer_types=no
19530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19531 conftest$ac_exeext conftest.$ac_ext
19532 CFLAGS=$ac_wine_try_cflags_saved
19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19535 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19536 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19537 then :
19538 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19539 fi ;;
19540 esac
19542 CFLAGS=$saved_CFLAGS
19544 if test "x$enable_werror" = "xyes"
19545 then
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19547 printf %s "checking whether the compiler supports -Werror... " >&6; }
19548 if test ${ac_cv_cflags__Werror+y}
19549 then :
19550 printf %s "(cached) " >&6
19551 else $as_nop
19552 ac_wine_try_cflags_saved=$CFLAGS
19553 CFLAGS="$CFLAGS -Werror"
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 int main(int argc, char **argv) { return 0; }
19557 _ACEOF
19558 if ac_fn_c_try_link "$LINENO"
19559 then :
19560 ac_cv_cflags__Werror=yes
19561 else $as_nop
19562 ac_cv_cflags__Werror=no
19564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19565 conftest$ac_exeext conftest.$ac_ext
19566 CFLAGS=$ac_wine_try_cflags_saved
19568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19569 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19570 if test "x$ac_cv_cflags__Werror" = xyes
19571 then :
19572 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19575 if test "x$enable_build_id" = "xyes"
19576 then
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19578 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19579 if test ${ac_cv_cflags__Wl___build_id+y}
19580 then :
19581 printf %s "(cached) " >&6
19582 else $as_nop
19583 ac_wine_try_cflags_saved=$CFLAGS
19584 CFLAGS="$CFLAGS -Wl,--build-id"
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587 int main(int argc, char **argv) { return 0; }
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"
19590 then :
19591 ac_cv_cflags__Wl___build_id=yes
19592 else $as_nop
19593 ac_cv_cflags__Wl___build_id=no
19595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19596 conftest$ac_exeext conftest.$ac_ext
19597 CFLAGS=$ac_wine_try_cflags_saved
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19600 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19601 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19602 then :
19603 CFLAGS="$CFLAGS -Wl,--build-id"
19604 LDFLAGS="$LDFLAGS -Wl,--build-id"
19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19611 printf %s "checking for the need to disable Fortify... " >&6; }
19612 if test ${ac_cv_c_fortify_enabled+y}
19613 then :
19614 printf %s "(cached) " >&6
19615 else $as_nop
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19618 #include <string.h>
19620 main (void)
19622 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19623 #error Fortify enabled
19624 #endif
19626 return 0;
19628 _ACEOF
19629 if ac_fn_c_try_compile "$LINENO"
19630 then :
19631 ac_cv_c_fortify_enabled=no
19632 else $as_nop
19633 ac_cv_c_fortify_enabled=yes
19635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19638 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19639 if test "$ac_cv_c_fortify_enabled" = yes
19640 then
19641 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19646 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19647 if test ${ac_cv_c_cfi_support+y}
19648 then :
19649 printf %s "(cached) " >&6
19650 else $as_nop
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19655 main (void)
19659 return 0;
19661 _ACEOF
19662 if ac_fn_c_try_compile "$LINENO"
19663 then :
19664 ac_cv_c_cfi_support="yes"
19665 else $as_nop
19666 ac_cv_c_cfi_support="no"
19668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19671 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19672 if test "$ac_cv_c_cfi_support" = "yes"
19673 then
19674 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19675 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19676 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19677 elif test $HOST_ARCH = x86_64
19678 then
19679 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19683 case $host_os in
19684 linux*)
19685 case $host_cpu in
19686 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19687 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19688 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19690 esac
19692 esac
19695 ac_save_CFLAGS="$CFLAGS"
19696 CFLAGS="$CFLAGS $BUILTINFLAG"
19697 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19698 if test "x$ac_cv_func_epoll_create" = xyes
19699 then :
19700 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19703 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19704 if test "x$ac_cv_func_fstatfs" = xyes
19705 then :
19706 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19709 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19710 if test "x$ac_cv_func_futimens" = xyes
19711 then :
19712 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19715 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19716 if test "x$ac_cv_func_futimes" = xyes
19717 then :
19718 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19721 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19722 if test "x$ac_cv_func_futimesat" = xyes
19723 then :
19724 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19727 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19728 if test "x$ac_cv_func_getattrlist" = xyes
19729 then :
19730 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19733 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19734 if test "x$ac_cv_func_getauxval" = xyes
19735 then :
19736 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19739 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19740 if test "x$ac_cv_func_getifaddrs" = xyes
19741 then :
19742 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19745 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19746 if test "x$ac_cv_func_getrandom" = xyes
19747 then :
19748 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19751 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19752 if test "x$ac_cv_func_kqueue" = xyes
19753 then :
19754 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19757 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19758 if test "x$ac_cv_func_mach_continuous_time" = xyes
19759 then :
19760 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19763 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19764 if test "x$ac_cv_func_pipe2" = xyes
19765 then :
19766 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19769 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19770 if test "x$ac_cv_func_port_create" = xyes
19771 then :
19772 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19775 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19776 if test "x$ac_cv_func_posix_fadvise" = xyes
19777 then :
19778 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19781 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19782 if test "x$ac_cv_func_posix_fallocate" = xyes
19783 then :
19784 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19787 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19788 if test "x$ac_cv_func_prctl" = xyes
19789 then :
19790 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19793 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19794 if test "x$ac_cv_func_proc_pidinfo" = xyes
19795 then :
19796 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19799 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19800 if test "x$ac_cv_func_sched_yield" = xyes
19801 then :
19802 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19805 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19806 if test "x$ac_cv_func_setproctitle" = xyes
19807 then :
19808 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19811 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19812 if test "x$ac_cv_func_setprogname" = xyes
19813 then :
19814 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19817 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19818 if test "x$ac_cv_func_sigprocmask" = xyes
19819 then :
19820 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19823 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19824 if test "x$ac_cv_func_sysinfo" = xyes
19825 then :
19826 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19829 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19830 if test "x$ac_cv_func_tcdrain" = xyes
19831 then :
19832 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19835 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19836 if test "x$ac_cv_func_thr_kill2" = xyes
19837 then :
19838 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19842 CFLAGS="$ac_save_CFLAGS"
19844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19845 printf %s "checking for library containing dlopen... " >&6; }
19846 if test ${ac_cv_search_dlopen+y}
19847 then :
19848 printf %s "(cached) " >&6
19849 else $as_nop
19850 ac_func_search_save_LIBS=$LIBS
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19854 /* Override any GCC internal prototype to avoid an error.
19855 Use char because int might match the return type of a GCC
19856 builtin and then its argument prototype would still apply. */
19857 char dlopen ();
19859 main (void)
19861 return dlopen ();
19863 return 0;
19865 _ACEOF
19866 for ac_lib in '' dl
19868 if test -z "$ac_lib"; then
19869 ac_res="none required"
19870 else
19871 ac_res=-l$ac_lib
19872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19874 if ac_fn_c_try_link "$LINENO"
19875 then :
19876 ac_cv_search_dlopen=$ac_res
19878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19879 conftest$ac_exeext
19880 if test ${ac_cv_search_dlopen+y}
19881 then :
19882 break
19884 done
19885 if test ${ac_cv_search_dlopen+y}
19886 then :
19888 else $as_nop
19889 ac_cv_search_dlopen=no
19891 rm conftest.$ac_ext
19892 LIBS=$ac_func_search_save_LIBS
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19895 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19896 ac_res=$ac_cv_search_dlopen
19897 if test "$ac_res" != no
19898 then :
19899 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19903 ac_wine_check_funcs_save_LIBS="$LIBS"
19904 LIBS="$LIBS $DL_LIBS"
19905 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19906 if test "x$ac_cv_func_dlinfo" = xyes
19907 then :
19908 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19912 LIBS="$ac_wine_check_funcs_save_LIBS"
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19915 printf %s "checking for library containing gethostbyname... " >&6; }
19916 if test ${ac_cv_search_gethostbyname+y}
19917 then :
19918 printf %s "(cached) " >&6
19919 else $as_nop
19920 ac_func_search_save_LIBS=$LIBS
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19924 /* Override any GCC internal prototype to avoid an error.
19925 Use char because int might match the return type of a GCC
19926 builtin and then its argument prototype would still apply. */
19927 char gethostbyname ();
19929 main (void)
19931 return gethostbyname ();
19933 return 0;
19935 _ACEOF
19936 for ac_lib in '' nsl
19938 if test -z "$ac_lib"; then
19939 ac_res="none required"
19940 else
19941 ac_res=-l$ac_lib
19942 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19944 if ac_fn_c_try_link "$LINENO"
19945 then :
19946 ac_cv_search_gethostbyname=$ac_res
19948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19949 conftest$ac_exeext
19950 if test ${ac_cv_search_gethostbyname+y}
19951 then :
19952 break
19954 done
19955 if test ${ac_cv_search_gethostbyname+y}
19956 then :
19958 else $as_nop
19959 ac_cv_search_gethostbyname=no
19961 rm conftest.$ac_ext
19962 LIBS=$ac_func_search_save_LIBS
19964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19965 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19966 ac_res=$ac_cv_search_gethostbyname
19967 if test "$ac_res" != no
19968 then :
19969 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19975 printf %s "checking for library containing connect... " >&6; }
19976 if test ${ac_cv_search_connect+y}
19977 then :
19978 printf %s "(cached) " >&6
19979 else $as_nop
19980 ac_func_search_save_LIBS=$LIBS
19981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19984 /* Override any GCC internal prototype to avoid an error.
19985 Use char because int might match the return type of a GCC
19986 builtin and then its argument prototype would still apply. */
19987 char connect ();
19989 main (void)
19991 return connect ();
19993 return 0;
19995 _ACEOF
19996 for ac_lib in '' socket
19998 if test -z "$ac_lib"; then
19999 ac_res="none required"
20000 else
20001 ac_res=-l$ac_lib
20002 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20004 if ac_fn_c_try_link "$LINENO"
20005 then :
20006 ac_cv_search_connect=$ac_res
20008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20009 conftest$ac_exeext
20010 if test ${ac_cv_search_connect+y}
20011 then :
20012 break
20014 done
20015 if test ${ac_cv_search_connect+y}
20016 then :
20018 else $as_nop
20019 ac_cv_search_connect=no
20021 rm conftest.$ac_ext
20022 LIBS=$ac_func_search_save_LIBS
20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20025 printf "%s\n" "$ac_cv_search_connect" >&6; }
20026 ac_res=$ac_cv_search_connect
20027 if test "$ac_res" != no
20028 then :
20029 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20035 printf %s "checking for library containing inet_aton... " >&6; }
20036 if test ${ac_cv_search_inet_aton+y}
20037 then :
20038 printf %s "(cached) " >&6
20039 else $as_nop
20040 ac_func_search_save_LIBS=$LIBS
20041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20042 /* end confdefs.h. */
20044 /* Override any GCC internal prototype to avoid an error.
20045 Use char because int might match the return type of a GCC
20046 builtin and then its argument prototype would still apply. */
20047 char inet_aton ();
20049 main (void)
20051 return inet_aton ();
20053 return 0;
20055 _ACEOF
20056 for ac_lib in '' resolv
20058 if test -z "$ac_lib"; then
20059 ac_res="none required"
20060 else
20061 ac_res=-l$ac_lib
20062 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20064 if ac_fn_c_try_link "$LINENO"
20065 then :
20066 ac_cv_search_inet_aton=$ac_res
20068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20069 conftest$ac_exeext
20070 if test ${ac_cv_search_inet_aton+y}
20071 then :
20072 break
20074 done
20075 if test ${ac_cv_search_inet_aton+y}
20076 then :
20078 else $as_nop
20079 ac_cv_search_inet_aton=no
20081 rm conftest.$ac_ext
20082 LIBS=$ac_func_search_save_LIBS
20084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20085 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20086 ac_res=$ac_cv_search_inet_aton
20087 if test "$ac_res" != no
20088 then :
20089 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20094 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20095 if test "x$ac_cv_func_getaddrinfo" = xyes
20096 then :
20097 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20102 case $host_os in
20103 darwin*|macosx*) ;;
20104 *) ac_save_LIBS=$LIBS
20105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20106 printf %s "checking for library containing clock_gettime... " >&6; }
20107 if test ${ac_cv_search_clock_gettime+y}
20108 then :
20109 printf %s "(cached) " >&6
20110 else $as_nop
20111 ac_func_search_save_LIBS=$LIBS
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20115 /* Override any GCC internal prototype to avoid an error.
20116 Use char because int might match the return type of a GCC
20117 builtin and then its argument prototype would still apply. */
20118 char clock_gettime ();
20120 main (void)
20122 return clock_gettime ();
20124 return 0;
20126 _ACEOF
20127 for ac_lib in '' rt
20129 if test -z "$ac_lib"; then
20130 ac_res="none required"
20131 else
20132 ac_res=-l$ac_lib
20133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20135 if ac_fn_c_try_link "$LINENO"
20136 then :
20137 ac_cv_search_clock_gettime=$ac_res
20139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20140 conftest$ac_exeext
20141 if test ${ac_cv_search_clock_gettime+y}
20142 then :
20143 break
20145 done
20146 if test ${ac_cv_search_clock_gettime+y}
20147 then :
20149 else $as_nop
20150 ac_cv_search_clock_gettime=no
20152 rm conftest.$ac_ext
20153 LIBS=$ac_func_search_save_LIBS
20155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20156 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20157 ac_res=$ac_cv_search_clock_gettime
20158 if test "$ac_res" != no
20159 then :
20160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20162 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20164 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20168 LIBS=$ac_save_LIBS
20170 esac
20172 if test "x$with_ldap" != "xno"
20173 then
20174 if ${LDAP_CFLAGS:+false} :
20175 then :
20176 if test ${PKG_CONFIG+y}
20177 then :
20178 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20182 if ${LDAP_LIBS:+false} :
20183 then :
20184 if test ${PKG_CONFIG+y}
20185 then :
20186 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20190 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20193 ac_save_CPPFLAGS=$CPPFLAGS
20194 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20195 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20196 if test "x$ac_cv_header_ldap_h" = xyes
20197 then :
20198 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20201 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20202 if test "x$ac_cv_header_lber_h" = xyes
20203 then :
20204 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20208 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20209 then
20210 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20212 if test "x$ac_cv_type_LDAPSortKey" = xyes
20213 then :
20214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20215 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20216 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20217 then :
20218 printf %s "(cached) " >&6
20219 else $as_nop
20220 ac_check_lib_save_LIBS=$LIBS
20221 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20225 /* Override any GCC internal prototype to avoid an error.
20226 Use char because int might match the return type of a GCC
20227 builtin and then its argument prototype would still apply. */
20228 char ldap_initialize ();
20230 main (void)
20232 return ldap_initialize ();
20234 return 0;
20236 _ACEOF
20237 if ac_fn_c_try_link "$LINENO"
20238 then :
20239 ac_cv_lib_ldap_ldap_initialize=yes
20240 else $as_nop
20241 ac_cv_lib_ldap_ldap_initialize=no
20243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20244 conftest$ac_exeext conftest.$ac_ext
20245 LIBS=$ac_check_lib_save_LIBS
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20248 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20249 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20250 then :
20251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20252 printf %s "checking for ber_init in -llber... " >&6; }
20253 if test ${ac_cv_lib_lber_ber_init+y}
20254 then :
20255 printf %s "(cached) " >&6
20256 else $as_nop
20257 ac_check_lib_save_LIBS=$LIBS
20258 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20260 /* end confdefs.h. */
20262 /* Override any GCC internal prototype to avoid an error.
20263 Use char because int might match the return type of a GCC
20264 builtin and then its argument prototype would still apply. */
20265 char ber_init ();
20267 main (void)
20269 return ber_init ();
20271 return 0;
20273 _ACEOF
20274 if ac_fn_c_try_link "$LINENO"
20275 then :
20276 ac_cv_lib_lber_ber_init=yes
20277 else $as_nop
20278 ac_cv_lib_lber_ber_init=no
20280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20281 conftest$ac_exeext conftest.$ac_ext
20282 LIBS=$ac_check_lib_save_LIBS
20284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20285 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20286 if test "x$ac_cv_lib_lber_ber_init" = xyes
20287 then :
20289 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20291 else $as_nop
20292 LDAP_LIBS=""
20295 else $as_nop
20296 LDAP_LIBS=""
20299 else $as_nop
20300 LDAP_LIBS=""
20303 else
20304 LDAP_LIBS=""
20306 CPPFLAGS=$ac_save_CPPFLAGS
20309 if test "x$LDAP_LIBS" = "x"
20310 then :
20311 case "x$with_ldap" in
20312 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20313 xno) ;;
20314 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20315 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20316 esac
20320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20321 printf %s "checking for sched_setaffinity... " >&6; }
20322 if test ${wine_cv_have_sched_setaffinity+y}
20323 then :
20324 printf %s "(cached) " >&6
20325 else $as_nop
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20328 #include <sched.h>
20330 main (void)
20332 sched_setaffinity(0, 0, 0);
20334 return 0;
20336 _ACEOF
20337 if ac_fn_c_try_link "$LINENO"
20338 then :
20339 wine_cv_have_sched_setaffinity=yes
20340 else $as_nop
20341 wine_cv_have_sched_setaffinity=no
20343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20344 conftest$ac_exeext conftest.$ac_ext
20346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20347 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20348 if test "$wine_cv_have_sched_setaffinity" = "yes"
20349 then
20351 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20357 printf %s "checking for inline... " >&6; }
20358 if test ${ac_cv_c_inline+y}
20359 then :
20360 printf %s "(cached) " >&6
20361 else $as_nop
20362 ac_cv_c_inline=no
20363 for ac_kw in inline __inline__ __inline; do
20364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20365 /* end confdefs.h. */
20366 #ifndef __cplusplus
20367 typedef int foo_t;
20368 static $ac_kw foo_t static_foo (void) {return 0; }
20369 $ac_kw foo_t foo (void) {return 0; }
20370 #endif
20372 _ACEOF
20373 if ac_fn_c_try_compile "$LINENO"
20374 then :
20375 ac_cv_c_inline=$ac_kw
20377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20378 test "$ac_cv_c_inline" != no && break
20379 done
20382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20383 printf "%s\n" "$ac_cv_c_inline" >&6; }
20385 case $ac_cv_c_inline in
20386 inline | yes) ;;
20388 case $ac_cv_c_inline in
20389 no) ac_val=;;
20390 *) ac_val=$ac_cv_c_inline;;
20391 esac
20392 cat >>confdefs.h <<_ACEOF
20393 #ifndef __cplusplus
20394 #define inline $ac_val
20395 #endif
20396 _ACEOF
20398 esac
20400 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20401 #include <signal.h>
20403 if test "x$ac_cv_type_sigset_t" = xyes
20404 then :
20406 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20411 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20413 if test "x$ac_cv_type_request_sense" = xyes
20414 then :
20416 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20422 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20423 #include <sys/socket.h>
20424 #ifdef HAVE_SYS_SOCKETVAR_H
20425 #include <sys/socketvar.h>
20426 #endif
20427 #ifdef HAVE_NET_ROUTE_H
20428 #include <net/route.h>
20429 #endif
20430 #ifdef HAVE_NETINET_IN_H
20431 #include <netinet/in.h>
20432 #endif
20433 #ifdef HAVE_NETINET_IN_SYSTM_H
20434 #include <netinet/in_systm.h>
20435 #endif
20436 #ifdef HAVE_NETINET_IP_H
20437 #include <netinet/ip.h>
20438 #endif
20439 #ifdef HAVE_NETINET_IN_PCB_H
20440 #include <netinet/in_pcb.h>
20441 #endif
20443 if test "x$ac_cv_type_struct_xinpgen" = xyes
20444 then :
20446 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20453 printf %s "checking for sigaddset... " >&6; }
20454 if test ${wine_cv_have_sigaddset+y}
20455 then :
20456 printf %s "(cached) " >&6
20457 else $as_nop
20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h. */
20460 #include <signal.h>
20462 main (void)
20464 sigset_t set; sigaddset(&set,SIGTERM);
20466 return 0;
20468 _ACEOF
20469 if ac_fn_c_try_link "$LINENO"
20470 then :
20471 wine_cv_have_sigaddset=yes
20472 else $as_nop
20473 wine_cv_have_sigaddset=no
20475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20476 conftest$ac_exeext conftest.$ac_ext
20478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20479 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20480 if test "$wine_cv_have_sigaddset" = "yes"
20481 then
20483 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20489 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20490 if test ${wine_cv_linux_gethostbyname_r_6+y}
20491 then :
20492 printf %s "(cached) " >&6
20493 else $as_nop
20494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20495 /* end confdefs.h. */
20496 #include <netdb.h>
20498 main (void)
20501 char *name=0;
20502 struct hostent he;
20503 struct hostent *result;
20504 char *buf=0;
20505 int bufsize=0;
20506 int errnr;
20507 char *addr=0;
20508 int addrlen=0;
20509 int addrtype=0;
20510 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20511 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20514 return 0;
20516 _ACEOF
20517 if ac_fn_c_try_link "$LINENO"
20518 then :
20519 wine_cv_linux_gethostbyname_r_6=yes
20520 else $as_nop
20521 wine_cv_linux_gethostbyname_r_6=no
20524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20525 conftest$ac_exeext conftest.$ac_ext
20528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20529 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20530 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20531 then
20533 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20537 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20538 #include <sys/socket.h>
20539 #ifdef HAVE_SYS_UN_H
20540 # include <sys/un.h>
20541 #endif
20543 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20544 then :
20546 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20550 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20551 #include <sys/socket.h>
20552 #ifdef HAVE_SYS_UN_H
20553 # include <sys/un.h>
20554 #endif
20556 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20557 then :
20559 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20565 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20566 #ifdef HAVE_SCSI_SG_H
20567 #include <scsi/sg.h>
20568 #endif
20570 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20571 then :
20573 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20577 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>
20578 #ifdef HAVE_SCSI_SG_H
20579 #include <scsi/sg.h>
20580 #endif
20582 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20583 then :
20585 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20591 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20593 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20594 then :
20596 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20602 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20603 #ifdef HAVE_SYS_MTIO_H
20604 #include <sys/mtio.h>
20605 #endif
20607 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20608 then :
20610 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20614 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20615 #ifdef HAVE_SYS_MTIO_H
20616 #include <sys/mtio.h>
20617 #endif
20619 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20620 then :
20622 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20626 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20627 #ifdef HAVE_SYS_MTIO_H
20628 #include <sys/mtio.h>
20629 #endif
20631 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20632 then :
20634 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20640 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20641 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20642 then :
20644 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20648 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20649 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20656 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20657 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20658 then :
20660 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20664 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20665 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20672 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20673 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20674 then :
20676 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20680 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20681 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20682 then :
20684 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20688 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20689 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20690 then :
20692 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20696 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20697 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20698 then :
20700 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20705 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20706 then :
20708 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20712 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20713 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20714 then :
20716 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20720 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20721 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20722 then :
20724 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20730 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>
20731 #ifdef HAVE_NETINET_IN_H
20732 #include <netinet/in.h>
20733 #endif
20735 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20736 then :
20738 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20744 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
20745 #include <resolv.h>
20746 #endif
20748 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20749 then :
20751 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20757 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20758 #include <netinet/in.h>
20759 #endif
20761 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20762 then :
20764 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20770 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20771 #ifdef HAVE_SYS_SOCKETVAR_H
20772 #include <sys/socketvar.h>
20773 #endif
20774 #ifdef HAVE_NETINET_IN_H
20775 #include <netinet/in.h>
20776 #endif
20777 #ifdef HAVE_NETINET_IP_VAR_H
20778 #include <netinet/ip_var.h>
20779 #endif
20781 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20782 then :
20784 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20790 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
20791 #include <netinet/ip_var.h>
20792 #endif
20794 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20795 then :
20797 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20803 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20804 #ifdef HAVE_SYS_SOCKETVAR_H
20805 #include <sys/socketvar.h>
20806 #endif
20807 #ifdef HAVE_NETINET_IN_H
20808 #include <netinet/in.h>
20809 #endif
20810 #ifdef HAVE_NETINET6_IP6_VAR_H
20811 #include <netinet6/ip6_var.h>
20812 #endif
20814 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20815 then :
20817 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20823 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20824 #ifdef HAVE_SYS_SOCKETVAR_H
20825 #include <sys/socketvar.h>
20826 #endif
20827 #ifdef HAVE_NETINET_IN_H
20828 #include <netinet/in.h>
20829 #endif
20830 #ifdef HAVE_NETINET_IP_H
20831 #include <netinet/ip.h>
20832 #endif
20833 #ifdef HAVE_NETINET_IP_ICMP_H
20834 #include <netinet/ip_icmp.h>
20835 #endif
20836 #ifdef HAVE_NETINET_ICMP_VAR_H
20837 #include <netinet/icmp_var.h>
20838 #endif
20840 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20841 then :
20843 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20849 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20850 #ifdef HAVE_SYS_SOCKETVAR_H
20851 #include <sys/socketvar.h>
20852 #endif
20853 #ifdef HAVE_NETINET_IN_H
20854 #include <netinet/in.h>
20855 #endif
20856 #ifdef HAVE_NETINET_ICMP6_H
20857 #include <netinet/icmp6.h>
20858 #endif
20860 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20861 then :
20863 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20869 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20870 #ifdef HAVE_SYS_SOCKETVAR_H
20871 #include <sys/socketvar.h>
20872 #endif
20873 #ifdef HAVE_NETINET_IN_H
20874 #include <netinet/in.h>
20875 #endif
20876 #ifdef HAVE_NETINET_TCP_H
20877 #include <netinet/tcp.h>
20878 #endif
20879 #ifdef HAVE_NETINET_TCP_VAR_H
20880 #include <netinet/tcp_var.h>
20881 #endif
20883 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20884 then :
20886 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20892 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
20893 #include <netinet/tcp_var.h>
20894 #endif
20896 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20897 then :
20899 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20905 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20906 #ifdef HAVE_NETINET_IN_H
20907 #include <netinet/in.h>
20908 #endif
20909 #ifdef HAVE_NETINET_IP_VAR_H
20910 #include <netinet/ip_var.h>
20911 #endif
20912 #ifdef HAVE_NETINET_UDP_H
20913 #include <netinet/udp.h>
20914 #endif
20915 #ifdef HAVE_NETINET_UDP_VAR_H
20916 #include <netinet/udp_var.h>
20917 #endif
20919 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20920 then :
20922 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20928 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20929 #ifdef HAVE_NET_IF_H
20930 # include <net/if.h>
20931 #endif
20933 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20934 then :
20936 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20942 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20943 # include <sys/sysinfo.h>
20944 #endif
20946 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20947 then :
20949 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20953 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20954 # include <sys/sysinfo.h>
20955 #endif
20957 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20958 then :
20960 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20966 LIBS="$ac_save_LIBS"
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20969 printf %s "checking for __builtin_popcount... " >&6; }
20970 if test ${ac_cv_have___builtin_popcount+y}
20971 then :
20972 printf %s "(cached) " >&6
20973 else $as_nop
20974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20978 main (void)
20980 return __builtin_popcount(1)
20982 return 0;
20984 _ACEOF
20985 if ac_fn_c_try_link "$LINENO"
20986 then :
20987 ac_cv_have___builtin_popcount="yes"
20988 else $as_nop
20989 ac_cv_have___builtin_popcount="no"
20991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20992 conftest$ac_exeext conftest.$ac_ext
20994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20995 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20996 if test "$ac_cv_have___builtin_popcount" = "yes"
20997 then
20999 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21004 printf %s "checking for __clear_cache... " >&6; }
21005 if test ${ac_cv_have___clear_cache+y}
21006 then :
21007 printf %s "(cached) " >&6
21008 else $as_nop
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21013 main (void)
21015 __clear_cache((void*)0, (void*)0); return 0;
21017 return 0;
21019 _ACEOF
21020 if ac_fn_c_try_link "$LINENO"
21021 then :
21022 ac_cv_have___clear_cache="yes"
21023 else $as_nop
21024 ac_cv_have___clear_cache="no"
21026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21027 conftest$ac_exeext conftest.$ac_ext
21029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21030 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21031 if test "$ac_cv_have___clear_cache" = "yes"
21032 then
21034 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21039 case $host_cpu in
21040 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21041 printf %s "checking whether we need to define __i386__... " >&6; }
21042 if test ${ac_cv_cpp_def___i386__+y}
21043 then :
21044 printf %s "(cached) " >&6
21045 else $as_nop
21046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21048 #ifndef __i386__
21050 #endif
21051 _ACEOF
21052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21053 $EGREP "yes" >/dev/null 2>&1
21054 then :
21055 ac_cv_cpp_def___i386__=yes
21056 else $as_nop
21057 ac_cv_cpp_def___i386__=no
21059 rm -rf conftest*
21062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21063 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21064 if test "x$ac_cv_cpp_def___i386__" = xyes
21065 then :
21066 CFLAGS="$CFLAGS -D__i386__"
21067 LINTFLAGS="$LINTFLAGS -D__i386__"
21068 fi ;;
21069 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21070 printf %s "checking whether we need to define __x86_64__... " >&6; }
21071 if test ${ac_cv_cpp_def___x86_64__+y}
21072 then :
21073 printf %s "(cached) " >&6
21074 else $as_nop
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21077 #ifndef __x86_64__
21079 #endif
21080 _ACEOF
21081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082 $EGREP "yes" >/dev/null 2>&1
21083 then :
21084 ac_cv_cpp_def___x86_64__=yes
21085 else $as_nop
21086 ac_cv_cpp_def___x86_64__=no
21088 rm -rf conftest*
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21092 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21093 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21094 then :
21095 CFLAGS="$CFLAGS -D__x86_64__"
21096 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21097 fi ;;
21098 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21099 printf %s "checking whether we need to define __sparc64__... " >&6; }
21100 if test ${ac_cv_cpp_def___sparc64__+y}
21101 then :
21102 printf %s "(cached) " >&6
21103 else $as_nop
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #ifndef __sparc64__
21108 #endif
21109 _ACEOF
21110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21111 $EGREP "yes" >/dev/null 2>&1
21112 then :
21113 ac_cv_cpp_def___sparc64__=yes
21114 else $as_nop
21115 ac_cv_cpp_def___sparc64__=no
21117 rm -rf conftest*
21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21121 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21122 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21123 then :
21124 CFLAGS="$CFLAGS -D__sparc64__"
21125 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21126 fi ;;
21127 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21128 printf %s "checking whether we need to define __sparc__... " >&6; }
21129 if test ${ac_cv_cpp_def___sparc__+y}
21130 then :
21131 printf %s "(cached) " >&6
21132 else $as_nop
21133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21134 /* end confdefs.h. */
21135 #ifndef __sparc__
21137 #endif
21138 _ACEOF
21139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21140 $EGREP "yes" >/dev/null 2>&1
21141 then :
21142 ac_cv_cpp_def___sparc__=yes
21143 else $as_nop
21144 ac_cv_cpp_def___sparc__=no
21146 rm -rf conftest*
21149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21150 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21151 if test "x$ac_cv_cpp_def___sparc__" = xyes
21152 then :
21153 CFLAGS="$CFLAGS -D__sparc__"
21154 LINTFLAGS="$LINTFLAGS -D__sparc__"
21155 fi ;;
21156 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21157 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21158 if test ${ac_cv_cpp_def___powerpc64__+y}
21159 then :
21160 printf %s "(cached) " >&6
21161 else $as_nop
21162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164 #ifndef __powerpc64__
21166 #endif
21167 _ACEOF
21168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21169 $EGREP "yes" >/dev/null 2>&1
21170 then :
21171 ac_cv_cpp_def___powerpc64__=yes
21172 else $as_nop
21173 ac_cv_cpp_def___powerpc64__=no
21175 rm -rf conftest*
21178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21179 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21180 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21181 then :
21182 CFLAGS="$CFLAGS -D__powerpc64__"
21183 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21184 fi ;;
21185 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21186 printf %s "checking whether we need to define __powerpc__... " >&6; }
21187 if test ${ac_cv_cpp_def___powerpc__+y}
21188 then :
21189 printf %s "(cached) " >&6
21190 else $as_nop
21191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21193 #ifndef __powerpc__
21195 #endif
21196 _ACEOF
21197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21198 $EGREP "yes" >/dev/null 2>&1
21199 then :
21200 ac_cv_cpp_def___powerpc__=yes
21201 else $as_nop
21202 ac_cv_cpp_def___powerpc__=no
21204 rm -rf conftest*
21207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21208 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21209 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21210 then :
21211 CFLAGS="$CFLAGS -D__powerpc__"
21212 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21213 fi ;;
21214 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21215 printf %s "checking whether we need to define __aarch64__... " >&6; }
21216 if test ${ac_cv_cpp_def___aarch64__+y}
21217 then :
21218 printf %s "(cached) " >&6
21219 else $as_nop
21220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21221 /* end confdefs.h. */
21222 #ifndef __aarch64__
21224 #endif
21225 _ACEOF
21226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21227 $EGREP "yes" >/dev/null 2>&1
21228 then :
21229 ac_cv_cpp_def___aarch64__=yes
21230 else $as_nop
21231 ac_cv_cpp_def___aarch64__=no
21233 rm -rf conftest*
21236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21237 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21238 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21239 then :
21240 CFLAGS="$CFLAGS -D__aarch64__"
21241 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21242 fi ;;
21243 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21244 printf %s "checking whether we need to define __arm__... " >&6; }
21245 if test ${ac_cv_cpp_def___arm__+y}
21246 then :
21247 printf %s "(cached) " >&6
21248 else $as_nop
21249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21251 #ifndef __arm__
21253 #endif
21254 _ACEOF
21255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21256 $EGREP "yes" >/dev/null 2>&1
21257 then :
21258 ac_cv_cpp_def___arm__=yes
21259 else $as_nop
21260 ac_cv_cpp_def___arm__=no
21262 rm -rf conftest*
21265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21266 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21267 if test "x$ac_cv_cpp_def___arm__" = xyes
21268 then :
21269 CFLAGS="$CFLAGS -D__arm__"
21270 LINTFLAGS="$LINTFLAGS -D__arm__"
21271 fi ;;
21272 esac
21274 case $host_vendor in
21275 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21276 printf %s "checking whether we need to define __sun__... " >&6; }
21277 if test ${ac_cv_cpp_def___sun__+y}
21278 then :
21279 printf %s "(cached) " >&6
21280 else $as_nop
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283 #ifndef __sun__
21285 #endif
21286 _ACEOF
21287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21288 $EGREP "yes" >/dev/null 2>&1
21289 then :
21290 ac_cv_cpp_def___sun__=yes
21291 else $as_nop
21292 ac_cv_cpp_def___sun__=no
21294 rm -rf conftest*
21297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21298 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21299 if test "x$ac_cv_cpp_def___sun__" = xyes
21300 then :
21301 CFLAGS="$CFLAGS -D__sun__"
21302 LINTFLAGS="$LINTFLAGS -D__sun__"
21303 fi ;;
21304 esac
21310 ac_config_commands="$ac_config_commands include/stamp-h"
21312 printf %s "creating Makefile rules..." >&6
21314 makedep_flags=""
21315 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21317 wine_srcdir=
21318 test "$srcdir" = . || wine_srcdir="$srcdir/"
21320 ac_config_links="$ac_config_links wine:tools/winewrapper"
21321 wine_fn_config_symlink wine
21322 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21323 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21324 wine_fn_config_symlink wine64
21327 wine_fn_config_makefile dlls/acledit enable_acledit
21328 wine_fn_config_makefile dlls/aclui enable_aclui
21329 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21330 wine_fn_config_makefile dlls/activeds enable_activeds
21331 wine_fn_config_makefile dlls/activeds/tests enable_tests
21332 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21333 wine_fn_config_makefile dlls/adsldp enable_adsldp
21334 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21335 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21336 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21337 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21338 wine_fn_config_makefile dlls/advpack enable_advpack
21339 wine_fn_config_makefile dlls/advpack/tests enable_tests
21340 wine_fn_config_makefile dlls/amsi enable_amsi
21341 wine_fn_config_makefile dlls/amstream enable_amstream
21342 wine_fn_config_makefile dlls/amstream/tests enable_tests
21343 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21344 wine_fn_config_makefile dlls/apphelp enable_apphelp
21345 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21346 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21347 wine_fn_config_makefile dlls/atl enable_atl
21348 wine_fn_config_makefile dlls/atl/tests enable_tests
21349 wine_fn_config_makefile dlls/atl100 enable_atl100
21350 wine_fn_config_makefile dlls/atl100/tests enable_tests
21351 wine_fn_config_makefile dlls/atl110 enable_atl110
21352 wine_fn_config_makefile dlls/atl110/tests enable_tests
21353 wine_fn_config_makefile dlls/atl80 enable_atl80
21354 wine_fn_config_makefile dlls/atl80/tests enable_tests
21355 wine_fn_config_makefile dlls/atl90 enable_atl90
21356 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21357 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21358 wine_fn_config_makefile dlls/atmlib enable_atmlib
21359 wine_fn_config_makefile dlls/authz enable_authz
21360 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21361 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21362 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21363 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21364 wine_fn_config_makefile dlls/avrt enable_avrt
21365 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21366 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21367 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21368 wine_fn_config_makefile dlls/browseui enable_browseui
21369 wine_fn_config_makefile dlls/browseui/tests enable_tests
21370 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21371 wine_fn_config_makefile dlls/cabinet enable_cabinet
21372 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21373 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21374 wine_fn_config_makefile dlls/cards enable_cards
21375 wine_fn_config_makefile dlls/cdosys enable_cdosys
21376 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21377 wine_fn_config_makefile dlls/clusapi enable_clusapi
21378 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21379 wine_fn_config_makefile dlls/combase enable_combase
21380 wine_fn_config_makefile dlls/combase/tests enable_tests
21381 wine_fn_config_makefile dlls/comcat enable_comcat
21382 wine_fn_config_makefile dlls/comcat/tests enable_tests
21383 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21384 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21385 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21386 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21387 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21388 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21389 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21390 wine_fn_config_makefile dlls/compstui enable_compstui
21391 wine_fn_config_makefile dlls/compstui/tests enable_tests
21392 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21393 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21394 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21395 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21396 wine_fn_config_makefile dlls/connect enable_connect
21397 wine_fn_config_makefile dlls/credui enable_credui
21398 wine_fn_config_makefile dlls/credui/tests enable_tests
21399 wine_fn_config_makefile dlls/crtdll enable_crtdll
21400 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21401 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21402 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21403 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21404 wine_fn_config_makefile dlls/cryptext enable_cryptext
21405 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21406 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21407 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21408 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21409 wine_fn_config_makefile dlls/cryptui enable_cryptui
21410 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21411 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21412 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21413 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21414 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21415 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21416 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21417 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21418 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21419 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21420 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21421 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21422 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21423 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21424 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21425 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21426 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21427 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21428 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21429 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21430 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21431 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21432 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21433 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21434 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21435 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21436 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21437 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21438 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21439 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21440 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21441 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21442 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21443 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21444 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21445 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21446 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21447 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21448 wine_fn_config_makefile dlls/d3dim enable_d3dim
21449 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21450 wine_fn_config_makefile dlls/d3drm enable_d3drm
21451 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21452 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21453 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21454 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21455 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21456 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21457 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21458 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21459 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21460 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21461 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21462 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21463 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21464 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21465 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21466 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21467 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21468 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21469 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21470 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21471 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21472 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21473 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21474 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21475 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21476 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21477 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21478 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21479 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21480 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21481 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21482 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21483 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21484 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21485 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21486 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21487 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21488 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21489 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21490 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21491 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21492 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21493 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21494 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21495 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21496 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21497 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21498 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21499 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21500 wine_fn_config_makefile dlls/davclnt enable_davclnt
21501 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21502 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21503 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21504 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21505 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21506 wine_fn_config_makefile dlls/dcomp enable_dcomp
21507 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21508 wine_fn_config_makefile dlls/ddraw enable_ddraw
21509 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21510 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21511 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21512 wine_fn_config_makefile dlls/devenum enable_devenum
21513 wine_fn_config_makefile dlls/devenum/tests enable_tests
21514 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21515 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21516 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21517 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21518 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21519 wine_fn_config_makefile dlls/difxapi enable_difxapi
21520 wine_fn_config_makefile dlls/dinput enable_dinput
21521 wine_fn_config_makefile dlls/dinput/tests enable_tests
21522 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21523 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21524 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21525 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21526 wine_fn_config_makefile dlls/dispex enable_dispex
21527 wine_fn_config_makefile dlls/dispex/tests enable_tests
21528 wine_fn_config_makefile dlls/display.drv16 enable_win16
21529 wine_fn_config_makefile dlls/dmband enable_dmband
21530 wine_fn_config_makefile dlls/dmband/tests enable_tests
21531 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21532 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21533 wine_fn_config_makefile dlls/dmime enable_dmime
21534 wine_fn_config_makefile dlls/dmime/tests enable_tests
21535 wine_fn_config_makefile dlls/dmloader enable_dmloader
21536 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21537 wine_fn_config_makefile dlls/dmscript enable_dmscript
21538 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21539 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21540 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21541 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21542 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21543 wine_fn_config_makefile dlls/dmusic enable_dmusic
21544 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21545 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21546 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21547 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21548 wine_fn_config_makefile dlls/dplay enable_dplay
21549 wine_fn_config_makefile dlls/dplayx enable_dplayx
21550 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21551 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21552 wine_fn_config_makefile dlls/dpnet enable_dpnet
21553 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21554 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21555 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21556 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21557 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21558 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21559 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21560 wine_fn_config_makefile dlls/drmclien enable_drmclien
21561 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21562 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21563 wine_fn_config_makefile dlls/dsound enable_dsound
21564 wine_fn_config_makefile dlls/dsound/tests enable_tests
21565 wine_fn_config_makefile dlls/dsquery enable_dsquery
21566 wine_fn_config_makefile dlls/dssenh enable_dssenh
21567 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21568 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21569 wine_fn_config_makefile dlls/dswave enable_dswave
21570 wine_fn_config_makefile dlls/dswave/tests enable_tests
21571 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21572 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21573 wine_fn_config_makefile dlls/dwrite enable_dwrite
21574 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21575 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21576 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21577 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21578 wine_fn_config_makefile dlls/dxgi enable_dxgi
21579 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21580 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21581 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21582 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21583 wine_fn_config_makefile dlls/esent enable_esent
21584 wine_fn_config_makefile dlls/evr enable_evr
21585 wine_fn_config_makefile dlls/evr/tests enable_tests
21586 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21587 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21588 wine_fn_config_makefile dlls/faultrep enable_faultrep
21589 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21590 wine_fn_config_makefile dlls/feclient enable_feclient
21591 wine_fn_config_makefile dlls/fltlib enable_fltlib
21592 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21593 wine_fn_config_makefile dlls/fntcache enable_fntcache
21594 wine_fn_config_makefile dlls/fontsub enable_fontsub
21595 wine_fn_config_makefile dlls/fusion enable_fusion
21596 wine_fn_config_makefile dlls/fusion/tests enable_tests
21597 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21598 wine_fn_config_makefile dlls/gameux enable_gameux
21599 wine_fn_config_makefile dlls/gameux/tests enable_tests
21600 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21601 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21602 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21603 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21604 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21605 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21606 wine_fn_config_makefile dlls/glu32 enable_glu32
21607 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21608 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21609 wine_fn_config_makefile dlls/hal enable_hal
21610 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21611 wine_fn_config_makefile dlls/hid enable_hid
21612 wine_fn_config_makefile dlls/hid/tests enable_tests
21613 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21614 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21615 wine_fn_config_makefile dlls/hlink enable_hlink
21616 wine_fn_config_makefile dlls/hlink/tests enable_tests
21617 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21618 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21619 wine_fn_config_makefile dlls/http.sys enable_http_sys
21620 wine_fn_config_makefile dlls/httpapi enable_httpapi
21621 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21622 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21623 wine_fn_config_makefile dlls/iccvid enable_iccvid
21624 wine_fn_config_makefile dlls/icmp enable_icmp
21625 wine_fn_config_makefile dlls/ieframe enable_ieframe
21626 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21627 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21628 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21629 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21630 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21631 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21632 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21633 wine_fn_config_makefile dlls/imm32 enable_imm32
21634 wine_fn_config_makefile dlls/imm32/tests enable_tests
21635 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21636 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21637 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21638 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21639 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21640 wine_fn_config_makefile dlls/infosoft enable_infosoft
21641 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21642 wine_fn_config_makefile dlls/initpki enable_initpki
21643 wine_fn_config_makefile dlls/inkobj enable_inkobj
21644 wine_fn_config_makefile dlls/inseng enable_inseng
21645 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21646 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21647 wine_fn_config_makefile dlls/iprop enable_iprop
21648 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21649 wine_fn_config_makefile dlls/itircl enable_itircl
21650 wine_fn_config_makefile dlls/itss enable_itss
21651 wine_fn_config_makefile dlls/itss/tests enable_tests
21652 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21653 wine_fn_config_makefile dlls/jscript enable_jscript
21654 wine_fn_config_makefile dlls/jscript/tests enable_tests
21655 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21656 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21657 wine_fn_config_makefile dlls/kerberos enable_kerberos
21658 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21659 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21660 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21661 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21662 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21663 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21664 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21665 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21666 wine_fn_config_makefile dlls/ksuser enable_ksuser
21667 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21668 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21669 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21670 wine_fn_config_makefile dlls/loadperf enable_loadperf
21671 wine_fn_config_makefile dlls/localspl enable_localspl
21672 wine_fn_config_makefile dlls/localspl/tests enable_tests
21673 wine_fn_config_makefile dlls/localui enable_localui
21674 wine_fn_config_makefile dlls/localui/tests enable_tests
21675 wine_fn_config_makefile dlls/lz32 enable_lz32
21676 wine_fn_config_makefile dlls/lz32/tests enable_tests
21677 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21678 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21679 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21680 wine_fn_config_makefile dlls/mapistub enable_mapistub
21681 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21682 wine_fn_config_makefile dlls/mcicda enable_mcicda
21683 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21684 wine_fn_config_makefile dlls/mciseq enable_mciseq
21685 wine_fn_config_makefile dlls/mciwave enable_mciwave
21686 wine_fn_config_makefile dlls/mf enable_mf
21687 wine_fn_config_makefile dlls/mf/tests enable_tests
21688 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21689 wine_fn_config_makefile dlls/mferror enable_mferror
21690 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21691 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21692 wine_fn_config_makefile dlls/mfplat enable_mfplat
21693 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21694 wine_fn_config_makefile dlls/mfplay enable_mfplay
21695 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21696 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21697 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21698 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21699 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21700 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21701 wine_fn_config_makefile dlls/midimap enable_midimap
21702 wine_fn_config_makefile dlls/mlang enable_mlang
21703 wine_fn_config_makefile dlls/mlang/tests enable_tests
21704 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21705 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21706 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21707 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21708 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21709 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21710 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21711 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21712 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21713 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21714 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21715 wine_fn_config_makefile dlls/mpr enable_mpr
21716 wine_fn_config_makefile dlls/mpr/tests enable_tests
21717 wine_fn_config_makefile dlls/mprapi enable_mprapi
21718 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21719 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21720 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21721 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21722 wine_fn_config_makefile dlls/msado15 enable_msado15
21723 wine_fn_config_makefile dlls/msado15/tests enable_tests
21724 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21725 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21726 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21727 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21728 wine_fn_config_makefile dlls/mscms enable_mscms
21729 wine_fn_config_makefile dlls/mscms/tests enable_tests
21730 wine_fn_config_makefile dlls/mscoree enable_mscoree
21731 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21732 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21733 wine_fn_config_makefile dlls/msctf enable_msctf
21734 wine_fn_config_makefile dlls/msctf/tests enable_tests
21735 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21736 wine_fn_config_makefile dlls/msctfp enable_msctfp
21737 wine_fn_config_makefile dlls/msdaps enable_msdaps
21738 wine_fn_config_makefile dlls/msdasql enable_msdasql
21739 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21740 wine_fn_config_makefile dlls/msdelta enable_msdelta
21741 wine_fn_config_makefile dlls/msdmo enable_msdmo
21742 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21743 wine_fn_config_makefile dlls/msdrm enable_msdrm
21744 wine_fn_config_makefile dlls/msftedit enable_msftedit
21745 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21746 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21747 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21748 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21749 wine_fn_config_makefile dlls/mshtml enable_mshtml
21750 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21751 wine_fn_config_makefile dlls/msi enable_msi
21752 wine_fn_config_makefile dlls/msi/tests enable_tests
21753 wine_fn_config_makefile dlls/msident enable_msident
21754 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21755 wine_fn_config_makefile dlls/msimsg enable_msimsg
21756 wine_fn_config_makefile dlls/msimtf enable_msimtf
21757 wine_fn_config_makefile dlls/msisip enable_msisip
21758 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21759 wine_fn_config_makefile dlls/msls31 enable_msls31
21760 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21761 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21762 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21763 wine_fn_config_makefile dlls/msports enable_msports
21764 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21765 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21766 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21767 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21768 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21769 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21770 wine_fn_config_makefile dlls/mstask enable_mstask
21771 wine_fn_config_makefile dlls/mstask/tests enable_tests
21772 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21773 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21774 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21775 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21776 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21777 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21778 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21779 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21780 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21781 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21782 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21783 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21784 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21785 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21786 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21787 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21788 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21789 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21790 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21791 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21792 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21793 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21794 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21795 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21796 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21797 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21798 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21799 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21800 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21801 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21802 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21803 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21804 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21805 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21806 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21807 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21808 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21809 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21810 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21811 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21812 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21813 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21814 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21815 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21816 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21817 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21818 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21819 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21820 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21821 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21822 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21823 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21824 wine_fn_config_makefile dlls/mswsock enable_mswsock
21825 wine_fn_config_makefile dlls/msxml enable_msxml
21826 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21827 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21828 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21829 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21830 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21831 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21832 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21833 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21834 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21835 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21836 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21837 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21838 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21839 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21840 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21841 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21842 wine_fn_config_makefile dlls/netprofm enable_netprofm
21843 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21844 wine_fn_config_makefile dlls/netutils enable_netutils
21845 wine_fn_config_makefile dlls/newdev enable_newdev
21846 wine_fn_config_makefile dlls/ninput enable_ninput
21847 wine_fn_config_makefile dlls/ninput/tests enable_tests
21848 wine_fn_config_makefile dlls/normaliz enable_normaliz
21849 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21850 wine_fn_config_makefile dlls/npptools enable_npptools
21851 wine_fn_config_makefile dlls/nsi enable_nsi
21852 wine_fn_config_makefile dlls/nsi/tests enable_tests
21853 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21854 wine_fn_config_makefile dlls/ntdll enable_ntdll
21855 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21856 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21857 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21858 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21859 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21860 wine_fn_config_makefile dlls/ntprint enable_ntprint
21861 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21862 wine_fn_config_makefile dlls/objsel enable_objsel
21863 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21864 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21865 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21866 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21867 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21868 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21869 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21870 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21871 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21872 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21873 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21874 wine_fn_config_makefile dlls/ole32 enable_ole32
21875 wine_fn_config_makefile dlls/ole32/tests enable_tests
21876 wine_fn_config_makefile dlls/oleacc enable_oleacc
21877 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21878 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21879 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21880 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21881 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21882 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21883 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21884 wine_fn_config_makefile dlls/oledlg enable_oledlg
21885 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21886 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21887 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21888 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21889 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21890 wine_fn_config_makefile dlls/opcservices enable_opcservices
21891 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21892 wine_fn_config_makefile dlls/openal32 enable_openal32
21893 wine_fn_config_makefile dlls/opencl enable_opencl
21894 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21895 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21896 wine_fn_config_makefile dlls/packager enable_packager
21897 wine_fn_config_makefile dlls/packager/tests enable_tests
21898 wine_fn_config_makefile dlls/pdh enable_pdh
21899 wine_fn_config_makefile dlls/pdh/tests enable_tests
21900 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21901 wine_fn_config_makefile dlls/pidgen enable_pidgen
21902 wine_fn_config_makefile dlls/powrprof enable_powrprof
21903 wine_fn_config_makefile dlls/printui enable_printui
21904 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21905 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21906 wine_fn_config_makefile dlls/propsys enable_propsys
21907 wine_fn_config_makefile dlls/propsys/tests enable_tests
21908 wine_fn_config_makefile dlls/psapi enable_psapi
21909 wine_fn_config_makefile dlls/psapi/tests enable_tests
21910 wine_fn_config_makefile dlls/pstorec enable_pstorec
21911 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21912 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21913 wine_fn_config_makefile dlls/qasf enable_qasf
21914 wine_fn_config_makefile dlls/qasf/tests enable_tests
21915 wine_fn_config_makefile dlls/qcap enable_qcap
21916 wine_fn_config_makefile dlls/qcap/tests enable_tests
21917 wine_fn_config_makefile dlls/qdvd enable_qdvd
21918 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21919 wine_fn_config_makefile dlls/qedit enable_qedit
21920 wine_fn_config_makefile dlls/qedit/tests enable_tests
21921 wine_fn_config_makefile dlls/qmgr enable_qmgr
21922 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21923 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21924 wine_fn_config_makefile dlls/quartz enable_quartz
21925 wine_fn_config_makefile dlls/quartz/tests enable_tests
21926 wine_fn_config_makefile dlls/query enable_query
21927 wine_fn_config_makefile dlls/qwave enable_qwave
21928 wine_fn_config_makefile dlls/qwave/tests enable_tests
21929 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21930 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21931 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21932 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21933 wine_fn_config_makefile dlls/regapi enable_regapi
21934 wine_fn_config_makefile dlls/resutils enable_resutils
21935 wine_fn_config_makefile dlls/riched20 enable_riched20
21936 wine_fn_config_makefile dlls/riched20/tests enable_tests
21937 wine_fn_config_makefile dlls/riched32 enable_riched32
21938 wine_fn_config_makefile dlls/riched32/tests enable_tests
21939 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21940 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21941 wine_fn_config_makefile dlls/rsabase enable_rsabase
21942 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21943 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21944 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21945 wine_fn_config_makefile dlls/rtutils enable_rtutils
21946 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21947 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21948 wine_fn_config_makefile dlls/samlib enable_samlib
21949 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21950 wine_fn_config_makefile dlls/sapi enable_sapi
21951 wine_fn_config_makefile dlls/sapi/tests enable_tests
21952 wine_fn_config_makefile dlls/sas enable_sas
21953 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21954 wine_fn_config_makefile dlls/sccbase enable_sccbase
21955 wine_fn_config_makefile dlls/schannel enable_schannel
21956 wine_fn_config_makefile dlls/schannel/tests enable_tests
21957 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21958 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21959 wine_fn_config_makefile dlls/scrobj enable_scrobj
21960 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21961 wine_fn_config_makefile dlls/scrrun enable_scrrun
21962 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21963 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21964 wine_fn_config_makefile dlls/sechost enable_sechost
21965 wine_fn_config_makefile dlls/secur32 enable_secur32
21966 wine_fn_config_makefile dlls/secur32/tests enable_tests
21967 wine_fn_config_makefile dlls/security enable_security
21968 wine_fn_config_makefile dlls/sensapi enable_sensapi
21969 wine_fn_config_makefile dlls/serialui enable_serialui
21970 wine_fn_config_makefile dlls/serialui/tests enable_tests
21971 wine_fn_config_makefile dlls/setupapi enable_setupapi
21972 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21973 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21974 wine_fn_config_makefile dlls/sfc enable_sfc
21975 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21976 wine_fn_config_makefile dlls/shcore enable_shcore
21977 wine_fn_config_makefile dlls/shcore/tests enable_tests
21978 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21979 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21980 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21981 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21982 wine_fn_config_makefile dlls/shell32 enable_shell32
21983 wine_fn_config_makefile dlls/shell32/tests enable_tests
21984 wine_fn_config_makefile dlls/shfolder enable_shfolder
21985 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21986 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21987 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21988 wine_fn_config_makefile dlls/slc enable_slc
21989 wine_fn_config_makefile dlls/slc/tests enable_tests
21990 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21991 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21992 wine_fn_config_makefile dlls/softpub enable_softpub
21993 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21994 wine_fn_config_makefile dlls/spoolss enable_spoolss
21995 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21996 wine_fn_config_makefile dlls/sppc enable_sppc
21997 wine_fn_config_makefile dlls/srclient enable_srclient
21998 wine_fn_config_makefile dlls/srvcli enable_srvcli
21999 wine_fn_config_makefile dlls/sspicli enable_sspicli
22000 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22001 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22002 wine_fn_config_makefile dlls/sti enable_sti
22003 wine_fn_config_makefile dlls/sti/tests enable_tests
22004 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22005 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22006 wine_fn_config_makefile dlls/strmdll enable_strmdll
22007 wine_fn_config_makefile dlls/svrapi enable_svrapi
22008 wine_fn_config_makefile dlls/sxs enable_sxs
22009 wine_fn_config_makefile dlls/sxs/tests enable_tests
22010 wine_fn_config_makefile dlls/system.drv16 enable_win16
22011 wine_fn_config_makefile dlls/t2embed enable_t2embed
22012 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22013 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22014 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22015 wine_fn_config_makefile dlls/taskschd enable_taskschd
22016 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22017 wine_fn_config_makefile dlls/tbs enable_tbs
22018 wine_fn_config_makefile dlls/tdh enable_tdh
22019 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22020 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22021 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22022 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22023 wine_fn_config_makefile dlls/traffic enable_traffic
22024 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22025 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22026 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22027 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22028 wine_fn_config_makefile dlls/tzres enable_tzres
22029 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22030 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22031 wine_fn_config_makefile dlls/uianimation enable_uianimation
22032 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22033 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22034 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22035 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22036 wine_fn_config_makefile dlls/unicows enable_unicows
22037 wine_fn_config_makefile dlls/updspapi enable_updspapi
22038 wine_fn_config_makefile dlls/url enable_url
22039 wine_fn_config_makefile dlls/urlmon enable_urlmon
22040 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22041 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22042 wine_fn_config_makefile dlls/user.exe16 enable_win16
22043 wine_fn_config_makefile dlls/user32 enable_user32
22044 wine_fn_config_makefile dlls/user32/tests enable_tests
22045 wine_fn_config_makefile dlls/userenv enable_userenv
22046 wine_fn_config_makefile dlls/userenv/tests enable_tests
22047 wine_fn_config_makefile dlls/usp10 enable_usp10
22048 wine_fn_config_makefile dlls/usp10/tests enable_tests
22049 wine_fn_config_makefile dlls/utildll enable_utildll
22050 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22051 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22052 wine_fn_config_makefile dlls/vbscript enable_vbscript
22053 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22054 wine_fn_config_makefile dlls/vcomp enable_vcomp
22055 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22056 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22057 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22058 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22059 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22060 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22061 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22062 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22063 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22064 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22065 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22066 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22067 wine_fn_config_makefile dlls/version enable_version
22068 wine_fn_config_makefile dlls/version/tests enable_tests
22069 wine_fn_config_makefile dlls/vga enable_vga
22070 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22071 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22072 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22073 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22074 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22075 wine_fn_config_makefile dlls/vssapi enable_vssapi
22076 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22077 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22078 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22079 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22080 wine_fn_config_makefile dlls/w32skrnl enable_win16
22081 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22082 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22083 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22084 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22085 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22086 wine_fn_config_makefile dlls/wdscore enable_wdscore
22087 wine_fn_config_makefile dlls/webservices enable_webservices
22088 wine_fn_config_makefile dlls/webservices/tests enable_tests
22089 wine_fn_config_makefile dlls/websocket enable_websocket
22090 wine_fn_config_makefile dlls/wer enable_wer
22091 wine_fn_config_makefile dlls/wer/tests enable_tests
22092 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22093 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22094 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22095 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22096 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22097 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22098 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22099 wine_fn_config_makefile dlls/win32u enable_win32u
22100 wine_fn_config_makefile dlls/win32u/tests enable_tests
22101 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22102 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22103 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22104 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22105 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22106 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22107 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22108 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22109 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22110 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22111 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22112 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22113 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22114 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22115 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22116 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22117 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22118 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22119 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22120 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22121 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22122 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22123 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22124 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22125 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22126 wine_fn_config_makefile dlls/wined3d enable_wined3d
22127 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22128 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22129 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22130 wine_fn_config_makefile dlls/winemapi enable_winemapi
22131 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22132 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22133 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22134 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22135 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22136 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22137 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22138 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22139 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22140 wine_fn_config_makefile dlls/wing32 enable_wing32
22141 wine_fn_config_makefile dlls/winhttp enable_winhttp
22142 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22143 wine_fn_config_makefile dlls/wininet enable_wininet
22144 wine_fn_config_makefile dlls/wininet/tests enable_tests
22145 wine_fn_config_makefile dlls/winmm enable_winmm
22146 wine_fn_config_makefile dlls/winmm/tests enable_tests
22147 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22148 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22149 wine_fn_config_makefile dlls/winscard enable_winscard
22150 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22151 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22152 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22153 wine_fn_config_makefile dlls/winsta enable_winsta
22154 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22155 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22156 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22157 wine_fn_config_makefile dlls/wintrust enable_wintrust
22158 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22159 wine_fn_config_makefile dlls/wintypes enable_wintypes
22160 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22161 wine_fn_config_makefile dlls/winusb enable_winusb
22162 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22163 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22164 wine_fn_config_makefile dlls/wlanui enable_wlanui
22165 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22166 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22167 wine_fn_config_makefile dlls/wmasf enable_wmasf
22168 wine_fn_config_makefile dlls/wmi enable_wmi
22169 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22170 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22171 wine_fn_config_makefile dlls/wmp enable_wmp
22172 wine_fn_config_makefile dlls/wmp/tests enable_tests
22173 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22174 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22175 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22176 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22177 wine_fn_config_makefile dlls/wow32 enable_win16
22178 wine_fn_config_makefile dlls/wow64 enable_wow64
22179 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22180 wine_fn_config_makefile dlls/wow64win enable_wow64win
22181 wine_fn_config_makefile dlls/wpc enable_wpc
22182 wine_fn_config_makefile dlls/wpc/tests enable_tests
22183 wine_fn_config_makefile dlls/wpcap enable_wpcap
22184 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22185 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22186 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22187 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22188 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22189 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22190 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22191 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22192 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22193 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22194 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22195 wine_fn_config_makefile dlls/wuapi enable_wuapi
22196 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22197 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22198 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22199 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22200 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22201 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22202 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22203 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22204 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22205 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22206 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22207 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22208 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22209 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22210 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22211 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22212 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22213 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22214 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22215 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22216 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22217 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22218 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22219 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22220 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22221 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22222 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22223 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22224 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22225 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22226 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22227 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22228 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22229 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22230 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22231 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22232 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22233 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22234 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22235 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22236 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22237 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22238 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22239 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22240 wine_fn_config_makefile dlls/xmllite enable_xmllite
22241 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22242 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22243 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22244 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22245 wine_fn_config_makefile fonts enable_fonts
22246 wine_fn_config_makefile include enable_include
22247 wine_fn_config_makefile libs/adsiid enable_adsiid
22248 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22249 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22250 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22251 wine_fn_config_makefile libs/dxguid enable_dxguid
22252 wine_fn_config_makefile libs/faudio enable_faudio
22253 wine_fn_config_makefile libs/gsm enable_gsm
22254 wine_fn_config_makefile libs/jpeg enable_jpeg
22255 wine_fn_config_makefile libs/jxr enable_jxr
22256 wine_fn_config_makefile libs/lcms2 enable_lcms2
22257 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22258 wine_fn_config_makefile libs/mpg123 enable_mpg123
22259 wine_fn_config_makefile libs/png enable_png
22260 wine_fn_config_makefile libs/strmbase enable_strmbase
22261 wine_fn_config_makefile libs/strmiids enable_strmiids
22262 wine_fn_config_makefile libs/tiff enable_tiff
22263 wine_fn_config_makefile libs/uuid enable_uuid
22264 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22265 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22266 wine_fn_config_makefile libs/wine enable_wine
22267 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22268 wine_fn_config_makefile libs/xml2 enable_xml2
22269 wine_fn_config_makefile libs/xslt enable_xslt
22270 wine_fn_config_makefile libs/zlib enable_zlib
22271 wine_fn_config_makefile loader enable_loader
22272 wine_fn_config_makefile nls enable_nls
22273 wine_fn_config_makefile po enable_po
22274 wine_fn_config_makefile programs/arp enable_arp
22275 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22276 wine_fn_config_makefile programs/attrib enable_attrib
22277 wine_fn_config_makefile programs/cabarc enable_cabarc
22278 wine_fn_config_makefile programs/cacls enable_cacls
22279 wine_fn_config_makefile programs/certutil enable_certutil
22280 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22281 wine_fn_config_makefile programs/clock enable_clock
22282 wine_fn_config_makefile programs/cmd enable_cmd
22283 wine_fn_config_makefile programs/cmd/tests enable_tests
22284 wine_fn_config_makefile programs/conhost enable_conhost
22285 wine_fn_config_makefile programs/conhost/tests enable_tests
22286 wine_fn_config_makefile programs/control enable_control
22287 wine_fn_config_makefile programs/cscript enable_cscript
22288 wine_fn_config_makefile programs/dism enable_dism
22289 wine_fn_config_makefile programs/dllhost enable_dllhost
22290 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22291 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22292 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22293 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22294 wine_fn_config_makefile programs/eject enable_eject
22295 wine_fn_config_makefile programs/expand enable_expand
22296 wine_fn_config_makefile programs/explorer enable_explorer
22297 wine_fn_config_makefile programs/extrac32 enable_extrac32
22298 wine_fn_config_makefile programs/fc enable_fc
22299 wine_fn_config_makefile programs/find enable_find
22300 wine_fn_config_makefile programs/find/tests enable_tests
22301 wine_fn_config_makefile programs/findstr enable_findstr
22302 wine_fn_config_makefile programs/fsutil enable_fsutil
22303 wine_fn_config_makefile programs/fsutil/tests enable_tests
22304 wine_fn_config_makefile programs/hh enable_hh
22305 wine_fn_config_makefile programs/hostname enable_hostname
22306 wine_fn_config_makefile programs/icacls enable_icacls
22307 wine_fn_config_makefile programs/icinfo enable_icinfo
22308 wine_fn_config_makefile programs/iexplore enable_iexplore
22309 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22310 wine_fn_config_makefile programs/lodctr enable_lodctr
22311 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22312 wine_fn_config_makefile programs/mshta enable_mshta
22313 wine_fn_config_makefile programs/msidb enable_msidb
22314 wine_fn_config_makefile programs/msiexec enable_msiexec
22315 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22316 wine_fn_config_makefile programs/net enable_net
22317 wine_fn_config_makefile programs/netsh enable_netsh
22318 wine_fn_config_makefile programs/netstat enable_netstat
22319 wine_fn_config_makefile programs/ngen enable_ngen
22320 wine_fn_config_makefile programs/notepad enable_notepad
22321 wine_fn_config_makefile programs/oleview enable_oleview
22322 wine_fn_config_makefile programs/ping enable_ping
22323 wine_fn_config_makefile programs/plugplay enable_plugplay
22324 wine_fn_config_makefile programs/powershell enable_powershell
22325 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22326 wine_fn_config_makefile programs/progman enable_progman
22327 wine_fn_config_makefile programs/reg enable_reg
22328 wine_fn_config_makefile programs/reg/tests enable_tests
22329 wine_fn_config_makefile programs/regasm enable_regasm
22330 wine_fn_config_makefile programs/regedit enable_regedit
22331 wine_fn_config_makefile programs/regedit/tests enable_tests
22332 wine_fn_config_makefile programs/regini enable_regini
22333 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22334 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22335 wine_fn_config_makefile programs/robocopy enable_robocopy
22336 wine_fn_config_makefile programs/rpcss enable_rpcss
22337 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22338 wine_fn_config_makefile programs/rundll32 enable_rundll32
22339 wine_fn_config_makefile programs/sc enable_sc
22340 wine_fn_config_makefile programs/sc/tests enable_tests
22341 wine_fn_config_makefile programs/schtasks enable_schtasks
22342 wine_fn_config_makefile programs/schtasks/tests enable_tests
22343 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22344 wine_fn_config_makefile programs/secedit enable_secedit
22345 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22346 wine_fn_config_makefile programs/services enable_services
22347 wine_fn_config_makefile programs/services/tests enable_tests
22348 wine_fn_config_makefile programs/setx enable_setx
22349 wine_fn_config_makefile programs/shutdown enable_shutdown
22350 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22351 wine_fn_config_makefile programs/start enable_start
22352 wine_fn_config_makefile programs/subst enable_subst
22353 wine_fn_config_makefile programs/svchost enable_svchost
22354 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22355 wine_fn_config_makefile programs/taskkill enable_taskkill
22356 wine_fn_config_makefile programs/tasklist enable_tasklist
22357 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22358 wine_fn_config_makefile programs/termsv enable_termsv
22359 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22360 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22361 wine_fn_config_makefile programs/view enable_view
22362 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22363 wine_fn_config_makefile programs/where enable_where
22364 wine_fn_config_makefile programs/whoami enable_whoami
22365 wine_fn_config_makefile programs/wineboot enable_wineboot
22366 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22367 wine_fn_config_makefile programs/winecfg enable_winecfg
22368 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22369 wine_fn_config_makefile programs/winedbg enable_winedbg
22370 wine_fn_config_makefile programs/winedevice enable_winedevice
22371 wine_fn_config_makefile programs/winefile enable_winefile
22372 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22373 wine_fn_config_makefile programs/winemine enable_winemine
22374 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22375 wine_fn_config_makefile programs/winepath enable_winepath
22376 wine_fn_config_makefile programs/winetest enable_winetest
22377 wine_fn_config_makefile programs/winevdm enable_win16
22378 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22379 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22380 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22381 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22382 wine_fn_config_makefile programs/winver enable_winver
22383 wine_fn_config_makefile programs/wmic enable_wmic
22384 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22385 wine_fn_config_makefile programs/wordpad enable_wordpad
22386 wine_fn_config_makefile programs/write enable_write
22387 wine_fn_config_makefile programs/wscript enable_wscript
22388 wine_fn_config_makefile programs/wscript/tests enable_tests
22389 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22390 wine_fn_config_makefile programs/wusa enable_wusa
22391 wine_fn_config_makefile programs/xcopy enable_xcopy
22392 wine_fn_config_makefile programs/xcopy/tests enable_tests
22393 wine_fn_config_makefile server enable_server
22394 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22395 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22396 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22397 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22398 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22399 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22400 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22401 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22402 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22405 as_fn_append CONFIGURE_TARGETS " TAGS"
22406 as_fn_append CONFIGURE_TARGETS " tags"
22407 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22408 as_fn_append CONFIGURE_TARGETS " config.log"
22409 as_fn_append CONFIGURE_TARGETS " config.status"
22410 as_fn_append CONFIGURE_TARGETS " include/config.h"
22411 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22412 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22414 if test "x$enable_tools" != xno
22415 then
22416 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22417 ac_config_commands="$ac_config_commands tools/makedep"
22421 ac_config_commands="$ac_config_commands Makefile"
22425 SHELL=/bin/sh
22428 as_fn_append wine_rules "
22429 all: wine
22430 @echo \"Wine build complete.\"
22431 .INIT: Makefile
22432 .MAKEFILEDEPS:
22433 all: Makefile
22434 Makefile: config.status \$(MAKEDEP)
22435 @./config.status Makefile
22436 depend: \$(MAKEDEP)
22437 \$(MAKEDEP)$makedep_flags"
22440 as_fn_append wine_rules "
22441 config.status: ${wine_srcdir}configure
22442 @./config.status --recheck
22443 include/config.h: include/stamp-h
22444 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22445 @./config.status include/config.h include/stamp-h"
22447 if test "x$enable_maintainer_mode" = xyes
22448 then
22449 as_fn_append wine_rules "
22450 configure: configure.ac aclocal.m4
22451 autoconf --warnings=all
22452 include/config.h.in: include/stamp-h.in
22453 include/stamp-h.in: configure.ac aclocal.m4
22454 autoheader --warnings=all
22455 @echo timestamp > \$@"
22458 if test "x$enable_tools" != xno
22459 then
22460 as_fn_append wine_rules "
22461 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22462 @./config.status tools/makedep
22463 Makefile: tools/makedep$ac_exeext"
22464 else
22465 as_fn_append wine_rules "
22466 \$(MAKEDEP):
22467 @echo \"You need to run make in $toolsdir first\" && false"
22471 if test -n "$with_wine64"
22472 then
22473 case "$with_wine64" in
22474 /*) reldir="" ;;
22475 *) reldir="../" ;;
22476 esac
22477 rm -f fonts server 2>/dev/null
22478 as_fn_append wine_rules "
22479 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22480 loader/wine64 loader/wine64-preloader:
22481 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22482 $with_wine64/loader/wine:
22483 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22484 $with_wine64/loader/wine-preloader:
22485 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22486 clean::
22487 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22488 else
22489 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22490 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22491 fonts \
22492 loader/wine.inf \
22493 nls \
22494 programs/msidb/msidb \
22495 programs/msiexec/msiexec \
22496 programs/notepad/notepad \
22497 programs/regedit/regedit \
22498 programs/regsvr32/regsvr32 \
22499 programs/wineboot/wineboot \
22500 programs/winecfg/winecfg \
22501 programs/wineconsole/wineconsole \
22502 programs/winedbg/winedbg \
22503 programs/winefile/winefile \
22504 programs/winemine/winemine \
22505 programs/winepath/winepath \
22506 server/wineserver"
22508 case $host_os in
22509 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22510 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22511 esac
22515 as_fn_append wine_rules "
22516 distclean:: clean
22517 rm -rf autom4te.cache
22518 maintainer-clean::
22519 rm -f configure include/config.h.in"
22522 as_fn_append wine_rules "
22523 dlls/ntdll/unix/version.c: dummy
22524 @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)
22525 programs/winetest/build.rc: dummy
22526 @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)
22527 programs/winetest/build.nfo:
22528 @-\$(CC) -v 2>\$@
22529 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
22530 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22531 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22534 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22536 as_fn_append wine_rules "
22537 TAGS etags:
22538 rm -f TAGS
22539 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22540 tags ctags:
22541 rm -f tags
22542 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22543 dummy:
22544 .PHONY: depend dummy install-manpages"
22546 printf "%s\n" " done" >&6
22547 cat >confcache <<\_ACEOF
22548 # This file is a shell script that caches the results of configure
22549 # tests run on this system so they can be shared between configure
22550 # scripts and configure runs, see configure's option --config-cache.
22551 # It is not useful on other systems. If it contains results you don't
22552 # want to keep, you may remove or edit it.
22554 # config.status only pays attention to the cache file if you give it
22555 # the --recheck option to rerun configure.
22557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22559 # following values.
22561 _ACEOF
22563 # The following way of writing the cache mishandles newlines in values,
22564 # but we know of no workaround that is simple, portable, and efficient.
22565 # So, we kill variables containing newlines.
22566 # Ultrix sh set writes to stderr and can't be redirected directly,
22567 # and sets the high bit in the cache file unless we assign to the vars.
22569 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22570 eval ac_val=\$$ac_var
22571 case $ac_val in #(
22572 *${as_nl}*)
22573 case $ac_var in #(
22574 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22575 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22576 esac
22577 case $ac_var in #(
22578 _ | IFS | as_nl) ;; #(
22579 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22580 *) { eval $ac_var=; unset $ac_var;} ;;
22581 esac ;;
22582 esac
22583 done
22585 (set) 2>&1 |
22586 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22587 *${as_nl}ac_space=\ *)
22588 # `set' does not quote correctly, so add quotes: double-quote
22589 # substitution turns \\\\ into \\, and sed turns \\ into \.
22590 sed -n \
22591 "s/'/'\\\\''/g;
22592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22593 ;; #(
22595 # `set' quotes correctly as required by POSIX, so do not add quotes.
22596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22598 esac |
22599 sort
22601 sed '
22602 /^ac_cv_env_/b end
22603 t clear
22604 :clear
22605 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22606 t end
22607 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22608 :end' >>confcache
22609 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22610 if test -w "$cache_file"; then
22611 if test "x$cache_file" != "x/dev/null"; then
22612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22613 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22614 if test ! -f "$cache_file" || test -h "$cache_file"; then
22615 cat confcache >"$cache_file"
22616 else
22617 case $cache_file in #(
22618 */* | ?:*)
22619 mv -f confcache "$cache_file"$$ &&
22620 mv -f "$cache_file"$$ "$cache_file" ;; #(
22622 mv -f confcache "$cache_file" ;;
22623 esac
22626 else
22627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22628 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22631 rm -f confcache
22633 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22634 # Let make expand exec_prefix.
22635 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22637 DEFS=-DHAVE_CONFIG_H
22639 ac_libobjs=
22640 ac_ltlibobjs=
22642 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22643 # 1. Remove the extension, and $U if already installed.
22644 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22645 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22646 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22647 # will be set to the directory where LIBOBJS objects are built.
22648 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22649 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22650 done
22651 LIBOBJS=$ac_libobjs
22653 LTLIBOBJS=$ac_ltlibobjs
22657 : "${CONFIG_STATUS=./config.status}"
22658 ac_write_fail=0
22659 ac_clean_files_save=$ac_clean_files
22660 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22662 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22663 as_write_fail=0
22664 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22665 #! $SHELL
22666 # Generated by $as_me.
22667 # Run this file to recreate the current configuration.
22668 # Compiler output produced by configure, useful for debugging
22669 # configure, is in config.log if it exists.
22671 debug=false
22672 ac_cs_recheck=false
22673 ac_cs_silent=false
22675 SHELL=\${CONFIG_SHELL-$SHELL}
22676 export SHELL
22677 _ASEOF
22678 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22679 ## -------------------- ##
22680 ## M4sh Initialization. ##
22681 ## -------------------- ##
22683 # Be more Bourne compatible
22684 DUALCASE=1; export DUALCASE # for MKS sh
22685 as_nop=:
22686 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22687 then :
22688 emulate sh
22689 NULLCMD=:
22690 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22691 # is contrary to our usage. Disable this feature.
22692 alias -g '${1+"$@"}'='"$@"'
22693 setopt NO_GLOB_SUBST
22694 else $as_nop
22695 case `(set -o) 2>/dev/null` in #(
22696 *posix*) :
22697 set -o posix ;; #(
22698 *) :
22700 esac
22705 # Reset variables that may have inherited troublesome values from
22706 # the environment.
22708 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22709 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22710 # side effect of setting IFS to empty, thus disabling word splitting.)
22711 # Quoting is to prevent editors from complaining about space-tab.
22712 as_nl='
22714 export as_nl
22715 IFS=" "" $as_nl"
22717 PS1='$ '
22718 PS2='> '
22719 PS4='+ '
22721 # Ensure predictable behavior from utilities with locale-dependent output.
22722 LC_ALL=C
22723 export LC_ALL
22724 LANGUAGE=C
22725 export LANGUAGE
22727 # We cannot yet rely on "unset" to work, but we need these variables
22728 # to be unset--not just set to an empty or harmless value--now, to
22729 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22730 # also avoids known problems related to "unset" and subshell syntax
22731 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22732 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22733 do eval test \${$as_var+y} \
22734 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22735 done
22737 # Ensure that fds 0, 1, and 2 are open.
22738 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22739 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22740 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22742 # The user is always right.
22743 if ${PATH_SEPARATOR+false} :; then
22744 PATH_SEPARATOR=:
22745 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22746 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22747 PATH_SEPARATOR=';'
22752 # Find who we are. Look in the path if we contain no directory separator.
22753 as_myself=
22754 case $0 in #((
22755 *[\\/]* ) as_myself=$0 ;;
22756 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22757 for as_dir in $PATH
22759 IFS=$as_save_IFS
22760 case $as_dir in #(((
22761 '') as_dir=./ ;;
22762 */) ;;
22763 *) as_dir=$as_dir/ ;;
22764 esac
22765 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22766 done
22767 IFS=$as_save_IFS
22770 esac
22771 # We did not find ourselves, most probably we were run as `sh COMMAND'
22772 # in which case we are not to be found in the path.
22773 if test "x$as_myself" = x; then
22774 as_myself=$0
22776 if test ! -f "$as_myself"; then
22777 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22778 exit 1
22783 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22784 # ----------------------------------------
22785 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22786 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22787 # script with STATUS, using 1 if that was 0.
22788 as_fn_error ()
22790 as_status=$1; test $as_status -eq 0 && as_status=1
22791 if test "$4"; then
22792 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22795 printf "%s\n" "$as_me: error: $2" >&2
22796 as_fn_exit $as_status
22797 } # as_fn_error
22801 # as_fn_set_status STATUS
22802 # -----------------------
22803 # Set $? to STATUS, without forking.
22804 as_fn_set_status ()
22806 return $1
22807 } # as_fn_set_status
22809 # as_fn_exit STATUS
22810 # -----------------
22811 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22812 as_fn_exit ()
22814 set +e
22815 as_fn_set_status $1
22816 exit $1
22817 } # as_fn_exit
22819 # as_fn_unset VAR
22820 # ---------------
22821 # Portably unset VAR.
22822 as_fn_unset ()
22824 { eval $1=; unset $1;}
22826 as_unset=as_fn_unset
22828 # as_fn_append VAR VALUE
22829 # ----------------------
22830 # Append the text in VALUE to the end of the definition contained in VAR. Take
22831 # advantage of any shell optimizations that allow amortized linear growth over
22832 # repeated appends, instead of the typical quadratic growth present in naive
22833 # implementations.
22834 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22835 then :
22836 eval 'as_fn_append ()
22838 eval $1+=\$2
22840 else $as_nop
22841 as_fn_append ()
22843 eval $1=\$$1\$2
22845 fi # as_fn_append
22847 # as_fn_arith ARG...
22848 # ------------------
22849 # Perform arithmetic evaluation on the ARGs, and store the result in the
22850 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22851 # must be portable across $(()) and expr.
22852 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22853 then :
22854 eval 'as_fn_arith ()
22856 as_val=$(( $* ))
22858 else $as_nop
22859 as_fn_arith ()
22861 as_val=`expr "$@" || test $? -eq 1`
22863 fi # as_fn_arith
22866 if expr a : '\(a\)' >/dev/null 2>&1 &&
22867 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22868 as_expr=expr
22869 else
22870 as_expr=false
22873 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22874 as_basename=basename
22875 else
22876 as_basename=false
22879 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22880 as_dirname=dirname
22881 else
22882 as_dirname=false
22885 as_me=`$as_basename -- "$0" ||
22886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22887 X"$0" : 'X\(//\)$' \| \
22888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22889 printf "%s\n" X/"$0" |
22890 sed '/^.*\/\([^/][^/]*\)\/*$/{
22891 s//\1/
22894 /^X\/\(\/\/\)$/{
22895 s//\1/
22898 /^X\/\(\/\).*/{
22899 s//\1/
22902 s/.*/./; q'`
22904 # Avoid depending upon Character Ranges.
22905 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22906 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22907 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22908 as_cr_digits='0123456789'
22909 as_cr_alnum=$as_cr_Letters$as_cr_digits
22912 # Determine whether it's possible to make 'echo' print without a newline.
22913 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22914 # for compatibility with existing Makefiles.
22915 ECHO_C= ECHO_N= ECHO_T=
22916 case `echo -n x` in #(((((
22917 -n*)
22918 case `echo 'xy\c'` in
22919 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22920 xy) ECHO_C='\c';;
22921 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22922 ECHO_T=' ';;
22923 esac;;
22925 ECHO_N='-n';;
22926 esac
22928 # For backward compatibility with old third-party macros, we provide
22929 # the shell variables $as_echo and $as_echo_n. New code should use
22930 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22931 as_echo='printf %s\n'
22932 as_echo_n='printf %s'
22934 rm -f conf$$ conf$$.exe conf$$.file
22935 if test -d conf$$.dir; then
22936 rm -f conf$$.dir/conf$$.file
22937 else
22938 rm -f conf$$.dir
22939 mkdir conf$$.dir 2>/dev/null
22941 if (echo >conf$$.file) 2>/dev/null; then
22942 if ln -s conf$$.file conf$$ 2>/dev/null; then
22943 as_ln_s='ln -s'
22944 # ... but there are two gotchas:
22945 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22946 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22947 # In both cases, we have to default to `cp -pR'.
22948 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22949 as_ln_s='cp -pR'
22950 elif ln conf$$.file conf$$ 2>/dev/null; then
22951 as_ln_s=ln
22952 else
22953 as_ln_s='cp -pR'
22955 else
22956 as_ln_s='cp -pR'
22958 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22959 rmdir conf$$.dir 2>/dev/null
22962 # as_fn_mkdir_p
22963 # -------------
22964 # Create "$as_dir" as a directory, including parents if necessary.
22965 as_fn_mkdir_p ()
22968 case $as_dir in #(
22969 -*) as_dir=./$as_dir;;
22970 esac
22971 test -d "$as_dir" || eval $as_mkdir_p || {
22972 as_dirs=
22973 while :; do
22974 case $as_dir in #(
22975 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22976 *) as_qdir=$as_dir;;
22977 esac
22978 as_dirs="'$as_qdir' $as_dirs"
22979 as_dir=`$as_dirname -- "$as_dir" ||
22980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22981 X"$as_dir" : 'X\(//\)[^/]' \| \
22982 X"$as_dir" : 'X\(//\)$' \| \
22983 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22984 printf "%s\n" X"$as_dir" |
22985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22986 s//\1/
22989 /^X\(\/\/\)[^/].*/{
22990 s//\1/
22993 /^X\(\/\/\)$/{
22994 s//\1/
22997 /^X\(\/\).*/{
22998 s//\1/
23001 s/.*/./; q'`
23002 test -d "$as_dir" && break
23003 done
23004 test -z "$as_dirs" || eval "mkdir $as_dirs"
23005 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23008 } # as_fn_mkdir_p
23009 if mkdir -p . 2>/dev/null; then
23010 as_mkdir_p='mkdir -p "$as_dir"'
23011 else
23012 test -d ./-p && rmdir ./-p
23013 as_mkdir_p=false
23017 # as_fn_executable_p FILE
23018 # -----------------------
23019 # Test if FILE is an executable regular file.
23020 as_fn_executable_p ()
23022 test -f "$1" && test -x "$1"
23023 } # as_fn_executable_p
23024 as_test_x='test -x'
23025 as_executable_p=as_fn_executable_p
23027 # Sed expression to map a string onto a valid CPP name.
23028 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23030 # Sed expression to map a string onto a valid variable name.
23031 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23034 exec 6>&1
23035 ## ----------------------------------- ##
23036 ## Main body of $CONFIG_STATUS script. ##
23037 ## ----------------------------------- ##
23038 _ASEOF
23039 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23042 # Save the log message, to keep $0 and so on meaningful, and to
23043 # report actual input values of CONFIG_FILES etc. instead of their
23044 # values after options handling.
23045 ac_log="
23046 This file was extended by Wine $as_me 7.20, which was
23047 generated by GNU Autoconf 2.71. Invocation command line was
23049 CONFIG_FILES = $CONFIG_FILES
23050 CONFIG_HEADERS = $CONFIG_HEADERS
23051 CONFIG_LINKS = $CONFIG_LINKS
23052 CONFIG_COMMANDS = $CONFIG_COMMANDS
23053 $ $0 $@
23055 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23058 _ACEOF
23061 case $ac_config_headers in *"
23062 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23063 esac
23066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23067 # Files that config.status was made for.
23068 config_headers="$ac_config_headers"
23069 config_links="$ac_config_links"
23070 config_commands="$ac_config_commands"
23072 _ACEOF
23074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23075 ac_cs_usage="\
23076 \`$as_me' instantiates files and other configuration actions
23077 from templates according to the current configuration. Unless the files
23078 and actions are specified as TAGs, all are instantiated by default.
23080 Usage: $0 [OPTION]... [TAG]...
23082 -h, --help print this help, then exit
23083 -V, --version print version number and configuration settings, then exit
23084 --config print configuration, then exit
23085 -q, --quiet, --silent
23086 do not print progress messages
23087 -d, --debug don't remove temporary files
23088 --recheck update $as_me by reconfiguring in the same conditions
23089 --header=FILE[:TEMPLATE]
23090 instantiate the configuration header FILE
23092 Configuration headers:
23093 $config_headers
23095 Configuration links:
23096 $config_links
23098 Configuration commands:
23099 $config_commands
23101 Report bugs to <wine-devel@winehq.org>.
23102 Wine home page: <https://www.winehq.org>."
23104 _ACEOF
23105 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23106 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23108 ac_cs_config='$ac_cs_config_escaped'
23109 ac_cs_version="\\
23110 Wine config.status 7.20
23111 configured by $0, generated by GNU Autoconf 2.71,
23112 with options \\"\$ac_cs_config\\"
23114 Copyright (C) 2021 Free Software Foundation, Inc.
23115 This config.status script is free software; the Free Software Foundation
23116 gives unlimited permission to copy, distribute and modify it."
23118 ac_pwd='$ac_pwd'
23119 srcdir='$srcdir'
23120 test -n "\$AWK" || AWK=awk
23121 _ACEOF
23123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23124 # The default lists apply if the user does not specify any file.
23125 ac_need_defaults=:
23126 while test $# != 0
23128 case $1 in
23129 --*=?*)
23130 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23131 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23132 ac_shift=:
23134 --*=)
23135 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23136 ac_optarg=
23137 ac_shift=:
23140 ac_option=$1
23141 ac_optarg=$2
23142 ac_shift=shift
23144 esac
23146 case $ac_option in
23147 # Handling of the options.
23148 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23149 ac_cs_recheck=: ;;
23150 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23151 printf "%s\n" "$ac_cs_version"; exit ;;
23152 --config | --confi | --conf | --con | --co | --c )
23153 printf "%s\n" "$ac_cs_config"; exit ;;
23154 --debug | --debu | --deb | --de | --d | -d )
23155 debug=: ;;
23156 --header | --heade | --head | --hea )
23157 $ac_shift
23158 case $ac_optarg in
23159 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23160 esac
23161 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23162 ac_need_defaults=false;;
23163 --he | --h)
23164 # Conflict between --help and --header
23165 as_fn_error $? "ambiguous option: \`$1'
23166 Try \`$0 --help' for more information.";;
23167 --help | --hel | -h )
23168 printf "%s\n" "$ac_cs_usage"; exit ;;
23169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23170 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23171 ac_cs_silent=: ;;
23173 # This is an error.
23174 -*) as_fn_error $? "unrecognized option: \`$1'
23175 Try \`$0 --help' for more information." ;;
23177 *) as_fn_append ac_config_targets " $1"
23178 ac_need_defaults=false ;;
23180 esac
23181 shift
23182 done
23184 ac_configure_extra_args=
23186 if $ac_cs_silent; then
23187 exec 6>/dev/null
23188 ac_configure_extra_args="$ac_configure_extra_args --silent"
23191 _ACEOF
23192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23193 if \$ac_cs_recheck; then
23194 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23195 shift
23196 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23197 CONFIG_SHELL='$SHELL'
23198 export CONFIG_SHELL
23199 exec "\$@"
23202 _ACEOF
23203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23204 exec 5>>config.log
23206 echo
23207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23208 ## Running $as_me. ##
23209 _ASBOX
23210 printf "%s\n" "$ac_log"
23211 } >&5
23213 _ACEOF
23214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23216 # INIT-COMMANDS
23218 wine_fn_output_makedep ()
23220 as_dir=tools; as_fn_mkdir_p
23221 $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
23223 wine_fn_output_makefile ()
23225 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23226 # This Makefile understands the following targets:
23228 # all (default): build wine
23229 # clean: remove all intermediate files
23230 # distclean: also remove all files created by configure
23231 # test: run tests
23232 # testclean: clean test results to force running all tests again
23233 # install-lib: install libraries needed to run applications
23234 # install-dev: install development environment
23235 # install: install everything
23236 # uninstall: uninstall everything
23237 # ctags: create a tags file for vim and others.
23238 # etags: create a TAGS file for Emacs.
23240 SHELL = $SHELL
23241 PATH_SEPARATOR = $PATH_SEPARATOR
23242 PACKAGE_NAME = $PACKAGE_NAME
23243 PACKAGE_TARNAME = $PACKAGE_TARNAME
23244 PACKAGE_VERSION = $PACKAGE_VERSION
23245 PACKAGE_STRING = $PACKAGE_STRING
23246 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23247 PACKAGE_URL = $PACKAGE_URL
23248 exec_prefix = $exec_prefix
23249 prefix = $prefix
23250 program_transform_name = $program_transform_name
23251 bindir = $bindir
23252 sbindir = $sbindir
23253 libexecdir = $libexecdir
23254 datarootdir = $datarootdir
23255 datadir = $datadir
23256 sysconfdir = $sysconfdir
23257 sharedstatedir = $sharedstatedir
23258 localstatedir = $localstatedir
23259 runstatedir = $runstatedir
23260 includedir = $includedir
23261 oldincludedir = $oldincludedir
23262 docdir = $docdir
23263 infodir = $infodir
23264 htmldir = $htmldir
23265 dvidir = $dvidir
23266 pdfdir = $pdfdir
23267 psdir = $psdir
23268 libdir = $libdir
23269 localedir = $localedir
23270 mandir = $mandir
23271 DEFS = $DEFS
23272 ECHO_C = $ECHO_C
23273 ECHO_N = $ECHO_N
23274 ECHO_T = $ECHO_T
23275 LIBS = $LIBS
23276 build_alias = $build_alias
23277 host_alias = $host_alias
23278 target_alias = $target_alias
23279 system_dllpath = $system_dllpath
23280 build = $build
23281 build_cpu = $build_cpu
23282 build_vendor = $build_vendor
23283 build_os = $build_os
23284 host = $host
23285 host_cpu = $host_cpu
23286 host_vendor = $host_vendor
23287 host_os = $host_os
23288 dlldir = $dlldir
23289 fontdir = $fontdir
23290 nlsdir = $nlsdir
23291 srcdir = $srcdir
23292 SET_MAKE = $SET_MAKE
23293 CC = $CC
23294 CFLAGS = $CFLAGS
23295 LDFLAGS = $LDFLAGS
23296 CPPFLAGS = $CPPFLAGS
23297 ac_ct_CC = $ac_ct_CC
23298 EXEEXT = $EXEEXT
23299 OBJEXT = $OBJEXT
23300 CXX = $CXX
23301 CXXFLAGS = $CXXFLAGS
23302 ac_ct_CXX = $ac_ct_CXX
23303 CPPBIN = $CPPBIN
23304 LD = $LD
23305 TARGETFLAGS = $TARGETFLAGS
23306 toolsext = $toolsext
23307 HOST_ARCH = $HOST_ARCH
23308 aarch64_CC = $aarch64_CC
23309 aarch64_CFLAGS = $aarch64_CFLAGS
23310 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23311 aarch64_LDFLAGS = $aarch64_LDFLAGS
23312 aarch64_DEBUG = $aarch64_DEBUG
23313 aarch64_TARGET = $aarch64_TARGET
23314 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23315 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23316 arm_CC = $arm_CC
23317 arm_CFLAGS = $arm_CFLAGS
23318 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23319 arm_LDFLAGS = $arm_LDFLAGS
23320 arm_DEBUG = $arm_DEBUG
23321 arm_TARGET = $arm_TARGET
23322 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23323 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23324 i386_CC = $i386_CC
23325 i386_CFLAGS = $i386_CFLAGS
23326 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23327 i386_LDFLAGS = $i386_LDFLAGS
23328 i386_DEBUG = $i386_DEBUG
23329 i386_TARGET = $i386_TARGET
23330 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23331 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23332 x86_64_CC = $x86_64_CC
23333 x86_64_CFLAGS = $x86_64_CFLAGS
23334 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23335 x86_64_LDFLAGS = $x86_64_LDFLAGS
23336 x86_64_DEBUG = $x86_64_DEBUG
23337 x86_64_TARGET = $x86_64_TARGET
23338 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23339 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23340 toolsdir = $toolsdir
23341 MAKEDEP = $MAKEDEP
23342 RUNTESTFLAGS = $RUNTESTFLAGS
23343 SED_CMD = $SED_CMD
23344 FLEX = $FLEX
23345 BISON = $BISON
23346 AR = $AR
23347 ac_ct_AR = $ac_ct_AR
23348 STRIP = $STRIP
23349 RANLIB = $RANLIB
23350 LN_S = $LN_S
23351 GREP = $GREP
23352 EGREP = $EGREP
23353 LDCONFIG = $LDCONFIG
23354 MSGFMT = $MSGFMT
23355 PKG_CONFIG = $PKG_CONFIG
23356 FONTFORGE = $FONTFORGE
23357 RSVG = $RSVG
23358 CONVERT = $CONVERT
23359 ICOTOOL = $ICOTOOL
23360 I386_LIBS = $I386_LIBS
23361 OPENGL_LIBS = $OPENGL_LIBS
23362 DLLFLAGS = $DLLFLAGS
23363 LDDLLFLAGS = $LDDLLFLAGS
23364 LDEXECFLAGS = $LDEXECFLAGS
23365 EXTRACFLAGS = $EXTRACFLAGS
23366 UNIXDLLFLAGS = $UNIXDLLFLAGS
23367 UNIXLDFLAGS = $UNIXLDFLAGS
23368 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23369 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23370 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23371 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23372 LDD = $LDD
23373 OTOOL = $OTOOL
23374 READELF = $READELF
23375 SUBDIRS = $SUBDIRS
23376 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23377 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23378 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23379 OBJC = $OBJC
23380 OBJCFLAGS = $OBJCFLAGS
23381 ac_ct_OBJC = $ac_ct_OBJC
23382 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23383 IOKIT_LIBS = $IOKIT_LIBS
23384 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23385 CORESERVICES_LIBS = $CORESERVICES_LIBS
23386 APPKIT_LIBS = $APPKIT_LIBS
23387 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23388 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23389 SECURITY_LIBS = $SECURITY_LIBS
23390 COREAUDIO_LIBS = $COREAUDIO_LIBS
23391 OPENAL_LIBS = $OPENAL_LIBS
23392 OPENCL_LIBS = $OPENCL_LIBS
23393 CARBON_LIBS = $CARBON_LIBS
23394 METAL_LIBS = $METAL_LIBS
23395 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23396 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23397 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23398 PRELINK = $PRELINK
23399 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23400 PE_ARCHS = $PE_ARCHS
23401 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23402 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23403 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23404 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23405 GSM_PE_LIBS = $GSM_PE_LIBS
23406 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23407 JPEG_PE_LIBS = $JPEG_PE_LIBS
23408 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23409 JXR_PE_LIBS = $JXR_PE_LIBS
23410 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23411 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23412 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23413 MPG123_PE_LIBS = $MPG123_PE_LIBS
23414 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23415 PNG_PE_LIBS = $PNG_PE_LIBS
23416 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23417 TIFF_PE_LIBS = $TIFF_PE_LIBS
23418 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23419 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23420 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23421 XML2_PE_LIBS = $XML2_PE_LIBS
23422 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23423 XSLT_PE_LIBS = $XSLT_PE_LIBS
23424 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23425 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23426 PTHREAD_LIBS = $PTHREAD_LIBS
23427 XMKMF = $XMKMF
23428 CPP = $CPP
23429 X_CFLAGS = $X_CFLAGS
23430 X_PRE_LIBS = $X_PRE_LIBS
23431 X_LIBS = $X_LIBS
23432 X_EXTRA_LIBS = $X_EXTRA_LIBS
23433 PCAP_LIBS = $PCAP_LIBS
23434 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23435 INOTIFY_LIBS = $INOTIFY_LIBS
23436 DBUS_CFLAGS = $DBUS_CFLAGS
23437 DBUS_LIBS = $DBUS_LIBS
23438 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23439 GNUTLS_LIBS = $GNUTLS_LIBS
23440 SANE_CFLAGS = $SANE_CFLAGS
23441 SANE_LIBS = $SANE_LIBS
23442 USB_CFLAGS = $USB_CFLAGS
23443 USB_LIBS = $USB_LIBS
23444 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23445 GPHOTO2_LIBS = $GPHOTO2_LIBS
23446 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23447 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23448 RESOLV_LIBS = $RESOLV_LIBS
23449 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23450 FREETYPE_LIBS = $FREETYPE_LIBS
23451 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23452 PULSE_CFLAGS = $PULSE_CFLAGS
23453 PULSE_LIBS = $PULSE_LIBS
23454 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23455 GSTREAMER_LIBS = $GSTREAMER_LIBS
23456 ALSA_LIBS = $ALSA_LIBS
23457 OSS4_CFLAGS = $OSS4_CFLAGS
23458 OSS4_LIBS = $OSS4_LIBS
23459 UDEV_CFLAGS = $UDEV_CFLAGS
23460 UDEV_LIBS = $UDEV_LIBS
23461 UNWIND_CFLAGS = $UNWIND_CFLAGS
23462 UNWIND_LIBS = $UNWIND_LIBS
23463 SDL2_CFLAGS = $SDL2_CFLAGS
23464 SDL2_LIBS = $SDL2_LIBS
23465 CAPI20_CFLAGS = $CAPI20_CFLAGS
23466 CAPI20_LIBS = $CAPI20_LIBS
23467 CUPS_CFLAGS = $CUPS_CFLAGS
23468 CUPS_LIBS = $CUPS_LIBS
23469 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23470 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23471 KRB5_CFLAGS = $KRB5_CFLAGS
23472 KRB5_LIBS = $KRB5_LIBS
23473 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23474 GSSAPI_LIBS = $GSSAPI_LIBS
23475 PROCSTAT_LIBS = $PROCSTAT_LIBS
23476 NETAPI_CFLAGS = $NETAPI_CFLAGS
23477 NETAPI_LIBS = $NETAPI_LIBS
23478 MSVCRTFLAGS = $MSVCRTFLAGS
23479 DELAYLOADFLAG = $DELAYLOADFLAG
23480 RT_LIBS = $RT_LIBS
23481 LDAP_CFLAGS = $LDAP_CFLAGS
23482 LDAP_LIBS = $LDAP_LIBS
23483 TAGSFLAGS = $TAGSFLAGS
23484 LIBOBJS = $LIBOBJS
23485 LTLIBOBJS = $LTLIBOBJS
23486 $SET_MAKE
23487 $wine_rules
23488 _WINE_EOF
23489 as_fn_error $? "could not create Makefile" "$LINENO" 5
23492 _ACEOF
23494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23496 # Handling of arguments.
23497 for ac_config_target in $ac_config_targets
23499 case $ac_config_target in
23500 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23501 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23502 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23503 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23504 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23505 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23507 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23508 esac
23509 done
23512 # If the user did not use the arguments to specify the items to instantiate,
23513 # then the envvar interface is used. Set only those that are not.
23514 # We use the long form for the default assignment because of an extremely
23515 # bizarre bug on SunOS 4.1.3.
23516 if $ac_need_defaults; then
23517 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23518 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23519 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23522 # Have a temporary directory for convenience. Make it in the build tree
23523 # simply because there is no reason against having it here, and in addition,
23524 # creating and moving files from /tmp can sometimes cause problems.
23525 # Hook for its removal unless debugging.
23526 # Note that there is a small window in which the directory will not be cleaned:
23527 # after its creation but before its name has been assigned to `$tmp'.
23528 $debug ||
23530 tmp= ac_tmp=
23531 trap 'exit_status=$?
23532 : "${ac_tmp:=$tmp}"
23533 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23535 trap 'as_fn_exit 1' 1 2 13 15
23537 # Create a (secure) tmp directory for tmp files.
23540 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23541 test -d "$tmp"
23542 } ||
23544 tmp=./conf$$-$RANDOM
23545 (umask 077 && mkdir "$tmp")
23546 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23547 ac_tmp=$tmp
23549 # Set up the scripts for CONFIG_HEADERS section.
23550 # No need to generate them if there are no CONFIG_HEADERS.
23551 # This happens for instance with `./config.status Makefile'.
23552 if test -n "$CONFIG_HEADERS"; then
23553 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23554 BEGIN {
23555 _ACEOF
23557 # Transform confdefs.h into an awk script `defines.awk', embedded as
23558 # here-document in config.status, that substitutes the proper values into
23559 # config.h.in to produce config.h.
23561 # Create a delimiter string that does not exist in confdefs.h, to ease
23562 # handling of long lines.
23563 ac_delim='%!_!# '
23564 for ac_last_try in false false :; do
23565 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23566 if test -z "$ac_tt"; then
23567 break
23568 elif $ac_last_try; then
23569 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23570 else
23571 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23573 done
23575 # For the awk script, D is an array of macro values keyed by name,
23576 # likewise P contains macro parameters if any. Preserve backslash
23577 # newline sequences.
23579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23580 sed -n '
23581 s/.\{148\}/&'"$ac_delim"'/g
23582 t rset
23583 :rset
23584 s/^[ ]*#[ ]*define[ ][ ]*/ /
23585 t def
23587 :def
23588 s/\\$//
23589 t bsnl
23590 s/["\\]/\\&/g
23591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23592 D["\1"]=" \3"/p
23593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23595 :bsnl
23596 s/["\\]/\\&/g
23597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23598 D["\1"]=" \3\\\\\\n"\\/p
23599 t cont
23600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23601 t cont
23603 :cont
23605 s/.\{148\}/&'"$ac_delim"'/g
23606 t clear
23607 :clear
23608 s/\\$//
23609 t bsnlc
23610 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23612 :bsnlc
23613 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23614 b cont
23615 ' <confdefs.h | sed '
23616 s/'"$ac_delim"'/"\\\
23617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23620 for (key in D) D_is_set[key] = 1
23621 FS = "\a"
23623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23624 line = \$ 0
23625 split(line, arg, " ")
23626 if (arg[1] == "#") {
23627 defundef = arg[2]
23628 mac1 = arg[3]
23629 } else {
23630 defundef = substr(arg[1], 2)
23631 mac1 = arg[2]
23633 split(mac1, mac2, "(") #)
23634 macro = mac2[1]
23635 prefix = substr(line, 1, index(line, defundef) - 1)
23636 if (D_is_set[macro]) {
23637 # Preserve the white space surrounding the "#".
23638 print prefix "define", macro P[macro] D[macro]
23639 next
23640 } else {
23641 # Replace #undef with comments. This is necessary, for example,
23642 # in the case of _POSIX_SOURCE, which is predefined and required
23643 # on some systems where configure will not decide to define it.
23644 if (defundef == "undef") {
23645 print "/*", prefix defundef, macro, "*/"
23646 next
23650 { print }
23651 _ACAWK
23652 _ACEOF
23653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23654 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23655 fi # test -n "$CONFIG_HEADERS"
23658 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23659 shift
23660 for ac_tag
23662 case $ac_tag in
23663 :[FHLC]) ac_mode=$ac_tag; continue;;
23664 esac
23665 case $ac_mode$ac_tag in
23666 :[FHL]*:*);;
23667 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23668 :[FH]-) ac_tag=-:-;;
23669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23670 esac
23671 ac_save_IFS=$IFS
23672 IFS=:
23673 set x $ac_tag
23674 IFS=$ac_save_IFS
23675 shift
23676 ac_file=$1
23677 shift
23679 case $ac_mode in
23680 :L) ac_source=$1;;
23681 :[FH])
23682 ac_file_inputs=
23683 for ac_f
23685 case $ac_f in
23686 -) ac_f="$ac_tmp/stdin";;
23687 *) # Look for the file first in the build tree, then in the source tree
23688 # (if the path is not absolute). The absolute path cannot be DOS-style,
23689 # because $ac_f cannot contain `:'.
23690 test -f "$ac_f" ||
23691 case $ac_f in
23692 [\\/$]*) false;;
23693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23694 esac ||
23695 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23696 esac
23697 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23698 as_fn_append ac_file_inputs " '$ac_f'"
23699 done
23701 # Let's still pretend it is `configure' which instantiates (i.e., don't
23702 # use $as_me), people would be surprised to read:
23703 # /* config.h. Generated by config.status. */
23704 configure_input='Generated from '`
23705 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23706 `' by configure.'
23707 if test x"$ac_file" != x-; then
23708 configure_input="$ac_file. $configure_input"
23709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23710 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23712 # Neutralize special characters interpreted by sed in replacement strings.
23713 case $configure_input in #(
23714 *\&* | *\|* | *\\* )
23715 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23717 *) ac_sed_conf_input=$configure_input;;
23718 esac
23720 case $ac_tag in
23721 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23723 esac
23725 esac
23727 ac_dir=`$as_dirname -- "$ac_file" ||
23728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23729 X"$ac_file" : 'X\(//\)[^/]' \| \
23730 X"$ac_file" : 'X\(//\)$' \| \
23731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23732 printf "%s\n" X"$ac_file" |
23733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23734 s//\1/
23737 /^X\(\/\/\)[^/].*/{
23738 s//\1/
23741 /^X\(\/\/\)$/{
23742 s//\1/
23745 /^X\(\/\).*/{
23746 s//\1/
23749 s/.*/./; q'`
23750 as_dir="$ac_dir"; as_fn_mkdir_p
23751 ac_builddir=.
23753 case "$ac_dir" in
23754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23756 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23757 # A ".." for each directory in $ac_dir_suffix.
23758 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23759 case $ac_top_builddir_sub in
23760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23762 esac ;;
23763 esac
23764 ac_abs_top_builddir=$ac_pwd
23765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23766 # for backward compatibility:
23767 ac_top_builddir=$ac_top_build_prefix
23769 case $srcdir in
23770 .) # We are building in place.
23771 ac_srcdir=.
23772 ac_top_srcdir=$ac_top_builddir_sub
23773 ac_abs_top_srcdir=$ac_pwd ;;
23774 [\\/]* | ?:[\\/]* ) # Absolute name.
23775 ac_srcdir=$srcdir$ac_dir_suffix;
23776 ac_top_srcdir=$srcdir
23777 ac_abs_top_srcdir=$srcdir ;;
23778 *) # Relative name.
23779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23780 ac_top_srcdir=$ac_top_build_prefix$srcdir
23781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23782 esac
23783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23786 case $ac_mode in
23790 # CONFIG_HEADER
23792 if test x"$ac_file" != x-; then
23794 printf "%s\n" "/* $configure_input */" >&1 \
23795 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23796 } >"$ac_tmp/config.h" \
23797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23798 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23800 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23801 else
23802 rm -f "$ac_file"
23803 mv "$ac_tmp/config.h" "$ac_file" \
23804 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23806 else
23807 printf "%s\n" "/* $configure_input */" >&1 \
23808 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23809 || as_fn_error $? "could not create -" "$LINENO" 5
23814 # CONFIG_LINK
23817 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23819 else
23820 # Prefer the file from the source tree if names are identical.
23821 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23822 ac_source=$srcdir/$ac_source
23825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23826 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23828 if test ! -r "$ac_source"; then
23829 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23831 rm -f "$ac_file"
23833 # Try a relative symlink, then a hard link, then a copy.
23834 case $ac_source in
23835 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23836 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23837 esac
23838 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23839 ln "$ac_source" "$ac_file" 2>/dev/null ||
23840 cp -p "$ac_source" "$ac_file" ||
23841 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23844 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23845 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23847 esac
23850 case $ac_file$ac_mode in
23851 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23852 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23853 "Makefile":C) wine_fn_output_makefile Makefile ;;
23855 esac
23856 done # for ac_tag
23859 as_fn_exit 0
23860 _ACEOF
23861 ac_clean_files=$ac_clean_files_save
23863 test $ac_write_fail = 0 ||
23864 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23867 # configure is writing to config.log, and then calls config.status.
23868 # config.status does its own redirection, appending to config.log.
23869 # Unfortunately, on DOS this fails, as config.log is still kept open
23870 # by configure, so config.status won't be able to write to it; its
23871 # output is simply discarded. So we exec the FD to /dev/null,
23872 # effectively closing config.log, so it can be properly (re)opened and
23873 # appended to by config.status. When coming back to configure, we
23874 # need to make the FD available again.
23875 if test "$no_create" != yes; then
23876 ac_cs_success=:
23877 ac_config_status_args=
23878 test "$silent" = yes &&
23879 ac_config_status_args="$ac_config_status_args --quiet"
23880 exec 5>/dev/null
23881 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23882 exec 5>>config.log
23883 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23884 # would make configure fail if this is the last instruction.
23885 $ac_cs_success || as_fn_exit 1
23887 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23889 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23893 if test "$no_create" = "yes"
23894 then
23895 exit 0
23898 ac_save_IFS="$IFS"
23899 if test "x$wine_notices" != x; then
23900 echo >&6
23901 IFS="|"
23902 for msg in $wine_notices; do
23903 IFS="$ac_save_IFS"
23904 if ${msg:+false} :
23905 then :
23907 else $as_nop
23908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23909 printf "%s\n" "$as_me: $msg" >&6;}
23911 done
23913 IFS="|"
23914 for msg in $wine_warnings; do
23915 IFS="$ac_save_IFS"
23916 if ${msg:+false} :
23917 then :
23919 else $as_nop
23920 echo >&2
23921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23922 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23924 done
23925 IFS="$ac_save_IFS"
23927 printf "%s\n" "
23928 $as_me: Finished. Do '${ac_make}' to compile Wine.
23929 " >&6