mshtml: Implement HTMLLocation_put_hash.
[wine.git] / configure
blobce217cb9fd257e4165d64681ef509058cc4e83d8
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_chcp_com
1587 enable_clock
1588 enable_cmd
1589 enable_conhost
1590 enable_control
1591 enable_cscript
1592 enable_dism
1593 enable_dllhost
1594 enable_dplaysvr
1595 enable_dpnsvr
1596 enable_dpvsetup
1597 enable_dxdiag
1598 enable_eject
1599 enable_expand
1600 enable_explorer
1601 enable_extrac32
1602 enable_fc
1603 enable_find
1604 enable_findstr
1605 enable_fsutil
1606 enable_hh
1607 enable_hostname
1608 enable_icacls
1609 enable_icinfo
1610 enable_iexplore
1611 enable_ipconfig
1612 enable_lodctr
1613 enable_mofcomp
1614 enable_mshta
1615 enable_msidb
1616 enable_msiexec
1617 enable_msinfo32
1618 enable_net
1619 enable_netsh
1620 enable_netstat
1621 enable_ngen
1622 enable_notepad
1623 enable_oleview
1624 enable_ping
1625 enable_plugplay
1626 enable_powershell
1627 enable_presentationfontcache
1628 enable_progman
1629 enable_reg
1630 enable_regasm
1631 enable_regedit
1632 enable_regini
1633 enable_regsvcs
1634 enable_regsvr32
1635 enable_robocopy
1636 enable_rpcss
1637 enable_rundll32
1638 enable_sc
1639 enable_schtasks
1640 enable_sdbinst
1641 enable_secedit
1642 enable_servicemodelreg
1643 enable_services
1644 enable_shutdown
1645 enable_spoolsv
1646 enable_start
1647 enable_subst
1648 enable_svchost
1649 enable_systeminfo
1650 enable_taskkill
1651 enable_tasklist
1652 enable_taskmgr
1653 enable_termsv
1654 enable_uninstaller
1655 enable_unlodctr
1656 enable_view
1657 enable_wevtutil
1658 enable_where
1659 enable_whoami
1660 enable_wineboot
1661 enable_winebrowser
1662 enable_winecfg
1663 enable_wineconsole
1664 enable_winedbg
1665 enable_winedevice
1666 enable_winefile
1667 enable_winemenubuilder
1668 enable_winemine
1669 enable_winemsibuilder
1670 enable_winepath
1671 enable_winetest
1672 enable_winhlp32
1673 enable_winmgmt
1674 enable_winver
1675 enable_wmic
1676 enable_wmplayer
1677 enable_wordpad
1678 enable_write
1679 enable_wscript
1680 enable_wuauserv
1681 enable_wusa
1682 enable_xcopy
1683 enable_server
1684 enable_tools
1685 enable_sfnt2fon
1686 enable_widl
1687 enable_winebuild
1688 enable_winedump
1689 enable_winegcc
1690 enable_winemaker
1691 enable_wmc
1692 enable_wrc
1694 ac_precious_vars='build_alias
1695 host_alias
1696 target_alias
1698 CFLAGS
1699 LDFLAGS
1700 LIBS
1701 CPPFLAGS
1703 CXXFLAGS
1705 OBJC
1706 OBJCFLAGS
1707 FAUDIO_PE_CFLAGS
1708 FAUDIO_PE_LIBS
1709 GSM_PE_CFLAGS
1710 GSM_PE_LIBS
1711 JPEG_PE_CFLAGS
1712 JPEG_PE_LIBS
1713 JXR_PE_CFLAGS
1714 JXR_PE_LIBS
1715 LCMS2_PE_CFLAGS
1716 LCMS2_PE_LIBS
1717 MPG123_PE_CFLAGS
1718 MPG123_PE_LIBS
1719 PNG_PE_CFLAGS
1720 PNG_PE_LIBS
1721 TIFF_PE_CFLAGS
1722 TIFF_PE_LIBS
1723 VKD3D_PE_CFLAGS
1724 VKD3D_PE_LIBS
1725 XML2_PE_CFLAGS
1726 XML2_PE_LIBS
1727 XSLT_PE_CFLAGS
1728 XSLT_PE_LIBS
1729 ZLIB_PE_CFLAGS
1730 ZLIB_PE_LIBS
1731 XMKMF
1733 INOTIFY_CFLAGS
1734 INOTIFY_LIBS
1735 DBUS_CFLAGS
1736 DBUS_LIBS
1737 GNUTLS_CFLAGS
1738 GNUTLS_LIBS
1739 SANE_CFLAGS
1740 SANE_LIBS
1741 USB_CFLAGS
1742 USB_LIBS
1743 GPHOTO2_CFLAGS
1744 GPHOTO2_LIBS
1745 GPHOTO2_PORT_CFLAGS
1746 GPHOTO2_PORT_LIBS
1747 FREETYPE_CFLAGS
1748 FREETYPE_LIBS
1749 PULSE_CFLAGS
1750 PULSE_LIBS
1751 GSTREAMER_CFLAGS
1752 GSTREAMER_LIBS
1753 UDEV_CFLAGS
1754 UDEV_LIBS
1755 UNWIND_CFLAGS
1756 UNWIND_LIBS
1757 SDL2_CFLAGS
1758 SDL2_LIBS
1759 CAPI20_CFLAGS
1760 CAPI20_LIBS
1761 CUPS_CFLAGS
1762 CUPS_LIBS
1763 FONTCONFIG_CFLAGS
1764 FONTCONFIG_LIBS
1765 KRB5_CFLAGS
1766 KRB5_LIBS
1767 GSSAPI_CFLAGS
1768 GSSAPI_LIBS
1769 NETAPI_CFLAGS
1770 NETAPI_LIBS
1771 LDAP_CFLAGS
1772 LDAP_LIBS'
1775 # Initialize some variables set by options.
1776 ac_init_help=
1777 ac_init_version=false
1778 ac_unrecognized_opts=
1779 ac_unrecognized_sep=
1780 # The variables have the same names as the options, with
1781 # dashes changed to underlines.
1782 cache_file=/dev/null
1783 exec_prefix=NONE
1784 no_create=
1785 no_recursion=
1786 prefix=NONE
1787 program_prefix=NONE
1788 program_suffix=NONE
1789 program_transform_name=s,x,x,
1790 silent=
1791 site=
1792 srcdir=
1793 verbose=
1794 x_includes=NONE
1795 x_libraries=NONE
1797 # Installation directory options.
1798 # These are left unexpanded so users can "make install exec_prefix=/foo"
1799 # and all the variables that are supposed to be based on exec_prefix
1800 # by default will actually change.
1801 # Use braces instead of parens because sh, perl, etc. also accept them.
1802 # (The list follows the same order as the GNU Coding Standards.)
1803 bindir='${exec_prefix}/bin'
1804 sbindir='${exec_prefix}/sbin'
1805 libexecdir='${exec_prefix}/libexec'
1806 datarootdir='${prefix}/share'
1807 datadir='${datarootdir}'
1808 sysconfdir='${prefix}/etc'
1809 sharedstatedir='${prefix}/com'
1810 localstatedir='${prefix}/var'
1811 runstatedir='${localstatedir}/run'
1812 includedir='${prefix}/include'
1813 oldincludedir='/usr/include'
1814 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1815 infodir='${datarootdir}/info'
1816 htmldir='${docdir}'
1817 dvidir='${docdir}'
1818 pdfdir='${docdir}'
1819 psdir='${docdir}'
1820 libdir='${exec_prefix}/lib'
1821 localedir='${datarootdir}/locale'
1822 mandir='${datarootdir}/man'
1824 ac_prev=
1825 ac_dashdash=
1826 for ac_option
1828 # If the previous option needs an argument, assign it.
1829 if test -n "$ac_prev"; then
1830 eval $ac_prev=\$ac_option
1831 ac_prev=
1832 continue
1835 case $ac_option in
1836 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1837 *=) ac_optarg= ;;
1838 *) ac_optarg=yes ;;
1839 esac
1841 case $ac_dashdash$ac_option in
1843 ac_dashdash=yes ;;
1845 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1846 ac_prev=bindir ;;
1847 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1848 bindir=$ac_optarg ;;
1850 -build | --build | --buil | --bui | --bu)
1851 ac_prev=build_alias ;;
1852 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1853 build_alias=$ac_optarg ;;
1855 -cache-file | --cache-file | --cache-fil | --cache-fi \
1856 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1857 ac_prev=cache_file ;;
1858 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1859 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1860 cache_file=$ac_optarg ;;
1862 --config-cache | -C)
1863 cache_file=config.cache ;;
1865 -datadir | --datadir | --datadi | --datad)
1866 ac_prev=datadir ;;
1867 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1868 datadir=$ac_optarg ;;
1870 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1871 | --dataroo | --dataro | --datar)
1872 ac_prev=datarootdir ;;
1873 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1874 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1875 datarootdir=$ac_optarg ;;
1877 -disable-* | --disable-*)
1878 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1879 # Reject names that are not valid shell variable names.
1880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1881 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1882 ac_useropt_orig=$ac_useropt
1883 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1884 case $ac_user_opts in
1886 "enable_$ac_useropt"
1887 "*) ;;
1888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1889 ac_unrecognized_sep=', ';;
1890 esac
1891 eval enable_$ac_useropt=no ;;
1893 -docdir | --docdir | --docdi | --doc | --do)
1894 ac_prev=docdir ;;
1895 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1896 docdir=$ac_optarg ;;
1898 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1899 ac_prev=dvidir ;;
1900 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1901 dvidir=$ac_optarg ;;
1903 -enable-* | --enable-*)
1904 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1905 # Reject names that are not valid shell variable names.
1906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1907 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1908 ac_useropt_orig=$ac_useropt
1909 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1910 case $ac_user_opts in
1912 "enable_$ac_useropt"
1913 "*) ;;
1914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1915 ac_unrecognized_sep=', ';;
1916 esac
1917 eval enable_$ac_useropt=\$ac_optarg ;;
1919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1921 | --exec | --exe | --ex)
1922 ac_prev=exec_prefix ;;
1923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1925 | --exec=* | --exe=* | --ex=*)
1926 exec_prefix=$ac_optarg ;;
1928 -gas | --gas | --ga | --g)
1929 # Obsolete; use --with-gas.
1930 with_gas=yes ;;
1932 -help | --help | --hel | --he | -h)
1933 ac_init_help=long ;;
1934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1935 ac_init_help=recursive ;;
1936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1937 ac_init_help=short ;;
1939 -host | --host | --hos | --ho)
1940 ac_prev=host_alias ;;
1941 -host=* | --host=* | --hos=* | --ho=*)
1942 host_alias=$ac_optarg ;;
1944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1945 ac_prev=htmldir ;;
1946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1947 | --ht=*)
1948 htmldir=$ac_optarg ;;
1950 -includedir | --includedir | --includedi | --included | --include \
1951 | --includ | --inclu | --incl | --inc)
1952 ac_prev=includedir ;;
1953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1954 | --includ=* | --inclu=* | --incl=* | --inc=*)
1955 includedir=$ac_optarg ;;
1957 -infodir | --infodir | --infodi | --infod | --info | --inf)
1958 ac_prev=infodir ;;
1959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1960 infodir=$ac_optarg ;;
1962 -libdir | --libdir | --libdi | --libd)
1963 ac_prev=libdir ;;
1964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1965 libdir=$ac_optarg ;;
1967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1968 | --libexe | --libex | --libe)
1969 ac_prev=libexecdir ;;
1970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1971 | --libexe=* | --libex=* | --libe=*)
1972 libexecdir=$ac_optarg ;;
1974 -localedir | --localedir | --localedi | --localed | --locale)
1975 ac_prev=localedir ;;
1976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1977 localedir=$ac_optarg ;;
1979 -localstatedir | --localstatedir | --localstatedi | --localstated \
1980 | --localstate | --localstat | --localsta | --localst | --locals)
1981 ac_prev=localstatedir ;;
1982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1984 localstatedir=$ac_optarg ;;
1986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1987 ac_prev=mandir ;;
1988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1989 mandir=$ac_optarg ;;
1991 -nfp | --nfp | --nf)
1992 # Obsolete; use --without-fp.
1993 with_fp=no ;;
1995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1996 | --no-cr | --no-c | -n)
1997 no_create=yes ;;
1999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2001 no_recursion=yes ;;
2003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2005 | --oldin | --oldi | --old | --ol | --o)
2006 ac_prev=oldincludedir ;;
2007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2010 oldincludedir=$ac_optarg ;;
2012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2013 ac_prev=prefix ;;
2014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2015 prefix=$ac_optarg ;;
2017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2018 | --program-pre | --program-pr | --program-p)
2019 ac_prev=program_prefix ;;
2020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2022 program_prefix=$ac_optarg ;;
2024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2025 | --program-suf | --program-su | --program-s)
2026 ac_prev=program_suffix ;;
2027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2029 program_suffix=$ac_optarg ;;
2031 -program-transform-name | --program-transform-name \
2032 | --program-transform-nam | --program-transform-na \
2033 | --program-transform-n | --program-transform- \
2034 | --program-transform | --program-transfor \
2035 | --program-transfo | --program-transf \
2036 | --program-trans | --program-tran \
2037 | --progr-tra | --program-tr | --program-t)
2038 ac_prev=program_transform_name ;;
2039 -program-transform-name=* | --program-transform-name=* \
2040 | --program-transform-nam=* | --program-transform-na=* \
2041 | --program-transform-n=* | --program-transform-=* \
2042 | --program-transform=* | --program-transfor=* \
2043 | --program-transfo=* | --program-transf=* \
2044 | --program-trans=* | --program-tran=* \
2045 | --progr-tra=* | --program-tr=* | --program-t=*)
2046 program_transform_name=$ac_optarg ;;
2048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2049 ac_prev=pdfdir ;;
2050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2051 pdfdir=$ac_optarg ;;
2053 -psdir | --psdir | --psdi | --psd | --ps)
2054 ac_prev=psdir ;;
2055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2056 psdir=$ac_optarg ;;
2058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2059 | -silent | --silent | --silen | --sile | --sil)
2060 silent=yes ;;
2062 -runstatedir | --runstatedir | --runstatedi | --runstated \
2063 | --runstate | --runstat | --runsta | --runst | --runs \
2064 | --run | --ru | --r)
2065 ac_prev=runstatedir ;;
2066 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2067 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2068 | --run=* | --ru=* | --r=*)
2069 runstatedir=$ac_optarg ;;
2071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2072 ac_prev=sbindir ;;
2073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2074 | --sbi=* | --sb=*)
2075 sbindir=$ac_optarg ;;
2077 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2079 | --sharedst | --shareds | --shared | --share | --shar \
2080 | --sha | --sh)
2081 ac_prev=sharedstatedir ;;
2082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2085 | --sha=* | --sh=*)
2086 sharedstatedir=$ac_optarg ;;
2088 -site | --site | --sit)
2089 ac_prev=site ;;
2090 -site=* | --site=* | --sit=*)
2091 site=$ac_optarg ;;
2093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2094 ac_prev=srcdir ;;
2095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2096 srcdir=$ac_optarg ;;
2098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2099 | --syscon | --sysco | --sysc | --sys | --sy)
2100 ac_prev=sysconfdir ;;
2101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2103 sysconfdir=$ac_optarg ;;
2105 -target | --target | --targe | --targ | --tar | --ta | --t)
2106 ac_prev=target_alias ;;
2107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2108 target_alias=$ac_optarg ;;
2110 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2111 verbose=yes ;;
2113 -version | --version | --versio | --versi | --vers | -V)
2114 ac_init_version=: ;;
2116 -with-* | --with-*)
2117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2118 # Reject names that are not valid shell variable names.
2119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2120 as_fn_error $? "invalid package name: \`$ac_useropt'"
2121 ac_useropt_orig=$ac_useropt
2122 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2123 case $ac_user_opts in
2125 "with_$ac_useropt"
2126 "*) ;;
2127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2128 ac_unrecognized_sep=', ';;
2129 esac
2130 eval with_$ac_useropt=\$ac_optarg ;;
2132 -without-* | --without-*)
2133 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2134 # Reject names that are not valid shell variable names.
2135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2136 as_fn_error $? "invalid package name: \`$ac_useropt'"
2137 ac_useropt_orig=$ac_useropt
2138 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2139 case $ac_user_opts in
2141 "with_$ac_useropt"
2142 "*) ;;
2143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2144 ac_unrecognized_sep=', ';;
2145 esac
2146 eval with_$ac_useropt=no ;;
2148 --x)
2149 # Obsolete; use --with-x.
2150 with_x=yes ;;
2152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2153 | --x-incl | --x-inc | --x-in | --x-i)
2154 ac_prev=x_includes ;;
2155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2157 x_includes=$ac_optarg ;;
2159 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2161 ac_prev=x_libraries ;;
2162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2164 x_libraries=$ac_optarg ;;
2166 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2167 Try \`$0 --help' for more information"
2170 *=*)
2171 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2172 # Reject names that are not valid shell variable names.
2173 case $ac_envvar in #(
2174 '' | [0-9]* | *[!_$as_cr_alnum]* )
2175 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2176 esac
2177 eval $ac_envvar=\$ac_optarg
2178 export $ac_envvar ;;
2181 # FIXME: should be removed in autoconf 3.0.
2182 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2184 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2188 esac
2189 done
2191 if test -n "$ac_prev"; then
2192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2193 as_fn_error $? "missing argument to $ac_option"
2196 if test -n "$ac_unrecognized_opts"; then
2197 case $enable_option_checking in
2198 no) ;;
2199 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2200 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2201 esac
2204 # Check all directory arguments for consistency.
2205 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2206 datadir sysconfdir sharedstatedir localstatedir includedir \
2207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2208 libdir localedir mandir runstatedir
2210 eval ac_val=\$$ac_var
2211 # Remove trailing slashes.
2212 case $ac_val in
2213 */ )
2214 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2215 eval $ac_var=\$ac_val;;
2216 esac
2217 # Be sure to have absolute directory names.
2218 case $ac_val in
2219 [\\/$]* | ?:[\\/]* ) continue;;
2220 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2221 esac
2222 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2223 done
2225 # There might be people who depend on the old broken behavior: `$host'
2226 # used to hold the argument of --host etc.
2227 # FIXME: To remove some day.
2228 build=$build_alias
2229 host=$host_alias
2230 target=$target_alias
2232 # FIXME: To remove some day.
2233 if test "x$host_alias" != x; then
2234 if test "x$build_alias" = x; then
2235 cross_compiling=maybe
2236 elif test "x$build_alias" != "x$host_alias"; then
2237 cross_compiling=yes
2241 ac_tool_prefix=
2242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2244 test "$silent" = yes && exec 6>/dev/null
2247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2248 ac_ls_di=`ls -di .` &&
2249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2250 as_fn_error $? "working directory cannot be determined"
2251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2252 as_fn_error $? "pwd does not report name of working directory"
2255 # Find the source files, if location was not specified.
2256 if test -z "$srcdir"; then
2257 ac_srcdir_defaulted=yes
2258 # Try the directory containing this script, then the parent directory.
2259 ac_confdir=`$as_dirname -- "$as_myself" ||
2260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2261 X"$as_myself" : 'X\(//\)[^/]' \| \
2262 X"$as_myself" : 'X\(//\)$' \| \
2263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2264 printf "%s\n" X"$as_myself" |
2265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2266 s//\1/
2269 /^X\(\/\/\)[^/].*/{
2270 s//\1/
2273 /^X\(\/\/\)$/{
2274 s//\1/
2277 /^X\(\/\).*/{
2278 s//\1/
2281 s/.*/./; q'`
2282 srcdir=$ac_confdir
2283 if test ! -r "$srcdir/$ac_unique_file"; then
2284 srcdir=..
2286 else
2287 ac_srcdir_defaulted=no
2289 if test ! -r "$srcdir/$ac_unique_file"; then
2290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2291 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2294 ac_abs_confdir=`(
2295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2296 pwd)`
2297 # When building in place, set srcdir=.
2298 if test "$ac_abs_confdir" = "$ac_pwd"; then
2299 srcdir=.
2301 # Remove unnecessary trailing slashes from srcdir.
2302 # Double slashes in file names in object file debugging info
2303 # mess up M-x gdb in Emacs.
2304 case $srcdir in
2305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2306 esac
2307 for ac_var in $ac_precious_vars; do
2308 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2309 eval ac_env_${ac_var}_value=\$${ac_var}
2310 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2311 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2312 done
2315 # Report the --help message.
2317 if test "$ac_init_help" = "long"; then
2318 # Omit some internal or obsolete options to make the list less imposing.
2319 # This message is too long to be a string in the A/UX 3.1 sh.
2320 cat <<_ACEOF
2321 \`configure' configures Wine 7.20 to adapt to many kinds of systems.
2323 Usage: $0 [OPTION]... [VAR=VALUE]...
2325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2326 VAR=VALUE. See below for descriptions of some of the useful variables.
2328 Defaults for the options are specified in brackets.
2330 Configuration:
2331 -h, --help display this help and exit
2332 --help=short display options specific to this package
2333 --help=recursive display the short help of all the included packages
2334 -V, --version display version information and exit
2335 -q, --quiet, --silent do not print \`checking ...' messages
2336 --cache-file=FILE cache test results in FILE [disabled]
2337 -C, --config-cache alias for \`--cache-file=config.cache'
2338 -n, --no-create do not create output files
2339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2341 Installation directories:
2342 --prefix=PREFIX install architecture-independent files in PREFIX
2343 [$ac_default_prefix]
2344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2345 [PREFIX]
2347 By default, \`make install' will install all the files in
2348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2350 for instance \`--prefix=\$HOME'.
2352 For better control, use the options below.
2354 Fine tuning of the installation directories:
2355 --bindir=DIR user executables [EPREFIX/bin]
2356 --sbindir=DIR system admin executables [EPREFIX/sbin]
2357 --libexecdir=DIR program executables [EPREFIX/libexec]
2358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2361 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2362 --libdir=DIR object code libraries [EPREFIX/lib]
2363 --includedir=DIR C header files [PREFIX/include]
2364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2367 --infodir=DIR info documentation [DATAROOTDIR/info]
2368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2369 --mandir=DIR man documentation [DATAROOTDIR/man]
2370 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2371 --htmldir=DIR html documentation [DOCDIR]
2372 --dvidir=DIR dvi documentation [DOCDIR]
2373 --pdfdir=DIR pdf documentation [DOCDIR]
2374 --psdir=DIR ps documentation [DOCDIR]
2375 _ACEOF
2377 cat <<\_ACEOF
2379 X features:
2380 --x-includes=DIR X include files are in DIR
2381 --x-libraries=DIR X library files are in DIR
2383 System types:
2384 --build=BUILD configure for building on BUILD [guessed]
2385 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2386 _ACEOF
2389 if test -n "$ac_init_help"; then
2390 case $ac_init_help in
2391 short | recursive ) echo "Configuration of Wine 7.20:";;
2392 esac
2393 cat <<\_ACEOF
2395 Optional Features:
2396 --disable-option-checking ignore unrecognized --enable/--with options
2397 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2398 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2399 --enable-archs={i386,x86_64,arm,aarch64}
2400 enable multiple architectures for PE compilation
2401 --disable-win16 do not include Win16 support
2402 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2403 binaries)
2404 --disable-tests do not build the regression tests
2405 --enable-build-id include .buildid section in output objects
2406 --enable-maintainer-mode
2407 enable maintainer-specific build rules
2408 --enable-silent-rules use silent build rules (override: "make V=1")
2409 --enable-werror treat compilation warnings as errors
2410 --disable-largefile omit support for large files
2412 Optional Packages:
2413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2415 --without-alsa do not use the Alsa sound support
2416 --without-capi do not use CAPI (ISDN support)
2417 --without-coreaudio do not use the CoreAudio sound support
2418 --without-cups do not use CUPS
2419 --without-dbus do not use DBus (dynamic device support)
2420 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2421 --without-fontconfig do not use fontconfig
2422 --without-freetype do not use the FreeType library
2423 --without-gettext do not use gettext
2424 --with-gettextpo use the GetTextPO library to rebuild po files
2425 --without-gphoto do not use gphoto (Digital Camera support)
2426 --without-gnutls do not use GnuTLS (schannel support)
2427 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2428 --without-gstreamer do not use GStreamer (codecs support)
2429 --without-inotify do not use inotify (filesystem change notifications)
2430 --without-krb5 do not use krb5 (Kerberos)
2431 --without-ldap do not use LDAP
2432 --without-mingw do not use the MinGW cross-compiler
2433 --without-netapi do not use the Samba NetAPI library
2434 --without-openal do not use OpenAL
2435 --without-opencl do not use OpenCL
2436 --without-opengl do not use OpenGL
2437 --without-osmesa do not use the OSMesa library
2438 --without-oss do not use the OSS sound support
2439 --without-pcap do not use the Packet Capture library
2440 --without-pthread do not use the pthread library
2441 --without-pulse do not use PulseAudio sound support
2442 --without-sane do not use SANE (scanner support)
2443 --without-sdl do not use SDL
2444 --without-udev do not use udev (plug and play support)
2445 --without-unwind do not use the libunwind library (exception
2446 handling)
2447 --without-usb do not use the libusb library
2448 --without-v4l2 do not use v4l2 (video capture)
2449 --without-vulkan do not use Vulkan
2450 --without-xcomposite do not use the Xcomposite extension
2451 --without-xcursor do not use the Xcursor extension
2452 --without-xfixes do not use Xfixes for clipboard change notifications
2453 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2454 --without-xinput do not use the Xinput extension
2455 --without-xinput2 do not use the Xinput 2 extension
2456 --without-xrandr do not use Xrandr (multi-monitor support)
2457 --without-xrender do not use the Xrender extension
2458 --without-xshape do not use the Xshape extension
2459 --without-xshm do not use XShm (shared memory extension)
2460 --without-xxf86vm do not use XFree video mode extension
2461 --with-system-dllpath=PATH
2462 load external PE dependencies from colon-separated
2463 path PATH
2464 --with-wine-tools=DIR use Wine tools from directory DIR
2465 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2466 --with-x use the X Window System
2468 Some influential environment variables:
2469 CC C compiler command
2470 CFLAGS C compiler flags
2471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2472 nonstandard directory <lib dir>
2473 LIBS libraries to pass to the linker, e.g. -l<library>
2474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2475 you have headers in a nonstandard directory <include dir>
2476 CXX C++ compiler command
2477 CXXFLAGS C++ compiler flags
2478 OBJC Objective C compiler command
2479 OBJCFLAGS Objective C compiler flags
2480 FAUDIO_PE_CFLAGS
2481 C compiler flags for the PE faudio, overriding the bundled
2482 version
2483 FAUDIO_PE_LIBS
2484 Linker flags for the PE faudio, overriding the bundled version
2485 GSM_PE_CFLAGS
2486 C compiler flags for the PE gsm, overriding the bundled version
2487 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2488 JPEG_PE_CFLAGS
2489 C compiler flags for the PE jpeg, overriding the bundled version
2490 JPEG_PE_LIBS
2491 Linker flags for the PE jpeg, overriding the bundled version
2492 JXR_PE_CFLAGS
2493 C compiler flags for the PE jxr, overriding the bundled version
2494 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2495 LCMS2_PE_CFLAGS
2496 C compiler flags for the PE lcms2, overriding the bundled
2497 version
2498 LCMS2_PE_LIBS
2499 Linker flags for the PE lcms2, overriding the bundled version
2500 MPG123_PE_CFLAGS
2501 C compiler flags for the PE mpg123, overriding the bundled
2502 version
2503 MPG123_PE_LIBS
2504 Linker flags for the PE mpg123, overriding the bundled version
2505 PNG_PE_CFLAGS
2506 C compiler flags for the PE png, overriding the bundled version
2507 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2508 TIFF_PE_CFLAGS
2509 C compiler flags for the PE tiff, overriding the bundled version
2510 TIFF_PE_LIBS
2511 Linker flags for the PE tiff, overriding the bundled version
2512 VKD3D_PE_CFLAGS
2513 C compiler flags for the PE vkd3d, overriding the bundled
2514 version
2515 VKD3D_PE_LIBS
2516 Linker flags for the PE vkd3d, overriding the bundled version
2517 XML2_PE_CFLAGS
2518 C compiler flags for the PE xml2, overriding the bundled version
2519 XML2_PE_LIBS
2520 Linker flags for the PE xml2, overriding the bundled version
2521 XSLT_PE_CFLAGS
2522 C compiler flags for the PE xslt, overriding the bundled version
2523 XSLT_PE_LIBS
2524 Linker flags for the PE xslt, overriding the bundled version
2525 ZLIB_PE_CFLAGS
2526 C compiler flags for the PE zlib, overriding the bundled version
2527 ZLIB_PE_LIBS
2528 Linker flags for the PE zlib, overriding the bundled version
2529 XMKMF Path to xmkmf, Makefile generator for X Window System
2530 CPP C preprocessor
2531 INOTIFY_CFLAGS
2532 C compiler flags for libinotify, overriding pkg-config
2533 INOTIFY_LIBS
2534 Linker flags for libinotify, overriding pkg-config
2535 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2536 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2537 GNUTLS_CFLAGS
2538 C compiler flags for gnutls, overriding pkg-config
2539 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2540 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2541 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2542 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2543 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2544 GPHOTO2_CFLAGS
2545 C compiler flags for libgphoto2, overriding pkg-config
2546 GPHOTO2_LIBS
2547 Linker flags for libgphoto2, overriding pkg-config
2548 GPHOTO2_PORT_CFLAGS
2549 C compiler flags for libgphoto2_port, overriding pkg-config
2550 GPHOTO2_PORT_LIBS
2551 Linker flags for libgphoto2_port, overriding pkg-config
2552 FREETYPE_CFLAGS
2553 C compiler flags for freetype2, overriding pkg-config
2554 FREETYPE_LIBS
2555 Linker flags for freetype2, overriding pkg-config
2556 PULSE_CFLAGS
2557 C compiler flags for libpulse, overriding pkg-config
2558 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2559 GSTREAMER_CFLAGS
2560 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2561 gstreamer-audio-1.0, overriding pkg-config
2562 GSTREAMER_LIBS
2563 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2564 gstreamer-audio-1.0, overriding pkg-config
2565 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2566 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2567 UNWIND_CFLAGS
2568 C compiler flags for libunwind, overriding pkg-config
2569 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2570 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2571 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2572 CAPI20_CFLAGS
2573 C compiler flags for capi20, overriding pkg-config
2574 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2575 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2576 CUPS_LIBS Linker flags for cups, overriding pkg-config
2577 FONTCONFIG_CFLAGS
2578 C compiler flags for fontconfig, overriding pkg-config
2579 FONTCONFIG_LIBS
2580 Linker flags for fontconfig, overriding pkg-config
2581 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2582 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2583 GSSAPI_CFLAGS
2584 C compiler flags for krb5-gssapi, overriding pkg-config
2585 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2586 NETAPI_CFLAGS
2587 C compiler flags for netapi, overriding pkg-config
2588 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2589 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2590 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2592 Use these variables to override the choices made by `configure' or to help
2593 it to find libraries and programs with nonstandard names/locations.
2595 Report bugs to <wine-devel@winehq.org>.
2596 Wine home page: <https://www.winehq.org>.
2597 _ACEOF
2598 ac_status=$?
2601 if test "$ac_init_help" = "recursive"; then
2602 # If there are subdirs, report their specific --help.
2603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2604 test -d "$ac_dir" ||
2605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2606 continue
2607 ac_builddir=.
2609 case "$ac_dir" in
2610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2612 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2613 # A ".." for each directory in $ac_dir_suffix.
2614 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2615 case $ac_top_builddir_sub in
2616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2618 esac ;;
2619 esac
2620 ac_abs_top_builddir=$ac_pwd
2621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2622 # for backward compatibility:
2623 ac_top_builddir=$ac_top_build_prefix
2625 case $srcdir in
2626 .) # We are building in place.
2627 ac_srcdir=.
2628 ac_top_srcdir=$ac_top_builddir_sub
2629 ac_abs_top_srcdir=$ac_pwd ;;
2630 [\\/]* | ?:[\\/]* ) # Absolute name.
2631 ac_srcdir=$srcdir$ac_dir_suffix;
2632 ac_top_srcdir=$srcdir
2633 ac_abs_top_srcdir=$srcdir ;;
2634 *) # Relative name.
2635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2636 ac_top_srcdir=$ac_top_build_prefix$srcdir
2637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2638 esac
2639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2641 cd "$ac_dir" || { ac_status=$?; continue; }
2642 # Check for configure.gnu first; this name is used for a wrapper for
2643 # Metaconfig's "Configure" on case-insensitive file systems.
2644 if test -f "$ac_srcdir/configure.gnu"; then
2645 echo &&
2646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2647 elif test -f "$ac_srcdir/configure"; then
2648 echo &&
2649 $SHELL "$ac_srcdir/configure" --help=recursive
2650 else
2651 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2652 fi || ac_status=$?
2653 cd "$ac_pwd" || { ac_status=$?; break; }
2654 done
2657 test -n "$ac_init_help" && exit $ac_status
2658 if $ac_init_version; then
2659 cat <<\_ACEOF
2660 Wine configure 7.20
2661 generated by GNU Autoconf 2.71
2663 Copyright (C) 2021 Free Software Foundation, Inc.
2664 This configure script is free software; the Free Software Foundation
2665 gives unlimited permission to copy, distribute and modify it.
2666 _ACEOF
2667 exit
2670 ## ------------------------ ##
2671 ## Autoconf initialization. ##
2672 ## ------------------------ ##
2674 # ac_fn_c_try_compile LINENO
2675 # --------------------------
2676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2677 ac_fn_c_try_compile ()
2679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2680 rm -f conftest.$ac_objext conftest.beam
2681 if { { ac_try="$ac_compile"
2682 case "(($ac_try" in
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2685 esac
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 printf "%s\n" "$ac_try_echo"; } >&5
2688 (eval "$ac_compile") 2>conftest.err
2689 ac_status=$?
2690 if test -s conftest.err; then
2691 grep -v '^ *+' conftest.err >conftest.er1
2692 cat conftest.er1 >&5
2693 mv -f conftest.er1 conftest.err
2695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; } && {
2697 test -z "$ac_c_werror_flag" ||
2698 test ! -s conftest.err
2699 } && test -s conftest.$ac_objext
2700 then :
2701 ac_retval=0
2702 else $as_nop
2703 printf "%s\n" "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2706 ac_retval=1
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2709 as_fn_set_status $ac_retval
2711 } # ac_fn_c_try_compile
2713 # ac_fn_cxx_try_compile LINENO
2714 # ----------------------------
2715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2716 ac_fn_cxx_try_compile ()
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 rm -f conftest.$ac_objext conftest.beam
2720 if { { ac_try="$ac_compile"
2721 case "(($ac_try" in
2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2724 esac
2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 printf "%s\n" "$ac_try_echo"; } >&5
2727 (eval "$ac_compile") 2>conftest.err
2728 ac_status=$?
2729 if test -s conftest.err; then
2730 grep -v '^ *+' conftest.err >conftest.er1
2731 cat conftest.er1 >&5
2732 mv -f conftest.er1 conftest.err
2734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2735 test $ac_status = 0; } && {
2736 test -z "$ac_cxx_werror_flag" ||
2737 test ! -s conftest.err
2738 } && test -s conftest.$ac_objext
2739 then :
2740 ac_retval=0
2741 else $as_nop
2742 printf "%s\n" "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2745 ac_retval=1
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 as_fn_set_status $ac_retval
2750 } # ac_fn_cxx_try_compile
2752 # ac_fn_c_try_link LINENO
2753 # -----------------------
2754 # Try to link conftest.$ac_ext, and return whether this succeeded.
2755 ac_fn_c_try_link ()
2757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2758 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2759 if { { ac_try="$ac_link"
2760 case "(($ac_try" in
2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762 *) ac_try_echo=$ac_try;;
2763 esac
2764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2765 printf "%s\n" "$ac_try_echo"; } >&5
2766 (eval "$ac_link") 2>conftest.err
2767 ac_status=$?
2768 if test -s conftest.err; then
2769 grep -v '^ *+' conftest.err >conftest.er1
2770 cat conftest.er1 >&5
2771 mv -f conftest.er1 conftest.err
2773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774 test $ac_status = 0; } && {
2775 test -z "$ac_c_werror_flag" ||
2776 test ! -s conftest.err
2777 } && test -s conftest$ac_exeext && {
2778 test "$cross_compiling" = yes ||
2779 test -x conftest$ac_exeext
2781 then :
2782 ac_retval=0
2783 else $as_nop
2784 printf "%s\n" "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.$ac_ext >&5
2787 ac_retval=1
2789 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2790 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2791 # interfere with the next link command; also delete a directory that is
2792 # left behind by Apple's compiler. We do this before executing the actions.
2793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 as_fn_set_status $ac_retval
2797 } # ac_fn_c_try_link
2799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2800 # -------------------------------------------------------
2801 # Tests whether HEADER exists and can be compiled using the include files in
2802 # INCLUDES, setting the cache variable VAR accordingly.
2803 ac_fn_c_check_header_compile ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2807 printf %s "checking for $2... " >&6; }
2808 if eval test \${$3+y}
2809 then :
2810 printf %s "(cached) " >&6
2811 else $as_nop
2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h. */
2815 #include <$2>
2816 _ACEOF
2817 if ac_fn_c_try_compile "$LINENO"
2818 then :
2819 eval "$3=yes"
2820 else $as_nop
2821 eval "$3=no"
2823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2825 eval ac_res=\$$3
2826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 printf "%s\n" "$ac_res" >&6; }
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 } # ac_fn_c_check_header_compile
2832 # ac_fn_objc_try_compile LINENO
2833 # -----------------------------
2834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2835 ac_fn_objc_try_compile ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 rm -f conftest.$ac_objext conftest.beam
2839 if { { ac_try="$ac_compile"
2840 case "(($ac_try" in
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2843 esac
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 printf "%s\n" "$ac_try_echo"; } >&5
2846 (eval "$ac_compile") 2>conftest.err
2847 ac_status=$?
2848 if test -s conftest.err; then
2849 grep -v '^ *+' conftest.err >conftest.er1
2850 cat conftest.er1 >&5
2851 mv -f conftest.er1 conftest.err
2853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2854 test $ac_status = 0; } && {
2855 test -z "$ac_objc_werror_flag" ||
2856 test ! -s conftest.err
2857 } && test -s conftest.$ac_objext
2858 then :
2859 ac_retval=0
2860 else $as_nop
2861 printf "%s\n" "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.$ac_ext >&5
2864 ac_retval=1
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 as_fn_set_status $ac_retval
2869 } # ac_fn_objc_try_compile
2871 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2872 # ----------------------------------------------------------
2873 # Tests whether HEADER exists and can be compiled using the include files in
2874 # INCLUDES, setting the cache variable VAR accordingly.
2875 ac_fn_objc_check_header_compile ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 printf %s "checking for $2... " >&6; }
2880 if eval test \${$3+y}
2881 then :
2882 printf %s "(cached) " >&6
2883 else $as_nop
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2887 #include <$2>
2888 _ACEOF
2889 if ac_fn_objc_try_compile "$LINENO"
2890 then :
2891 eval "$3=yes"
2892 else $as_nop
2893 eval "$3=no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2897 eval ac_res=\$$3
2898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2899 printf "%s\n" "$ac_res" >&6; }
2900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 } # ac_fn_objc_check_header_compile
2904 # ac_fn_c_check_func LINENO FUNC VAR
2905 # ----------------------------------
2906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2907 ac_fn_c_check_func ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2911 printf %s "checking for $2... " >&6; }
2912 if eval test \${$3+y}
2913 then :
2914 printf %s "(cached) " >&6
2915 else $as_nop
2916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2917 /* end confdefs.h. */
2918 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2920 #define $2 innocuous_$2
2922 /* System header to define __stub macros and hopefully few prototypes,
2923 which can conflict with char $2 (); below. */
2925 #include <limits.h>
2926 #undef $2
2928 /* Override any GCC internal prototype to avoid an error.
2929 Use char because int might match the return type of a GCC
2930 builtin and then its argument prototype would still apply. */
2931 #ifdef __cplusplus
2932 extern "C"
2933 #endif
2934 char $2 ();
2935 /* The GNU C library defines this for functions which it implements
2936 to always fail with ENOSYS. Some functions are actually named
2937 something starting with __ and the normal name is an alias. */
2938 #if defined __stub_$2 || defined __stub___$2
2939 choke me
2940 #endif
2943 main (void)
2945 return $2 ();
2947 return 0;
2949 _ACEOF
2950 if ac_fn_c_try_link "$LINENO"
2951 then :
2952 eval "$3=yes"
2953 else $as_nop
2954 eval "$3=no"
2956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2957 conftest$ac_exeext conftest.$ac_ext
2959 eval ac_res=\$$3
2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2961 printf "%s\n" "$ac_res" >&6; }
2962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 } # ac_fn_c_check_func
2966 # ac_fn_c_try_cpp LINENO
2967 # ----------------------
2968 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2969 ac_fn_c_try_cpp ()
2971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2972 if { { ac_try="$ac_cpp conftest.$ac_ext"
2973 case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2976 esac
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 printf "%s\n" "$ac_try_echo"; } >&5
2979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2980 ac_status=$?
2981 if test -s conftest.err; then
2982 grep -v '^ *+' conftest.err >conftest.er1
2983 cat conftest.er1 >&5
2984 mv -f conftest.er1 conftest.err
2986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; } > conftest.i && {
2988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2989 test ! -s conftest.err
2991 then :
2992 ac_retval=0
2993 else $as_nop
2994 printf "%s\n" "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2997 ac_retval=1
2999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3000 as_fn_set_status $ac_retval
3002 } # ac_fn_c_try_cpp
3004 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3005 # ----------------------------------------------------
3006 # Tries to find if the field MEMBER exists in type AGGR, after including
3007 # INCLUDES, setting cache variable VAR accordingly.
3008 ac_fn_c_check_member ()
3010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3012 printf %s "checking for $2.$3... " >&6; }
3013 if eval test \${$4+y}
3014 then :
3015 printf %s "(cached) " >&6
3016 else $as_nop
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3021 main (void)
3023 static $2 ac_aggr;
3024 if (ac_aggr.$3)
3025 return 0;
3027 return 0;
3029 _ACEOF
3030 if ac_fn_c_try_compile "$LINENO"
3031 then :
3032 eval "$4=yes"
3033 else $as_nop
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3038 main (void)
3040 static $2 ac_aggr;
3041 if (sizeof ac_aggr.$3)
3042 return 0;
3044 return 0;
3046 _ACEOF
3047 if ac_fn_c_try_compile "$LINENO"
3048 then :
3049 eval "$4=yes"
3050 else $as_nop
3051 eval "$4=no"
3053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3057 eval ac_res=\$$4
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3059 printf "%s\n" "$ac_res" >&6; }
3060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3062 } # ac_fn_c_check_member
3064 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3065 # -------------------------------------------
3066 # Tests whether TYPE exists after having included INCLUDES, setting cache
3067 # variable VAR accordingly.
3068 ac_fn_c_check_type ()
3070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3072 printf %s "checking for $2... " >&6; }
3073 if eval test \${$3+y}
3074 then :
3075 printf %s "(cached) " >&6
3076 else $as_nop
3077 eval "$3=no"
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3082 main (void)
3084 if (sizeof ($2))
3085 return 0;
3087 return 0;
3089 _ACEOF
3090 if ac_fn_c_try_compile "$LINENO"
3091 then :
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3096 main (void)
3098 if (sizeof (($2)))
3099 return 0;
3101 return 0;
3103 _ACEOF
3104 if ac_fn_c_try_compile "$LINENO"
3105 then :
3107 else $as_nop
3108 eval "$3=yes"
3110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3114 eval ac_res=\$$3
3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3116 printf "%s\n" "$ac_res" >&6; }
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3119 } # ac_fn_c_check_type
3120 ac_configure_args_raw=
3121 for ac_arg
3123 case $ac_arg in
3124 *\'*)
3125 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3126 esac
3127 as_fn_append ac_configure_args_raw " '$ac_arg'"
3128 done
3130 case $ac_configure_args_raw in
3131 *$as_nl*)
3132 ac_safe_unquote= ;;
3134 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3135 ac_unsafe_a="$ac_unsafe_z#~"
3136 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3137 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3138 esac
3140 cat >config.log <<_ACEOF
3141 This file contains any messages produced by compilers while
3142 running configure, to aid debugging if configure makes a mistake.
3144 It was created by Wine $as_me 7.20, which was
3145 generated by GNU Autoconf 2.71. Invocation command line was
3147 $ $0$ac_configure_args_raw
3149 _ACEOF
3150 exec 5>>config.log
3152 cat <<_ASUNAME
3153 ## --------- ##
3154 ## Platform. ##
3155 ## --------- ##
3157 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3158 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3159 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3160 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3161 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3163 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3164 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3166 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3167 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3168 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3169 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3170 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3171 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3172 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3174 _ASUNAME
3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3177 for as_dir in $PATH
3179 IFS=$as_save_IFS
3180 case $as_dir in #(((
3181 '') as_dir=./ ;;
3182 */) ;;
3183 *) as_dir=$as_dir/ ;;
3184 esac
3185 printf "%s\n" "PATH: $as_dir"
3186 done
3187 IFS=$as_save_IFS
3189 } >&5
3191 cat >&5 <<_ACEOF
3194 ## ----------- ##
3195 ## Core tests. ##
3196 ## ----------- ##
3198 _ACEOF
3201 # Keep a trace of the command line.
3202 # Strip out --no-create and --no-recursion so they do not pile up.
3203 # Strip out --silent because we don't want to record it for future runs.
3204 # Also quote any args containing shell meta-characters.
3205 # Make two passes to allow for proper duplicate-argument suppression.
3206 ac_configure_args=
3207 ac_configure_args0=
3208 ac_configure_args1=
3209 ac_must_keep_next=false
3210 for ac_pass in 1 2
3212 for ac_arg
3214 case $ac_arg in
3215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3217 | -silent | --silent | --silen | --sile | --sil)
3218 continue ;;
3219 *\'*)
3220 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3221 esac
3222 case $ac_pass in
3223 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3225 as_fn_append ac_configure_args1 " '$ac_arg'"
3226 if test $ac_must_keep_next = true; then
3227 ac_must_keep_next=false # Got value, back to normal.
3228 else
3229 case $ac_arg in
3230 *=* | --config-cache | -C | -disable-* | --disable-* \
3231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3233 | -with-* | --with-* | -without-* | --without-* | --x)
3234 case "$ac_configure_args0 " in
3235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3236 esac
3238 -* ) ac_must_keep_next=true ;;
3239 esac
3241 as_fn_append ac_configure_args " '$ac_arg'"
3243 esac
3244 done
3245 done
3246 { ac_configure_args0=; unset ac_configure_args0;}
3247 { ac_configure_args1=; unset ac_configure_args1;}
3249 # When interrupted or exit'd, cleanup temporary files, and complete
3250 # config.log. We remove comments because anyway the quotes in there
3251 # would cause problems or look ugly.
3252 # WARNING: Use '\'' to represent an apostrophe within the trap.
3253 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3254 trap 'exit_status=$?
3255 # Sanitize IFS.
3256 IFS=" "" $as_nl"
3257 # Save into config.log some information that might help in debugging.
3259 echo
3261 printf "%s\n" "## ---------------- ##
3262 ## Cache variables. ##
3263 ## ---------------- ##"
3264 echo
3265 # The following way of writing the cache mishandles newlines in values,
3267 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3268 eval ac_val=\$$ac_var
3269 case $ac_val in #(
3270 *${as_nl}*)
3271 case $ac_var in #(
3272 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3273 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3274 esac
3275 case $ac_var in #(
3276 _ | IFS | as_nl) ;; #(
3277 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3278 *) { eval $ac_var=; unset $ac_var;} ;;
3279 esac ;;
3280 esac
3281 done
3282 (set) 2>&1 |
3283 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3284 *${as_nl}ac_space=\ *)
3285 sed -n \
3286 "s/'\''/'\''\\\\'\'''\''/g;
3287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3288 ;; #(
3290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3292 esac |
3293 sort
3295 echo
3297 printf "%s\n" "## ----------------- ##
3298 ## Output variables. ##
3299 ## ----------------- ##"
3300 echo
3301 for ac_var in $ac_subst_vars
3303 eval ac_val=\$$ac_var
3304 case $ac_val in
3305 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3306 esac
3307 printf "%s\n" "$ac_var='\''$ac_val'\''"
3308 done | sort
3309 echo
3311 if test -n "$ac_subst_files"; then
3312 printf "%s\n" "## ------------------- ##
3313 ## File substitutions. ##
3314 ## ------------------- ##"
3315 echo
3316 for ac_var in $ac_subst_files
3318 eval ac_val=\$$ac_var
3319 case $ac_val in
3320 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3321 esac
3322 printf "%s\n" "$ac_var='\''$ac_val'\''"
3323 done | sort
3324 echo
3327 if test -s confdefs.h; then
3328 printf "%s\n" "## ----------- ##
3329 ## confdefs.h. ##
3330 ## ----------- ##"
3331 echo
3332 cat confdefs.h
3333 echo
3335 test "$ac_signal" != 0 &&
3336 printf "%s\n" "$as_me: caught signal $ac_signal"
3337 printf "%s\n" "$as_me: exit $exit_status"
3338 } >&5
3339 rm -f core *.core core.conftest.* &&
3340 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3341 exit $exit_status
3343 for ac_signal in 1 2 13 15; do
3344 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3345 done
3346 ac_signal=0
3348 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3349 rm -f -r conftest* confdefs.h
3351 printf "%s\n" "/* confdefs.h */" > confdefs.h
3353 # Predefined preprocessor variables.
3355 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3357 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3365 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3368 # Let the site file select an alternate cache file if it wants to.
3369 # Prefer an explicitly selected file to automatically selected ones.
3370 if test -n "$CONFIG_SITE"; then
3371 ac_site_files="$CONFIG_SITE"
3372 elif test "x$prefix" != xNONE; then
3373 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3374 else
3375 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3378 for ac_site_file in $ac_site_files
3380 case $ac_site_file in #(
3381 */*) :
3382 ;; #(
3383 *) :
3384 ac_site_file=./$ac_site_file ;;
3385 esac
3386 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3388 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3389 sed 's/^/| /' "$ac_site_file" >&5
3390 . "$ac_site_file" \
3391 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3392 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3393 as_fn_error $? "failed to load site script $ac_site_file
3394 See \`config.log' for more details" "$LINENO" 5; }
3396 done
3398 if test -r "$cache_file"; then
3399 # Some versions of bash will fail to source /dev/null (special files
3400 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3401 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3403 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3404 case $cache_file in
3405 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3406 *) . "./$cache_file";;
3407 esac
3409 else
3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3411 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3412 >$cache_file
3415 # Test code for whether the C compiler supports C89 (global declarations)
3416 ac_c_conftest_c89_globals='
3417 /* Does the compiler advertise C89 conformance?
3418 Do not test the value of __STDC__, because some compilers set it to 0
3419 while being otherwise adequately conformant. */
3420 #if !defined __STDC__
3421 # error "Compiler does not advertise C89 conformance"
3422 #endif
3424 #include <stddef.h>
3425 #include <stdarg.h>
3426 struct stat;
3427 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3428 struct buf { int x; };
3429 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3430 static char *e (p, i)
3431 char **p;
3432 int i;
3434 return p[i];
3436 static char *f (char * (*g) (char **, int), char **p, ...)
3438 char *s;
3439 va_list v;
3440 va_start (v,p);
3441 s = g (p, va_arg (v,int));
3442 va_end (v);
3443 return s;
3446 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3447 function prototypes and stuff, but not \xHH hex character constants.
3448 These do not provoke an error unfortunately, instead are silently treated
3449 as an "x". The following induces an error, until -std is added to get
3450 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3451 array size at least. It is necessary to write \x00 == 0 to get something
3452 that is true only with -std. */
3453 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3455 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3456 inside strings and character constants. */
3457 #define FOO(x) '\''x'\''
3458 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3460 int test (int i, double x);
3461 struct s1 {int (*f) (int a);};
3462 struct s2 {int (*f) (double a);};
3463 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3464 int, int);'
3466 # Test code for whether the C compiler supports C89 (body of main).
3467 ac_c_conftest_c89_main='
3468 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3471 # Test code for whether the C compiler supports C99 (global declarations)
3472 ac_c_conftest_c99_globals='
3473 // Does the compiler advertise C99 conformance?
3474 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3475 # error "Compiler does not advertise C99 conformance"
3476 #endif
3478 #include <stdbool.h>
3479 extern int puts (const char *);
3480 extern int printf (const char *, ...);
3481 extern int dprintf (int, const char *, ...);
3482 extern void *malloc (size_t);
3484 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3485 // dprintf is used instead of fprintf to avoid needing to declare
3486 // FILE and stderr.
3487 #define debug(...) dprintf (2, __VA_ARGS__)
3488 #define showlist(...) puts (#__VA_ARGS__)
3489 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3490 static void
3491 test_varargs_macros (void)
3493 int x = 1234;
3494 int y = 5678;
3495 debug ("Flag");
3496 debug ("X = %d\n", x);
3497 showlist (The first, second, and third items.);
3498 report (x>y, "x is %d but y is %d", x, y);
3501 // Check long long types.
3502 #define BIG64 18446744073709551615ull
3503 #define BIG32 4294967295ul
3504 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3505 #if !BIG_OK
3506 #error "your preprocessor is broken"
3507 #endif
3508 #if BIG_OK
3509 #else
3510 #error "your preprocessor is broken"
3511 #endif
3512 static long long int bignum = -9223372036854775807LL;
3513 static unsigned long long int ubignum = BIG64;
3515 struct incomplete_array
3517 int datasize;
3518 double data[];
3521 struct named_init {
3522 int number;
3523 const wchar_t *name;
3524 double average;
3527 typedef const char *ccp;
3529 static inline int
3530 test_restrict (ccp restrict text)
3532 // See if C++-style comments work.
3533 // Iterate through items via the restricted pointer.
3534 // Also check for declarations in for loops.
3535 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3536 continue;
3537 return 0;
3540 // Check varargs and va_copy.
3541 static bool
3542 test_varargs (const char *format, ...)
3544 va_list args;
3545 va_start (args, format);
3546 va_list args_copy;
3547 va_copy (args_copy, args);
3549 const char *str = "";
3550 int number = 0;
3551 float fnumber = 0;
3553 while (*format)
3555 switch (*format++)
3557 case '\''s'\'': // string
3558 str = va_arg (args_copy, const char *);
3559 break;
3560 case '\''d'\'': // int
3561 number = va_arg (args_copy, int);
3562 break;
3563 case '\''f'\'': // float
3564 fnumber = va_arg (args_copy, double);
3565 break;
3566 default:
3567 break;
3570 va_end (args_copy);
3571 va_end (args);
3573 return *str && number && fnumber;
3577 # Test code for whether the C compiler supports C99 (body of main).
3578 ac_c_conftest_c99_main='
3579 // Check bool.
3580 _Bool success = false;
3581 success |= (argc != 0);
3583 // Check restrict.
3584 if (test_restrict ("String literal") == 0)
3585 success = true;
3586 char *restrict newvar = "Another string";
3588 // Check varargs.
3589 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3590 test_varargs_macros ();
3592 // Check flexible array members.
3593 struct incomplete_array *ia =
3594 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3595 ia->datasize = 10;
3596 for (int i = 0; i < ia->datasize; ++i)
3597 ia->data[i] = i * 1.234;
3599 // Check named initializers.
3600 struct named_init ni = {
3601 .number = 34,
3602 .name = L"Test wide string",
3603 .average = 543.34343,
3606 ni.number = 58;
3608 int dynamic_array[ni.number];
3609 dynamic_array[0] = argv[0][0];
3610 dynamic_array[ni.number - 1] = 543;
3612 // work around unused variable warnings
3613 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3614 || dynamic_array[ni.number - 1] != 543);
3617 # Test code for whether the C compiler supports C11 (global declarations)
3618 ac_c_conftest_c11_globals='
3619 // Does the compiler advertise C11 conformance?
3620 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3621 # error "Compiler does not advertise C11 conformance"
3622 #endif
3624 // Check _Alignas.
3625 char _Alignas (double) aligned_as_double;
3626 char _Alignas (0) no_special_alignment;
3627 extern char aligned_as_int;
3628 char _Alignas (0) _Alignas (int) aligned_as_int;
3630 // Check _Alignof.
3631 enum
3633 int_alignment = _Alignof (int),
3634 int_array_alignment = _Alignof (int[100]),
3635 char_alignment = _Alignof (char)
3637 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3639 // Check _Noreturn.
3640 int _Noreturn does_not_return (void) { for (;;) continue; }
3642 // Check _Static_assert.
3643 struct test_static_assert
3645 int x;
3646 _Static_assert (sizeof (int) <= sizeof (long int),
3647 "_Static_assert does not work in struct");
3648 long int y;
3651 // Check UTF-8 literals.
3652 #define u8 syntax error!
3653 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3655 // Check duplicate typedefs.
3656 typedef long *long_ptr;
3657 typedef long int *long_ptr;
3658 typedef long_ptr long_ptr;
3660 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3661 struct anonymous
3663 union {
3664 struct { int i; int j; };
3665 struct { int k; long int l; } w;
3667 int m;
3668 } v1;
3671 # Test code for whether the C compiler supports C11 (body of main).
3672 ac_c_conftest_c11_main='
3673 _Static_assert ((offsetof (struct anonymous, i)
3674 == offsetof (struct anonymous, w.k)),
3675 "Anonymous union alignment botch");
3676 v1.i = 2;
3677 v1.w.k = 5;
3678 ok |= v1.i != 5;
3681 # Test code for whether the C compiler supports C11 (complete).
3682 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3683 ${ac_c_conftest_c99_globals}
3684 ${ac_c_conftest_c11_globals}
3687 main (int argc, char **argv)
3689 int ok = 0;
3690 ${ac_c_conftest_c89_main}
3691 ${ac_c_conftest_c99_main}
3692 ${ac_c_conftest_c11_main}
3693 return ok;
3697 # Test code for whether the C compiler supports C99 (complete).
3698 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3699 ${ac_c_conftest_c99_globals}
3702 main (int argc, char **argv)
3704 int ok = 0;
3705 ${ac_c_conftest_c89_main}
3706 ${ac_c_conftest_c99_main}
3707 return ok;
3711 # Test code for whether the C compiler supports C89 (complete).
3712 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3715 main (int argc, char **argv)
3717 int ok = 0;
3718 ${ac_c_conftest_c89_main}
3719 return ok;
3723 # Test code for whether the C++ compiler supports C++98 (global declarations)
3724 ac_cxx_conftest_cxx98_globals='
3725 // Does the compiler advertise C++98 conformance?
3726 #if !defined __cplusplus || __cplusplus < 199711L
3727 # error "Compiler does not advertise C++98 conformance"
3728 #endif
3730 // These inclusions are to reject old compilers that
3731 // lack the unsuffixed header files.
3732 #include <cstdlib>
3733 #include <exception>
3735 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3736 extern void assert (int);
3737 namespace std {
3738 extern int strcmp (const char *, const char *);
3741 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3742 using std::exception;
3743 using std::strcmp;
3745 namespace {
3747 void test_exception_syntax()
3749 try {
3750 throw "test";
3751 } catch (const char *s) {
3752 // Extra parentheses suppress a warning when building autoconf itself,
3753 // due to lint rules shared with more typical C programs.
3754 assert (!(strcmp) (s, "test"));
3758 template <typename T> struct test_template
3760 T const val;
3761 explicit test_template(T t) : val(t) {}
3762 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3765 } // anonymous namespace
3768 # Test code for whether the C++ compiler supports C++98 (body of main)
3769 ac_cxx_conftest_cxx98_main='
3770 assert (argc);
3771 assert (! argv[0]);
3773 test_exception_syntax ();
3774 test_template<double> tt (2.0);
3775 assert (tt.add (4) == 6.0);
3776 assert (true && !false);
3780 # Test code for whether the C++ compiler supports C++11 (global declarations)
3781 ac_cxx_conftest_cxx11_globals='
3782 // Does the compiler advertise C++ 2011 conformance?
3783 #if !defined __cplusplus || __cplusplus < 201103L
3784 # error "Compiler does not advertise C++11 conformance"
3785 #endif
3787 namespace cxx11test
3789 constexpr int get_val() { return 20; }
3791 struct testinit
3793 int i;
3794 double d;
3797 class delegate
3799 public:
3800 delegate(int n) : n(n) {}
3801 delegate(): delegate(2354) {}
3803 virtual int getval() { return this->n; };
3804 protected:
3805 int n;
3808 class overridden : public delegate
3810 public:
3811 overridden(int n): delegate(n) {}
3812 virtual int getval() override final { return this->n * 2; }
3815 class nocopy
3817 public:
3818 nocopy(int i): i(i) {}
3819 nocopy() = default;
3820 nocopy(const nocopy&) = delete;
3821 nocopy & operator=(const nocopy&) = delete;
3822 private:
3823 int i;
3826 // for testing lambda expressions
3827 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3829 return f(v);
3832 // for testing variadic templates and trailing return types
3833 template <typename V> auto sum(V first) -> V
3835 return first;
3837 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3839 return first + sum(rest...);
3844 # Test code for whether the C++ compiler supports C++11 (body of main)
3845 ac_cxx_conftest_cxx11_main='
3847 // Test auto and decltype
3848 auto a1 = 6538;
3849 auto a2 = 48573953.4;
3850 auto a3 = "String literal";
3852 int total = 0;
3853 for (auto i = a3; *i; ++i) { total += *i; }
3855 decltype(a2) a4 = 34895.034;
3858 // Test constexpr
3859 short sa[cxx11test::get_val()] = { 0 };
3862 // Test initializer lists
3863 cxx11test::testinit il = { 4323, 435234.23544 };
3866 // Test range-based for
3867 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3868 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3869 for (auto &x : array) { x += 23; }
3872 // Test lambda expressions
3873 using cxx11test::eval;
3874 assert (eval ([](int x) { return x*2; }, 21) == 42);
3875 double d = 2.0;
3876 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3877 assert (d == 5.0);
3878 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3879 assert (d == 5.0);
3882 // Test use of variadic templates
3883 using cxx11test::sum;
3884 auto a = sum(1);
3885 auto b = sum(1, 2);
3886 auto c = sum(1.0, 2.0, 3.0);
3889 // Test constructor delegation
3890 cxx11test::delegate d1;
3891 cxx11test::delegate d2();
3892 cxx11test::delegate d3(45);
3895 // Test override and final
3896 cxx11test::overridden o1(55464);
3899 // Test nullptr
3900 char *c = nullptr;
3903 // Test template brackets
3904 test_template<::test_template<int>> v(test_template<int>(12));
3907 // Unicode literals
3908 char const *utf8 = u8"UTF-8 string \u2500";
3909 char16_t const *utf16 = u"UTF-8 string \u2500";
3910 char32_t const *utf32 = U"UTF-32 string \u2500";
3914 # Test code for whether the C compiler supports C++11 (complete).
3915 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3916 ${ac_cxx_conftest_cxx11_globals}
3919 main (int argc, char **argv)
3921 int ok = 0;
3922 ${ac_cxx_conftest_cxx98_main}
3923 ${ac_cxx_conftest_cxx11_main}
3924 return ok;
3928 # Test code for whether the C compiler supports C++98 (complete).
3929 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3931 main (int argc, char **argv)
3933 int ok = 0;
3934 ${ac_cxx_conftest_cxx98_main}
3935 return ok;
3939 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3940 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3941 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3942 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3943 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3944 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3945 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3946 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3947 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3949 # Auxiliary files required by this configure script.
3950 ac_aux_files="config.guess config.sub"
3952 # Locations in which to look for auxiliary files.
3953 ac_aux_dir_candidates="${srcdir}/tools"
3955 # Search for a directory containing all of the required auxiliary files,
3956 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3957 # If we don't find one directory that contains all the files we need,
3958 # we report the set of missing files from the *first* directory in
3959 # $ac_aux_dir_candidates and give up.
3960 ac_missing_aux_files=""
3961 ac_first_candidate=:
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 as_found=false
3965 for as_dir in $ac_aux_dir_candidates
3967 IFS=$as_save_IFS
3968 case $as_dir in #(((
3969 '') as_dir=./ ;;
3970 */) ;;
3971 *) as_dir=$as_dir/ ;;
3972 esac
3973 as_found=:
3975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3976 ac_aux_dir_found=yes
3977 ac_install_sh=
3978 for ac_aux in $ac_aux_files
3980 # As a special case, if "install-sh" is required, that requirement
3981 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3982 # and $ac_install_sh is set appropriately for whichever one is found.
3983 if test x"$ac_aux" = x"install-sh"
3984 then
3985 if test -f "${as_dir}install-sh"; then
3986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3987 ac_install_sh="${as_dir}install-sh -c"
3988 elif test -f "${as_dir}install.sh"; then
3989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3990 ac_install_sh="${as_dir}install.sh -c"
3991 elif test -f "${as_dir}shtool"; then
3992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3993 ac_install_sh="${as_dir}shtool install -c"
3994 else
3995 ac_aux_dir_found=no
3996 if $ac_first_candidate; then
3997 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3998 else
3999 break
4002 else
4003 if test -f "${as_dir}${ac_aux}"; then
4004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4005 else
4006 ac_aux_dir_found=no
4007 if $ac_first_candidate; then
4008 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4009 else
4010 break
4014 done
4015 if test "$ac_aux_dir_found" = yes; then
4016 ac_aux_dir="$as_dir"
4017 break
4019 ac_first_candidate=false
4021 as_found=false
4022 done
4023 IFS=$as_save_IFS
4024 if $as_found
4025 then :
4027 else $as_nop
4028 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4032 # These three variables are undocumented and unsupported,
4033 # and are intended to be withdrawn in a future Autoconf release.
4034 # They can cause serious problems if a builder's source tree is in a directory
4035 # whose full name contains unusual characters.
4036 if test -f "${ac_aux_dir}config.guess"; then
4037 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4039 if test -f "${ac_aux_dir}config.sub"; then
4040 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4042 if test -f "$ac_aux_dir/configure"; then
4043 ac_configure="$SHELL ${ac_aux_dir}configure"
4046 # Check that the precious variables saved in the cache have kept the same
4047 # value.
4048 ac_cache_corrupted=false
4049 for ac_var in $ac_precious_vars; do
4050 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4051 eval ac_new_set=\$ac_env_${ac_var}_set
4052 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4053 eval ac_new_val=\$ac_env_${ac_var}_value
4054 case $ac_old_set,$ac_new_set in
4055 set,)
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4057 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4058 ac_cache_corrupted=: ;;
4059 ,set)
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4061 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4062 ac_cache_corrupted=: ;;
4063 ,);;
4065 if test "x$ac_old_val" != "x$ac_new_val"; then
4066 # differences in whitespace do not lead to failure.
4067 ac_old_val_w=`echo x $ac_old_val`
4068 ac_new_val_w=`echo x $ac_new_val`
4069 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4071 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4072 ac_cache_corrupted=:
4073 else
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4075 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4076 eval $ac_var=\$ac_old_val
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4079 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4081 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4082 fi;;
4083 esac
4084 # Pass precious variables to config.status.
4085 if test "$ac_new_set" = set; then
4086 case $ac_new_val in
4087 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4088 *) ac_arg=$ac_var=$ac_new_val ;;
4089 esac
4090 case " $ac_configure_args " in
4091 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4092 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4093 esac
4095 done
4096 if $ac_cache_corrupted; then
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4100 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4101 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4102 and start over" "$LINENO" 5
4104 ## -------------------- ##
4105 ## Main body of script. ##
4106 ## -------------------- ##
4108 ac_ext=c
4109 ac_cpp='$CPP $CPPFLAGS'
4110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4116 ac_config_headers="$ac_config_headers include/config.h"
4120 libwine_version="1.0"
4123 # Check whether --enable-archs was given.
4124 if test ${enable_archs+y}
4125 then :
4126 enableval=$enable_archs;
4129 # Check whether --enable-win16 was given.
4130 if test ${enable_win16+y}
4131 then :
4132 enableval=$enable_win16;
4135 # Check whether --enable-win64 was given.
4136 if test ${enable_win64+y}
4137 then :
4138 enableval=$enable_win64;
4141 # Check whether --enable-tests was given.
4142 if test ${enable_tests+y}
4143 then :
4144 enableval=$enable_tests;
4147 # Check whether --enable-build-id was given.
4148 if test ${enable_build_id+y}
4149 then :
4150 enableval=$enable_build_id;
4153 # Check whether --enable-maintainer-mode was given.
4154 if test ${enable_maintainer_mode+y}
4155 then :
4156 enableval=$enable_maintainer_mode;
4159 # Check whether --enable-silent-rules was given.
4160 if test ${enable_silent_rules+y}
4161 then :
4162 enableval=$enable_silent_rules;
4165 # Check whether --enable-werror was given.
4166 if test ${enable_werror+y}
4167 then :
4168 enableval=$enable_werror;
4173 # Check whether --with-alsa was given.
4174 if test ${with_alsa+y}
4175 then :
4176 withval=$with_alsa;
4180 # Check whether --with-capi was given.
4181 if test ${with_capi+y}
4182 then :
4183 withval=$with_capi;
4187 # Check whether --with-coreaudio was given.
4188 if test ${with_coreaudio+y}
4189 then :
4190 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4194 # Check whether --with-cups was given.
4195 if test ${with_cups+y}
4196 then :
4197 withval=$with_cups;
4201 # Check whether --with-dbus was given.
4202 if test ${with_dbus+y}
4203 then :
4204 withval=$with_dbus;
4208 # Check whether --with-float-abi was given.
4209 if test ${with_float_abi+y}
4210 then :
4211 withval=$with_float_abi;
4215 # Check whether --with-fontconfig was given.
4216 if test ${with_fontconfig+y}
4217 then :
4218 withval=$with_fontconfig;
4222 # Check whether --with-freetype was given.
4223 if test ${with_freetype+y}
4224 then :
4225 withval=$with_freetype;
4229 # Check whether --with-gettext was given.
4230 if test ${with_gettext+y}
4231 then :
4232 withval=$with_gettext;
4236 # Check whether --with-gettextpo was given.
4237 if test ${with_gettextpo+y}
4238 then :
4239 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4243 # Check whether --with-gphoto was given.
4244 if test ${with_gphoto+y}
4245 then :
4246 withval=$with_gphoto;
4250 # Check whether --with-gnutls was given.
4251 if test ${with_gnutls+y}
4252 then :
4253 withval=$with_gnutls;
4257 # Check whether --with-gssapi was given.
4258 if test ${with_gssapi+y}
4259 then :
4260 withval=$with_gssapi;
4264 # Check whether --with-gstreamer was given.
4265 if test ${with_gstreamer+y}
4266 then :
4267 withval=$with_gstreamer;
4271 # Check whether --with-inotify was given.
4272 if test ${with_inotify+y}
4273 then :
4274 withval=$with_inotify;
4278 # Check whether --with-krb5 was given.
4279 if test ${with_krb5+y}
4280 then :
4281 withval=$with_krb5;
4285 # Check whether --with-ldap was given.
4286 if test ${with_ldap+y}
4287 then :
4288 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4292 # Check whether --with-mingw was given.
4293 if test ${with_mingw+y}
4294 then :
4295 withval=$with_mingw;
4299 # Check whether --with-netapi was given.
4300 if test ${with_netapi+y}
4301 then :
4302 withval=$with_netapi;
4306 # Check whether --with-openal was given.
4307 if test ${with_openal+y}
4308 then :
4309 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4313 # Check whether --with-opencl was given.
4314 if test ${with_opencl+y}
4315 then :
4316 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4320 # Check whether --with-opengl was given.
4321 if test ${with_opengl+y}
4322 then :
4323 withval=$with_opengl;
4327 # Check whether --with-osmesa was given.
4328 if test ${with_osmesa+y}
4329 then :
4330 withval=$with_osmesa;
4334 # Check whether --with-oss was given.
4335 if test ${with_oss+y}
4336 then :
4337 withval=$with_oss;
4341 # Check whether --with-pcap was given.
4342 if test ${with_pcap+y}
4343 then :
4344 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4348 # Check whether --with-pthread was given.
4349 if test ${with_pthread+y}
4350 then :
4351 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4355 # Check whether --with-pulse was given.
4356 if test ${with_pulse+y}
4357 then :
4358 withval=$with_pulse;
4362 # Check whether --with-sane was given.
4363 if test ${with_sane+y}
4364 then :
4365 withval=$with_sane;
4369 # Check whether --with-sdl was given.
4370 if test ${with_sdl+y}
4371 then :
4372 withval=$with_sdl;
4376 # Check whether --with-udev was given.
4377 if test ${with_udev+y}
4378 then :
4379 withval=$with_udev;
4383 # Check whether --with-unwind was given.
4384 if test ${with_unwind+y}
4385 then :
4386 withval=$with_unwind;
4390 # Check whether --with-usb was given.
4391 if test ${with_usb+y}
4392 then :
4393 withval=$with_usb;
4397 # Check whether --with-v4l2 was given.
4398 if test ${with_v4l2+y}
4399 then :
4400 withval=$with_v4l2;
4404 # Check whether --with-vulkan was given.
4405 if test ${with_vulkan+y}
4406 then :
4407 withval=$with_vulkan;
4411 # Check whether --with-xcomposite was given.
4412 if test ${with_xcomposite+y}
4413 then :
4414 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4418 # Check whether --with-xcursor was given.
4419 if test ${with_xcursor+y}
4420 then :
4421 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4425 # Check whether --with-xfixes was given.
4426 if test ${with_xfixes+y}
4427 then :
4428 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4432 # Check whether --with-xinerama was given.
4433 if test ${with_xinerama+y}
4434 then :
4435 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4439 # Check whether --with-xinput was given.
4440 if test ${with_xinput+y}
4441 then :
4442 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4446 # Check whether --with-xinput2 was given.
4447 if test ${with_xinput2+y}
4448 then :
4449 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4453 # Check whether --with-xrandr was given.
4454 if test ${with_xrandr+y}
4455 then :
4456 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4460 # Check whether --with-xrender was given.
4461 if test ${with_xrender+y}
4462 then :
4463 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4467 # Check whether --with-xshape was given.
4468 if test ${with_xshape+y}
4469 then :
4470 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4474 # Check whether --with-xshm was given.
4475 if test ${with_xshm+y}
4476 then :
4477 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4481 # Check whether --with-xxf86vm was given.
4482 if test ${with_xxf86vm+y}
4483 then :
4484 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
4489 # Check whether --with-system-dllpath was given.
4490 if test ${with_system_dllpath+y}
4491 then :
4492 withval=$with_system_dllpath; system_dllpath=$withval
4497 # Check whether --with-wine-tools was given.
4498 if test ${with_wine_tools+y}
4499 then :
4500 withval=$with_wine_tools;
4504 # Check whether --with-wine64 was given.
4505 if test ${with_wine64+y}
4506 then :
4507 withval=$with_wine64;
4514 # Make sure we can run config.sub.
4515 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4516 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4519 printf %s "checking build system type... " >&6; }
4520 if test ${ac_cv_build+y}
4521 then :
4522 printf %s "(cached) " >&6
4523 else $as_nop
4524 ac_build_alias=$build_alias
4525 test "x$ac_build_alias" = x &&
4526 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4527 test "x$ac_build_alias" = x &&
4528 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4529 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4530 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4534 printf "%s\n" "$ac_cv_build" >&6; }
4535 case $ac_cv_build in
4536 *-*-*) ;;
4537 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4538 esac
4539 build=$ac_cv_build
4540 ac_save_IFS=$IFS; IFS='-'
4541 set x $ac_cv_build
4542 shift
4543 build_cpu=$1
4544 build_vendor=$2
4545 shift; shift
4546 # Remember, the first character of IFS is used to create $*,
4547 # except with old shells:
4548 build_os=$*
4549 IFS=$ac_save_IFS
4550 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4554 printf %s "checking host system type... " >&6; }
4555 if test ${ac_cv_host+y}
4556 then :
4557 printf %s "(cached) " >&6
4558 else $as_nop
4559 if test "x$host_alias" = x; then
4560 ac_cv_host=$ac_cv_build
4561 else
4562 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4563 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4568 printf "%s\n" "$ac_cv_host" >&6; }
4569 case $ac_cv_host in
4570 *-*-*) ;;
4571 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4572 esac
4573 host=$ac_cv_host
4574 ac_save_IFS=$IFS; IFS='-'
4575 set x $ac_cv_host
4576 shift
4577 host_cpu=$1
4578 host_vendor=$2
4579 shift; shift
4580 # Remember, the first character of IFS is used to create $*,
4581 # except with old shells:
4582 host_os=$*
4583 IFS=$ac_save_IFS
4584 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4588 dlldir=\${libdir}/wine
4590 fontdir=\${datadir}/wine/fonts
4592 nlsdir=\${datadir}/wine/nls
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4598 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4599 set x ${MAKE-make}
4600 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4601 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4602 then :
4603 printf %s "(cached) " >&6
4604 else $as_nop
4605 cat >conftest.make <<\_ACEOF
4606 SHELL = /bin/sh
4607 all:
4608 @echo '@@@%%%=$(MAKE)=@@@%%%'
4609 _ACEOF
4610 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4611 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4612 *@@@%%%=?*=@@@%%%*)
4613 eval ac_cv_prog_make_${ac_make}_set=yes;;
4615 eval ac_cv_prog_make_${ac_make}_set=no;;
4616 esac
4617 rm -f conftest.make
4619 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4621 printf "%s\n" "yes" >&6; }
4622 SET_MAKE=
4623 else
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 printf "%s\n" "no" >&6; }
4626 SET_MAKE="MAKE=${MAKE-make}"
4638 ac_ext=c
4639 ac_cpp='$CPP $CPPFLAGS'
4640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4643 if test -n "$ac_tool_prefix"; then
4644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 printf %s "checking for $ac_word... " >&6; }
4648 if test ${ac_cv_prog_CC+y}
4649 then :
4650 printf %s "(cached) " >&6
4651 else $as_nop
4652 if test -n "$CC"; then
4653 ac_cv_prog_CC="$CC" # Let the user override the test.
4654 else
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 for as_dir in $PATH
4658 IFS=$as_save_IFS
4659 case $as_dir in #(((
4660 '') as_dir=./ ;;
4661 */) ;;
4662 *) as_dir=$as_dir/ ;;
4663 esac
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 CC=$ac_cv_prog_CC
4677 if test -n "$CC"; then
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4679 printf "%s\n" "$CC" >&6; }
4680 else
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 printf "%s\n" "no" >&6; }
4687 if test -z "$ac_cv_prog_CC"; then
4688 ac_ct_CC=$CC
4689 # Extract the first word of "gcc", so it can be a program name with args.
4690 set dummy gcc; ac_word=$2
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 printf %s "checking for $ac_word... " >&6; }
4693 if test ${ac_cv_prog_ac_ct_CC+y}
4694 then :
4695 printf %s "(cached) " >&6
4696 else $as_nop
4697 if test -n "$ac_ct_CC"; then
4698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4699 else
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 for as_dir in $PATH
4703 IFS=$as_save_IFS
4704 case $as_dir in #(((
4705 '') as_dir=./ ;;
4706 */) ;;
4707 *) as_dir=$as_dir/ ;;
4708 esac
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4711 ac_cv_prog_ac_ct_CC="gcc"
4712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4713 break 2
4715 done
4716 done
4717 IFS=$as_save_IFS
4721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4722 if test -n "$ac_ct_CC"; then
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4724 printf "%s\n" "$ac_ct_CC" >&6; }
4725 else
4726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 printf "%s\n" "no" >&6; }
4730 if test "x$ac_ct_CC" = x; then
4731 CC=""
4732 else
4733 case $cross_compiling:$ac_tool_warned in
4734 yes:)
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4736 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4737 ac_tool_warned=yes ;;
4738 esac
4739 CC=$ac_ct_CC
4741 else
4742 CC="$ac_cv_prog_CC"
4745 if test -z "$CC"; then
4746 if test -n "$ac_tool_prefix"; then
4747 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4748 set dummy ${ac_tool_prefix}cc; ac_word=$2
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 printf %s "checking for $ac_word... " >&6; }
4751 if test ${ac_cv_prog_CC+y}
4752 then :
4753 printf %s "(cached) " >&6
4754 else $as_nop
4755 if test -n "$CC"; then
4756 ac_cv_prog_CC="$CC" # Let the user override the test.
4757 else
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH
4761 IFS=$as_save_IFS
4762 case $as_dir in #(((
4763 '') as_dir=./ ;;
4764 */) ;;
4765 *) as_dir=$as_dir/ ;;
4766 esac
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4769 ac_cv_prog_CC="${ac_tool_prefix}cc"
4770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4771 break 2
4773 done
4774 done
4775 IFS=$as_save_IFS
4779 CC=$ac_cv_prog_CC
4780 if test -n "$CC"; then
4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4782 printf "%s\n" "$CC" >&6; }
4783 else
4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 printf "%s\n" "no" >&6; }
4791 if test -z "$CC"; then
4792 # Extract the first word of "cc", so it can be a program name with args.
4793 set dummy cc; ac_word=$2
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 printf %s "checking for $ac_word... " >&6; }
4796 if test ${ac_cv_prog_CC+y}
4797 then :
4798 printf %s "(cached) " >&6
4799 else $as_nop
4800 if test -n "$CC"; then
4801 ac_cv_prog_CC="$CC" # Let the user override the test.
4802 else
4803 ac_prog_rejected=no
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH
4807 IFS=$as_save_IFS
4808 case $as_dir in #(((
4809 '') as_dir=./ ;;
4810 */) ;;
4811 *) as_dir=$as_dir/ ;;
4812 esac
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4815 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4816 ac_prog_rejected=yes
4817 continue
4819 ac_cv_prog_CC="cc"
4820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4821 break 2
4823 done
4824 done
4825 IFS=$as_save_IFS
4827 if test $ac_prog_rejected = yes; then
4828 # We found a bogon in the path, so make sure we never use it.
4829 set dummy $ac_cv_prog_CC
4830 shift
4831 if test $# != 0; then
4832 # We chose a different compiler from the bogus one.
4833 # However, it has the same basename, so the bogon will be chosen
4834 # first if we set CC to just the basename; use the full file name.
4835 shift
4836 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4841 CC=$ac_cv_prog_CC
4842 if test -n "$CC"; then
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4844 printf "%s\n" "$CC" >&6; }
4845 else
4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 printf "%s\n" "no" >&6; }
4852 if test -z "$CC"; then
4853 if test -n "$ac_tool_prefix"; then
4854 for ac_prog in cl.exe
4856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 printf %s "checking for $ac_word... " >&6; }
4860 if test ${ac_cv_prog_CC+y}
4861 then :
4862 printf %s "(cached) " >&6
4863 else $as_nop
4864 if test -n "$CC"; then
4865 ac_cv_prog_CC="$CC" # Let the user override the test.
4866 else
4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 for as_dir in $PATH
4870 IFS=$as_save_IFS
4871 case $as_dir in #(((
4872 '') as_dir=./ ;;
4873 */) ;;
4874 *) as_dir=$as_dir/ ;;
4875 esac
4876 for ac_exec_ext in '' $ac_executable_extensions; do
4877 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4878 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4880 break 2
4882 done
4883 done
4884 IFS=$as_save_IFS
4888 CC=$ac_cv_prog_CC
4889 if test -n "$CC"; then
4890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4891 printf "%s\n" "$CC" >&6; }
4892 else
4893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 printf "%s\n" "no" >&6; }
4898 test -n "$CC" && break
4899 done
4901 if test -z "$CC"; then
4902 ac_ct_CC=$CC
4903 for ac_prog in cl.exe
4905 # Extract the first word of "$ac_prog", so it can be a program name with args.
4906 set dummy $ac_prog; ac_word=$2
4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 printf %s "checking for $ac_word... " >&6; }
4909 if test ${ac_cv_prog_ac_ct_CC+y}
4910 then :
4911 printf %s "(cached) " >&6
4912 else $as_nop
4913 if test -n "$ac_ct_CC"; then
4914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4915 else
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH
4919 IFS=$as_save_IFS
4920 case $as_dir in #(((
4921 '') as_dir=./ ;;
4922 */) ;;
4923 *) as_dir=$as_dir/ ;;
4924 esac
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_ac_ct_CC="$ac_prog"
4928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4929 break 2
4931 done
4932 done
4933 IFS=$as_save_IFS
4937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4938 if test -n "$ac_ct_CC"; then
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4940 printf "%s\n" "$ac_ct_CC" >&6; }
4941 else
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 printf "%s\n" "no" >&6; }
4947 test -n "$ac_ct_CC" && break
4948 done
4950 if test "x$ac_ct_CC" = x; then
4951 CC=""
4952 else
4953 case $cross_compiling:$ac_tool_warned in
4954 yes:)
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned=yes ;;
4958 esac
4959 CC=$ac_ct_CC
4964 if test -z "$CC"; then
4965 if test -n "$ac_tool_prefix"; then
4966 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4967 set dummy ${ac_tool_prefix}clang; ac_word=$2
4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 printf %s "checking for $ac_word... " >&6; }
4970 if test ${ac_cv_prog_CC+y}
4971 then :
4972 printf %s "(cached) " >&6
4973 else $as_nop
4974 if test -n "$CC"; then
4975 ac_cv_prog_CC="$CC" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4980 IFS=$as_save_IFS
4981 case $as_dir in #(((
4982 '') as_dir=./ ;;
4983 */) ;;
4984 *) as_dir=$as_dir/ ;;
4985 esac
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_CC="${ac_tool_prefix}clang"
4989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 CC=$ac_cv_prog_CC
4999 if test -n "$CC"; then
5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5001 printf "%s\n" "$CC" >&6; }
5002 else
5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 printf "%s\n" "no" >&6; }
5009 if test -z "$ac_cv_prog_CC"; then
5010 ac_ct_CC=$CC
5011 # Extract the first word of "clang", so it can be a program name with args.
5012 set dummy clang; ac_word=$2
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 printf %s "checking for $ac_word... " >&6; }
5015 if test ${ac_cv_prog_ac_ct_CC+y}
5016 then :
5017 printf %s "(cached) " >&6
5018 else $as_nop
5019 if test -n "$ac_ct_CC"; then
5020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 case $as_dir in #(((
5027 '') as_dir=./ ;;
5028 */) ;;
5029 *) as_dir=$as_dir/ ;;
5030 esac
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_ac_ct_CC="clang"
5034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5035 break 2
5037 done
5038 done
5039 IFS=$as_save_IFS
5043 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5044 if test -n "$ac_ct_CC"; then
5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5046 printf "%s\n" "$ac_ct_CC" >&6; }
5047 else
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 printf "%s\n" "no" >&6; }
5052 if test "x$ac_ct_CC" = x; then
5053 CC=""
5054 else
5055 case $cross_compiling:$ac_tool_warned in
5056 yes:)
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5060 esac
5061 CC=$ac_ct_CC
5063 else
5064 CC="$ac_cv_prog_CC"
5070 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5071 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5072 as_fn_error $? "no acceptable C compiler found in \$PATH
5073 See \`config.log' for more details" "$LINENO" 5; }
5075 # Provide some information about the compiler.
5076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5077 set X $ac_compile
5078 ac_compiler=$2
5079 for ac_option in --version -v -V -qversion -version; do
5080 { { ac_try="$ac_compiler $ac_option >&5"
5081 case "(($ac_try" in
5082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5083 *) ac_try_echo=$ac_try;;
5084 esac
5085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5086 printf "%s\n" "$ac_try_echo"; } >&5
5087 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5088 ac_status=$?
5089 if test -s conftest.err; then
5090 sed '10a\
5091 ... rest of stderr output deleted ...
5092 10q' conftest.err >conftest.er1
5093 cat conftest.er1 >&5
5095 rm -f conftest.er1 conftest.err
5096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5097 test $ac_status = 0; }
5098 done
5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5104 main (void)
5108 return 0;
5110 _ACEOF
5111 ac_clean_files_save=$ac_clean_files
5112 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5113 # Try to create an executable without -o first, disregard a.out.
5114 # It will help us diagnose broken compilers, and finding out an intuition
5115 # of exeext.
5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5117 printf %s "checking whether the C compiler works... " >&6; }
5118 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5120 # The possible output files:
5121 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5123 ac_rmfiles=
5124 for ac_file in $ac_files
5126 case $ac_file in
5127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5128 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5129 esac
5130 done
5131 rm -f $ac_rmfiles
5133 if { { ac_try="$ac_link_default"
5134 case "(($ac_try" in
5135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5136 *) ac_try_echo=$ac_try;;
5137 esac
5138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5139 printf "%s\n" "$ac_try_echo"; } >&5
5140 (eval "$ac_link_default") 2>&5
5141 ac_status=$?
5142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5143 test $ac_status = 0; }
5144 then :
5145 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5146 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5147 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5148 # so that the user can short-circuit this test for compilers unknown to
5149 # Autoconf.
5150 for ac_file in $ac_files ''
5152 test -f "$ac_file" || continue
5153 case $ac_file in
5154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5156 [ab].out )
5157 # We found the default executable, but exeext='' is most
5158 # certainly right.
5159 break;;
5160 *.* )
5161 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5162 then :; else
5163 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5165 # We set ac_cv_exeext here because the later test for it is not
5166 # safe: cross compilers may not add the suffix if given an `-o'
5167 # argument, so we may need to know it at that point already.
5168 # Even if this section looks crufty: it has the advantage of
5169 # actually working.
5170 break;;
5172 break;;
5173 esac
5174 done
5175 test "$ac_cv_exeext" = no && ac_cv_exeext=
5177 else $as_nop
5178 ac_file=''
5180 if test -z "$ac_file"
5181 then :
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 printf "%s\n" "no" >&6; }
5184 printf "%s\n" "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.$ac_ext >&5
5187 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5188 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5189 as_fn_error 77 "C compiler cannot create executables
5190 See \`config.log' for more details" "$LINENO" 5; }
5191 else $as_nop
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5193 printf "%s\n" "yes" >&6; }
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5196 printf %s "checking for C compiler default output file name... " >&6; }
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5198 printf "%s\n" "$ac_file" >&6; }
5199 ac_exeext=$ac_cv_exeext
5201 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5202 ac_clean_files=$ac_clean_files_save
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5204 printf %s "checking for suffix of executables... " >&6; }
5205 if { { ac_try="$ac_link"
5206 case "(($ac_try" in
5207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5208 *) ac_try_echo=$ac_try;;
5209 esac
5210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5211 printf "%s\n" "$ac_try_echo"; } >&5
5212 (eval "$ac_link") 2>&5
5213 ac_status=$?
5214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5215 test $ac_status = 0; }
5216 then :
5217 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5218 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5219 # work properly (i.e., refer to `conftest.exe'), while it won't with
5220 # `rm'.
5221 for ac_file in conftest.exe conftest conftest.*; do
5222 test -f "$ac_file" || continue
5223 case $ac_file in
5224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5225 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5226 break;;
5227 * ) break;;
5228 esac
5229 done
5230 else $as_nop
5231 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5232 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5233 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5234 See \`config.log' for more details" "$LINENO" 5; }
5236 rm -f conftest conftest$ac_cv_exeext
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5238 printf "%s\n" "$ac_cv_exeext" >&6; }
5240 rm -f conftest.$ac_ext
5241 EXEEXT=$ac_cv_exeext
5242 ac_exeext=$EXEEXT
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245 #include <stdio.h>
5247 main (void)
5249 FILE *f = fopen ("conftest.out", "w");
5250 return ferror (f) || fclose (f) != 0;
5253 return 0;
5255 _ACEOF
5256 ac_clean_files="$ac_clean_files conftest.out"
5257 # Check that the compiler produces executables we can run. If not, either
5258 # the compiler is broken, or we cross compile.
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5260 printf %s "checking whether we are cross compiling... " >&6; }
5261 if test "$cross_compiling" != yes; then
5262 { { ac_try="$ac_link"
5263 case "(($ac_try" in
5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5266 esac
5267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5268 printf "%s\n" "$ac_try_echo"; } >&5
5269 (eval "$ac_link") 2>&5
5270 ac_status=$?
5271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5272 test $ac_status = 0; }
5273 if { ac_try='./conftest$ac_cv_exeext'
5274 { { case "(($ac_try" in
5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5277 esac
5278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5279 printf "%s\n" "$ac_try_echo"; } >&5
5280 (eval "$ac_try") 2>&5
5281 ac_status=$?
5282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5283 test $ac_status = 0; }; }; then
5284 cross_compiling=no
5285 else
5286 if test "$cross_compiling" = maybe; then
5287 cross_compiling=yes
5288 else
5289 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5290 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5291 as_fn_error 77 "cannot run C compiled programs.
5292 If you meant to cross compile, use \`--host'.
5293 See \`config.log' for more details" "$LINENO" 5; }
5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5298 printf "%s\n" "$cross_compiling" >&6; }
5300 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5301 ac_clean_files=$ac_clean_files_save
5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5303 printf %s "checking for suffix of object files... " >&6; }
5304 if test ${ac_cv_objext+y}
5305 then :
5306 printf %s "(cached) " >&6
5307 else $as_nop
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5312 main (void)
5316 return 0;
5318 _ACEOF
5319 rm -f conftest.o conftest.obj
5320 if { { ac_try="$ac_compile"
5321 case "(($ac_try" in
5322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5323 *) ac_try_echo=$ac_try;;
5324 esac
5325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5326 printf "%s\n" "$ac_try_echo"; } >&5
5327 (eval "$ac_compile") 2>&5
5328 ac_status=$?
5329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5330 test $ac_status = 0; }
5331 then :
5332 for ac_file in conftest.o conftest.obj conftest.*; do
5333 test -f "$ac_file" || continue;
5334 case $ac_file in
5335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5336 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5337 break;;
5338 esac
5339 done
5340 else $as_nop
5341 printf "%s\n" "$as_me: failed program was:" >&5
5342 sed 's/^/| /' conftest.$ac_ext >&5
5344 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5345 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5346 as_fn_error $? "cannot compute suffix of object files: cannot compile
5347 See \`config.log' for more details" "$LINENO" 5; }
5349 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5352 printf "%s\n" "$ac_cv_objext" >&6; }
5353 OBJEXT=$ac_cv_objext
5354 ac_objext=$OBJEXT
5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5356 printf %s "checking whether the compiler supports GNU C... " >&6; }
5357 if test ${ac_cv_c_compiler_gnu+y}
5358 then :
5359 printf %s "(cached) " >&6
5360 else $as_nop
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main (void)
5367 #ifndef __GNUC__
5368 choke me
5369 #endif
5372 return 0;
5374 _ACEOF
5375 if ac_fn_c_try_compile "$LINENO"
5376 then :
5377 ac_compiler_gnu=yes
5378 else $as_nop
5379 ac_compiler_gnu=no
5381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5382 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5386 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5389 if test $ac_compiler_gnu = yes; then
5390 GCC=yes
5391 else
5392 GCC=
5394 ac_test_CFLAGS=${CFLAGS+y}
5395 ac_save_CFLAGS=$CFLAGS
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5397 printf %s "checking whether $CC accepts -g... " >&6; }
5398 if test ${ac_cv_prog_cc_g+y}
5399 then :
5400 printf %s "(cached) " >&6
5401 else $as_nop
5402 ac_save_c_werror_flag=$ac_c_werror_flag
5403 ac_c_werror_flag=yes
5404 ac_cv_prog_cc_g=no
5405 CFLAGS="-g"
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5410 main (void)
5414 return 0;
5416 _ACEOF
5417 if ac_fn_c_try_compile "$LINENO"
5418 then :
5419 ac_cv_prog_cc_g=yes
5420 else $as_nop
5421 CFLAGS=""
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5426 main (void)
5430 return 0;
5432 _ACEOF
5433 if ac_fn_c_try_compile "$LINENO"
5434 then :
5436 else $as_nop
5437 ac_c_werror_flag=$ac_save_c_werror_flag
5438 CFLAGS="-g"
5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5443 main (void)
5447 return 0;
5449 _ACEOF
5450 if ac_fn_c_try_compile "$LINENO"
5451 then :
5452 ac_cv_prog_cc_g=yes
5454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5459 ac_c_werror_flag=$ac_save_c_werror_flag
5461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5462 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5463 if test $ac_test_CFLAGS; then
5464 CFLAGS=$ac_save_CFLAGS
5465 elif test $ac_cv_prog_cc_g = yes; then
5466 if test "$GCC" = yes; then
5467 CFLAGS="-g -O2"
5468 else
5469 CFLAGS="-g"
5471 else
5472 if test "$GCC" = yes; then
5473 CFLAGS="-O2"
5474 else
5475 CFLAGS=
5478 ac_prog_cc_stdc=no
5479 if test x$ac_prog_cc_stdc = xno
5480 then :
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5482 printf %s "checking for $CC option to enable C11 features... " >&6; }
5483 if test ${ac_cv_prog_cc_c11+y}
5484 then :
5485 printf %s "(cached) " >&6
5486 else $as_nop
5487 ac_cv_prog_cc_c11=no
5488 ac_save_CC=$CC
5489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5490 /* end confdefs.h. */
5491 $ac_c_conftest_c11_program
5492 _ACEOF
5493 for ac_arg in '' -std=gnu11
5495 CC="$ac_save_CC $ac_arg"
5496 if ac_fn_c_try_compile "$LINENO"
5497 then :
5498 ac_cv_prog_cc_c11=$ac_arg
5500 rm -f core conftest.err conftest.$ac_objext conftest.beam
5501 test "x$ac_cv_prog_cc_c11" != "xno" && break
5502 done
5503 rm -f conftest.$ac_ext
5504 CC=$ac_save_CC
5507 if test "x$ac_cv_prog_cc_c11" = xno
5508 then :
5509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5510 printf "%s\n" "unsupported" >&6; }
5511 else $as_nop
5512 if test "x$ac_cv_prog_cc_c11" = x
5513 then :
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5515 printf "%s\n" "none needed" >&6; }
5516 else $as_nop
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5518 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5519 CC="$CC $ac_cv_prog_cc_c11"
5521 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5522 ac_prog_cc_stdc=c11
5525 if test x$ac_prog_cc_stdc = xno
5526 then :
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5528 printf %s "checking for $CC option to enable C99 features... " >&6; }
5529 if test ${ac_cv_prog_cc_c99+y}
5530 then :
5531 printf %s "(cached) " >&6
5532 else $as_nop
5533 ac_cv_prog_cc_c99=no
5534 ac_save_CC=$CC
5535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h. */
5537 $ac_c_conftest_c99_program
5538 _ACEOF
5539 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5541 CC="$ac_save_CC $ac_arg"
5542 if ac_fn_c_try_compile "$LINENO"
5543 then :
5544 ac_cv_prog_cc_c99=$ac_arg
5546 rm -f core conftest.err conftest.$ac_objext conftest.beam
5547 test "x$ac_cv_prog_cc_c99" != "xno" && break
5548 done
5549 rm -f conftest.$ac_ext
5550 CC=$ac_save_CC
5553 if test "x$ac_cv_prog_cc_c99" = xno
5554 then :
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5556 printf "%s\n" "unsupported" >&6; }
5557 else $as_nop
5558 if test "x$ac_cv_prog_cc_c99" = x
5559 then :
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5561 printf "%s\n" "none needed" >&6; }
5562 else $as_nop
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5564 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5565 CC="$CC $ac_cv_prog_cc_c99"
5567 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5568 ac_prog_cc_stdc=c99
5571 if test x$ac_prog_cc_stdc = xno
5572 then :
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5574 printf %s "checking for $CC option to enable C89 features... " >&6; }
5575 if test ${ac_cv_prog_cc_c89+y}
5576 then :
5577 printf %s "(cached) " >&6
5578 else $as_nop
5579 ac_cv_prog_cc_c89=no
5580 ac_save_CC=$CC
5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5583 $ac_c_conftest_c89_program
5584 _ACEOF
5585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5587 CC="$ac_save_CC $ac_arg"
5588 if ac_fn_c_try_compile "$LINENO"
5589 then :
5590 ac_cv_prog_cc_c89=$ac_arg
5592 rm -f core conftest.err conftest.$ac_objext conftest.beam
5593 test "x$ac_cv_prog_cc_c89" != "xno" && break
5594 done
5595 rm -f conftest.$ac_ext
5596 CC=$ac_save_CC
5599 if test "x$ac_cv_prog_cc_c89" = xno
5600 then :
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5602 printf "%s\n" "unsupported" >&6; }
5603 else $as_nop
5604 if test "x$ac_cv_prog_cc_c89" = x
5605 then :
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5607 printf "%s\n" "none needed" >&6; }
5608 else $as_nop
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5610 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5611 CC="$CC $ac_cv_prog_cc_c89"
5613 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5614 ac_prog_cc_stdc=c89
5618 ac_ext=c
5619 ac_cpp='$CPP $CPPFLAGS'
5620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5630 ac_ext=cpp
5631 ac_cpp='$CXXCPP $CPPFLAGS'
5632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5635 if test -z "$CXX"; then
5636 if test -n "$CCC"; then
5637 CXX=$CCC
5638 else
5639 if test -n "$ac_tool_prefix"; then
5640 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5642 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5643 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 printf %s "checking for $ac_word... " >&6; }
5646 if test ${ac_cv_prog_CXX+y}
5647 then :
5648 printf %s "(cached) " >&6
5649 else $as_nop
5650 if test -n "$CXX"; then
5651 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5656 IFS=$as_save_IFS
5657 case $as_dir in #(((
5658 '') as_dir=./ ;;
5659 */) ;;
5660 *) as_dir=$as_dir/ ;;
5661 esac
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5666 break 2
5668 done
5669 done
5670 IFS=$as_save_IFS
5674 CXX=$ac_cv_prog_CXX
5675 if test -n "$CXX"; then
5676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5677 printf "%s\n" "$CXX" >&6; }
5678 else
5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 printf "%s\n" "no" >&6; }
5684 test -n "$CXX" && break
5685 done
5687 if test -z "$CXX"; then
5688 ac_ct_CXX=$CXX
5689 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5691 # Extract the first word of "$ac_prog", so it can be a program name with args.
5692 set dummy $ac_prog; ac_word=$2
5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 printf %s "checking for $ac_word... " >&6; }
5695 if test ${ac_cv_prog_ac_ct_CXX+y}
5696 then :
5697 printf %s "(cached) " >&6
5698 else $as_nop
5699 if test -n "$ac_ct_CXX"; then
5700 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5701 else
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in $PATH
5705 IFS=$as_save_IFS
5706 case $as_dir in #(((
5707 '') as_dir=./ ;;
5708 */) ;;
5709 *) as_dir=$as_dir/ ;;
5710 esac
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_ac_ct_CXX="$ac_prog"
5714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5715 break 2
5717 done
5718 done
5719 IFS=$as_save_IFS
5723 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5724 if test -n "$ac_ct_CXX"; then
5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5726 printf "%s\n" "$ac_ct_CXX" >&6; }
5727 else
5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 printf "%s\n" "no" >&6; }
5733 test -n "$ac_ct_CXX" && break
5734 done
5736 if test "x$ac_ct_CXX" = x; then
5737 CXX="g++"
5738 else
5739 case $cross_compiling:$ac_tool_warned in
5740 yes:)
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5742 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5743 ac_tool_warned=yes ;;
5744 esac
5745 CXX=$ac_ct_CXX
5751 # Provide some information about the compiler.
5752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5753 set X $ac_compile
5754 ac_compiler=$2
5755 for ac_option in --version -v -V -qversion; do
5756 { { ac_try="$ac_compiler $ac_option >&5"
5757 case "(($ac_try" in
5758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5759 *) ac_try_echo=$ac_try;;
5760 esac
5761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5762 printf "%s\n" "$ac_try_echo"; } >&5
5763 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5764 ac_status=$?
5765 if test -s conftest.err; then
5766 sed '10a\
5767 ... rest of stderr output deleted ...
5768 10q' conftest.err >conftest.er1
5769 cat conftest.er1 >&5
5771 rm -f conftest.er1 conftest.err
5772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5773 test $ac_status = 0; }
5774 done
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5777 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5778 if test ${ac_cv_cxx_compiler_gnu+y}
5779 then :
5780 printf %s "(cached) " >&6
5781 else $as_nop
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5786 main (void)
5788 #ifndef __GNUC__
5789 choke me
5790 #endif
5793 return 0;
5795 _ACEOF
5796 if ac_fn_cxx_try_compile "$LINENO"
5797 then :
5798 ac_compiler_gnu=yes
5799 else $as_nop
5800 ac_compiler_gnu=no
5802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5803 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5807 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5810 if test $ac_compiler_gnu = yes; then
5811 GXX=yes
5812 else
5813 GXX=
5815 ac_test_CXXFLAGS=${CXXFLAGS+y}
5816 ac_save_CXXFLAGS=$CXXFLAGS
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5818 printf %s "checking whether $CXX accepts -g... " >&6; }
5819 if test ${ac_cv_prog_cxx_g+y}
5820 then :
5821 printf %s "(cached) " >&6
5822 else $as_nop
5823 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5824 ac_cxx_werror_flag=yes
5825 ac_cv_prog_cxx_g=no
5826 CXXFLAGS="-g"
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5831 main (void)
5835 return 0;
5837 _ACEOF
5838 if ac_fn_cxx_try_compile "$LINENO"
5839 then :
5840 ac_cv_prog_cxx_g=yes
5841 else $as_nop
5842 CXXFLAGS=""
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5847 main (void)
5851 return 0;
5853 _ACEOF
5854 if ac_fn_cxx_try_compile "$LINENO"
5855 then :
5857 else $as_nop
5858 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5859 CXXFLAGS="-g"
5860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5861 /* end confdefs.h. */
5864 main (void)
5868 return 0;
5870 _ACEOF
5871 if ac_fn_cxx_try_compile "$LINENO"
5872 then :
5873 ac_cv_prog_cxx_g=yes
5875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5880 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5883 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5884 if test $ac_test_CXXFLAGS; then
5885 CXXFLAGS=$ac_save_CXXFLAGS
5886 elif test $ac_cv_prog_cxx_g = yes; then
5887 if test "$GXX" = yes; then
5888 CXXFLAGS="-g -O2"
5889 else
5890 CXXFLAGS="-g"
5892 else
5893 if test "$GXX" = yes; then
5894 CXXFLAGS="-O2"
5895 else
5896 CXXFLAGS=
5899 ac_prog_cxx_stdcxx=no
5900 if test x$ac_prog_cxx_stdcxx = xno
5901 then :
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5903 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5904 if test ${ac_cv_prog_cxx_11+y}
5905 then :
5906 printf %s "(cached) " >&6
5907 else $as_nop
5908 ac_cv_prog_cxx_11=no
5909 ac_save_CXX=$CXX
5910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5912 $ac_cxx_conftest_cxx11_program
5913 _ACEOF
5914 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5916 CXX="$ac_save_CXX $ac_arg"
5917 if ac_fn_cxx_try_compile "$LINENO"
5918 then :
5919 ac_cv_prog_cxx_cxx11=$ac_arg
5921 rm -f core conftest.err conftest.$ac_objext conftest.beam
5922 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5923 done
5924 rm -f conftest.$ac_ext
5925 CXX=$ac_save_CXX
5928 if test "x$ac_cv_prog_cxx_cxx11" = xno
5929 then :
5930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5931 printf "%s\n" "unsupported" >&6; }
5932 else $as_nop
5933 if test "x$ac_cv_prog_cxx_cxx11" = x
5934 then :
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5936 printf "%s\n" "none needed" >&6; }
5937 else $as_nop
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5939 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5940 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5942 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5943 ac_prog_cxx_stdcxx=cxx11
5946 if test x$ac_prog_cxx_stdcxx = xno
5947 then :
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5949 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5950 if test ${ac_cv_prog_cxx_98+y}
5951 then :
5952 printf %s "(cached) " >&6
5953 else $as_nop
5954 ac_cv_prog_cxx_98=no
5955 ac_save_CXX=$CXX
5956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h. */
5958 $ac_cxx_conftest_cxx98_program
5959 _ACEOF
5960 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5962 CXX="$ac_save_CXX $ac_arg"
5963 if ac_fn_cxx_try_compile "$LINENO"
5964 then :
5965 ac_cv_prog_cxx_cxx98=$ac_arg
5967 rm -f core conftest.err conftest.$ac_objext conftest.beam
5968 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5969 done
5970 rm -f conftest.$ac_ext
5971 CXX=$ac_save_CXX
5974 if test "x$ac_cv_prog_cxx_cxx98" = xno
5975 then :
5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5977 printf "%s\n" "unsupported" >&6; }
5978 else $as_nop
5979 if test "x$ac_cv_prog_cxx_cxx98" = x
5980 then :
5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5982 printf "%s\n" "none needed" >&6; }
5983 else $as_nop
5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5985 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5986 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5988 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5989 ac_prog_cxx_stdcxx=cxx98
5993 ac_ext=c
5994 ac_cpp='$CPP $CPPFLAGS'
5995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5999 if test -n "$ac_tool_prefix"; then
6000 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6001 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 printf %s "checking for $ac_word... " >&6; }
6004 if test ${ac_cv_prog_CPPBIN+y}
6005 then :
6006 printf %s "(cached) " >&6
6007 else $as_nop
6008 if test -n "$CPPBIN"; then
6009 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 case $as_dir in #(((
6016 '') as_dir=./ ;;
6017 */) ;;
6018 *) as_dir=$as_dir/ ;;
6019 esac
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 CPPBIN=$ac_cv_prog_CPPBIN
6033 if test -n "$CPPBIN"; then
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6035 printf "%s\n" "$CPPBIN" >&6; }
6036 else
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 printf "%s\n" "no" >&6; }
6043 if test -z "$ac_cv_prog_CPPBIN"; then
6044 ac_ct_CPPBIN=$CPPBIN
6045 # Extract the first word of "cpp", so it can be a program name with args.
6046 set dummy cpp; ac_word=$2
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 printf %s "checking for $ac_word... " >&6; }
6049 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6050 then :
6051 printf %s "(cached) " >&6
6052 else $as_nop
6053 if test -n "$ac_ct_CPPBIN"; then
6054 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 case $as_dir in #(((
6061 '') as_dir=./ ;;
6062 */) ;;
6063 *) as_dir=$as_dir/ ;;
6064 esac
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_ac_ct_CPPBIN="cpp"
6068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6073 IFS=$as_save_IFS
6077 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6078 if test -n "$ac_ct_CPPBIN"; then
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6080 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6081 else
6082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 printf "%s\n" "no" >&6; }
6086 if test "x$ac_ct_CPPBIN" = x; then
6087 CPPBIN="cpp"
6088 else
6089 case $cross_compiling:$ac_tool_warned in
6090 yes:)
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned=yes ;;
6094 esac
6095 CPPBIN=$ac_ct_CPPBIN
6097 else
6098 CPPBIN="$ac_cv_prog_CPPBIN"
6102 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}ld; ac_word=$2
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 printf %s "checking for $ac_word... " >&6; }
6109 if test ${ac_cv_prog_LD+y}
6110 then :
6111 printf %s "(cached) " >&6
6112 else $as_nop
6113 if test -n "$LD"; then
6114 ac_cv_prog_LD="$LD" # Let the user override the test.
6115 else
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH
6119 IFS=$as_save_IFS
6120 case $as_dir in #(((
6121 '') as_dir=./ ;;
6122 */) ;;
6123 *) as_dir=$as_dir/ ;;
6124 esac
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_LD="${ac_tool_prefix}ld"
6128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6129 break 2
6131 done
6132 done
6133 IFS=$as_save_IFS
6137 LD=$ac_cv_prog_LD
6138 if test -n "$LD"; then
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6140 printf "%s\n" "$LD" >&6; }
6141 else
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 printf "%s\n" "no" >&6; }
6148 if test -z "$ac_cv_prog_LD"; then
6149 ac_ct_LD=$LD
6150 # Extract the first word of "ld", so it can be a program name with args.
6151 set dummy ld; ac_word=$2
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 printf %s "checking for $ac_word... " >&6; }
6154 if test ${ac_cv_prog_ac_ct_LD+y}
6155 then :
6156 printf %s "(cached) " >&6
6157 else $as_nop
6158 if test -n "$ac_ct_LD"; then
6159 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6160 else
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH
6164 IFS=$as_save_IFS
6165 case $as_dir in #(((
6166 '') as_dir=./ ;;
6167 */) ;;
6168 *) as_dir=$as_dir/ ;;
6169 esac
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6172 ac_cv_prog_ac_ct_LD="ld"
6173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6174 break 2
6176 done
6177 done
6178 IFS=$as_save_IFS
6182 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6183 if test -n "$ac_ct_LD"; then
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6185 printf "%s\n" "$ac_ct_LD" >&6; }
6186 else
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6188 printf "%s\n" "no" >&6; }
6191 if test "x$ac_ct_LD" = x; then
6192 LD=""
6193 else
6194 case $cross_compiling:$ac_tool_warned in
6195 yes:)
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6197 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6198 ac_tool_warned=yes ;;
6199 esac
6200 LD=$ac_ct_LD
6202 else
6203 LD="$ac_cv_prog_LD"
6207 case $host in
6208 *-darwin*)
6209 with_fontconfig=${with_fontconfig:-no}
6211 *-mingw32*|*-cygwin*)
6212 enable_win16=${enable_win16:-no}
6213 with_mingw=${with_mingw:-no}
6215 esac
6218 case $host in
6219 x86_64*|amd64*)
6220 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6221 then
6222 CC="$CC -m32"
6223 CXX="$CXX -m32"
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6226 printf %s "checking whether $CC works... " >&6; }
6227 if test ${wine_cv_cc_m32+y}
6228 then :
6229 printf %s "(cached) " >&6
6230 else $as_nop
6231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6235 main (void)
6239 return 0;
6241 _ACEOF
6242 if ac_fn_c_try_link "$LINENO"
6243 then :
6244 wine_cv_cc_m32=yes
6245 else $as_nop
6246 wine_cv_cc_m32=no
6248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6249 conftest$ac_exeext conftest.$ac_ext
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6252 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6253 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
6254 host_cpu="i386"
6255 notice_platform="32-bit "
6256 TARGETFLAGS="$TARGETFLAGS -m32"
6257 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6258 export PKG_CONFIG_PATH
6259 with_unwind=${with_unwind:-no}
6260 else
6261 if test "x${GCC}" = "xyes"
6262 then
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6264 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6265 if test ${wine_cv_builtin_ms_va_list+y}
6266 then :
6267 printf %s "(cached) " >&6
6268 else $as_nop
6269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6271 #include <stdarg.h>
6273 main (void)
6275 void func(__builtin_ms_va_list *args);
6277 return 0;
6279 _ACEOF
6280 if ac_fn_c_try_compile "$LINENO"
6281 then :
6282 wine_cv_builtin_ms_va_list=yes
6283 else $as_nop
6284 wine_cv_builtin_ms_va_list=no
6286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6289 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6290 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
6292 CC="$CC -m64"
6293 CXX="$CXX -m64"
6294 host_cpu="x86_64"
6295 notice_platform="64-bit "
6296 TARGETFLAGS="$TARGETFLAGS -m64"
6299 arm*)
6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6301 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6302 if test ${wine_cv_thumb2+y}
6303 then :
6304 printf %s "(cached) " >&6
6305 else $as_nop
6306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6307 /* end confdefs.h. */
6310 main (void)
6312 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6314 return 0;
6316 _ACEOF
6317 if ac_fn_c_try_link "$LINENO"
6318 then :
6319 wine_cv_thumb2=yes
6320 else $as_nop
6321 wine_cv_thumb2=no
6323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6324 conftest$ac_exeext conftest.$ac_ext
6326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6327 printf "%s\n" "$wine_cv_thumb2" >&6; }
6328 if test x"$wine_cv_thumb2" = xyes
6329 then
6330 CFLAGS="$CFLAGS -mthumb"
6331 TARGETFLAGS="$TARGETFLAGS -mthumb"
6332 else
6333 CFLAGS="$CFLAGS -marm"
6334 TARGETFLAGS="$TARGETFLAGS -marm"
6336 case $with_float_abi in
6337 soft|softfp|hard)
6338 float_abi=$with_float_abi ;;
6340 case $host_os in
6341 *eabihf)
6342 float_abi=hard ;;
6344 float_abi=softfp
6345 saved_CFLAGS=$CFLAGS
6346 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6348 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6349 if test ${wine_cv_float_abi+y}
6350 then :
6351 printf %s "(cached) " >&6
6352 else $as_nop
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6357 main (void)
6359 asm("vmrs r2,fpscr");
6361 return 0;
6363 _ACEOF
6364 if ac_fn_c_try_link "$LINENO"
6365 then :
6366 wine_cv_float_abi=yes
6367 else $as_nop
6368 wine_cv_float_abi=no
6370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6371 conftest$ac_exeext conftest.$ac_ext
6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6374 printf "%s\n" "$wine_cv_float_abi" >&6; }
6375 if test $wine_cv_float_abi = no
6376 then
6377 float_abi=soft
6378 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6380 CFLAGS=$saved_CFLAGS
6381 esac
6383 esac
6384 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6385 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6387 i[3456789]86*)
6388 with_unwind=${with_unwind:-no}
6390 esac
6392 enable_win16=${enable_win16:-i386}
6393 enable_win64=${enable_win64:-no}
6394 enable_wow64=${enable_wow64:-aarch64,x86_64}
6395 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6396 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6398 enable_winetest=${enable_winetest:-$enable_tests}
6400 if test "x$enable_win64" = "xyes"
6401 then
6402 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6403 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6406 case $build_os in
6407 cygwin*|mingw32*) toolsext=".exe"
6409 *) toolsext=""
6411 esac
6413 HOST_ARCH=unknown
6414 case "$host_cpu" in
6415 aarch64*) HOST_ARCH=aarch64 ;;
6416 arm*) HOST_ARCH=arm ;;
6417 i[3456789]86*) HOST_ARCH=i386 ;;
6418 x86_64) HOST_ARCH=x86_64 ;;
6419 esac
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6423 printf %s "checking for the directory containing the Wine tools... " >&6; }
6424 if test ${wine_cv_toolsdir+y}
6425 then :
6426 printf %s "(cached) " >&6
6427 else $as_nop
6428 wine_cv_toolsdir="$with_wine_tools"
6429 if test -z "$with_wine_tools"; then
6430 if test "$cross_compiling" = "yes"; then
6431 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6432 elif test -n "$with_wine64"; then
6433 wine_cv_toolsdir="$with_wine64"
6437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6438 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6439 if test -z "$wine_cv_toolsdir"; then
6440 wine_makedep=tools/makedep$toolsext
6441 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6442 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6443 enable_tools=${enable_tools:-no}
6444 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6445 else
6446 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6448 toolsdir=$wine_cv_toolsdir
6450 MAKEDEP=$wine_makedep
6452 RUNTESTFLAGS="-q -P wine"
6454 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'"
6457 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6458 then
6459 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6462 for ac_prog in flex
6464 # Extract the first word of "$ac_prog", so it can be a program name with args.
6465 set dummy $ac_prog; ac_word=$2
6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 printf %s "checking for $ac_word... " >&6; }
6468 if test ${ac_cv_prog_FLEX+y}
6469 then :
6470 printf %s "(cached) " >&6
6471 else $as_nop
6472 if test -n "$FLEX"; then
6473 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 case $as_dir in #(((
6480 '') as_dir=./ ;;
6481 */) ;;
6482 *) as_dir=$as_dir/ ;;
6483 esac
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_FLEX="$ac_prog"
6487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6496 FLEX=$ac_cv_prog_FLEX
6497 if test -n "$FLEX"; then
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6499 printf "%s\n" "$FLEX" >&6; }
6500 else
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 printf "%s\n" "no" >&6; }
6506 test -n "$FLEX" && break
6507 done
6508 test -n "$FLEX" || FLEX="none"
6510 if test "$FLEX" = "none"
6511 then
6512 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6515 printf %s "checking whether flex is recent enough... " >&6; }
6516 if test ${wine_cv_recent_flex+y}
6517 then :
6518 printf %s "(cached) " >&6
6519 else $as_nop
6520 cat >conftest.l <<EOF
6521 %top{
6522 #include "prediluvian.h"
6526 if $FLEX -t conftest.l >/dev/null 2>&5
6527 then
6528 wine_cv_recent_flex=yes
6529 else
6530 wine_cv_recent_flex=no
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6534 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6535 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
6537 for ac_prog in bison
6539 # Extract the first word of "$ac_prog", so it can be a program name with args.
6540 set dummy $ac_prog; ac_word=$2
6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 printf %s "checking for $ac_word... " >&6; }
6543 if test ${ac_cv_prog_BISON+y}
6544 then :
6545 printf %s "(cached) " >&6
6546 else $as_nop
6547 if test -n "$BISON"; then
6548 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6553 IFS=$as_save_IFS
6554 case $as_dir in #(((
6555 '') as_dir=./ ;;
6556 */) ;;
6557 *) as_dir=$as_dir/ ;;
6558 esac
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_BISON="$ac_prog"
6562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6563 break 2
6565 done
6566 done
6567 IFS=$as_save_IFS
6571 BISON=$ac_cv_prog_BISON
6572 if test -n "$BISON"; then
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6574 printf "%s\n" "$BISON" >&6; }
6575 else
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 printf "%s\n" "no" >&6; }
6581 test -n "$BISON" && break
6582 done
6583 test -n "$BISON" || BISON="none"
6585 if test "$BISON" = "none"
6586 then
6587 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6590 printf %s "checking whether bison is recent enough... " >&6; }
6591 if test ${wine_cv_recent_bison+y}
6592 then :
6593 printf %s "(cached) " >&6
6594 else $as_nop
6595 cat >conftest.y <<EOF
6596 %define parse.error verbose
6598 empty: ;
6600 if $BISON conftest.y >/dev/null 2>&5
6601 then
6602 wine_cv_recent_bison=yes
6603 else
6604 wine_cv_recent_bison=no
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6608 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6609 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
6611 if test -n "$ac_tool_prefix"; then
6612 for ac_prog in ar gar
6614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 printf %s "checking for $ac_word... " >&6; }
6618 if test ${ac_cv_prog_AR+y}
6619 then :
6620 printf %s "(cached) " >&6
6621 else $as_nop
6622 if test -n "$AR"; then
6623 ac_cv_prog_AR="$AR" # Let the user override the test.
6624 else
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 for as_dir in $PATH
6628 IFS=$as_save_IFS
6629 case $as_dir in #(((
6630 '') as_dir=./ ;;
6631 */) ;;
6632 *) as_dir=$as_dir/ ;;
6633 esac
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 AR=$ac_cv_prog_AR
6647 if test -n "$AR"; then
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6649 printf "%s\n" "$AR" >&6; }
6650 else
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 printf "%s\n" "no" >&6; }
6656 test -n "$AR" && break
6657 done
6659 if test -z "$AR"; then
6660 ac_ct_AR=$AR
6661 for ac_prog in ar gar
6663 # Extract the first word of "$ac_prog", so it can be a program name with args.
6664 set dummy $ac_prog; ac_word=$2
6665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 printf %s "checking for $ac_word... " >&6; }
6667 if test ${ac_cv_prog_ac_ct_AR+y}
6668 then :
6669 printf %s "(cached) " >&6
6670 else $as_nop
6671 if test -n "$ac_ct_AR"; then
6672 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6677 IFS=$as_save_IFS
6678 case $as_dir in #(((
6679 '') as_dir=./ ;;
6680 */) ;;
6681 *) as_dir=$as_dir/ ;;
6682 esac
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6685 ac_cv_prog_ac_ct_AR="$ac_prog"
6686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6687 break 2
6689 done
6690 done
6691 IFS=$as_save_IFS
6695 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6696 if test -n "$ac_ct_AR"; then
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6698 printf "%s\n" "$ac_ct_AR" >&6; }
6699 else
6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 printf "%s\n" "no" >&6; }
6705 test -n "$ac_ct_AR" && break
6706 done
6708 if test "x$ac_ct_AR" = x; then
6709 AR="ar"
6710 else
6711 case $cross_compiling:$ac_tool_warned in
6712 yes:)
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6715 ac_tool_warned=yes ;;
6716 esac
6717 AR=$ac_ct_AR
6721 if test -n "$ac_tool_prefix"; then
6722 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6723 set dummy ${ac_tool_prefix}strip; ac_word=$2
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 printf %s "checking for $ac_word... " >&6; }
6726 if test ${ac_cv_prog_STRIP+y}
6727 then :
6728 printf %s "(cached) " >&6
6729 else $as_nop
6730 if test -n "$STRIP"; then
6731 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6732 else
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 for as_dir in $PATH
6736 IFS=$as_save_IFS
6737 case $as_dir in #(((
6738 '') as_dir=./ ;;
6739 */) ;;
6740 *) as_dir=$as_dir/ ;;
6741 esac
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6746 break 2
6748 done
6749 done
6750 IFS=$as_save_IFS
6754 STRIP=$ac_cv_prog_STRIP
6755 if test -n "$STRIP"; then
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6757 printf "%s\n" "$STRIP" >&6; }
6758 else
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 printf "%s\n" "no" >&6; }
6765 if test -z "$ac_cv_prog_STRIP"; then
6766 ac_ct_STRIP=$STRIP
6767 # Extract the first word of "strip", so it can be a program name with args.
6768 set dummy strip; ac_word=$2
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 printf %s "checking for $ac_word... " >&6; }
6771 if test ${ac_cv_prog_ac_ct_STRIP+y}
6772 then :
6773 printf %s "(cached) " >&6
6774 else $as_nop
6775 if test -n "$ac_ct_STRIP"; then
6776 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6777 else
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 for as_dir in $PATH
6781 IFS=$as_save_IFS
6782 case $as_dir in #(((
6783 '') as_dir=./ ;;
6784 */) ;;
6785 *) as_dir=$as_dir/ ;;
6786 esac
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_ac_ct_STRIP="strip"
6790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6791 break 2
6793 done
6794 done
6795 IFS=$as_save_IFS
6799 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6800 if test -n "$ac_ct_STRIP"; then
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6802 printf "%s\n" "$ac_ct_STRIP" >&6; }
6803 else
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 printf "%s\n" "no" >&6; }
6808 if test "x$ac_ct_STRIP" = x; then
6809 STRIP="strip"
6810 else
6811 case $cross_compiling:$ac_tool_warned in
6812 yes:)
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6814 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6815 ac_tool_warned=yes ;;
6816 esac
6817 STRIP=$ac_ct_STRIP
6819 else
6820 STRIP="$ac_cv_prog_STRIP"
6823 if test -n "$ac_tool_prefix"; then
6824 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6825 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 printf %s "checking for $ac_word... " >&6; }
6828 if test ${ac_cv_prog_RANLIB+y}
6829 then :
6830 printf %s "(cached) " >&6
6831 else $as_nop
6832 if test -n "$RANLIB"; then
6833 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6834 else
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 for as_dir in $PATH
6838 IFS=$as_save_IFS
6839 case $as_dir in #(((
6840 '') as_dir=./ ;;
6841 */) ;;
6842 *) as_dir=$as_dir/ ;;
6843 esac
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6848 break 2
6850 done
6851 done
6852 IFS=$as_save_IFS
6856 RANLIB=$ac_cv_prog_RANLIB
6857 if test -n "$RANLIB"; then
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6859 printf "%s\n" "$RANLIB" >&6; }
6860 else
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 printf "%s\n" "no" >&6; }
6867 if test -z "$ac_cv_prog_RANLIB"; then
6868 ac_ct_RANLIB=$RANLIB
6869 # Extract the first word of "ranlib", so it can be a program name with args.
6870 set dummy ranlib; ac_word=$2
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 printf %s "checking for $ac_word... " >&6; }
6873 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6874 then :
6875 printf %s "(cached) " >&6
6876 else $as_nop
6877 if test -n "$ac_ct_RANLIB"; then
6878 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6879 else
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 for as_dir in $PATH
6883 IFS=$as_save_IFS
6884 case $as_dir in #(((
6885 '') as_dir=./ ;;
6886 */) ;;
6887 *) as_dir=$as_dir/ ;;
6888 esac
6889 for ac_exec_ext in '' $ac_executable_extensions; do
6890 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6891 ac_cv_prog_ac_ct_RANLIB="ranlib"
6892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6893 break 2
6895 done
6896 done
6897 IFS=$as_save_IFS
6901 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6902 if test -n "$ac_ct_RANLIB"; then
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6904 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6905 else
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 printf "%s\n" "no" >&6; }
6910 if test "x$ac_ct_RANLIB" = x; then
6911 RANLIB=":"
6912 else
6913 case $cross_compiling:$ac_tool_warned in
6914 yes:)
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6917 ac_tool_warned=yes ;;
6918 esac
6919 RANLIB=$ac_ct_RANLIB
6921 else
6922 RANLIB="$ac_cv_prog_RANLIB"
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6926 printf %s "checking whether ln -s works... " >&6; }
6927 LN_S=$as_ln_s
6928 if test "$LN_S" = "ln -s"; then
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6930 printf "%s\n" "yes" >&6; }
6931 else
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6933 printf "%s\n" "no, using $LN_S" >&6; }
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6937 printf %s "checking for grep that handles long lines and -e... " >&6; }
6938 if test ${ac_cv_path_GREP+y}
6939 then :
6940 printf %s "(cached) " >&6
6941 else $as_nop
6942 if test -z "$GREP"; then
6943 ac_path_GREP_found=false
6944 # Loop through the user's path and test for each of PROGNAME-LIST
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6948 IFS=$as_save_IFS
6949 case $as_dir in #(((
6950 '') as_dir=./ ;;
6951 */) ;;
6952 *) as_dir=$as_dir/ ;;
6953 esac
6954 for ac_prog in grep ggrep
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6958 as_fn_executable_p "$ac_path_GREP" || continue
6959 # Check for GNU ac_path_GREP and select it if it is found.
6960 # Check for GNU $ac_path_GREP
6961 case `"$ac_path_GREP" --version 2>&1` in
6962 *GNU*)
6963 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6965 ac_count=0
6966 printf %s 0123456789 >"conftest.in"
6967 while :
6969 cat "conftest.in" "conftest.in" >"conftest.tmp"
6970 mv "conftest.tmp" "conftest.in"
6971 cp "conftest.in" "conftest.nl"
6972 printf "%s\n" 'GREP' >> "conftest.nl"
6973 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6974 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6975 as_fn_arith $ac_count + 1 && ac_count=$as_val
6976 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6977 # Best one so far, save it but keep looking for a better one
6978 ac_cv_path_GREP="$ac_path_GREP"
6979 ac_path_GREP_max=$ac_count
6981 # 10*(2^10) chars as input seems more than enough
6982 test $ac_count -gt 10 && break
6983 done
6984 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6985 esac
6987 $ac_path_GREP_found && break 3
6988 done
6989 done
6990 done
6991 IFS=$as_save_IFS
6992 if test -z "$ac_cv_path_GREP"; then
6993 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6995 else
6996 ac_cv_path_GREP=$GREP
7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7001 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7002 GREP="$ac_cv_path_GREP"
7005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7006 printf %s "checking for egrep... " >&6; }
7007 if test ${ac_cv_path_EGREP+y}
7008 then :
7009 printf %s "(cached) " >&6
7010 else $as_nop
7011 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7012 then ac_cv_path_EGREP="$GREP -E"
7013 else
7014 if test -z "$EGREP"; then
7015 ac_path_EGREP_found=false
7016 # Loop through the user's path and test for each of PROGNAME-LIST
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7020 IFS=$as_save_IFS
7021 case $as_dir in #(((
7022 '') as_dir=./ ;;
7023 */) ;;
7024 *) as_dir=$as_dir/ ;;
7025 esac
7026 for ac_prog in egrep
7028 for ac_exec_ext in '' $ac_executable_extensions; do
7029 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7030 as_fn_executable_p "$ac_path_EGREP" || continue
7031 # Check for GNU ac_path_EGREP and select it if it is found.
7032 # Check for GNU $ac_path_EGREP
7033 case `"$ac_path_EGREP" --version 2>&1` in
7034 *GNU*)
7035 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7037 ac_count=0
7038 printf %s 0123456789 >"conftest.in"
7039 while :
7041 cat "conftest.in" "conftest.in" >"conftest.tmp"
7042 mv "conftest.tmp" "conftest.in"
7043 cp "conftest.in" "conftest.nl"
7044 printf "%s\n" 'EGREP' >> "conftest.nl"
7045 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7046 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7047 as_fn_arith $ac_count + 1 && ac_count=$as_val
7048 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7049 # Best one so far, save it but keep looking for a better one
7050 ac_cv_path_EGREP="$ac_path_EGREP"
7051 ac_path_EGREP_max=$ac_count
7053 # 10*(2^10) chars as input seems more than enough
7054 test $ac_count -gt 10 && break
7055 done
7056 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7057 esac
7059 $ac_path_EGREP_found && break 3
7060 done
7061 done
7062 done
7063 IFS=$as_save_IFS
7064 if test -z "$ac_cv_path_EGREP"; then
7065 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7067 else
7068 ac_cv_path_EGREP=$EGREP
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7074 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7075 EGREP="$ac_cv_path_EGREP"
7078 # Extract the first word of "ldconfig", so it can be a program name with args.
7079 set dummy ldconfig; ac_word=$2
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 printf %s "checking for $ac_word... " >&6; }
7082 if test ${ac_cv_path_LDCONFIG+y}
7083 then :
7084 printf %s "(cached) " >&6
7085 else $as_nop
7086 case $LDCONFIG in
7087 [\\/]* | ?:[\\/]*)
7088 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 for as_dir in /sbin /usr/sbin $PATH
7094 IFS=$as_save_IFS
7095 case $as_dir in #(((
7096 '') as_dir=./ ;;
7097 */) ;;
7098 *) as_dir=$as_dir/ ;;
7099 esac
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7102 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7104 break 2
7106 done
7107 done
7108 IFS=$as_save_IFS
7110 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7112 esac
7114 LDCONFIG=$ac_cv_path_LDCONFIG
7115 if test -n "$LDCONFIG"; then
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7117 printf "%s\n" "$LDCONFIG" >&6; }
7118 else
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 printf "%s\n" "no" >&6; }
7124 for ac_prog in msgfmt
7126 # Extract the first word of "$ac_prog", so it can be a program name with args.
7127 set dummy $ac_prog; ac_word=$2
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 printf %s "checking for $ac_word... " >&6; }
7130 if test ${ac_cv_prog_MSGFMT+y}
7131 then :
7132 printf %s "(cached) " >&6
7133 else $as_nop
7134 if test -n "$MSGFMT"; then
7135 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7136 else
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 for as_dir in $PATH
7140 IFS=$as_save_IFS
7141 case $as_dir in #(((
7142 '') as_dir=./ ;;
7143 */) ;;
7144 *) as_dir=$as_dir/ ;;
7145 esac
7146 for ac_exec_ext in '' $ac_executable_extensions; do
7147 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_MSGFMT="$ac_prog"
7149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7150 break 2
7152 done
7153 done
7154 IFS=$as_save_IFS
7158 MSGFMT=$ac_cv_prog_MSGFMT
7159 if test -n "$MSGFMT"; then
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7161 printf "%s\n" "$MSGFMT" >&6; }
7162 else
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 printf "%s\n" "no" >&6; }
7168 test -n "$MSGFMT" && break
7169 done
7170 test -n "$MSGFMT" || MSGFMT="false"
7172 if test ${ac_tool_prefix+y}
7173 then :
7174 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7175 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177 printf %s "checking for $ac_word... " >&6; }
7178 if test ${ac_cv_prog_PKG_CONFIG+y}
7179 then :
7180 printf %s "(cached) " >&6
7181 else $as_nop
7182 if test -n "$PKG_CONFIG"; then
7183 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7184 else
7185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 for as_dir in $PATH
7188 IFS=$as_save_IFS
7189 case $as_dir in #(((
7190 '') as_dir=./ ;;
7191 */) ;;
7192 *) as_dir=$as_dir/ ;;
7193 esac
7194 for ac_exec_ext in '' $ac_executable_extensions; do
7195 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7196 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7198 break 2
7200 done
7201 done
7202 IFS=$as_save_IFS
7206 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7207 if test -n "$PKG_CONFIG"; then
7208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7209 printf "%s\n" "$PKG_CONFIG" >&6; }
7210 else
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212 printf "%s\n" "no" >&6; }
7217 if ${ac_cv_prog_PKG_CONFIG:+false} :
7218 then :
7219 if test "x$cross_compiling" = xyes
7220 then :
7222 else $as_nop
7223 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7224 # Extract the first word of "pkg-config", so it can be a program name with args.
7225 set dummy pkg-config; ac_word=$2
7226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 printf %s "checking for $ac_word... " >&6; }
7228 if test ${ac_cv_prog_PKG_CONFIG+y}
7229 then :
7230 printf %s "(cached) " >&6
7231 else $as_nop
7232 if test -n "$PKG_CONFIG"; then
7233 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7234 else
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH
7238 IFS=$as_save_IFS
7239 case $as_dir in #(((
7240 '') as_dir=./ ;;
7241 */) ;;
7242 *) as_dir=$as_dir/ ;;
7243 esac
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_PKG_CONFIG="pkg-config"
7247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7248 break 2
7250 done
7251 done
7252 IFS=$as_save_IFS
7256 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7257 if test -n "$PKG_CONFIG"; then
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7259 printf "%s\n" "$PKG_CONFIG" >&6; }
7260 else
7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 printf "%s\n" "no" >&6; }
7267 else $as_nop
7268 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7271 if test "x$enable_maintainer_mode" != "xyes"
7272 then
7273 FONTFORGE=""
7274 RSVG=""
7275 CONVERT=""
7276 ICOTOOL=""
7277 else
7278 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7279 for ac_prog in fontforge
7281 # Extract the first word of "$ac_prog", so it can be a program name with args.
7282 set dummy $ac_prog; ac_word=$2
7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 printf %s "checking for $ac_word... " >&6; }
7285 if test ${ac_cv_prog_FONTFORGE+y}
7286 then :
7287 printf %s "(cached) " >&6
7288 else $as_nop
7289 if test -n "$FONTFORGE"; then
7290 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7295 IFS=$as_save_IFS
7296 case $as_dir in #(((
7297 '') as_dir=./ ;;
7298 */) ;;
7299 *) as_dir=$as_dir/ ;;
7300 esac
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7303 ac_cv_prog_FONTFORGE="$ac_prog"
7304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7305 break 2
7307 done
7308 done
7309 IFS=$as_save_IFS
7313 FONTFORGE=$ac_cv_prog_FONTFORGE
7314 if test -n "$FONTFORGE"; then
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7316 printf "%s\n" "$FONTFORGE" >&6; }
7317 else
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 printf "%s\n" "no" >&6; }
7323 test -n "$FONTFORGE" && break
7324 done
7325 test -n "$FONTFORGE" || FONTFORGE="false"
7327 for ac_prog in rsvg-convert rsvg
7329 # Extract the first word of "$ac_prog", so it can be a program name with args.
7330 set dummy $ac_prog; ac_word=$2
7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332 printf %s "checking for $ac_word... " >&6; }
7333 if test ${ac_cv_prog_RSVG+y}
7334 then :
7335 printf %s "(cached) " >&6
7336 else $as_nop
7337 if test -n "$RSVG"; then
7338 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7339 else
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 for as_dir in $PATH
7343 IFS=$as_save_IFS
7344 case $as_dir in #(((
7345 '') as_dir=./ ;;
7346 */) ;;
7347 *) as_dir=$as_dir/ ;;
7348 esac
7349 for ac_exec_ext in '' $ac_executable_extensions; do
7350 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7351 ac_cv_prog_RSVG="$ac_prog"
7352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7353 break 2
7355 done
7356 done
7357 IFS=$as_save_IFS
7361 RSVG=$ac_cv_prog_RSVG
7362 if test -n "$RSVG"; then
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7364 printf "%s\n" "$RSVG" >&6; }
7365 else
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 printf "%s\n" "no" >&6; }
7371 test -n "$RSVG" && break
7372 done
7373 test -n "$RSVG" || RSVG="false"
7375 for ac_prog in convert
7377 # Extract the first word of "$ac_prog", so it can be a program name with args.
7378 set dummy $ac_prog; ac_word=$2
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 printf %s "checking for $ac_word... " >&6; }
7381 if test ${ac_cv_prog_CONVERT+y}
7382 then :
7383 printf %s "(cached) " >&6
7384 else $as_nop
7385 if test -n "$CONVERT"; then
7386 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 case $as_dir in #(((
7393 '') as_dir=./ ;;
7394 */) ;;
7395 *) as_dir=$as_dir/ ;;
7396 esac
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7399 ac_cv_prog_CONVERT="$ac_prog"
7400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7401 break 2
7403 done
7404 done
7405 IFS=$as_save_IFS
7409 CONVERT=$ac_cv_prog_CONVERT
7410 if test -n "$CONVERT"; then
7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7412 printf "%s\n" "$CONVERT" >&6; }
7413 else
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415 printf "%s\n" "no" >&6; }
7419 test -n "$CONVERT" && break
7420 done
7421 test -n "$CONVERT" || CONVERT="false"
7423 for ac_prog in icotool
7425 # Extract the first word of "$ac_prog", so it can be a program name with args.
7426 set dummy $ac_prog; ac_word=$2
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 printf %s "checking for $ac_word... " >&6; }
7429 if test ${ac_cv_prog_ICOTOOL+y}
7430 then :
7431 printf %s "(cached) " >&6
7432 else $as_nop
7433 if test -n "$ICOTOOL"; then
7434 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7435 else
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 for as_dir in $PATH
7439 IFS=$as_save_IFS
7440 case $as_dir in #(((
7441 '') as_dir=./ ;;
7442 */) ;;
7443 *) as_dir=$as_dir/ ;;
7444 esac
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_ICOTOOL="$ac_prog"
7448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 ICOTOOL=$ac_cv_prog_ICOTOOL
7458 if test -n "$ICOTOOL"; then
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7460 printf "%s\n" "$ICOTOOL" >&6; }
7461 else
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 printf "%s\n" "no" >&6; }
7467 test -n "$ICOTOOL" && break
7468 done
7469 test -n "$ICOTOOL" || ICOTOOL="false"
7471 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7472 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7474 if test "$CONVERT" = false
7475 then
7476 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7477 else
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7479 printf %s "checking for recent enough imagemagick... " >&6; }
7480 convert_version=`convert --version | head -n1`
7481 if test "x$convert_version" != "x"
7482 then
7483 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7484 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7485 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7486 then
7487 CONVERT=false
7490 if test "$CONVERT" = false
7491 then
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7493 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7494 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7495 else
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7497 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7501 if test "$ICOTOOL" = false
7502 then
7503 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7504 else
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7506 printf %s "checking for recent enough icotool... " >&6; }
7507 icotool_version=`icotool --version | head -n1`
7508 if test "x$icotool_version" != "x"
7509 then
7510 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7511 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7512 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7513 then
7514 ICOTOOL=false
7515 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7518 if test "$ICOTOOL" = false
7519 then
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7521 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7522 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7523 else
7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7525 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7529 with_gettext=yes
7530 with_gettextpo=yes
7532 enable_werror=yes
7535 test "x$with_gettext" != xno || MSGFMT=false
7536 if test "$MSGFMT" != "false"
7537 then
7538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7539 printf %s "checking whether msgfmt supports contexts... " >&6; }
7540 if test ${wine_cv_msgfmt_contexts+y}
7541 then :
7542 printf %s "(cached) " >&6
7543 else $as_nop
7544 cat >conftest.po <<EOF
7545 # comment
7546 msgctxt "ctxt"
7547 msgid "id"
7548 msgstr "str"
7550 if $MSGFMT -o /dev/null conftest.po 2>&5
7551 then
7552 wine_cv_msgfmt_contexts=yes
7553 else
7554 wine_cv_msgfmt_contexts=no
7557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7558 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7559 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7561 if test "$MSGFMT" = false
7562 then :
7563 case "x$with_gettext" in
7564 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7565 xno) ;;
7566 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7567 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7568 esac
7569 enable_po=${enable_po:-no}
7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7574 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7575 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7576 then :
7577 printf %s "(cached) " >&6
7578 else $as_nop
7579 ac_check_lib_save_LIBS=$LIBS
7580 LIBS="-li386 $LIBS"
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7584 /* Override any GCC internal prototype to avoid an error.
7585 Use char because int might match the return type of a GCC
7586 builtin and then its argument prototype would still apply. */
7587 char i386_set_ldt ();
7589 main (void)
7591 return i386_set_ldt ();
7593 return 0;
7595 _ACEOF
7596 if ac_fn_c_try_link "$LINENO"
7597 then :
7598 ac_cv_lib_i386_i386_set_ldt=yes
7599 else $as_nop
7600 ac_cv_lib_i386_i386_set_ldt=no
7602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7603 conftest$ac_exeext conftest.$ac_ext
7604 LIBS=$ac_check_lib_save_LIBS
7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7607 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7608 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7609 then :
7610 I386_LIBS="-li386"
7615 OPENGL_LIBS=""
7619 # Check whether --enable-largefile was given.
7620 if test ${enable_largefile+y}
7621 then :
7622 enableval=$enable_largefile;
7625 if test "$enable_largefile" != no; then
7627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7628 printf %s "checking for special C compiler options needed for large files... " >&6; }
7629 if test ${ac_cv_sys_largefile_CC+y}
7630 then :
7631 printf %s "(cached) " >&6
7632 else $as_nop
7633 ac_cv_sys_largefile_CC=no
7634 if test "$GCC" != yes; then
7635 ac_save_CC=$CC
7636 while :; do
7637 # IRIX 6.2 and later do not support large files by default,
7638 # so use the C compiler's -n32 option if that helps.
7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7641 #include <sys/types.h>
7642 /* Check that off_t can represent 2**63 - 1 correctly.
7643 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7644 since some C++ compilers masquerading as C compilers
7645 incorrectly reject 9223372036854775807. */
7646 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7647 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7648 && LARGE_OFF_T % 2147483647 == 1)
7649 ? 1 : -1];
7651 main (void)
7655 return 0;
7657 _ACEOF
7658 if ac_fn_c_try_compile "$LINENO"
7659 then :
7660 break
7662 rm -f core conftest.err conftest.$ac_objext conftest.beam
7663 CC="$CC -n32"
7664 if ac_fn_c_try_compile "$LINENO"
7665 then :
7666 ac_cv_sys_largefile_CC=' -n32'; break
7668 rm -f core conftest.err conftest.$ac_objext conftest.beam
7669 break
7670 done
7671 CC=$ac_save_CC
7672 rm -f conftest.$ac_ext
7675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7676 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7677 if test "$ac_cv_sys_largefile_CC" != no; then
7678 CC=$CC$ac_cv_sys_largefile_CC
7681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7682 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7683 if test ${ac_cv_sys_file_offset_bits+y}
7684 then :
7685 printf %s "(cached) " >&6
7686 else $as_nop
7687 while :; do
7688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7690 #include <sys/types.h>
7691 /* Check that off_t can represent 2**63 - 1 correctly.
7692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7693 since some C++ compilers masquerading as C compilers
7694 incorrectly reject 9223372036854775807. */
7695 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7697 && LARGE_OFF_T % 2147483647 == 1)
7698 ? 1 : -1];
7700 main (void)
7704 return 0;
7706 _ACEOF
7707 if ac_fn_c_try_compile "$LINENO"
7708 then :
7709 ac_cv_sys_file_offset_bits=no; break
7711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7713 /* end confdefs.h. */
7714 #define _FILE_OFFSET_BITS 64
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7723 ? 1 : -1];
7725 main (void)
7729 return 0;
7731 _ACEOF
7732 if ac_fn_c_try_compile "$LINENO"
7733 then :
7734 ac_cv_sys_file_offset_bits=64; break
7736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7737 ac_cv_sys_file_offset_bits=unknown
7738 break
7739 done
7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7742 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7743 case $ac_cv_sys_file_offset_bits in #(
7744 no | unknown) ;;
7746 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7748 esac
7749 rm -rf conftest*
7750 if test $ac_cv_sys_file_offset_bits = unknown; then
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7752 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7753 if test ${ac_cv_sys_large_files+y}
7754 then :
7755 printf %s "(cached) " >&6
7756 else $as_nop
7757 while :; do
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760 #include <sys/types.h>
7761 /* Check that off_t can represent 2**63 - 1 correctly.
7762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7763 since some C++ compilers masquerading as C compilers
7764 incorrectly reject 9223372036854775807. */
7765 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7767 && LARGE_OFF_T % 2147483647 == 1)
7768 ? 1 : -1];
7770 main (void)
7774 return 0;
7776 _ACEOF
7777 if ac_fn_c_try_compile "$LINENO"
7778 then :
7779 ac_cv_sys_large_files=no; break
7781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7783 /* end confdefs.h. */
7784 #define _LARGE_FILES 1
7785 #include <sys/types.h>
7786 /* Check that off_t can represent 2**63 - 1 correctly.
7787 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7788 since some C++ compilers masquerading as C compilers
7789 incorrectly reject 9223372036854775807. */
7790 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7792 && LARGE_OFF_T % 2147483647 == 1)
7793 ? 1 : -1];
7795 main (void)
7799 return 0;
7801 _ACEOF
7802 if ac_fn_c_try_compile "$LINENO"
7803 then :
7804 ac_cv_sys_large_files=1; break
7806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7807 ac_cv_sys_large_files=unknown
7808 break
7809 done
7811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7812 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7813 case $ac_cv_sys_large_files in #(
7814 no | unknown) ;;
7816 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7818 esac
7819 rm -rf conftest*
7824 ac_header= ac_cache=
7825 for ac_item in $ac_header_c_list
7827 if test $ac_cache; then
7828 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7829 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7830 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7832 ac_header= ac_cache=
7833 elif test $ac_header; then
7834 ac_cache=$ac_item
7835 else
7836 ac_header=$ac_item
7838 done
7847 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7848 then :
7850 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7853 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_AL_al_h" = xyes
7855 then :
7856 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7861 then :
7862 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_CL_cl_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_EGL_egl_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_Security_Security_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_arpa_inet_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_asm_types_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_asm_user_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_elf_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_float_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_gettext_po_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_libproc_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_link_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_filter_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_linux_input_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_linux_major_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_linux_param_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_linux_serial_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_linux_types_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_lwp_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_mach_mach_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_machine_cpu_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_mntent_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_netdb_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_netinet_in_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_port_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_pthread_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_pwd_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sched_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_scsi_sg_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_stdint_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_attr_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_auxv_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_cdio_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_epoll_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_event_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_filio_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_ipc_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_link_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_modem_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_mtio_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_param_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_prctl_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_queue_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_random_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_resource_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_shm_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_signal_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_sockio_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_strtio_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_syscall_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_sys_times_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_uio_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_sys_user_h" = xyes
8347 then :
8348 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_sys_utsname_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_sys_vnode_h" = xyes
8359 then :
8360 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8363 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8364 if test "x$ac_cv_header_sys_xattr_h" = xyes
8365 then :
8366 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8369 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_syscall_h" = xyes
8371 then :
8372 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8376 if test "x$ac_cv_header_utime_h" = xyes
8377 then :
8378 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8382 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8383 then :
8384 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8388 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8389 then :
8390 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8394 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8395 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8396 then :
8398 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8402 if test $ac_cv_header_sys_mkdev_h = no; then
8403 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8404 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8405 then :
8407 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8413 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8414 if test ${ac_cv_header_stat_broken+y}
8415 then :
8416 printf %s "(cached) " >&6
8417 else $as_nop
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8420 #include <sys/types.h>
8421 #include <sys/stat.h>
8423 #if defined S_ISBLK && defined S_IFDIR
8424 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8425 #endif
8427 #if defined S_ISBLK && defined S_IFCHR
8428 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8429 #endif
8431 #if defined S_ISLNK && defined S_IFREG
8432 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8433 #endif
8435 #if defined S_ISSOCK && defined S_IFREG
8436 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8437 #endif
8439 _ACEOF
8440 if ac_fn_c_try_compile "$LINENO"
8441 then :
8442 ac_cv_header_stat_broken=no
8443 else $as_nop
8444 ac_cv_header_stat_broken=yes
8446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8449 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8450 if test $ac_cv_header_stat_broken = yes; then
8452 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8458 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8459 #ifdef HAVE_SYS_PARAM_H
8460 # include <sys/param.h>
8461 #endif
8463 if test "x$ac_cv_header_sys_conf_h" = xyes
8464 then :
8465 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8468 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8469 #ifdef HAVE_SYS_PARAM_H
8470 # include <sys/param.h>
8471 #endif
8473 if test "x$ac_cv_header_sys_mount_h" = xyes
8474 then :
8475 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8478 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8479 #ifdef HAVE_SYS_PARAM_H
8480 # include <sys/param.h>
8481 #endif
8483 if test "x$ac_cv_header_sys_statfs_h" = xyes
8484 then :
8485 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8488 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8489 #ifdef HAVE_SYS_PARAM_H
8490 # include <sys/param.h>
8491 #endif
8493 if test "x$ac_cv_header_sys_user_h" = xyes
8494 then :
8495 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8498 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8499 #ifdef HAVE_SYS_PARAM_H
8500 # include <sys/param.h>
8501 #endif
8503 if test "x$ac_cv_header_sys_vfs_h" = xyes
8504 then :
8505 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8510 saved_sysctl_h_CFLAGS=$CFLAGS
8511 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8512 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8513 #ifdef HAVE_SYS_PARAM_H
8514 # include <sys/param.h>
8515 #endif
8517 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8518 then :
8519 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8523 CFLAGS=$saved_sysctl_h_CFLAGS
8525 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8526 #include <sys/socket.h>
8527 #ifdef HAVE_SYS_SOCKETVAR_H
8528 # include <sys/socketvar.h>
8529 #endif
8530 #ifdef HAVE_NET_ROUTE_H
8531 # include <net/route.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_H
8534 # include <netinet/in.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IN_SYSTM_H
8537 # include <netinet/in_systm.h>
8538 #endif
8539 #ifdef HAVE_NET_IF_H
8540 # include <net/if.h>
8541 #endif
8542 #ifdef HAVE_NETINET_IP_H
8543 # include <netinet/ip.h>
8544 #endif
8546 if test "x$ac_cv_header_netinet_ip_h" = xyes
8547 then :
8548 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8551 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8552 #include <sys/socket.h>
8553 #ifdef HAVE_SYS_SOCKETVAR_H
8554 # include <sys/socketvar.h>
8555 #endif
8556 #ifdef HAVE_NET_ROUTE_H
8557 # include <net/route.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_H
8560 # include <netinet/in.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IN_SYSTM_H
8563 # include <netinet/in_systm.h>
8564 #endif
8565 #ifdef HAVE_NET_IF_H
8566 # include <net/if.h>
8567 #endif
8568 #ifdef HAVE_NETINET_IP_H
8569 # include <netinet/ip.h>
8570 #endif
8572 if test "x$ac_cv_header_net_if_h" = xyes
8573 then :
8574 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8577 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8578 #include <sys/socket.h>
8579 #ifdef HAVE_SYS_SOCKETVAR_H
8580 # include <sys/socketvar.h>
8581 #endif
8582 #ifdef HAVE_NET_ROUTE_H
8583 # include <net/route.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_H
8586 # include <netinet/in.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IN_SYSTM_H
8589 # include <netinet/in_systm.h>
8590 #endif
8591 #ifdef HAVE_NET_IF_H
8592 # include <net/if.h>
8593 #endif
8594 #ifdef HAVE_NETINET_IP_H
8595 # include <netinet/ip.h>
8596 #endif
8598 if test "x$ac_cv_header_net_if_arp_h" = xyes
8599 then :
8600 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8604 #include <sys/socket.h>
8605 #ifdef HAVE_SYS_SOCKETVAR_H
8606 # include <sys/socketvar.h>
8607 #endif
8608 #ifdef HAVE_NET_ROUTE_H
8609 # include <net/route.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_H
8612 # include <netinet/in.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IN_SYSTM_H
8615 # include <netinet/in_systm.h>
8616 #endif
8617 #ifdef HAVE_NET_IF_H
8618 # include <net/if.h>
8619 #endif
8620 #ifdef HAVE_NETINET_IP_H
8621 # include <netinet/ip.h>
8622 #endif
8624 if test "x$ac_cv_header_net_if_dl_h" = xyes
8625 then :
8626 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8629 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8630 #include <sys/socket.h>
8631 #ifdef HAVE_SYS_SOCKETVAR_H
8632 # include <sys/socketvar.h>
8633 #endif
8634 #ifdef HAVE_NET_ROUTE_H
8635 # include <net/route.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_H
8638 # include <netinet/in.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IN_SYSTM_H
8641 # include <netinet/in_systm.h>
8642 #endif
8643 #ifdef HAVE_NET_IF_H
8644 # include <net/if.h>
8645 #endif
8646 #ifdef HAVE_NETINET_IP_H
8647 # include <netinet/ip.h>
8648 #endif
8650 if test "x$ac_cv_header_net_if_types_h" = xyes
8651 then :
8652 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8655 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8656 #include <sys/socket.h>
8657 #ifdef HAVE_SYS_SOCKETVAR_H
8658 # include <sys/socketvar.h>
8659 #endif
8660 #ifdef HAVE_NET_ROUTE_H
8661 # include <net/route.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_H
8664 # include <netinet/in.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IN_SYSTM_H
8667 # include <netinet/in_systm.h>
8668 #endif
8669 #ifdef HAVE_NET_IF_H
8670 # include <net/if.h>
8671 #endif
8672 #ifdef HAVE_NETINET_IP_H
8673 # include <netinet/ip.h>
8674 #endif
8676 if test "x$ac_cv_header_net_route_h" = xyes
8677 then :
8678 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8682 #include <sys/socket.h>
8683 #ifdef HAVE_SYS_SOCKETVAR_H
8684 # include <sys/socketvar.h>
8685 #endif
8686 #ifdef HAVE_NET_ROUTE_H
8687 # include <net/route.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_H
8690 # include <netinet/in.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IN_SYSTM_H
8693 # include <netinet/in_systm.h>
8694 #endif
8695 #ifdef HAVE_NET_IF_H
8696 # include <net/if.h>
8697 #endif
8698 #ifdef HAVE_NETINET_IP_H
8699 # include <netinet/ip.h>
8700 #endif
8702 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8703 then :
8704 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8707 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8708 #include <sys/socket.h>
8709 #ifdef HAVE_SYS_SOCKETVAR_H
8710 # include <sys/socketvar.h>
8711 #endif
8712 #ifdef HAVE_NET_ROUTE_H
8713 # include <net/route.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_H
8716 # include <netinet/in.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IN_SYSTM_H
8719 # include <netinet/in_systm.h>
8720 #endif
8721 #ifdef HAVE_NET_IF_H
8722 # include <net/if.h>
8723 #endif
8724 #ifdef HAVE_NETINET_IP_H
8725 # include <netinet/ip.h>
8726 #endif
8728 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8729 then :
8730 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8733 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8734 #include <sys/socket.h>
8735 #ifdef HAVE_SYS_SOCKETVAR_H
8736 # include <sys/socketvar.h>
8737 #endif
8738 #ifdef HAVE_NET_ROUTE_H
8739 # include <net/route.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_H
8742 # include <netinet/in.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IN_SYSTM_H
8745 # include <netinet/in_systm.h>
8746 #endif
8747 #ifdef HAVE_NET_IF_H
8748 # include <net/if.h>
8749 #endif
8750 #ifdef HAVE_NETINET_IP_H
8751 # include <netinet/ip.h>
8752 #endif
8754 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8755 then :
8756 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8759 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8760 #include <sys/socket.h>
8761 #ifdef HAVE_SYS_SOCKETVAR_H
8762 # include <sys/socketvar.h>
8763 #endif
8764 #ifdef HAVE_NET_ROUTE_H
8765 # include <net/route.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_H
8768 # include <netinet/in.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IN_SYSTM_H
8771 # include <netinet/in_systm.h>
8772 #endif
8773 #ifdef HAVE_NET_IF_H
8774 # include <net/if.h>
8775 #endif
8776 #ifdef HAVE_NETINET_IP_H
8777 # include <netinet/ip.h>
8778 #endif
8780 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8781 then :
8782 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8785 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8786 #include <sys/socket.h>
8787 #ifdef HAVE_SYS_SOCKETVAR_H
8788 # include <sys/socketvar.h>
8789 #endif
8790 #ifdef HAVE_NET_ROUTE_H
8791 # include <net/route.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_H
8794 # include <netinet/in.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IN_SYSTM_H
8797 # include <netinet/in_systm.h>
8798 #endif
8799 #ifdef HAVE_NET_IF_H
8800 # include <net/if.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IP_H
8803 # include <netinet/ip.h>
8804 #endif
8806 if test "x$ac_cv_header_netinet_udp_h" = xyes
8807 then :
8808 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8811 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8812 #include <sys/socket.h>
8813 #ifdef HAVE_SYS_SOCKETVAR_H
8814 # include <sys/socketvar.h>
8815 #endif
8816 #ifdef HAVE_NET_ROUTE_H
8817 # include <net/route.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IN_H
8820 # include <netinet/in.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_SYSTM_H
8823 # include <netinet/in_systm.h>
8824 #endif
8825 #ifdef HAVE_NET_IF_H
8826 # include <net/if.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8830 #endif
8832 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8833 then :
8834 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8837 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8838 #include <sys/socket.h>
8839 #ifdef HAVE_SYS_SOCKETVAR_H
8840 # include <sys/socketvar.h>
8841 #endif
8842 #ifdef HAVE_NET_ROUTE_H
8843 # include <net/route.h>
8844 #endif
8845 #ifdef HAVE_NETINET_IN_H
8846 # include <netinet/in.h>
8847 #endif
8848 #ifdef HAVE_NETINET_IN_SYSTM_H
8849 # include <netinet/in_systm.h>
8850 #endif
8851 #ifdef HAVE_NET_IF_H
8852 # include <net/if.h>
8853 #endif
8854 #ifdef HAVE_NETINET_IP_H
8855 # include <netinet/ip.h>
8856 #endif
8858 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8859 then :
8860 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8863 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8864 #include <sys/socket.h>
8865 #ifdef HAVE_SYS_SOCKETVAR_H
8866 # include <sys/socketvar.h>
8867 #endif
8868 #ifdef HAVE_NET_ROUTE_H
8869 # include <net/route.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IN_H
8872 # include <netinet/in.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IN_SYSTM_H
8875 # include <netinet/in_systm.h>
8876 #endif
8877 #ifdef HAVE_NET_IF_H
8878 # include <net/if.h>
8879 #endif
8880 #ifdef HAVE_NETINET_IP_H
8881 # include <netinet/ip.h>
8882 #endif
8884 if test "x$ac_cv_header_sys_un_h" = xyes
8885 then :
8886 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8891 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8892 #include <sys/socket.h>
8893 #ifdef HAVE_SYS_SOCKETVAR_H
8894 # include <sys/socketvar.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IN_H
8897 # include <netinet/in.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IN_SYSTM_H
8900 # include <netinet/in_systm.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_H
8903 # include <netinet/ip.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_VAR_H
8906 # include <netinet/ip_var.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IP_ICMP_H
8909 # include <netinet/ip_icmp.h>
8910 #endif
8911 #ifdef HAVE_NETINET_UDP_H
8912 # include <netinet/udp.h>
8913 #endif
8914 #ifdef HAVE_NETINET_TCP_H
8915 # include <netinet/tcp.h>
8916 #endif
8918 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8919 then :
8920 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8923 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8924 #include <sys/socket.h>
8925 #ifdef HAVE_SYS_SOCKETVAR_H
8926 # include <sys/socketvar.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IN_H
8929 # include <netinet/in.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IN_SYSTM_H
8932 # include <netinet/in_systm.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_H
8935 # include <netinet/ip.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IP_VAR_H
8938 # include <netinet/ip_var.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IP_ICMP_H
8941 # include <netinet/ip_icmp.h>
8942 #endif
8943 #ifdef HAVE_NETINET_UDP_H
8944 # include <netinet/udp.h>
8945 #endif
8946 #ifdef HAVE_NETINET_TCP_H
8947 # include <netinet/tcp.h>
8948 #endif
8950 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8951 then :
8952 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8955 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8956 #include <sys/socket.h>
8957 #ifdef HAVE_SYS_SOCKETVAR_H
8958 # include <sys/socketvar.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IN_H
8961 # include <netinet/in.h>
8962 #endif
8963 #ifdef HAVE_NETINET_IN_SYSTM_H
8964 # include <netinet/in_systm.h>
8965 #endif
8966 #ifdef HAVE_NETINET_IP_H
8967 # include <netinet/ip.h>
8968 #endif
8969 #ifdef HAVE_NETINET_IP_VAR_H
8970 # include <netinet/ip_var.h>
8971 #endif
8972 #ifdef HAVE_NETINET_IP_ICMP_H
8973 # include <netinet/ip_icmp.h>
8974 #endif
8975 #ifdef HAVE_NETINET_UDP_H
8976 # include <netinet/udp.h>
8977 #endif
8978 #ifdef HAVE_NETINET_TCP_H
8979 # include <netinet/tcp.h>
8980 #endif
8982 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8983 then :
8984 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8987 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8988 #include <sys/socket.h>
8989 #ifdef HAVE_SYS_SOCKETVAR_H
8990 # include <sys/socketvar.h>
8991 #endif
8992 #ifdef HAVE_NETINET_IN_H
8993 # include <netinet/in.h>
8994 #endif
8995 #ifdef HAVE_NETINET_IN_SYSTM_H
8996 # include <netinet/in_systm.h>
8997 #endif
8998 #ifdef HAVE_NETINET_IP_H
8999 # include <netinet/ip.h>
9000 #endif
9001 #ifdef HAVE_NETINET_IP_VAR_H
9002 # include <netinet/ip_var.h>
9003 #endif
9004 #ifdef HAVE_NETINET_IP_ICMP_H
9005 # include <netinet/ip_icmp.h>
9006 #endif
9007 #ifdef HAVE_NETINET_UDP_H
9008 # include <netinet/udp.h>
9009 #endif
9010 #ifdef HAVE_NETINET_TCP_H
9011 # include <netinet/tcp.h>
9012 #endif
9014 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9015 then :
9016 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9021 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9022 #include <sys/socket.h>
9023 #ifdef HAVE_ASM_TYPES_H
9024 # include <asm/types.h>
9025 #endif
9026 #ifdef HAVE_LINUX_TYPES_H
9027 # include <linux/types.h>
9028 #endif
9030 if test "x$ac_cv_header_linux_ipx_h" = xyes
9031 then :
9032 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9036 #include <sys/socket.h>
9037 #ifdef HAVE_ASM_TYPES_H
9038 # include <asm/types.h>
9039 #endif
9040 #ifdef HAVE_LINUX_TYPES_H
9041 # include <linux/types.h>
9042 #endif
9044 if test "x$ac_cv_header_linux_irda_h" = xyes
9045 then :
9046 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9050 #include <sys/socket.h>
9051 #ifdef HAVE_ASM_TYPES_H
9052 # include <asm/types.h>
9053 #endif
9054 #ifdef HAVE_LINUX_TYPES_H
9055 # include <linux/types.h>
9056 #endif
9058 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9059 then :
9060 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9066 #include <sys/socket.h>
9067 #ifdef HAVE_NETINET_IN_H
9068 # include <netinet/in.h>
9069 #endif
9070 #ifdef HAVE_ARPA_NAMESER_H
9071 # include <arpa/nameser.h>
9072 #endif
9074 if test "x$ac_cv_header_resolv_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9083 if test "x$ac_cv_header_ifaddrs_h" = xyes
9084 then :
9085 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9092 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9093 then :
9094 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9100 #ifdef HAVE_SYS_UCONTEXT_H
9101 #include <sys/ucontext.h>
9102 #endif
9104 if test "x$ac_cv_header_sys_thr_h" = xyes
9105 then :
9106 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9111 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9112 #include <pthread.h>
9113 #endif
9115 if test "x$ac_cv_header_pthread_np_h" = xyes
9116 then :
9117 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9122 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9123 #include <sys/types.h>
9124 #ifdef HAVE_ASM_TYPES_H
9125 #include <asm/types.h>
9126 #endif
9128 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9129 then :
9130 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9135 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9136 #include <sys/param.h>
9137 #endif
9138 #include <sys/socket.h>
9139 #ifdef HAVE_SYS_QUEUE_H
9140 #include <sys/queue.h>
9141 #endif
9143 if test "x$ac_cv_header_libprocstat_h" = xyes
9144 then :
9145 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9150 if test "x$ac_cv_header_sys_xattr_h" = xyes
9151 then
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9153 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9154 if test ${wine_cv_xattr_extra_args+y}
9155 then :
9156 printf %s "(cached) " >&6
9157 else $as_nop
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9160 #include <sys/xattr.h>
9162 main (void)
9164 getxattr("", "", "", 0, 0, 0);
9166 return 0;
9168 _ACEOF
9169 if ac_fn_c_try_compile "$LINENO"
9170 then :
9171 wine_cv_xattr_extra_args=yes
9172 else $as_nop
9173 wine_cv_xattr_extra_args=no
9175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9178 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9179 test $wine_cv_xattr_extra_args != yes ||
9180 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9185 DLLFLAGS=""
9187 LDDLLFLAGS=""
9189 LDEXECFLAGS=""
9191 EXTRACFLAGS=""
9193 UNIXDLLFLAGS="-fPIC"
9195 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9197 TOP_INSTALL_LIB=""
9199 TOP_INSTALL_DEV=""
9201 WINELOADER_LDFLAGS=""
9203 WINEPRELOADER_LDFLAGS=""
9205 LIBEXT="so"
9206 # Extract the first word of "ldd", so it can be a program name with args.
9207 set dummy ldd; ac_word=$2
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 printf %s "checking for $ac_word... " >&6; }
9210 if test ${ac_cv_path_LDD+y}
9211 then :
9212 printf %s "(cached) " >&6
9213 else $as_nop
9214 case $LDD in
9215 [\\/]* | ?:[\\/]*)
9216 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9220 as_dummy="/sbin:/usr/sbin:$PATH"
9221 for as_dir in $as_dummy
9223 IFS=$as_save_IFS
9224 case $as_dir in #(((
9225 '') as_dir=./ ;;
9226 */) ;;
9227 *) as_dir=$as_dir/ ;;
9228 esac
9229 for ac_exec_ext in '' $ac_executable_extensions; do
9230 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9231 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9233 break 2
9235 done
9236 done
9237 IFS=$as_save_IFS
9239 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9241 esac
9243 LDD=$ac_cv_path_LDD
9244 if test -n "$LDD"; then
9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9246 printf "%s\n" "$LDD" >&6; }
9247 else
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 printf "%s\n" "no" >&6; }
9253 if test -n "$ac_tool_prefix"; then
9254 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9255 set dummy ${ac_tool_prefix}otool; ac_word=$2
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9257 printf %s "checking for $ac_word... " >&6; }
9258 if test ${ac_cv_prog_OTOOL+y}
9259 then :
9260 printf %s "(cached) " >&6
9261 else $as_nop
9262 if test -n "$OTOOL"; then
9263 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9264 else
9265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266 for as_dir in $PATH
9268 IFS=$as_save_IFS
9269 case $as_dir in #(((
9270 '') as_dir=./ ;;
9271 */) ;;
9272 *) as_dir=$as_dir/ ;;
9273 esac
9274 for ac_exec_ext in '' $ac_executable_extensions; do
9275 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9276 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9278 break 2
9280 done
9281 done
9282 IFS=$as_save_IFS
9286 OTOOL=$ac_cv_prog_OTOOL
9287 if test -n "$OTOOL"; then
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9289 printf "%s\n" "$OTOOL" >&6; }
9290 else
9291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9292 printf "%s\n" "no" >&6; }
9297 if test -z "$ac_cv_prog_OTOOL"; then
9298 ac_ct_OTOOL=$OTOOL
9299 # Extract the first word of "otool", so it can be a program name with args.
9300 set dummy otool; ac_word=$2
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9302 printf %s "checking for $ac_word... " >&6; }
9303 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9304 then :
9305 printf %s "(cached) " >&6
9306 else $as_nop
9307 if test -n "$ac_ct_OTOOL"; then
9308 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9309 else
9310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9311 for as_dir in $PATH
9313 IFS=$as_save_IFS
9314 case $as_dir in #(((
9315 '') as_dir=./ ;;
9316 */) ;;
9317 *) as_dir=$as_dir/ ;;
9318 esac
9319 for ac_exec_ext in '' $ac_executable_extensions; do
9320 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9321 ac_cv_prog_ac_ct_OTOOL="otool"
9322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9323 break 2
9325 done
9326 done
9327 IFS=$as_save_IFS
9331 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9332 if test -n "$ac_ct_OTOOL"; then
9333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9334 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9335 else
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9337 printf "%s\n" "no" >&6; }
9340 if test "x$ac_ct_OTOOL" = x; then
9341 OTOOL="otool"
9342 else
9343 case $cross_compiling:$ac_tool_warned in
9344 yes:)
9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9346 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9347 ac_tool_warned=yes ;;
9348 esac
9349 OTOOL=$ac_ct_OTOOL
9351 else
9352 OTOOL="$ac_cv_prog_OTOOL"
9355 if test -n "$ac_tool_prefix"; then
9356 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9357 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9359 printf %s "checking for $ac_word... " >&6; }
9360 if test ${ac_cv_prog_READELF+y}
9361 then :
9362 printf %s "(cached) " >&6
9363 else $as_nop
9364 if test -n "$READELF"; then
9365 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9366 else
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 for as_dir in $PATH
9370 IFS=$as_save_IFS
9371 case $as_dir in #(((
9372 '') as_dir=./ ;;
9373 */) ;;
9374 *) as_dir=$as_dir/ ;;
9375 esac
9376 for ac_exec_ext in '' $ac_executable_extensions; do
9377 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9378 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9380 break 2
9382 done
9383 done
9384 IFS=$as_save_IFS
9388 READELF=$ac_cv_prog_READELF
9389 if test -n "$READELF"; then
9390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9391 printf "%s\n" "$READELF" >&6; }
9392 else
9393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9394 printf "%s\n" "no" >&6; }
9399 if test -z "$ac_cv_prog_READELF"; then
9400 ac_ct_READELF=$READELF
9401 # Extract the first word of "readelf", so it can be a program name with args.
9402 set dummy readelf; ac_word=$2
9403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9404 printf %s "checking for $ac_word... " >&6; }
9405 if test ${ac_cv_prog_ac_ct_READELF+y}
9406 then :
9407 printf %s "(cached) " >&6
9408 else $as_nop
9409 if test -n "$ac_ct_READELF"; then
9410 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9411 else
9412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9413 for as_dir in $PATH
9415 IFS=$as_save_IFS
9416 case $as_dir in #(((
9417 '') as_dir=./ ;;
9418 */) ;;
9419 *) as_dir=$as_dir/ ;;
9420 esac
9421 for ac_exec_ext in '' $ac_executable_extensions; do
9422 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9423 ac_cv_prog_ac_ct_READELF="readelf"
9424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9425 break 2
9427 done
9428 done
9429 IFS=$as_save_IFS
9433 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9434 if test -n "$ac_ct_READELF"; then
9435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9436 printf "%s\n" "$ac_ct_READELF" >&6; }
9437 else
9438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9439 printf "%s\n" "no" >&6; }
9442 if test "x$ac_ct_READELF" = x; then
9443 READELF="true"
9444 else
9445 case $cross_compiling:$ac_tool_warned in
9446 yes:)
9447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9448 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9449 ac_tool_warned=yes ;;
9450 esac
9451 READELF=$ac_ct_READELF
9453 else
9454 READELF="$ac_cv_prog_READELF"
9457 wine_rules="all:"
9458 SUBDIRS=""
9460 DISABLED_SUBDIRS=""
9462 CONFIGURE_TARGETS=""
9465 wine_fn_config_makefile ()
9467 as_fn_append SUBDIRS " \\$as_nl $1"
9468 eval enable=\$$2
9469 case "$enable" in
9470 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9471 *aarch64*|*arm*|*i386*|*x86_64*)
9472 if test -n "$PE_ARCHS"
9473 then
9474 for i in $PE_ARCHS
9476 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9477 done
9478 else
9479 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9480 fi;;
9481 esac
9484 wine_fn_config_symlink ()
9486 ac_links=$@
9487 as_fn_append wine_rules "
9488 $ac_links:
9489 @./config.status \$@"
9490 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9493 wine_binary="wine"
9494 test "$HOST_ARCH" != x86_64 || wine_binary="wine64"
9495 WINELOADER_PROGRAMS="$wine_binary"
9497 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9499 case $host_os in
9500 cygwin*|mingw32*)
9501 LIBEXT="dll"
9502 EXTRACFLAGS="-D__WINE_PE_BUILD"
9503 case $host_cpu in
9504 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9505 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9506 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9507 then :
9508 printf %s "(cached) " >&6
9509 else $as_nop
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"
9517 then :
9518 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9519 else $as_nop
9520 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9523 conftest$ac_exeext conftest.$ac_ext
9524 CFLAGS=$ac_wine_try_cflags_saved
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9527 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9528 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9529 then :
9530 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9531 fi ;;
9532 esac
9533 enable_loader=${enable_loader:-no}
9534 enable_server=${enable_server:-no}
9535 with_x=${with_x:-no}
9536 with_pthread=${with_pthread:-no}
9539 darwin*|macosx*)
9540 ac_ext=m
9541 ac_cpp='$OBJCPP $CPPFLAGS'
9542 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9543 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9544 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9546 ac_ext=m
9547 ac_cpp='$OBJCPP $CPPFLAGS'
9548 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9549 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9550 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9551 if test -n "$ac_tool_prefix"; then
9552 for ac_prog in gcc objcc objc cc CC clang
9554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9557 printf %s "checking for $ac_word... " >&6; }
9558 if test ${ac_cv_prog_OBJC+y}
9559 then :
9560 printf %s "(cached) " >&6
9561 else $as_nop
9562 if test -n "$OBJC"; then
9563 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9564 else
9565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9566 for as_dir in $PATH
9568 IFS=$as_save_IFS
9569 case $as_dir in #(((
9570 '') as_dir=./ ;;
9571 */) ;;
9572 *) as_dir=$as_dir/ ;;
9573 esac
9574 for ac_exec_ext in '' $ac_executable_extensions; do
9575 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9576 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9578 break 2
9580 done
9581 done
9582 IFS=$as_save_IFS
9586 OBJC=$ac_cv_prog_OBJC
9587 if test -n "$OBJC"; then
9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9589 printf "%s\n" "$OBJC" >&6; }
9590 else
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9592 printf "%s\n" "no" >&6; }
9596 test -n "$OBJC" && break
9597 done
9599 if test -z "$OBJC"; then
9600 ac_ct_OBJC=$OBJC
9601 for ac_prog in gcc objcc objc cc CC clang
9603 # Extract the first word of "$ac_prog", so it can be a program name with args.
9604 set dummy $ac_prog; ac_word=$2
9605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9606 printf %s "checking for $ac_word... " >&6; }
9607 if test ${ac_cv_prog_ac_ct_OBJC+y}
9608 then :
9609 printf %s "(cached) " >&6
9610 else $as_nop
9611 if test -n "$ac_ct_OBJC"; then
9612 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9613 else
9614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9615 for as_dir in $PATH
9617 IFS=$as_save_IFS
9618 case $as_dir in #(((
9619 '') as_dir=./ ;;
9620 */) ;;
9621 *) as_dir=$as_dir/ ;;
9622 esac
9623 for ac_exec_ext in '' $ac_executable_extensions; do
9624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9625 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9627 break 2
9629 done
9630 done
9631 IFS=$as_save_IFS
9635 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9636 if test -n "$ac_ct_OBJC"; then
9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9638 printf "%s\n" "$ac_ct_OBJC" >&6; }
9639 else
9640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9641 printf "%s\n" "no" >&6; }
9645 test -n "$ac_ct_OBJC" && break
9646 done
9648 if test "x$ac_ct_OBJC" = x; then
9649 OBJC="gcc"
9650 else
9651 case $cross_compiling:$ac_tool_warned in
9652 yes:)
9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9654 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9655 ac_tool_warned=yes ;;
9656 esac
9657 OBJC=$ac_ct_OBJC
9661 # Provide some information about the compiler.
9662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9663 set X $ac_compile
9664 ac_compiler=$2
9665 for ac_option in --version -v -V -qversion; do
9666 { { ac_try="$ac_compiler $ac_option >&5"
9667 case "(($ac_try" in
9668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9669 *) ac_try_echo=$ac_try;;
9670 esac
9671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9672 printf "%s\n" "$ac_try_echo"; } >&5
9673 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9674 ac_status=$?
9675 if test -s conftest.err; then
9676 sed '10a\
9677 ... rest of stderr output deleted ...
9678 10q' conftest.err >conftest.er1
9679 cat conftest.er1 >&5
9681 rm -f conftest.er1 conftest.err
9682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9683 test $ac_status = 0; }
9684 done
9686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9687 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9688 if test ${ac_cv_objc_compiler_gnu+y}
9689 then :
9690 printf %s "(cached) " >&6
9691 else $as_nop
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9696 main (void)
9698 #ifndef __GNUC__
9699 choke me
9700 #endif
9703 return 0;
9705 _ACEOF
9706 if ac_fn_objc_try_compile "$LINENO"
9707 then :
9708 ac_compiler_gnu=yes
9709 else $as_nop
9710 ac_compiler_gnu=no
9712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9713 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9717 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9718 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9720 if test $ac_compiler_gnu = yes; then
9721 GOBJC=yes
9722 else
9723 GOBJC=
9725 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9726 ac_save_OBJCFLAGS=$OBJCFLAGS
9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9728 printf %s "checking whether $OBJC accepts -g... " >&6; }
9729 if test ${ac_cv_prog_objc_g+y}
9730 then :
9731 printf %s "(cached) " >&6
9732 else $as_nop
9733 ac_save_objc_werror_flag=$ac_objc_werror_flag
9734 ac_objc_werror_flag=yes
9735 ac_cv_prog_objc_g=no
9736 OBJCFLAGS="-g"
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9741 main (void)
9745 return 0;
9747 _ACEOF
9748 if ac_fn_objc_try_compile "$LINENO"
9749 then :
9750 ac_cv_prog_objc_g=yes
9751 else $as_nop
9752 OBJCFLAGS=""
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9757 main (void)
9761 return 0;
9763 _ACEOF
9764 if ac_fn_objc_try_compile "$LINENO"
9765 then :
9767 else $as_nop
9768 ac_objc_werror_flag=$ac_save_objc_werror_flag
9769 OBJCFLAGS="-g"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9774 main (void)
9778 return 0;
9780 _ACEOF
9781 if ac_fn_objc_try_compile "$LINENO"
9782 then :
9783 ac_cv_prog_objc_g=yes
9785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
9790 ac_objc_werror_flag=$ac_save_objc_werror_flag
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9793 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9794 if test $ac_test_OBJCFLAGS; then
9795 OBJCFLAGS=$ac_save_OBJCFLAGS
9796 elif test $ac_cv_prog_objc_g = yes; then
9797 if test "$GOBJC" = yes; then
9798 OBJCFLAGS="-g -O2"
9799 else
9800 OBJCFLAGS="-g"
9802 else
9803 if test "$GOBJC" = yes; then
9804 OBJCFLAGS="-O2"
9805 else
9806 OBJCFLAGS=
9809 ac_ext=m
9810 ac_cpp='$OBJCPP $CPPFLAGS'
9811 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9812 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9813 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9816 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9817 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9818 then :
9819 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9823 ac_ext=c
9824 ac_cpp='$CPP $CPPFLAGS'
9825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9829 LIBEXT="dylib"
9830 DLLFLAGS="$DLLFLAGS -fPIC"
9831 LDDLLFLAGS="-fPIC"
9832 COREFOUNDATION_LIBS="-framework CoreFoundation"
9834 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9836 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9838 CORESERVICES_LIBS="-framework CoreServices"
9840 APPKIT_LIBS="-framework AppKit"
9842 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9845 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9847 wine_can_build_preloader=yes
9848 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"
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9850 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9851 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9852 then :
9853 printf %s "(cached) " >&6
9854 else $as_nop
9855 ac_wine_try_cflags_saved=$CFLAGS
9856 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9859 int main(int argc, char **argv) { return 0; }
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"
9862 then :
9863 ac_cv_cflags__Wl__no_new_main__e__main=yes
9864 else $as_nop
9865 ac_cv_cflags__Wl__no_new_main__e__main=no
9867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9868 conftest$ac_exeext conftest.$ac_ext
9869 CFLAGS=$ac_wine_try_cflags_saved
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9872 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9873 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9874 then :
9875 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9876 { 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
9877 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9878 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9879 then :
9880 printf %s "(cached) " >&6
9881 else $as_nop
9882 ac_wine_try_cflags_saved=$CFLAGS
9883 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9886 int main(int argc, char **argv) { return 0; }
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"
9889 then :
9890 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9891 else $as_nop
9892 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9895 conftest$ac_exeext conftest.$ac_ext
9896 CFLAGS=$ac_wine_try_cflags_saved
9898 { 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
9899 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9900 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9901 then :
9902 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9903 else $as_nop
9904 wine_can_build_preloader=no
9906 else $as_nop
9907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9908 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9909 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9910 then :
9911 printf %s "(cached) " >&6
9912 else $as_nop
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 int main(int argc, char **argv) { return 0; }
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"
9920 then :
9921 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9922 else $as_nop
9923 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9926 conftest$ac_exeext conftest.$ac_ext
9927 CFLAGS=$ac_wine_try_cflags_saved
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9930 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9931 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9932 then :
9933 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9934 else $as_nop
9935 wine_can_build_preloader=no
9938 if test "$wine_can_build_preloader" = "yes"
9939 then
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9941 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9942 if test ${ac_cv_cflags__Wl__no_pie+y}
9943 then :
9944 printf %s "(cached) " >&6
9945 else $as_nop
9946 ac_wine_try_cflags_saved=$CFLAGS
9947 CFLAGS="$CFLAGS -Wl,-no_pie"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int main(int argc, char **argv) { return 0; }
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"
9953 then :
9954 ac_cv_cflags__Wl__no_pie=yes
9955 else $as_nop
9956 ac_cv_cflags__Wl__no_pie=no
9958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9963 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9964 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9965 then :
9966 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9968 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9969 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9970 else
9971 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9974 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9975 then
9976 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9979 if test "$ac_cv_header_Security_Security_h" = "yes"
9980 then
9981 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9984 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9985 then
9986 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9988 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9990 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9991 then
9992 OPENAL_LIBS="-framework OpenAL"
9995 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9997 ac_cv_lib_openal=yes
9999 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10000 then
10001 OPENCL_LIBS="-framework OpenCL"
10003 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10005 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10006 then
10007 ac_save_LIBS="$LIBS"
10008 LIBS="$LIBS $IOKIT_LIBS"
10009 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10010 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10011 then :
10012 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10016 LIBS="$ac_save_LIBS"
10019 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10020 then
10021 CARBON_LIBS="-framework Carbon"
10024 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10025 then
10026 METAL_LIBS="-framework Metal"
10030 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10031 then
10032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10033 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10034 ac_ext=m
10035 ac_cpp='$OBJCPP $CPPFLAGS'
10036 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10037 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10038 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10042 #include <Metal/Metal.h>
10044 main (void)
10046 id<MTLDevice> device; device.registryID;
10048 return 0;
10050 _ACEOF
10051 if ac_fn_objc_try_compile "$LINENO"
10052 then :
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10054 printf "%s\n" "yes" >&6; }
10056 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10058 else $as_nop
10059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10060 printf "%s\n" "no" >&6; }
10062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10063 ac_ext=c
10064 ac_cpp='$CPP $CPPFLAGS'
10065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10071 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10072 then
10073 ac_save_LIBS="$LIBS"
10074 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10075 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10076 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10077 then :
10078 enable_winemac_drv=${enable_winemac_drv:-yes}
10081 LIBS="$ac_save_LIBS"
10084 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10085 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10087 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10089 WINELOADER_DEPENDS="wine_info.plist"
10091 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10094 linux-android*)
10096 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10098 DLLFLAGS="$DLLFLAGS -fPIC"
10099 LDDLLFLAGS="-fPIC"
10100 LDEXECFLAGS="-Wl,-pie"
10101 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10103 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10104 if test ${ac_cv_cflags__Wl__z_defs+y}
10105 then :
10106 printf %s "(cached) " >&6
10107 else $as_nop
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 CFLAGS="$CFLAGS -Wl,-z,defs"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int main(int argc, char **argv) { return 0; }
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"
10115 then :
10116 ac_cv_cflags__Wl__z_defs=yes
10117 else $as_nop
10118 ac_cv_cflags__Wl__z_defs=no
10120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10121 conftest$ac_exeext conftest.$ac_ext
10122 CFLAGS=$ac_wine_try_cflags_saved
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10125 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10126 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10127 then :
10128 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10131 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10132 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10133 then :
10134 printf %s "(cached) " >&6
10135 else $as_nop
10136 ac_wine_try_cflags_saved=$CFLAGS
10137 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10140 int main(int argc, char **argv) { return 0; }
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"
10143 then :
10144 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10145 else $as_nop
10146 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10153 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10154 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10155 then :
10156 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10158 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10161 printf %s "checking for -lEGL... " >&6; }
10162 if test ${ac_cv_lib_soname_EGL+y}
10163 then :
10164 printf %s "(cached) " >&6
10165 else $as_nop
10166 ac_check_soname_save_LIBS=$LIBS
10167 LIBS="-lEGL $LIBS"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10174 char eglGetProcAddress ();
10176 main (void)
10178 return eglGetProcAddress ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"
10184 then :
10185 case "$LIBEXT" in
10186 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10187 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'` ;;
10188 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10189 if ${ac_cv_lib_soname_EGL:+false} :
10190 then :
10191 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10192 fi ;;
10193 esac
10194 else $as_nop
10195 ac_cv_lib_soname_EGL=
10197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10198 conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_soname_save_LIBS
10201 if ${ac_cv_lib_soname_EGL:+false} :
10202 then :
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10204 printf "%s\n" "not found" >&6; }
10206 else $as_nop
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10208 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10210 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10215 printf %s "checking for -lGLESv2... " >&6; }
10216 if test ${ac_cv_lib_soname_GLESv2+y}
10217 then :
10218 printf %s "(cached) " >&6
10219 else $as_nop
10220 ac_check_soname_save_LIBS=$LIBS
10221 LIBS="-lGLESv2 $LIBS"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228 char glFlush ();
10230 main (void)
10232 return glFlush ();
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"
10238 then :
10239 case "$LIBEXT" in
10240 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10241 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'` ;;
10242 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10243 if ${ac_cv_lib_soname_GLESv2:+false} :
10244 then :
10245 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10246 fi ;;
10247 esac
10248 else $as_nop
10249 ac_cv_lib_soname_GLESv2=
10251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10252 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_soname_save_LIBS
10255 if ${ac_cv_lib_soname_GLESv2:+false} :
10256 then :
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10258 printf "%s\n" "not found" >&6; }
10260 else $as_nop
10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10262 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10264 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10269 if test "x$exec_prefix" = xNONE
10270 then
10271 case $host_cpu in
10272 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10273 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10274 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10275 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10276 esac
10282 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10284 test "$ac_cv_sys_file_offset_bits" = 64 &&
10285 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10287 case $host_cpu in
10288 *i[3456789]86*)
10289 DLLFLAGS="$DLLFLAGS -fno-PIC"
10290 LDDLLFLAGS="-fno-PIC"
10291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10292 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10293 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10294 then :
10295 printf %s "(cached) " >&6
10296 else $as_nop
10297 ac_wine_try_cflags_saved=$CFLAGS
10298 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10301 int main(int argc, char **argv) { return 0; }
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"
10304 then :
10305 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10306 else $as_nop
10307 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10310 conftest$ac_exeext conftest.$ac_ext
10311 CFLAGS=$ac_wine_try_cflags_saved
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10314 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10315 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10316 then :
10317 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10321 DLLFLAGS="$DLLFLAGS -fPIC"
10322 LDDLLFLAGS="-fPIC" ;;
10323 esac
10324 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10326 echo '{ global: *; };' >conftest.map
10327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10328 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10329 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10330 then :
10331 printf %s "(cached) " >&6
10332 else $as_nop
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 int main(int argc, char **argv) { return 0; }
10338 _ACEOF
10339 if ac_fn_c_try_link "$LINENO"
10340 then :
10341 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10342 else $as_nop
10343 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10346 conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10350 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10351 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10352 then :
10353 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10355 rm -f conftest.map
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10358 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10359 if test ${ac_cv_cflags__Wl__z_defs+y}
10360 then :
10361 printf %s "(cached) " >&6
10362 else $as_nop
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 CFLAGS="$CFLAGS -Wl,-z,defs"
10365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10367 int main(int argc, char **argv) { return 0; }
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"
10370 then :
10371 ac_cv_cflags__Wl__z_defs=yes
10372 else $as_nop
10373 ac_cv_cflags__Wl__z_defs=no
10375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10376 conftest$ac_exeext conftest.$ac_ext
10377 CFLAGS=$ac_wine_try_cflags_saved
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10380 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10381 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10382 then :
10383 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10386 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10387 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10388 then :
10389 printf %s "(cached) " >&6
10390 else $as_nop
10391 ac_wine_try_cflags_saved=$CFLAGS
10392 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 int main(int argc, char **argv) { return 0; }
10396 _ACEOF
10397 if ac_fn_c_try_link "$LINENO"
10398 then :
10399 ac_cv_cflags__Wl___export_dynamic=yes
10400 else $as_nop
10401 ac_cv_cflags__Wl___export_dynamic=no
10403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10404 conftest$ac_exeext conftest.$ac_ext
10405 CFLAGS=$ac_wine_try_cflags_saved
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10408 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10409 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10410 then :
10411 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10413 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10415 case $host_cpu in
10416 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10418 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10419 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10420 then :
10421 printf %s "(cached) " >&6
10422 else $as_nop
10423 ac_wine_try_cflags_saved=$CFLAGS
10424 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10427 int main(int argc, char **argv) { return 0; }
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"
10430 then :
10431 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10432 else $as_nop
10433 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10436 conftest$ac_exeext conftest.$ac_ext
10437 CFLAGS=$ac_wine_try_cflags_saved
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10440 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10441 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10442 then :
10443 case $host_os in
10444 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10445 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10446 esac
10447 else $as_nop
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10449 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10450 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10451 then :
10452 printf %s "(cached) " >&6
10453 else $as_nop
10454 ac_wine_try_cflags_saved=$CFLAGS
10455 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 int main(int argc, char **argv) { return 0; }
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"
10461 then :
10462 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10463 else $as_nop
10464 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10467 conftest$ac_exeext conftest.$ac_ext
10468 CFLAGS=$ac_wine_try_cflags_saved
10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10471 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10472 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10473 then :
10474 case $host_os in
10475 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10476 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10477 esac
10479 # Extract the first word of "prelink", so it can be a program name with args.
10480 set dummy prelink; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_path_PRELINK+y}
10484 then :
10485 printf %s "(cached) " >&6
10486 else $as_nop
10487 case $PRELINK in
10488 [\\/]* | ?:[\\/]*)
10489 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10493 for as_dir in /sbin /usr/sbin $PATH
10495 IFS=$as_save_IFS
10496 case $as_dir in #(((
10497 '') as_dir=./ ;;
10498 */) ;;
10499 *) as_dir=$as_dir/ ;;
10500 esac
10501 for ac_exec_ext in '' $ac_executable_extensions; do
10502 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10503 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10505 break 2
10507 done
10508 done
10509 IFS=$as_save_IFS
10511 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10513 esac
10515 PRELINK=$ac_cv_path_PRELINK
10516 if test -n "$PRELINK"; then
10517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10518 printf "%s\n" "$PRELINK" >&6; }
10519 else
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10521 printf "%s\n" "no" >&6; }
10525 if test "x$PRELINK" = xfalse
10526 then
10527 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10531 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10532 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10533 then :
10534 printf %s "(cached) " >&6
10535 else $as_nop
10536 ac_wine_try_cflags_saved=$CFLAGS
10537 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int main(int argc, char **argv) { return 0; }
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"
10543 then :
10544 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10545 else $as_nop
10546 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10549 conftest$ac_exeext conftest.$ac_ext
10550 CFLAGS=$ac_wine_try_cflags_saved
10552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10553 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10554 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10555 then :
10556 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10559 esac
10560 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10562 LIBWINE_DEPENDS="wine.map"
10564 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10566 esac
10568 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10569 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10570 enable_winemac_drv=${enable_winemac_drv:-no}
10572 PE_ARCHS=""
10574 cross_archs=
10575 if test ${enable_archs+y}
10576 then :
10577 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10578 ac_save_IFS=$IFS
10579 IFS=' ,'
10580 set x $enable_archs
10581 IFS=$ac_save_IFS
10582 shift
10583 for arch
10585 case $arch in
10586 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10587 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10588 esac
10589 done
10590 else $as_nop
10591 if test "x$with_mingw" != xno
10592 then
10593 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10594 case "x$with_mingw" in
10595 x|xyes) ;;
10596 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10597 esac
10601 for wine_arch in $cross_archs
10603 if eval \${${wine_arch}_CC:+false} :
10604 then :
10605 case $wine_arch in
10606 aarch64)
10607 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10609 # Extract the first word of "$ac_prog", so it can be a program name with args.
10610 set dummy $ac_prog; ac_word=$2
10611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10612 printf %s "checking for $ac_word... " >&6; }
10613 if test ${ac_cv_prog_aarch64_CC+y}
10614 then :
10615 printf %s "(cached) " >&6
10616 else $as_nop
10617 if test -n "$aarch64_CC"; then
10618 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10619 else
10620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10621 for as_dir in $PATH
10623 IFS=$as_save_IFS
10624 case $as_dir in #(((
10625 '') as_dir=./ ;;
10626 */) ;;
10627 *) as_dir=$as_dir/ ;;
10628 esac
10629 for ac_exec_ext in '' $ac_executable_extensions; do
10630 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10631 ac_cv_prog_aarch64_CC="$ac_prog"
10632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10633 break 2
10635 done
10636 done
10637 IFS=$as_save_IFS
10641 aarch64_CC=$ac_cv_prog_aarch64_CC
10642 if test -n "$aarch64_CC"; then
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10644 printf "%s\n" "$aarch64_CC" >&6; }
10645 else
10646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10647 printf "%s\n" "no" >&6; }
10651 test -n "$aarch64_CC" && break
10652 done
10653 test -n "$aarch64_CC" || aarch64_CC="false"
10656 arm)
10657 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10659 # Extract the first word of "$ac_prog", so it can be a program name with args.
10660 set dummy $ac_prog; ac_word=$2
10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10662 printf %s "checking for $ac_word... " >&6; }
10663 if test ${ac_cv_prog_arm_CC+y}
10664 then :
10665 printf %s "(cached) " >&6
10666 else $as_nop
10667 if test -n "$arm_CC"; then
10668 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10669 else
10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10671 for as_dir in $PATH
10673 IFS=$as_save_IFS
10674 case $as_dir in #(((
10675 '') as_dir=./ ;;
10676 */) ;;
10677 *) as_dir=$as_dir/ ;;
10678 esac
10679 for ac_exec_ext in '' $ac_executable_extensions; do
10680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10681 ac_cv_prog_arm_CC="$ac_prog"
10682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10683 break 2
10685 done
10686 done
10687 IFS=$as_save_IFS
10691 arm_CC=$ac_cv_prog_arm_CC
10692 if test -n "$arm_CC"; then
10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10694 printf "%s\n" "$arm_CC" >&6; }
10695 else
10696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10697 printf "%s\n" "no" >&6; }
10701 test -n "$arm_CC" && break
10702 done
10703 test -n "$arm_CC" || arm_CC="false"
10706 i386)
10707 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 "
10708 for ac_prog in $ac_prefix_list clang
10710 # Extract the first word of "$ac_prog", so it can be a program name with args.
10711 set dummy $ac_prog; ac_word=$2
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10713 printf %s "checking for $ac_word... " >&6; }
10714 if test ${ac_cv_prog_i386_CC+y}
10715 then :
10716 printf %s "(cached) " >&6
10717 else $as_nop
10718 if test -n "$i386_CC"; then
10719 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10720 else
10721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10722 for as_dir in $PATH
10724 IFS=$as_save_IFS
10725 case $as_dir in #(((
10726 '') as_dir=./ ;;
10727 */) ;;
10728 *) as_dir=$as_dir/ ;;
10729 esac
10730 for ac_exec_ext in '' $ac_executable_extensions; do
10731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10732 ac_cv_prog_i386_CC="$ac_prog"
10733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10734 break 2
10736 done
10737 done
10738 IFS=$as_save_IFS
10742 i386_CC=$ac_cv_prog_i386_CC
10743 if test -n "$i386_CC"; then
10744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10745 printf "%s\n" "$i386_CC" >&6; }
10746 else
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10748 printf "%s\n" "no" >&6; }
10752 test -n "$i386_CC" && break
10753 done
10754 test -n "$i386_CC" || i386_CC="false"
10757 x86_64)
10758 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10759 for ac_prog in $ac_prefix_list clang
10761 # Extract the first word of "$ac_prog", so it can be a program name with args.
10762 set dummy $ac_prog; ac_word=$2
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10764 printf %s "checking for $ac_word... " >&6; }
10765 if test ${ac_cv_prog_x86_64_CC+y}
10766 then :
10767 printf %s "(cached) " >&6
10768 else $as_nop
10769 if test -n "$x86_64_CC"; then
10770 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10771 else
10772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10773 for as_dir in $PATH
10775 IFS=$as_save_IFS
10776 case $as_dir in #(((
10777 '') as_dir=./ ;;
10778 */) ;;
10779 *) as_dir=$as_dir/ ;;
10780 esac
10781 for ac_exec_ext in '' $ac_executable_extensions; do
10782 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10783 ac_cv_prog_x86_64_CC="$ac_prog"
10784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10785 break 2
10787 done
10788 done
10789 IFS=$as_save_IFS
10793 x86_64_CC=$ac_cv_prog_x86_64_CC
10794 if test -n "$x86_64_CC"; then
10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10796 printf "%s\n" "$x86_64_CC" >&6; }
10797 else
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10799 printf "%s\n" "no" >&6; }
10803 test -n "$x86_64_CC" && break
10804 done
10805 test -n "$x86_64_CC" || x86_64_CC="false"
10808 esac
10811 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10812 then :
10813 continue
10816 saved_CC=$CC
10817 saved_CFLAGS=$CFLAGS
10819 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10820 eval CC=\$${wine_arch}_CC
10821 eval ${wine_arch}_CFLAGS=\$CFLAGS
10822 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10823 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10825 target=""
10826 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10829 printf %s "checking whether $CC works... " >&6; }
10830 if eval test \${$as_wine_cv_crosscc+y}
10831 then :
10832 printf %s "(cached) " >&6
10833 else $as_nop
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10838 main (void)
10842 return 0;
10844 _ACEOF
10845 if ac_fn_c_try_compile "$LINENO"
10846 then :
10847 eval "$as_wine_cv_crosscc=yes"
10848 else $as_nop
10849 eval "$as_wine_cv_crosscc=no"
10851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10853 eval ac_res=\$$as_wine_cv_crosscc
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10855 printf "%s\n" "$ac_res" >&6; }
10856 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10857 then :
10858 set x $CC
10859 shift
10860 while test $# -ge 1
10862 case "$1" in
10863 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10864 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10865 esac
10866 shift
10867 done
10869 llvm_target=$target
10870 llvm_cflags="-fuse-ld=lld"
10871 if test -z "$llvm_target"
10872 then
10873 case $wine_arch in
10874 i386) llvm_target=i686-windows ;;
10875 arm) llvm_target=armv7-windows ;;
10876 *) llvm_target=$wine_arch-windows ;;
10877 esac
10879 case $llvm_target in
10880 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10881 esac
10882 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10884 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10885 if eval test \${$as_ac_var+y}
10886 then :
10887 printf %s "(cached) " >&6
10888 else $as_nop
10889 ac_wine_try_cflags_saved=$CFLAGS
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10892 ac_exeext=".exe"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 int __cdecl mainCRTStartup(void) { return 0; }
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"
10898 then :
10899 eval "$as_ac_var=yes"
10900 else $as_nop
10901 eval "$as_ac_var=no"
10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10904 conftest$ac_exeext conftest.$ac_ext
10905 CFLAGS=$ac_wine_try_cflags_saved
10906 ac_exeext=$ac_wine_try_cflags_saved_exeext
10908 eval ac_res=\$$as_ac_var
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10910 printf "%s\n" "$ac_res" >&6; }
10911 if eval test \"x\$"$as_ac_var"\" = x"yes"
10912 then :
10913 target=$llvm_target
10914 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10915 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10916 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10917 fi }
10918 eval "${wine_arch}_TARGET=\$target"
10919 PE_ARCHS="$PE_ARCHS $wine_arch"
10923 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10926 printf %s "checking for $CC option to enable C99 features... " >&6; }
10927 if eval test \${$as_wine_cv_crosscc_c99+y}
10928 then :
10929 printf %s "(cached) " >&6
10930 else $as_nop
10931 eval "$as_wine_cv_crosscc_c99=no"
10932 for arg in '' '-std=gnu99'
10934 test -z "$arg" || CC="$CC $arg"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10937 $ac_c_conftest_c99_program
10938 _ACEOF
10939 if ac_fn_c_try_compile "$LINENO"
10940 then :
10941 eval "$as_wine_cv_crosscc_c99=\$arg"
10942 else $as_nop
10943 eval "$as_wine_cv_crosscc_c99=no"
10945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10946 eval CC=\$${wine_arch}_CC
10947 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10948 then :
10950 else $as_nop
10951 break
10953 done
10956 eval res=\$$as_wine_cv_crosscc_c99
10957 case "x$res" in
10958 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10959 printf "%s\n" "none needed" >&6; } ;;
10960 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10961 printf "%s\n" "unsupported" >&6; } ;;
10962 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10963 printf "%s\n" "$res" >&6; }
10964 as_fn_append ${wine_arch}_CC " $res" ;;
10965 esac
10968 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10970 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10971 if eval test \${$as_ac_var+y}
10972 then :
10973 printf %s "(cached) " >&6
10974 else $as_nop
10975 ac_wine_try_cflags_saved=$CFLAGS
10976 ac_wine_try_cflags_saved_exeext=$ac_exeext
10977 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10978 ac_exeext=".exe"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 int __cdecl mainCRTStartup(void) { return 0; }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"
10984 then :
10985 eval "$as_ac_var=yes"
10986 else $as_nop
10987 eval "$as_ac_var=no"
10989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10990 conftest$ac_exeext conftest.$ac_ext
10991 CFLAGS=$ac_wine_try_cflags_saved
10992 ac_exeext=$ac_wine_try_cflags_saved_exeext
10994 eval ac_res=\$$as_ac_var
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10996 printf "%s\n" "$ac_res" >&6; }
10997 if eval test \"x\$"$as_ac_var"\" = x"yes"
10998 then :
10999 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
11000 fi }
11001 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
11003 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
11004 if eval test \${$as_ac_var+y}
11005 then :
11006 printf %s "(cached) " >&6
11007 else $as_nop
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11011 ac_exeext=".exe"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 int __cdecl mainCRTStartup(void) { return 0; }
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"
11017 then :
11018 eval "$as_ac_var=yes"
11019 else $as_nop
11020 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11023 conftest$ac_exeext conftest.$ac_ext
11024 CFLAGS=$ac_wine_try_cflags_saved
11025 ac_exeext=$ac_wine_try_cflags_saved_exeext
11027 eval ac_res=\$$as_ac_var
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11029 printf "%s\n" "$ac_res" >&6; }
11030 if eval test \"x\$"$as_ac_var"\" = x"yes"
11031 then :
11032 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11033 fi }
11034 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11036 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11037 if eval test \${$as_ac_var+y}
11038 then :
11039 printf %s "(cached) " >&6
11040 else $as_nop
11041 ac_wine_try_cflags_saved=$CFLAGS
11042 ac_wine_try_cflags_saved_exeext=$ac_exeext
11043 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11044 ac_exeext=".exe"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 int __cdecl mainCRTStartup(void) { return 0; }
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"
11050 then :
11051 eval "$as_ac_var=yes"
11052 else $as_nop
11053 eval "$as_ac_var=no"
11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11056 conftest$ac_exeext conftest.$ac_ext
11057 CFLAGS=$ac_wine_try_cflags_saved
11058 ac_exeext=$ac_wine_try_cflags_saved_exeext
11060 eval ac_res=\$$as_ac_var
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11062 printf "%s\n" "$ac_res" >&6; }
11063 if eval test \"x\$"$as_ac_var"\" = x"yes"
11064 then :
11065 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11066 fi }
11067 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11069 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11070 if eval test \${$as_ac_var+y}
11071 then :
11072 printf %s "(cached) " >&6
11073 else $as_nop
11074 ac_wine_try_cflags_saved=$CFLAGS
11075 ac_wine_try_cflags_saved_exeext=$ac_exeext
11076 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11077 ac_exeext=".exe"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11080 int __cdecl mainCRTStartup(void) { return 0; }
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"
11083 then :
11084 eval "$as_ac_var=yes"
11085 else $as_nop
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11097 then :
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11099 fi }
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11102 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11103 if eval test \${$as_ac_var+y}
11104 then :
11105 printf %s "(cached) " >&6
11106 else $as_nop
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11110 ac_exeext=".exe"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 int __cdecl mainCRTStartup(void) { return 0; }
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"
11116 then :
11117 eval "$as_ac_var=yes"
11118 else $as_nop
11119 eval "$as_ac_var=no"
11121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11122 conftest$ac_exeext conftest.$ac_ext
11123 CFLAGS=$ac_wine_try_cflags_saved
11124 ac_exeext=$ac_wine_try_cflags_saved_exeext
11126 eval ac_res=\$$as_ac_var
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11128 printf "%s\n" "$ac_res" >&6; }
11129 if eval test \"x\$"$as_ac_var"\" = x"yes"
11130 then :
11131 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11132 fi }
11133 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11135 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11136 if eval test \${$as_ac_var+y}
11137 then :
11138 printf %s "(cached) " >&6
11139 else $as_nop
11140 ac_wine_try_cflags_saved=$CFLAGS
11141 ac_wine_try_cflags_saved_exeext=$ac_exeext
11142 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11143 ac_exeext=".exe"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 int __cdecl mainCRTStartup(void) { return 0; }
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"
11149 then :
11150 eval "$as_ac_var=yes"
11151 else $as_nop
11152 eval "$as_ac_var=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11155 conftest$ac_exeext conftest.$ac_ext
11156 CFLAGS=$ac_wine_try_cflags_saved
11157 ac_exeext=$ac_wine_try_cflags_saved_exeext
11159 eval ac_res=\$$as_ac_var
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11161 printf "%s\n" "$ac_res" >&6; }
11162 if eval test \"x\$"$as_ac_var"\" = x"yes"
11163 then :
11164 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11165 fi }
11166 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11168 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11169 if eval test \${$as_ac_var+y}
11170 then :
11171 printf %s "(cached) " >&6
11172 else $as_nop
11173 ac_wine_try_cflags_saved=$CFLAGS
11174 ac_wine_try_cflags_saved_exeext=$ac_exeext
11175 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11176 ac_exeext=".exe"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11179 int __cdecl mainCRTStartup(void) { return 0; }
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"
11182 then :
11183 eval "$as_ac_var=yes"
11184 else $as_nop
11185 eval "$as_ac_var=no"
11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188 conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11190 ac_exeext=$ac_wine_try_cflags_saved_exeext
11192 eval ac_res=\$$as_ac_var
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11194 printf "%s\n" "$ac_res" >&6; }
11195 if eval test \"x\$"$as_ac_var"\" = x"yes"
11196 then :
11197 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11198 fi }
11199 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11201 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11202 if eval test \${$as_ac_var+y}
11203 then :
11204 printf %s "(cached) " >&6
11205 else $as_nop
11206 ac_wine_try_cflags_saved=$CFLAGS
11207 ac_wine_try_cflags_saved_exeext=$ac_exeext
11208 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11209 ac_exeext=".exe"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int __cdecl mainCRTStartup(void) { return 0; }
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"
11215 then :
11216 eval "$as_ac_var=yes"
11217 else $as_nop
11218 eval "$as_ac_var=no"
11220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11221 conftest$ac_exeext conftest.$ac_ext
11222 CFLAGS=$ac_wine_try_cflags_saved
11223 ac_exeext=$ac_wine_try_cflags_saved_exeext
11225 eval ac_res=\$$as_ac_var
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11227 printf "%s\n" "$ac_res" >&6; }
11228 if eval test \"x\$"$as_ac_var"\" = x"yes"
11229 then :
11230 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11231 fi }
11232 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11234 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11235 if eval test \${$as_ac_var+y}
11236 then :
11237 printf %s "(cached) " >&6
11238 else $as_nop
11239 ac_wine_try_cflags_saved=$CFLAGS
11240 ac_wine_try_cflags_saved_exeext=$ac_exeext
11241 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11242 ac_exeext=".exe"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 int __cdecl mainCRTStartup(void) { return 0; }
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"
11248 then :
11249 eval "$as_ac_var=yes"
11250 else $as_nop
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11262 then :
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11264 fi }
11265 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11267 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11268 if eval test \${$as_ac_var+y}
11269 then :
11270 printf %s "(cached) " >&6
11271 else $as_nop
11272 ac_wine_try_cflags_saved=$CFLAGS
11273 ac_wine_try_cflags_saved_exeext=$ac_exeext
11274 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11275 ac_exeext=".exe"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278 int __cdecl mainCRTStartup(void) { return 0; }
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"
11281 then :
11282 eval "$as_ac_var=yes"
11283 else $as_nop
11284 eval "$as_ac_var=no"
11286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11287 conftest$ac_exeext conftest.$ac_ext
11288 CFLAGS=$ac_wine_try_cflags_saved
11289 ac_exeext=$ac_wine_try_cflags_saved_exeext
11291 eval ac_res=\$$as_ac_var
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11293 printf "%s\n" "$ac_res" >&6; }
11294 if eval test \"x\$"$as_ac_var"\" = x"yes"
11295 then :
11296 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11297 fi }
11298 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11300 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11301 if eval test \${$as_ac_var+y}
11302 then :
11303 printf %s "(cached) " >&6
11304 else $as_nop
11305 ac_wine_try_cflags_saved=$CFLAGS
11306 ac_wine_try_cflags_saved_exeext=$ac_exeext
11307 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11308 ac_exeext=".exe"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11311 int __cdecl mainCRTStartup(void) { return 0; }
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"
11314 then :
11315 eval "$as_ac_var=yes"
11316 else $as_nop
11317 eval "$as_ac_var=no"
11319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11320 conftest$ac_exeext conftest.$ac_ext
11321 CFLAGS=$ac_wine_try_cflags_saved
11322 ac_exeext=$ac_wine_try_cflags_saved_exeext
11324 eval ac_res=\$$as_ac_var
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11326 printf "%s\n" "$ac_res" >&6; }
11327 if eval test \"x\$"$as_ac_var"\" = x"yes"
11328 then :
11329 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11330 fi }
11331 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11333 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11334 if eval test \${$as_ac_var+y}
11335 then :
11336 printf %s "(cached) " >&6
11337 else $as_nop
11338 ac_wine_try_cflags_saved=$CFLAGS
11339 ac_wine_try_cflags_saved_exeext=$ac_exeext
11340 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11341 ac_exeext=".exe"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11344 int __cdecl mainCRTStartup(void) { return 0; }
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"
11347 then :
11348 eval "$as_ac_var=yes"
11349 else $as_nop
11350 eval "$as_ac_var=no"
11352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11353 conftest$ac_exeext conftest.$ac_ext
11354 CFLAGS=$ac_wine_try_cflags_saved
11355 ac_exeext=$ac_wine_try_cflags_saved_exeext
11357 eval ac_res=\$$as_ac_var
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11359 printf "%s\n" "$ac_res" >&6; }
11360 if eval test \"x\$"$as_ac_var"\" = x"yes"
11361 then :
11362 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11363 fi }
11364 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11366 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11367 if eval test \${$as_ac_var+y}
11368 then :
11369 printf %s "(cached) " >&6
11370 else $as_nop
11371 ac_wine_try_cflags_saved=$CFLAGS
11372 ac_wine_try_cflags_saved_exeext=$ac_exeext
11373 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11374 ac_exeext=".exe"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11377 int __cdecl mainCRTStartup(void) { return 0; }
11378 _ACEOF
11379 if ac_fn_c_try_link "$LINENO"
11380 then :
11381 eval "$as_ac_var=yes"
11382 else $as_nop
11383 eval "$as_ac_var=no"
11385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11386 conftest$ac_exeext conftest.$ac_ext
11387 CFLAGS=$ac_wine_try_cflags_saved
11388 ac_exeext=$ac_wine_try_cflags_saved_exeext
11390 eval ac_res=\$$as_ac_var
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11392 printf "%s\n" "$ac_res" >&6; }
11393 if eval test \"x\$"$as_ac_var"\" = x"yes"
11394 then :
11395 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11396 fi }
11397 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11399 printf %s "checking whether $CC supports -Wvla... " >&6; }
11400 if eval test \${$as_ac_var+y}
11401 then :
11402 printf %s "(cached) " >&6
11403 else $as_nop
11404 ac_wine_try_cflags_saved=$CFLAGS
11405 ac_wine_try_cflags_saved_exeext=$ac_exeext
11406 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11407 ac_exeext=".exe"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11410 int __cdecl mainCRTStartup(void) { return 0; }
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"
11413 then :
11414 eval "$as_ac_var=yes"
11415 else $as_nop
11416 eval "$as_ac_var=no"
11418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11419 conftest$ac_exeext conftest.$ac_ext
11420 CFLAGS=$ac_wine_try_cflags_saved
11421 ac_exeext=$ac_wine_try_cflags_saved_exeext
11423 eval ac_res=\$$as_ac_var
11424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11425 printf "%s\n" "$ac_res" >&6; }
11426 if eval test \"x\$"$as_ac_var"\" = x"yes"
11427 then :
11428 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11429 fi }
11430 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11432 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11433 if eval test \${$as_ac_var+y}
11434 then :
11435 printf %s "(cached) " >&6
11436 else $as_nop
11437 ac_wine_try_cflags_saved=$CFLAGS
11438 ac_wine_try_cflags_saved_exeext=$ac_exeext
11439 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11440 ac_exeext=".exe"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11443 int __cdecl mainCRTStartup(void) { return 0; }
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"
11446 then :
11447 eval "$as_ac_var=yes"
11448 else $as_nop
11449 eval "$as_ac_var=no"
11451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11452 conftest$ac_exeext conftest.$ac_ext
11453 CFLAGS=$ac_wine_try_cflags_saved
11454 ac_exeext=$ac_wine_try_cflags_saved_exeext
11456 eval ac_res=\$$as_ac_var
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11458 printf "%s\n" "$ac_res" >&6; }
11459 if eval test \"x\$"$as_ac_var"\" = x"yes"
11460 then :
11461 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11462 fi }
11463 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11465 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11466 if eval test \${$as_ac_var+y}
11467 then :
11468 printf %s "(cached) " >&6
11469 else $as_nop
11470 ac_wine_try_cflags_saved=$CFLAGS
11471 ac_wine_try_cflags_saved_exeext=$ac_exeext
11472 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11473 ac_exeext=".exe"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11476 int __cdecl mainCRTStartup(void) { return 0; }
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"
11479 then :
11480 eval "$as_ac_var=yes"
11481 else $as_nop
11482 eval "$as_ac_var=no"
11484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11485 conftest$ac_exeext conftest.$ac_ext
11486 CFLAGS=$ac_wine_try_cflags_saved
11487 ac_exeext=$ac_wine_try_cflags_saved_exeext
11489 eval ac_res=\$$as_ac_var
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11491 printf "%s\n" "$ac_res" >&6; }
11492 if eval test \"x\$"$as_ac_var"\" = x"yes"
11493 then :
11494 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11495 fi }
11496 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11498 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11499 if eval test \${$as_ac_var+y}
11500 then :
11501 printf %s "(cached) " >&6
11502 else $as_nop
11503 ac_wine_try_cflags_saved=$CFLAGS
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11506 ac_exeext=".exe"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11509 int __cdecl mainCRTStartup(void) { return 0; }
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"
11512 then :
11513 eval "$as_ac_var=yes"
11514 else $as_nop
11515 eval "$as_ac_var=no"
11517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11518 conftest$ac_exeext conftest.$ac_ext
11519 CFLAGS=$ac_wine_try_cflags_saved
11520 ac_exeext=$ac_wine_try_cflags_saved_exeext
11522 eval ac_res=\$$as_ac_var
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11524 printf "%s\n" "$ac_res" >&6; }
11525 if eval test \"x\$"$as_ac_var"\" = x"yes"
11526 then :
11527 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11528 fi }
11529 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11531 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11532 if eval test \${$as_ac_var+y}
11533 then :
11534 printf %s "(cached) " >&6
11535 else $as_nop
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_exeext=$ac_exeext
11538 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11539 ac_exeext=".exe"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 int __cdecl mainCRTStartup(void) { return 0; }
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"
11545 then :
11546 eval "$as_ac_var=yes"
11547 else $as_nop
11548 eval "$as_ac_var=no"
11550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11551 conftest$ac_exeext conftest.$ac_ext
11552 CFLAGS=$ac_wine_try_cflags_saved
11553 ac_exeext=$ac_wine_try_cflags_saved_exeext
11555 eval ac_res=\$$as_ac_var
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11557 printf "%s\n" "$ac_res" >&6; }
11558 if eval test \"x\$"$as_ac_var"\" = x"yes"
11559 then :
11560 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11561 fi }
11563 case $wine_arch in
11564 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11566 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11567 if eval test \${$as_ac_var+y}
11568 then :
11569 printf %s "(cached) " >&6
11570 else $as_nop
11571 ac_wine_try_cflags_saved=$CFLAGS
11572 ac_wine_try_cflags_saved_exeext=$ac_exeext
11573 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11574 ac_exeext=".exe"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11577 int __cdecl mainCRTStartup(void) { return 0; }
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"
11580 then :
11581 eval "$as_ac_var=yes"
11582 else $as_nop
11583 eval "$as_ac_var=no"
11585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11586 conftest$ac_exeext conftest.$ac_ext
11587 CFLAGS=$ac_wine_try_cflags_saved
11588 ac_exeext=$ac_wine_try_cflags_saved_exeext
11590 eval ac_res=\$$as_ac_var
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11592 printf "%s\n" "$ac_res" >&6; }
11593 if eval test \"x\$"$as_ac_var"\" = x"yes"
11594 then :
11595 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11596 fi }
11597 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11599 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11600 if eval test \${$as_ac_var+y}
11601 then :
11602 printf %s "(cached) " >&6
11603 else $as_nop
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_exeext=$ac_exeext
11606 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11607 ac_exeext=".exe"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 int __cdecl mainCRTStartup(void) { return 0; }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"
11613 then :
11614 eval "$as_ac_var=yes"
11615 else $as_nop
11616 eval "$as_ac_var=no"
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 ac_exeext=$ac_wine_try_cflags_saved_exeext
11623 eval ac_res=\$$as_ac_var
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11625 printf "%s\n" "$ac_res" >&6; }
11626 if eval test \"x\$"$as_ac_var"\" = x"yes"
11627 then :
11628 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11629 fi } ;;
11630 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11632 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11633 if eval test \${$as_ac_var+y}
11634 then :
11635 printf %s "(cached) " >&6
11636 else $as_nop
11637 ac_wine_try_cflags_saved=$CFLAGS
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11640 ac_exeext=".exe"
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643 int __cdecl mainCRTStartup(void) { return 0; }
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"
11646 then :
11647 eval "$as_ac_var=yes"
11648 else $as_nop
11649 eval "$as_ac_var=no"
11651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11652 conftest$ac_exeext conftest.$ac_ext
11653 CFLAGS=$ac_wine_try_cflags_saved
11654 ac_exeext=$ac_wine_try_cflags_saved_exeext
11656 eval ac_res=\$$as_ac_var
11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11658 printf "%s\n" "$ac_res" >&6; }
11659 if eval test \"x\$"$as_ac_var"\" = x"yes"
11660 then :
11661 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11662 fi }
11663 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11665 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11666 if eval test \${$as_ac_var+y}
11667 then :
11668 printf %s "(cached) " >&6
11669 else $as_nop
11670 ac_wine_try_cflags_saved=$CFLAGS
11671 ac_wine_try_cflags_saved_exeext=$ac_exeext
11672 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11673 ac_exeext=".exe"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 int __cdecl mainCRTStartup(void) { return 0; }
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"
11679 then :
11680 eval "$as_ac_var=yes"
11681 else $as_nop
11682 eval "$as_ac_var=no"
11684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11685 conftest$ac_exeext conftest.$ac_ext
11686 CFLAGS=$ac_wine_try_cflags_saved
11687 ac_exeext=$ac_wine_try_cflags_saved_exeext
11689 eval ac_res=\$$as_ac_var
11690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11691 printf "%s\n" "$ac_res" >&6; }
11692 if eval test \"x\$"$as_ac_var"\" = x"yes"
11693 then :
11694 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11695 fi }
11696 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11698 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11699 if eval test \${$as_ac_var+y}
11700 then :
11701 printf %s "(cached) " >&6
11702 else $as_nop
11703 ac_wine_try_cflags_saved=$CFLAGS
11704 ac_wine_try_cflags_saved_exeext=$ac_exeext
11705 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11706 ac_exeext=".exe"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11709 int __cdecl mainCRTStartup(void) { return 0; }
11710 _ACEOF
11711 if ac_fn_c_try_link "$LINENO"
11712 then :
11713 eval "$as_ac_var=yes"
11714 else $as_nop
11715 eval "$as_ac_var=no"
11717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11718 conftest$ac_exeext conftest.$ac_ext
11719 CFLAGS=$ac_wine_try_cflags_saved
11720 ac_exeext=$ac_wine_try_cflags_saved_exeext
11722 eval ac_res=\$$as_ac_var
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11724 printf "%s\n" "$ac_res" >&6; }
11725 if eval test \"x\$"$as_ac_var"\" = x"yes"
11726 then :
11727 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11728 fi }
11729 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11731 printf %s "checking whether $CC supports -mcx16... " >&6; }
11732 if eval test \${$as_ac_var+y}
11733 then :
11734 printf %s "(cached) " >&6
11735 else $as_nop
11736 ac_wine_try_cflags_saved=$CFLAGS
11737 ac_wine_try_cflags_saved_exeext=$ac_exeext
11738 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11739 ac_exeext=".exe"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11742 int __cdecl mainCRTStartup(void) { return 0; }
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"
11745 then :
11746 eval "$as_ac_var=yes"
11747 else $as_nop
11748 eval "$as_ac_var=no"
11750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11751 conftest$ac_exeext conftest.$ac_ext
11752 CFLAGS=$ac_wine_try_cflags_saved
11753 ac_exeext=$ac_wine_try_cflags_saved_exeext
11755 eval ac_res=\$$as_ac_var
11756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11757 printf "%s\n" "$ac_res" >&6; }
11758 if eval test \"x\$"$as_ac_var"\" = x"yes"
11759 then :
11760 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11761 fi } ;;
11762 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11764 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11765 if eval test \${$as_ac_var+y}
11766 then :
11767 printf %s "(cached) " >&6
11768 else $as_nop
11769 ac_wine_try_cflags_saved=$CFLAGS
11770 ac_wine_try_cflags_saved_exeext=$ac_exeext
11771 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11772 ac_exeext=".exe"
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11775 int __cdecl mainCRTStartup(void) { return 0; }
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"
11778 then :
11779 eval "$as_ac_var=yes"
11780 else $as_nop
11781 eval "$as_ac_var=no"
11783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11784 conftest$ac_exeext conftest.$ac_ext
11785 CFLAGS=$ac_wine_try_cflags_saved
11786 ac_exeext=$ac_wine_try_cflags_saved_exeext
11788 eval ac_res=\$$as_ac_var
11789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11790 printf "%s\n" "$ac_res" >&6; }
11791 if eval test \"x\$"$as_ac_var"\" = x"yes"
11792 then :
11793 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11794 fi } ;;
11795 esac
11797 wine_crossdebug=$CROSSDEBUG
11798 if test -z "$wine_crossdebug"
11799 then
11800 for ac_flag in $CFLAGS; do
11801 case $ac_flag in
11802 -gdwarf*) wine_crossdebug=dwarf ;;
11803 -gcodeview) wine_crossdebug=pdb ;;
11804 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11805 esac
11806 done
11809 ac_debug_format_seen=""
11810 for ac_flag in $CFLAGS; do
11811 case $ac_flag in
11812 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11813 esac
11814 done
11815 if test "x$ac_debug_format_seen" = x
11816 then
11817 case $wine_crossdebug in
11818 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11820 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11821 if eval test \${$as_ac_var+y}
11822 then :
11823 printf %s "(cached) " >&6
11824 else $as_nop
11825 ac_wine_try_cflags_saved=$CFLAGS
11826 ac_wine_try_cflags_saved_exeext=$ac_exeext
11827 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11828 ac_exeext=".exe"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11831 int __cdecl mainCRTStartup(void) { return 0; }
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"
11834 then :
11835 eval "$as_ac_var=yes"
11836 else $as_nop
11837 eval "$as_ac_var=no"
11839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11840 conftest$ac_exeext conftest.$ac_ext
11841 CFLAGS=$ac_wine_try_cflags_saved
11842 ac_exeext=$ac_wine_try_cflags_saved_exeext
11844 eval ac_res=\$$as_ac_var
11845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11846 printf "%s\n" "$ac_res" >&6; }
11847 if eval test \"x\$"$as_ac_var"\" = x"yes"
11848 then :
11849 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11850 fi } ;;
11851 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11853 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11854 if eval test \${$as_ac_var+y}
11855 then :
11856 printf %s "(cached) " >&6
11857 else $as_nop
11858 ac_wine_try_cflags_saved=$CFLAGS
11859 ac_wine_try_cflags_saved_exeext=$ac_exeext
11860 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11861 ac_exeext=".exe"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11864 int __cdecl mainCRTStartup(void) { return 0; }
11865 _ACEOF
11866 if ac_fn_c_try_link "$LINENO"
11867 then :
11868 eval "$as_ac_var=yes"
11869 else $as_nop
11870 eval "$as_ac_var=no"
11872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11873 conftest$ac_exeext conftest.$ac_ext
11874 CFLAGS=$ac_wine_try_cflags_saved
11875 ac_exeext=$ac_wine_try_cflags_saved_exeext
11877 eval ac_res=\$$as_ac_var
11878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11879 printf "%s\n" "$ac_res" >&6; }
11880 if eval test \"x\$"$as_ac_var"\" = x"yes"
11881 then :
11882 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11883 fi } ;;
11884 esac
11886 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11888 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11890 printf %s "checking whether $CC supports -Werror... " >&6; }
11891 if eval test \${$as_ac_var+y}
11892 then :
11893 printf %s "(cached) " >&6
11894 else $as_nop
11895 ac_wine_try_cflags_saved=$CFLAGS
11896 ac_wine_try_cflags_saved_exeext=$ac_exeext
11897 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11898 ac_exeext=".exe"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 int __cdecl mainCRTStartup(void) { return 0; }
11902 _ACEOF
11903 if ac_fn_c_try_link "$LINENO"
11904 then :
11905 eval "$as_ac_var=yes"
11906 else $as_nop
11907 eval "$as_ac_var=no"
11909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11910 conftest$ac_exeext conftest.$ac_ext
11911 CFLAGS=$ac_wine_try_cflags_saved
11912 ac_exeext=$ac_wine_try_cflags_saved_exeext
11914 eval ac_res=\$$as_ac_var
11915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11916 printf "%s\n" "$ac_res" >&6; }
11917 if eval test \"x\$"$as_ac_var"\" = x"yes"
11918 then :
11919 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11920 fi }
11921 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11923 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11924 if eval test \${$as_ac_var+y}
11925 then :
11926 printf %s "(cached) " >&6
11927 else $as_nop
11928 ac_wine_try_cflags_saved=$CFLAGS
11929 ac_wine_try_cflags_saved_exeext=$ac_exeext
11930 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11931 ac_exeext=".exe"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11934 int __cdecl mainCRTStartup(void) { return 0; }
11935 _ACEOF
11936 if ac_fn_c_try_link "$LINENO"
11937 then :
11938 eval "$as_ac_var=yes"
11939 else $as_nop
11940 eval "$as_ac_var=no"
11942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11943 conftest$ac_exeext conftest.$ac_ext
11944 CFLAGS=$ac_wine_try_cflags_saved
11945 ac_exeext=$ac_wine_try_cflags_saved_exeext
11947 eval ac_res=\$$as_ac_var
11948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11949 printf "%s\n" "$ac_res" >&6; }
11950 if eval test \"x\$"$as_ac_var"\" = x"yes"
11951 then :
11952 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11953 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11954 fi }
11956 CC=$saved_CC
11957 CFLAGS=$saved_CFLAGS
11958 done
11960 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11961 then
11962 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11965 if test "x$PE_ARCHS" = "x"
11966 then :
11967 case "x$with_mingw" in
11968 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11969 xno) ;;
11970 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11971 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11972 esac
11977 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11978 then
11979 case "$host_cpu" in
11980 i[3456789]86*)
11981 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11983 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11984 esac
11985 for ac_prog in $ac_prefix_list
11987 # Extract the first word of "$ac_prog", so it can be a program name with args.
11988 set dummy $ac_prog; ac_word=$2
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11990 printf %s "checking for $ac_word... " >&6; }
11991 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11992 then :
11993 printf %s "(cached) " >&6
11994 else $as_nop
11995 if test -n "$MINGW_PKG_CONFIG"; then
11996 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11997 else
11998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11999 for as_dir in $PATH
12001 IFS=$as_save_IFS
12002 case $as_dir in #(((
12003 '') as_dir=./ ;;
12004 */) ;;
12005 *) as_dir=$as_dir/ ;;
12006 esac
12007 for ac_exec_ext in '' $ac_executable_extensions; do
12008 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12009 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12011 break 2
12013 done
12014 done
12015 IFS=$as_save_IFS
12019 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12020 if test -n "$MINGW_PKG_CONFIG"; then
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12022 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12023 else
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 printf "%s\n" "no" >&6; }
12029 test -n "$MINGW_PKG_CONFIG" && break
12030 done
12031 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12033 if ${FAUDIO_PE_CFLAGS:+false} :
12034 then :
12035 if test ${MINGW_PKG_CONFIG+y}
12036 then :
12037 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12040 if ${FAUDIO_PE_LIBS:+false} :
12041 then :
12042 if test ${MINGW_PKG_CONFIG+y}
12043 then :
12044 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12047 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12048 ac_save_CPPFLAGS=$CPPFLAGS
12049 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12051 printf %s "checking for MinGW FAudio.h... " >&6; }
12052 if test ${ac_cv_mingw_header_FAudio_h+y}
12053 then :
12054 printf %s "(cached) " >&6
12055 else $as_nop
12056 ac_wine_check_headers_saved_cc=$CC
12057 ac_wine_check_headers_saved_exeext=$ac_exeext
12058 eval CC=\$${wine_arch}_CC
12059 ac_exeext=".exe"
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12063 #include <FAudio.h>
12065 main (void)
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_compile "$LINENO"
12073 then :
12074 ac_cv_mingw_header_FAudio_h=yes
12075 else $as_nop
12076 ac_cv_mingw_header_FAudio_h=no
12078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12079 CC=$ac_wine_check_headers_saved_cc
12080 ac_exeext=$ac_wine_check_headers_saved_exeext
12082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12083 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12084 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12085 then :
12086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12087 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12088 if test ${ac_cv_mingw_lib_FAudio+y}
12089 then :
12090 printf %s "(cached) " >&6
12091 else $as_nop
12092 ac_wine_check_headers_saved_cc=$CC
12093 ac_wine_check_headers_saved_exeext=$ac_exeext
12094 ac_wine_check_headers_saved_libs=$LIBS
12095 eval CC=\$${wine_arch}_CC
12096 ac_exeext=".exe"
12097 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12104 char FAudio_CommitOperationSet ();
12106 main (void)
12108 return FAudio_CommitOperationSet ();
12110 return 0;
12112 _ACEOF
12113 if ac_fn_c_try_link "$LINENO"
12114 then :
12115 ac_cv_mingw_lib_FAudio=yes
12116 else $as_nop
12117 ac_cv_mingw_lib_FAudio=no
12119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12120 conftest$ac_exeext conftest.$ac_ext
12121 CC=$ac_wine_check_headers_saved_cc
12122 ac_exeext=$ac_wine_check_headers_saved_exeext
12123 LIBS=$ac_wine_check_headers_saved_libs
12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12126 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12127 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12128 then :
12130 else $as_nop
12131 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12133 else $as_nop
12134 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12136 CPPFLAGS=$ac_save_CPPFLAGS
12138 if test "x$FAUDIO_PE_LIBS" = "x"
12139 then
12140 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12143 if ${JPEG_PE_CFLAGS:+false} :
12144 then :
12145 if test ${MINGW_PKG_CONFIG+y}
12146 then :
12147 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12150 if ${JPEG_PE_LIBS:+false} :
12151 then :
12152 if test ${MINGW_PKG_CONFIG+y}
12153 then :
12154 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12158 ac_save_CPPFLAGS=$CPPFLAGS
12159 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12161 printf %s "checking for MinGW jpeglib.h... " >&6; }
12162 if test ${ac_cv_mingw_header_jpeglib_h+y}
12163 then :
12164 printf %s "(cached) " >&6
12165 else $as_nop
12166 ac_wine_check_headers_saved_cc=$CC
12167 ac_wine_check_headers_saved_exeext=$ac_exeext
12168 eval CC=\$${wine_arch}_CC
12169 ac_exeext=".exe"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12172 #include <stddef.h>
12173 #include <stdio.h>
12174 #include <jpeglib.h>
12176 main (void)
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_compile "$LINENO"
12184 then :
12185 ac_cv_mingw_header_jpeglib_h=yes
12186 else $as_nop
12187 ac_cv_mingw_header_jpeglib_h=no
12189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12190 CC=$ac_wine_check_headers_saved_cc
12191 ac_exeext=$ac_wine_check_headers_saved_exeext
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12194 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12195 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12196 then :
12197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12198 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12199 if test ${ac_cv_mingw_lib_jpeg+y}
12200 then :
12201 printf %s "(cached) " >&6
12202 else $as_nop
12203 ac_wine_check_headers_saved_cc=$CC
12204 ac_wine_check_headers_saved_exeext=$ac_exeext
12205 ac_wine_check_headers_saved_libs=$LIBS
12206 eval CC=\$${wine_arch}_CC
12207 ac_exeext=".exe"
12208 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 char jpeg_start_decompress ();
12217 main (void)
12219 return jpeg_start_decompress ();
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"
12225 then :
12226 ac_cv_mingw_lib_jpeg=yes
12227 else $as_nop
12228 ac_cv_mingw_lib_jpeg=no
12230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12231 conftest$ac_exeext conftest.$ac_ext
12232 CC=$ac_wine_check_headers_saved_cc
12233 ac_exeext=$ac_wine_check_headers_saved_exeext
12234 LIBS=$ac_wine_check_headers_saved_libs
12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12237 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12238 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12239 then :
12241 else $as_nop
12242 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12244 else $as_nop
12245 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12247 CPPFLAGS=$ac_save_CPPFLAGS
12249 if test "x$JPEG_PE_LIBS" = "x"
12250 then
12251 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12254 if ${LCMS2_PE_CFLAGS:+false} :
12255 then :
12256 if test ${MINGW_PKG_CONFIG+y}
12257 then :
12258 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12261 if ${LCMS2_PE_LIBS:+false} :
12262 then :
12263 if test ${MINGW_PKG_CONFIG+y}
12264 then :
12265 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12268 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12269 ac_save_CPPFLAGS=$CPPFLAGS
12270 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12272 printf %s "checking for MinGW lcms2.h... " >&6; }
12273 if test ${ac_cv_mingw_header_lcms2_h+y}
12274 then :
12275 printf %s "(cached) " >&6
12276 else $as_nop
12277 ac_wine_check_headers_saved_cc=$CC
12278 ac_wine_check_headers_saved_exeext=$ac_exeext
12279 eval CC=\$${wine_arch}_CC
12280 ac_exeext=".exe"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 #include <lcms2.h>
12286 main (void)
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_compile "$LINENO"
12294 then :
12295 ac_cv_mingw_header_lcms2_h=yes
12296 else $as_nop
12297 ac_cv_mingw_header_lcms2_h=no
12299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12300 CC=$ac_wine_check_headers_saved_cc
12301 ac_exeext=$ac_wine_check_headers_saved_exeext
12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12304 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12305 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12306 then :
12307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12308 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12309 if test ${ac_cv_mingw_lib_lcms2+y}
12310 then :
12311 printf %s "(cached) " >&6
12312 else $as_nop
12313 ac_wine_check_headers_saved_cc=$CC
12314 ac_wine_check_headers_saved_exeext=$ac_exeext
12315 ac_wine_check_headers_saved_libs=$LIBS
12316 eval CC=\$${wine_arch}_CC
12317 ac_exeext=".exe"
12318 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 char cmsOpenProfileFromFile ();
12327 main (void)
12329 return cmsOpenProfileFromFile ();
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_link "$LINENO"
12335 then :
12336 ac_cv_mingw_lib_lcms2=yes
12337 else $as_nop
12338 ac_cv_mingw_lib_lcms2=no
12340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12341 conftest$ac_exeext conftest.$ac_ext
12342 CC=$ac_wine_check_headers_saved_cc
12343 ac_exeext=$ac_wine_check_headers_saved_exeext
12344 LIBS=$ac_wine_check_headers_saved_libs
12346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12347 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12348 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12349 then :
12351 else $as_nop
12352 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12354 else $as_nop
12355 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12357 CPPFLAGS=$ac_save_CPPFLAGS
12359 if test "x$LCMS2_PE_LIBS" = "x"
12360 then
12361 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12364 if ${MPG123_PE_CFLAGS:+false} :
12365 then :
12366 if test ${MINGW_PKG_CONFIG+y}
12367 then :
12368 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12371 if ${MPG123_PE_LIBS:+false} :
12372 then :
12373 if test ${MINGW_PKG_CONFIG+y}
12374 then :
12375 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12378 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12379 ac_save_CPPFLAGS=$CPPFLAGS
12380 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12382 printf %s "checking for MinGW mpg123.h... " >&6; }
12383 if test ${ac_cv_mingw_header_mpg123_h+y}
12384 then :
12385 printf %s "(cached) " >&6
12386 else $as_nop
12387 ac_wine_check_headers_saved_cc=$CC
12388 ac_wine_check_headers_saved_exeext=$ac_exeext
12389 eval CC=\$${wine_arch}_CC
12390 ac_exeext=".exe"
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 #include <mpg123.h>
12396 main (void)
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_compile "$LINENO"
12404 then :
12405 ac_cv_mingw_header_mpg123_h=yes
12406 else $as_nop
12407 ac_cv_mingw_header_mpg123_h=no
12409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12410 CC=$ac_wine_check_headers_saved_cc
12411 ac_exeext=$ac_wine_check_headers_saved_exeext
12413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12414 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12415 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12416 then :
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12418 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12419 if test ${ac_cv_mingw_lib_mpg123+y}
12420 then :
12421 printf %s "(cached) " >&6
12422 else $as_nop
12423 ac_wine_check_headers_saved_cc=$CC
12424 ac_wine_check_headers_saved_exeext=$ac_exeext
12425 ac_wine_check_headers_saved_libs=$LIBS
12426 eval CC=\$${wine_arch}_CC
12427 ac_exeext=".exe"
12428 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12435 char mpg123_feed ();
12437 main (void)
12439 return mpg123_feed ();
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"
12445 then :
12446 ac_cv_mingw_lib_mpg123=yes
12447 else $as_nop
12448 ac_cv_mingw_lib_mpg123=no
12450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12451 conftest$ac_exeext conftest.$ac_ext
12452 CC=$ac_wine_check_headers_saved_cc
12453 ac_exeext=$ac_wine_check_headers_saved_exeext
12454 LIBS=$ac_wine_check_headers_saved_libs
12456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12457 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12458 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12459 then :
12461 else $as_nop
12462 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12464 else $as_nop
12465 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12467 CPPFLAGS=$ac_save_CPPFLAGS
12469 if test "x$MPG123_PE_LIBS" = "x"
12470 then
12471 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12474 if ${PNG_PE_CFLAGS:+false} :
12475 then :
12476 if test ${MINGW_PKG_CONFIG+y}
12477 then :
12478 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12481 if ${PNG_PE_LIBS:+false} :
12482 then :
12483 if test ${MINGW_PKG_CONFIG+y}
12484 then :
12485 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12489 ac_save_CPPFLAGS=$CPPFLAGS
12490 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12492 printf %s "checking for MinGW png.h... " >&6; }
12493 if test ${ac_cv_mingw_header_png_h+y}
12494 then :
12495 printf %s "(cached) " >&6
12496 else $as_nop
12497 ac_wine_check_headers_saved_cc=$CC
12498 ac_wine_check_headers_saved_exeext=$ac_exeext
12499 eval CC=\$${wine_arch}_CC
12500 ac_exeext=".exe"
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 #include <png.h>
12506 main (void)
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_compile "$LINENO"
12514 then :
12515 ac_cv_mingw_header_png_h=yes
12516 else $as_nop
12517 ac_cv_mingw_header_png_h=no
12519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12520 CC=$ac_wine_check_headers_saved_cc
12521 ac_exeext=$ac_wine_check_headers_saved_exeext
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12524 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12525 if test "x$ac_cv_mingw_header_png_h" = xyes
12526 then :
12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12528 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12529 if test ${ac_cv_mingw_lib_png+y}
12530 then :
12531 printf %s "(cached) " >&6
12532 else $as_nop
12533 ac_wine_check_headers_saved_cc=$CC
12534 ac_wine_check_headers_saved_exeext=$ac_exeext
12535 ac_wine_check_headers_saved_libs=$LIBS
12536 eval CC=\$${wine_arch}_CC
12537 ac_exeext=".exe"
12538 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12545 char png_create_read_struct ();
12547 main (void)
12549 return png_create_read_struct ();
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_link "$LINENO"
12555 then :
12556 ac_cv_mingw_lib_png=yes
12557 else $as_nop
12558 ac_cv_mingw_lib_png=no
12560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12561 conftest$ac_exeext conftest.$ac_ext
12562 CC=$ac_wine_check_headers_saved_cc
12563 ac_exeext=$ac_wine_check_headers_saved_exeext
12564 LIBS=$ac_wine_check_headers_saved_libs
12566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12567 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12568 if test "x$ac_cv_mingw_lib_png" = xyes
12569 then :
12571 else $as_nop
12572 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12574 else $as_nop
12575 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12577 CPPFLAGS=$ac_save_CPPFLAGS
12579 if test "x$PNG_PE_LIBS" = "x"
12580 then
12581 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12584 if ${TIFF_PE_CFLAGS:+false} :
12585 then :
12586 if test ${MINGW_PKG_CONFIG+y}
12587 then :
12588 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12591 if ${TIFF_PE_LIBS:+false} :
12592 then :
12593 if test ${MINGW_PKG_CONFIG+y}
12594 then :
12595 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12599 ac_save_CPPFLAGS=$CPPFLAGS
12600 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12602 printf %s "checking for MinGW tiffio.h... " >&6; }
12603 if test ${ac_cv_mingw_header_tiffio_h+y}
12604 then :
12605 printf %s "(cached) " >&6
12606 else $as_nop
12607 ac_wine_check_headers_saved_cc=$CC
12608 ac_wine_check_headers_saved_exeext=$ac_exeext
12609 eval CC=\$${wine_arch}_CC
12610 ac_exeext=".exe"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 #include <tiffio.h>
12616 main (void)
12620 return 0;
12622 _ACEOF
12623 if ac_fn_c_try_compile "$LINENO"
12624 then :
12625 ac_cv_mingw_header_tiffio_h=yes
12626 else $as_nop
12627 ac_cv_mingw_header_tiffio_h=no
12629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12630 CC=$ac_wine_check_headers_saved_cc
12631 ac_exeext=$ac_wine_check_headers_saved_exeext
12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12634 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12635 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12636 then :
12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12638 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12639 if test ${ac_cv_mingw_lib_tiff+y}
12640 then :
12641 printf %s "(cached) " >&6
12642 else $as_nop
12643 ac_wine_check_headers_saved_cc=$CC
12644 ac_wine_check_headers_saved_exeext=$ac_exeext
12645 ac_wine_check_headers_saved_libs=$LIBS
12646 eval CC=\$${wine_arch}_CC
12647 ac_exeext=".exe"
12648 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 char TIFFClientOpen ();
12657 main (void)
12659 return TIFFClientOpen ();
12661 return 0;
12663 _ACEOF
12664 if ac_fn_c_try_link "$LINENO"
12665 then :
12666 ac_cv_mingw_lib_tiff=yes
12667 else $as_nop
12668 ac_cv_mingw_lib_tiff=no
12670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12671 conftest$ac_exeext conftest.$ac_ext
12672 CC=$ac_wine_check_headers_saved_cc
12673 ac_exeext=$ac_wine_check_headers_saved_exeext
12674 LIBS=$ac_wine_check_headers_saved_libs
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12677 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12678 if test "x$ac_cv_mingw_lib_tiff" = xyes
12679 then :
12681 else $as_nop
12682 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12684 else $as_nop
12685 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12687 CPPFLAGS=$ac_save_CPPFLAGS
12689 if test "x$TIFF_PE_LIBS" = "x"
12690 then
12691 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12694 if ${XML2_PE_CFLAGS:+false} :
12695 then :
12696 if test ${MINGW_PKG_CONFIG+y}
12697 then :
12698 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12701 if ${XML2_PE_LIBS:+false} :
12702 then :
12703 if test ${MINGW_PKG_CONFIG+y}
12704 then :
12705 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12708 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12709 ac_save_CPPFLAGS=$CPPFLAGS
12710 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12712 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12713 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12714 then :
12715 printf %s "(cached) " >&6
12716 else $as_nop
12717 ac_wine_check_headers_saved_cc=$CC
12718 ac_wine_check_headers_saved_exeext=$ac_exeext
12719 eval CC=\$${wine_arch}_CC
12720 ac_exeext=".exe"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 #include <libxml/parser.h>
12726 main (void)
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_compile "$LINENO"
12734 then :
12735 ac_cv_mingw_header_libxml_parser_h=yes
12736 else $as_nop
12737 ac_cv_mingw_header_libxml_parser_h=no
12739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12740 CC=$ac_wine_check_headers_saved_cc
12741 ac_exeext=$ac_wine_check_headers_saved_exeext
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12744 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12745 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12746 then :
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12750 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12751 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12752 then :
12753 printf %s "(cached) " >&6
12754 else $as_nop
12755 ac_wine_check_headers_saved_cc=$CC
12756 ac_wine_check_headers_saved_exeext=$ac_exeext
12757 eval CC=\$${wine_arch}_CC
12758 ac_exeext=".exe"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 #include <libxml/xmlsave.h>
12764 main (void)
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_compile "$LINENO"
12772 then :
12773 ac_cv_mingw_header_libxml_xmlsave_h=yes
12774 else $as_nop
12775 ac_cv_mingw_header_libxml_xmlsave_h=no
12777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12778 CC=$ac_wine_check_headers_saved_cc
12779 ac_exeext=$ac_wine_check_headers_saved_exeext
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12782 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12783 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12784 then :
12787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12788 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12789 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12790 then :
12791 printf %s "(cached) " >&6
12792 else $as_nop
12793 ac_wine_check_headers_saved_cc=$CC
12794 ac_wine_check_headers_saved_exeext=$ac_exeext
12795 eval CC=\$${wine_arch}_CC
12796 ac_exeext=".exe"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 #include <libxml/SAX2.h>
12802 main (void)
12806 return 0;
12808 _ACEOF
12809 if ac_fn_c_try_compile "$LINENO"
12810 then :
12811 ac_cv_mingw_header_libxml_SAX2_h=yes
12812 else $as_nop
12813 ac_cv_mingw_header_libxml_SAX2_h=no
12815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12816 CC=$ac_wine_check_headers_saved_cc
12817 ac_exeext=$ac_wine_check_headers_saved_exeext
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12820 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12821 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12822 then :
12825 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"
12826 then
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12828 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12829 if test ${ac_cv_mingw_lib_xml2+y}
12830 then :
12831 printf %s "(cached) " >&6
12832 else $as_nop
12833 ac_wine_check_headers_saved_cc=$CC
12834 ac_wine_check_headers_saved_exeext=$ac_exeext
12835 ac_wine_check_headers_saved_libs=$LIBS
12836 eval CC=\$${wine_arch}_CC
12837 ac_exeext=".exe"
12838 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12845 char xmlFirstElementChild ();
12847 main (void)
12849 return xmlFirstElementChild ();
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_link "$LINENO"
12855 then :
12856 ac_cv_mingw_lib_xml2=yes
12857 else $as_nop
12858 ac_cv_mingw_lib_xml2=no
12860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12861 conftest$ac_exeext conftest.$ac_ext
12862 CC=$ac_wine_check_headers_saved_cc
12863 ac_exeext=$ac_wine_check_headers_saved_exeext
12864 LIBS=$ac_wine_check_headers_saved_libs
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12867 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12868 if test "x$ac_cv_mingw_lib_xml2" = xyes
12869 then :
12871 else $as_nop
12872 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12874 else
12875 XML2_PE_CFLAGS=""
12876 XML2_PE_LIBS=""
12878 CPPFLAGS=$ac_save_CPPFLAGS
12880 if test "x$XML2_PE_LIBS" = "x"
12881 then
12882 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12885 if ${XSLT_PE_CFLAGS:+false} :
12886 then :
12887 if test ${MINGW_PKG_CONFIG+y}
12888 then :
12889 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12892 if ${XSLT_PE_LIBS:+false} :
12893 then :
12894 if test ${MINGW_PKG_CONFIG+y}
12895 then :
12896 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12899 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12900 ac_save_CPPFLAGS=$CPPFLAGS
12901 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12903 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12904 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12905 then :
12906 printf %s "(cached) " >&6
12907 else $as_nop
12908 ac_wine_check_headers_saved_cc=$CC
12909 ac_wine_check_headers_saved_exeext=$ac_exeext
12910 eval CC=\$${wine_arch}_CC
12911 ac_exeext=".exe"
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12915 #include <libxslt/pattern.h>
12917 main (void)
12921 return 0;
12923 _ACEOF
12924 if ac_fn_c_try_compile "$LINENO"
12925 then :
12926 ac_cv_mingw_header_libxslt_pattern_h=yes
12927 else $as_nop
12928 ac_cv_mingw_header_libxslt_pattern_h=no
12930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12931 CC=$ac_wine_check_headers_saved_cc
12932 ac_exeext=$ac_wine_check_headers_saved_exeext
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12935 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12936 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12937 then :
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12941 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12942 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12943 then :
12944 printf %s "(cached) " >&6
12945 else $as_nop
12946 ac_wine_check_headers_saved_cc=$CC
12947 ac_wine_check_headers_saved_exeext=$ac_exeext
12948 eval CC=\$${wine_arch}_CC
12949 ac_exeext=".exe"
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 #include <libxslt/transform.h>
12955 main (void)
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_compile "$LINENO"
12963 then :
12964 ac_cv_mingw_header_libxslt_transform_h=yes
12965 else $as_nop
12966 ac_cv_mingw_header_libxslt_transform_h=no
12968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12969 CC=$ac_wine_check_headers_saved_cc
12970 ac_exeext=$ac_wine_check_headers_saved_exeext
12972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12973 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12974 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12975 then :
12978 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12979 then
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12981 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12982 if test ${ac_cv_mingw_lib_xslt+y}
12983 then :
12984 printf %s "(cached) " >&6
12985 else $as_nop
12986 ac_wine_check_headers_saved_cc=$CC
12987 ac_wine_check_headers_saved_exeext=$ac_exeext
12988 ac_wine_check_headers_saved_libs=$LIBS
12989 eval CC=\$${wine_arch}_CC
12990 ac_exeext=".exe"
12991 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12993 /* end confdefs.h. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
12998 char xsltCompilePattern ();
13000 main (void)
13002 return xsltCompilePattern ();
13004 return 0;
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"
13008 then :
13009 ac_cv_mingw_lib_xslt=yes
13010 else $as_nop
13011 ac_cv_mingw_lib_xslt=no
13013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13014 conftest$ac_exeext conftest.$ac_ext
13015 CC=$ac_wine_check_headers_saved_cc
13016 ac_exeext=$ac_wine_check_headers_saved_exeext
13017 LIBS=$ac_wine_check_headers_saved_libs
13019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13020 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13021 if test "x$ac_cv_mingw_lib_xslt" = xyes
13022 then :
13024 else $as_nop
13025 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13027 else
13028 XSLT_PE_CFLAGS=""
13029 XSLT_PE_LIBS=""
13031 CPPFLAGS=$ac_save_CPPFLAGS
13033 if test "x$XSLT_PE_LIBS" = "x"
13034 then
13035 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13038 if ${VKD3D_PE_CFLAGS:+false} :
13039 then :
13040 if test ${MINGW_PKG_CONFIG+y}
13041 then :
13042 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13045 if ${VKD3D_PE_LIBS:+false} :
13046 then :
13047 if test ${MINGW_PKG_CONFIG+y}
13048 then :
13049 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13052 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13053 ac_save_CPPFLAGS=$CPPFLAGS
13054 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13056 printf %s "checking for MinGW vkd3d.h... " >&6; }
13057 if test ${ac_cv_mingw_header_vkd3d_h+y}
13058 then :
13059 printf %s "(cached) " >&6
13060 else $as_nop
13061 ac_wine_check_headers_saved_cc=$CC
13062 ac_wine_check_headers_saved_exeext=$ac_exeext
13063 eval CC=\$${wine_arch}_CC
13064 ac_exeext=".exe"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 #include <vkd3d.h>
13070 main (void)
13074 return 0;
13076 _ACEOF
13077 if ac_fn_c_try_compile "$LINENO"
13078 then :
13079 ac_cv_mingw_header_vkd3d_h=yes
13080 else $as_nop
13081 ac_cv_mingw_header_vkd3d_h=no
13083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13084 CC=$ac_wine_check_headers_saved_cc
13085 ac_exeext=$ac_wine_check_headers_saved_exeext
13087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13088 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13089 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13090 then :
13093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13094 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13095 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13096 then :
13097 printf %s "(cached) " >&6
13098 else $as_nop
13099 ac_wine_check_headers_saved_cc=$CC
13100 ac_wine_check_headers_saved_exeext=$ac_exeext
13101 eval CC=\$${wine_arch}_CC
13102 ac_exeext=".exe"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 #include <vkd3d_shader.h>
13108 main (void)
13112 return 0;
13114 _ACEOF
13115 if ac_fn_c_try_compile "$LINENO"
13116 then :
13117 ac_cv_mingw_header_vkd3d_shader_h=yes
13118 else $as_nop
13119 ac_cv_mingw_header_vkd3d_shader_h=no
13121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13122 CC=$ac_wine_check_headers_saved_cc
13123 ac_exeext=$ac_wine_check_headers_saved_exeext
13125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13126 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13127 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13128 then :
13131 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13132 then
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13134 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13135 if test ${ac_cv_mingw_lib_vkd3d+y}
13136 then :
13137 printf %s "(cached) " >&6
13138 else $as_nop
13139 ac_wine_check_headers_saved_cc=$CC
13140 ac_wine_check_headers_saved_exeext=$ac_exeext
13141 ac_wine_check_headers_saved_libs=$LIBS
13142 eval CC=\$${wine_arch}_CC
13143 ac_exeext=".exe"
13144 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 char vkd3d_set_log_callback ();
13153 main (void)
13155 return vkd3d_set_log_callback ();
13157 return 0;
13159 _ACEOF
13160 if ac_fn_c_try_link "$LINENO"
13161 then :
13162 ac_cv_mingw_lib_vkd3d=yes
13163 else $as_nop
13164 ac_cv_mingw_lib_vkd3d=no
13166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13167 conftest$ac_exeext conftest.$ac_ext
13168 CC=$ac_wine_check_headers_saved_cc
13169 ac_exeext=$ac_wine_check_headers_saved_exeext
13170 LIBS=$ac_wine_check_headers_saved_libs
13172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13173 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13174 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13175 then :
13177 else $as_nop
13180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13181 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13182 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13183 then :
13184 printf %s "(cached) " >&6
13185 else $as_nop
13186 ac_wine_check_headers_saved_cc=$CC
13187 ac_wine_check_headers_saved_exeext=$ac_exeext
13188 ac_wine_check_headers_saved_libs=$LIBS
13189 eval CC=\$${wine_arch}_CC
13190 ac_exeext=".exe"
13191 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13195 /* Override any GCC internal prototype to avoid an error.
13196 Use char because int might match the return type of a GCC
13197 builtin and then its argument prototype would still apply. */
13198 char vkd3d_shader_compile ();
13200 main (void)
13202 return vkd3d_shader_compile ();
13204 return 0;
13206 _ACEOF
13207 if ac_fn_c_try_link "$LINENO"
13208 then :
13209 ac_cv_mingw_lib_vkd3d_shader=yes
13210 else $as_nop
13211 ac_cv_mingw_lib_vkd3d_shader=no
13213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13214 conftest$ac_exeext conftest.$ac_ext
13215 CC=$ac_wine_check_headers_saved_cc
13216 ac_exeext=$ac_wine_check_headers_saved_exeext
13217 LIBS=$ac_wine_check_headers_saved_libs
13219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13220 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13221 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13222 then :
13224 else $as_nop
13227 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13228 then
13229 VKD3D_PE_CFLAGS=""
13230 VKD3D_PE_LIBS=""
13232 else
13233 VKD3D_PE_CFLAGS=""
13234 VKD3D_PE_LIBS=""
13236 CPPFLAGS=$ac_save_CPPFLAGS
13238 if test "x$VKD3D_PE_LIBS" = "x"
13239 then
13240 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13243 if ${ZLIB_PE_CFLAGS:+false} :
13244 then :
13245 if test ${MINGW_PKG_CONFIG+y}
13246 then :
13247 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13250 if ${ZLIB_PE_LIBS:+false} :
13251 then :
13252 if test ${MINGW_PKG_CONFIG+y}
13253 then :
13254 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13257 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13258 ac_save_CPPFLAGS=$CPPFLAGS
13259 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13261 printf %s "checking for MinGW zlib.h... " >&6; }
13262 if test ${ac_cv_mingw_header_zlib_h+y}
13263 then :
13264 printf %s "(cached) " >&6
13265 else $as_nop
13266 ac_wine_check_headers_saved_cc=$CC
13267 ac_wine_check_headers_saved_exeext=$ac_exeext
13268 eval CC=\$${wine_arch}_CC
13269 ac_exeext=".exe"
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13273 #include <zlib.h>
13275 main (void)
13279 return 0;
13281 _ACEOF
13282 if ac_fn_c_try_compile "$LINENO"
13283 then :
13284 ac_cv_mingw_header_zlib_h=yes
13285 else $as_nop
13286 ac_cv_mingw_header_zlib_h=no
13288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13289 CC=$ac_wine_check_headers_saved_cc
13290 ac_exeext=$ac_wine_check_headers_saved_exeext
13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13293 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13294 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13295 then :
13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13297 printf %s "checking for inflate in MinGW -lz... " >&6; }
13298 if test ${ac_cv_mingw_lib_z+y}
13299 then :
13300 printf %s "(cached) " >&6
13301 else $as_nop
13302 ac_wine_check_headers_saved_cc=$CC
13303 ac_wine_check_headers_saved_exeext=$ac_exeext
13304 ac_wine_check_headers_saved_libs=$LIBS
13305 eval CC=\$${wine_arch}_CC
13306 ac_exeext=".exe"
13307 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13314 char inflate ();
13316 main (void)
13318 return inflate ();
13320 return 0;
13322 _ACEOF
13323 if ac_fn_c_try_link "$LINENO"
13324 then :
13325 ac_cv_mingw_lib_z=yes
13326 else $as_nop
13327 ac_cv_mingw_lib_z=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13330 conftest$ac_exeext conftest.$ac_ext
13331 CC=$ac_wine_check_headers_saved_cc
13332 ac_exeext=$ac_wine_check_headers_saved_exeext
13333 LIBS=$ac_wine_check_headers_saved_libs
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13336 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13337 if test "x$ac_cv_mingw_lib_z" = xyes
13338 then :
13340 else $as_nop
13341 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13343 else $as_nop
13344 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13346 CPPFLAGS=$ac_save_CPPFLAGS
13348 if test "x$ZLIB_PE_LIBS" = "x"
13349 then
13350 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13354 if ${FAUDIO_PE_LIBS:+false} :
13355 then :
13356 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13357 if ${FAUDIO_PE_CFLAGS:+false} :
13358 then :
13359 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13360 else $as_nop
13361 enable_faudio=no
13363 else $as_nop
13364 enable_faudio=no
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13369 if ${GSM_PE_LIBS:+false} :
13370 then :
13371 GSM_PE_LIBS=gsm
13372 if ${GSM_PE_CFLAGS:+false} :
13373 then :
13374 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13375 else $as_nop
13376 enable_gsm=no
13378 else $as_nop
13379 enable_gsm=no
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13384 if ${JPEG_PE_LIBS:+false} :
13385 then :
13386 JPEG_PE_LIBS=jpeg
13387 if ${JPEG_PE_CFLAGS:+false} :
13388 then :
13389 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13390 else $as_nop
13391 enable_jpeg=no
13393 else $as_nop
13394 enable_jpeg=no
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13399 if ${JXR_PE_LIBS:+false} :
13400 then :
13401 JXR_PE_LIBS=jxr
13402 if ${JXR_PE_CFLAGS:+false} :
13403 then :
13404 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13405 else $as_nop
13406 enable_jxr=no
13408 else $as_nop
13409 enable_jxr=no
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13414 if ${LCMS2_PE_LIBS:+false} :
13415 then :
13416 LCMS2_PE_LIBS=lcms2
13417 if ${LCMS2_PE_CFLAGS:+false} :
13418 then :
13419 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13420 else $as_nop
13421 enable_lcms2=no
13423 else $as_nop
13424 enable_lcms2=no
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13429 if ${MPG123_PE_LIBS:+false} :
13430 then :
13431 MPG123_PE_LIBS=mpg123
13432 if ${MPG123_PE_CFLAGS:+false} :
13433 then :
13434 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13435 else $as_nop
13436 enable_mpg123=no
13438 else $as_nop
13439 enable_mpg123=no
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13444 if ${PNG_PE_LIBS:+false} :
13445 then :
13446 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13447 if ${PNG_PE_CFLAGS:+false} :
13448 then :
13449 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13450 else $as_nop
13451 enable_png=no
13453 else $as_nop
13454 enable_png=no
13456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13459 if ${TIFF_PE_LIBS:+false} :
13460 then :
13461 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13462 if ${TIFF_PE_CFLAGS:+false} :
13463 then :
13464 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13465 else $as_nop
13466 enable_tiff=no
13468 else $as_nop
13469 enable_tiff=no
13471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13474 if ${VKD3D_PE_LIBS:+false} :
13475 then :
13476 VKD3D_PE_LIBS=vkd3d
13477 if ${VKD3D_PE_CFLAGS:+false} :
13478 then :
13479 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13480 else $as_nop
13481 enable_vkd3d=no
13483 else $as_nop
13484 enable_vkd3d=no
13486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13489 if ${XML2_PE_LIBS:+false} :
13490 then :
13491 XML2_PE_LIBS=xml2
13492 if ${XML2_PE_CFLAGS:+false} :
13493 then :
13494 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13495 else $as_nop
13496 enable_xml2=no
13498 else $as_nop
13499 enable_xml2=no
13501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13504 if ${XSLT_PE_LIBS:+false} :
13505 then :
13506 XSLT_PE_LIBS=xslt
13507 if ${XSLT_PE_CFLAGS:+false} :
13508 then :
13509 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13510 else $as_nop
13511 enable_xslt=no
13513 else $as_nop
13514 enable_xslt=no
13516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13519 if ${ZLIB_PE_LIBS:+false} :
13520 then :
13521 ZLIB_PE_LIBS=z
13522 if ${ZLIB_PE_CFLAGS:+false} :
13523 then :
13524 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13525 else $as_nop
13526 enable_zlib=no
13528 else $as_nop
13529 enable_zlib=no
13531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13536 if test "$ac_cv_header_pthread_h" = "yes"
13537 then
13538 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13539 if test "x$ac_cv_func_pthread_create" = xyes
13540 then :
13542 else $as_nop
13543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13544 printf %s "checking for pthread_create in -lpthread... " >&6; }
13545 if test ${ac_cv_lib_pthread_pthread_create+y}
13546 then :
13547 printf %s "(cached) " >&6
13548 else $as_nop
13549 ac_check_lib_save_LIBS=$LIBS
13550 LIBS="-lpthread $LIBS"
13551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13557 char pthread_create ();
13559 main (void)
13561 return pthread_create ();
13563 return 0;
13565 _ACEOF
13566 if ac_fn_c_try_link "$LINENO"
13567 then :
13568 ac_cv_lib_pthread_pthread_create=yes
13569 else $as_nop
13570 ac_cv_lib_pthread_pthread_create=no
13572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13573 conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_lib_save_LIBS
13576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13577 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13578 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13579 then :
13580 PTHREAD_LIBS="-lpthread"
13587 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13588 then :
13589 case "x$with_pthread" in
13590 xno) ;;
13591 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13592 Wine cannot support threads without libpthread.
13593 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13594 esac
13599 ac_ext=c
13600 ac_cpp='$CPP $CPPFLAGS'
13601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13605 printf %s "checking how to run the C preprocessor... " >&6; }
13606 # On Suns, sometimes $CPP names a directory.
13607 if test -n "$CPP" && test -d "$CPP"; then
13608 CPP=
13610 if test -z "$CPP"; then
13611 if test ${ac_cv_prog_CPP+y}
13612 then :
13613 printf %s "(cached) " >&6
13614 else $as_nop
13615 # Double quotes because $CC needs to be expanded
13616 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13618 ac_preproc_ok=false
13619 for ac_c_preproc_warn_flag in '' yes
13621 # Use a header file that comes with gcc, so configuring glibc
13622 # with a fresh cross-compiler works.
13623 # On the NeXT, cc -E runs the code through the compiler's parser,
13624 # not just through cpp. "Syntax error" is here to catch this case.
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <limits.h>
13628 Syntax error
13629 _ACEOF
13630 if ac_fn_c_try_cpp "$LINENO"
13631 then :
13633 else $as_nop
13634 # Broken: fails on valid input.
13635 continue
13637 rm -f conftest.err conftest.i conftest.$ac_ext
13639 # OK, works on sane cases. Now check whether nonexistent headers
13640 # can be detected and how.
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13643 #include <ac_nonexistent.h>
13644 _ACEOF
13645 if ac_fn_c_try_cpp "$LINENO"
13646 then :
13647 # Broken: success on invalid input.
13648 continue
13649 else $as_nop
13650 # Passes both tests.
13651 ac_preproc_ok=:
13652 break
13654 rm -f conftest.err conftest.i conftest.$ac_ext
13656 done
13657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13658 rm -f conftest.i conftest.err conftest.$ac_ext
13659 if $ac_preproc_ok
13660 then :
13661 break
13664 done
13665 ac_cv_prog_CPP=$CPP
13668 CPP=$ac_cv_prog_CPP
13669 else
13670 ac_cv_prog_CPP=$CPP
13672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13673 printf "%s\n" "$CPP" >&6; }
13674 ac_preproc_ok=false
13675 for ac_c_preproc_warn_flag in '' yes
13677 # Use a header file that comes with gcc, so configuring glibc
13678 # with a fresh cross-compiler works.
13679 # On the NeXT, cc -E runs the code through the compiler's parser,
13680 # not just through cpp. "Syntax error" is here to catch this case.
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13683 #include <limits.h>
13684 Syntax error
13685 _ACEOF
13686 if ac_fn_c_try_cpp "$LINENO"
13687 then :
13689 else $as_nop
13690 # Broken: fails on valid input.
13691 continue
13693 rm -f conftest.err conftest.i conftest.$ac_ext
13695 # OK, works on sane cases. Now check whether nonexistent headers
13696 # can be detected and how.
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 #include <ac_nonexistent.h>
13700 _ACEOF
13701 if ac_fn_c_try_cpp "$LINENO"
13702 then :
13703 # Broken: success on invalid input.
13704 continue
13705 else $as_nop
13706 # Passes both tests.
13707 ac_preproc_ok=:
13708 break
13710 rm -f conftest.err conftest.i conftest.$ac_ext
13712 done
13713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13714 rm -f conftest.i conftest.err conftest.$ac_ext
13715 if $ac_preproc_ok
13716 then :
13718 else $as_nop
13719 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13720 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13721 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13722 See \`config.log' for more details" "$LINENO" 5; }
13725 ac_ext=c
13726 ac_cpp='$CPP $CPPFLAGS'
13727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13733 printf %s "checking for X... " >&6; }
13736 # Check whether --with-x was given.
13737 if test ${with_x+y}
13738 then :
13739 withval=$with_x;
13742 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13743 if test "x$with_x" = xno; then
13744 # The user explicitly disabled X.
13745 have_x=disabled
13746 else
13747 case $x_includes,$x_libraries in #(
13748 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13749 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13750 then :
13751 printf %s "(cached) " >&6
13752 else $as_nop
13753 # One or both of the vars are not set, and there is no cached value.
13754 ac_x_includes=no
13755 ac_x_libraries=no
13756 # Do we need to do anything special at all?
13757 ac_save_LIBS=$LIBS
13758 LIBS="-lX11 $LIBS"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 #include <X11/Xlib.h>
13763 main (void)
13765 XrmInitialize ()
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"
13771 then :
13772 # We can compile and link X programs with no special options.
13773 ac_x_includes=
13774 ac_x_libraries=
13776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13777 conftest$ac_exeext conftest.$ac_ext
13778 LIBS="$ac_save_LIBS"
13779 # If that didn't work, only try xmkmf and file system searches
13780 # for native compilation.
13781 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13782 then :
13783 rm -f -r conftest.dir
13784 if mkdir conftest.dir; then
13785 cd conftest.dir
13786 cat >Imakefile <<'_ACEOF'
13787 incroot:
13788 @echo incroot='${INCROOT}'
13789 usrlibdir:
13790 @echo usrlibdir='${USRLIBDIR}'
13791 libdir:
13792 @echo libdir='${LIBDIR}'
13793 _ACEOF
13794 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13795 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13796 for ac_var in incroot usrlibdir libdir; do
13797 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13798 done
13799 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13800 for ac_extension in a so sl dylib la dll; do
13801 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13802 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13803 ac_im_usrlibdir=$ac_im_libdir; break
13805 done
13806 # Screen out bogus values from the imake configuration. They are
13807 # bogus both because they are the default anyway, and because
13808 # using them would break gcc on systems where it needs fixed includes.
13809 case $ac_im_incroot in
13810 /usr/include) ac_x_includes= ;;
13811 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13812 esac
13813 case $ac_im_usrlibdir in
13814 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13815 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13816 esac
13818 cd ..
13819 rm -f -r conftest.dir
13822 # Standard set of common directories for X headers.
13823 # Check X11 before X11Rn because it is often a symlink to the current release.
13824 ac_x_header_dirs='
13825 /usr/X11/include
13826 /usr/X11R7/include
13827 /usr/X11R6/include
13828 /usr/X11R5/include
13829 /usr/X11R4/include
13831 /usr/include/X11
13832 /usr/include/X11R7
13833 /usr/include/X11R6
13834 /usr/include/X11R5
13835 /usr/include/X11R4
13837 /usr/local/X11/include
13838 /usr/local/X11R7/include
13839 /usr/local/X11R6/include
13840 /usr/local/X11R5/include
13841 /usr/local/X11R4/include
13843 /usr/local/include/X11
13844 /usr/local/include/X11R7
13845 /usr/local/include/X11R6
13846 /usr/local/include/X11R5
13847 /usr/local/include/X11R4
13849 /opt/X11/include
13851 /usr/X386/include
13852 /usr/x386/include
13853 /usr/XFree86/include/X11
13855 /usr/include
13856 /usr/local/include
13857 /usr/unsupported/include
13858 /usr/athena/include
13859 /usr/local/x11r5/include
13860 /usr/lpp/Xamples/include
13862 /usr/openwin/include
13863 /usr/openwin/share/include'
13865 if test "$ac_x_includes" = no; then
13866 # Guess where to find include files, by looking for Xlib.h.
13867 # First, try using that file with no special directory specified.
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 #include <X11/Xlib.h>
13871 _ACEOF
13872 if ac_fn_c_try_cpp "$LINENO"
13873 then :
13874 # We can compile using X headers with no special include directory.
13875 ac_x_includes=
13876 else $as_nop
13877 for ac_dir in $ac_x_header_dirs; do
13878 if test -r "$ac_dir/X11/Xlib.h"; then
13879 ac_x_includes=$ac_dir
13880 break
13882 done
13884 rm -f conftest.err conftest.i conftest.$ac_ext
13885 fi # $ac_x_includes = no
13887 if test "$ac_x_libraries" = no; then
13888 # Check for the libraries.
13889 # See if we find them without any special options.
13890 # Don't add to $LIBS permanently.
13891 ac_save_LIBS=$LIBS
13892 LIBS="-lX11 $LIBS"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 #include <X11/Xlib.h>
13897 main (void)
13899 XrmInitialize ()
13901 return 0;
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"
13905 then :
13906 LIBS=$ac_save_LIBS
13907 # We can link X programs with no special library path.
13908 ac_x_libraries=
13909 else $as_nop
13910 LIBS=$ac_save_LIBS
13911 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13913 # Don't even attempt the hair of trying to link an X program!
13914 for ac_extension in a so sl dylib la dll; do
13915 if test -r "$ac_dir/libX11.$ac_extension"; then
13916 ac_x_libraries=$ac_dir
13917 break 2
13919 done
13920 done
13922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13923 conftest$ac_exeext conftest.$ac_ext
13924 fi # $ac_x_libraries = no
13927 # Record the results.
13928 case $ac_x_includes,$ac_x_libraries in #(
13929 no,* | *,no | *\'*) :
13930 # Didn't find X, or a directory has "'" in its name.
13931 ac_cv_have_x="have_x=no" ;; #(
13932 *) :
13933 # Record where we found X for the cache.
13934 ac_cv_have_x="have_x=yes\
13935 ac_x_includes='$ac_x_includes'\
13936 ac_x_libraries='$ac_x_libraries'" ;;
13937 esac
13939 ;; #(
13940 *) have_x=yes;;
13941 esac
13942 eval "$ac_cv_have_x"
13943 fi # $with_x != no
13945 if test "$have_x" != yes; then
13946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13947 printf "%s\n" "$have_x" >&6; }
13948 no_x=yes
13949 else
13950 # If each of the values was on the command line, it overrides each guess.
13951 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13952 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13953 # Update the cache value to reflect the command line values.
13954 ac_cv_have_x="have_x=yes\
13955 ac_x_includes='$x_includes'\
13956 ac_x_libraries='$x_libraries'"
13957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13958 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13961 if test "$no_x" = yes; then
13962 # Not all programs may use this symbol, but it does not hurt to define it.
13964 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13966 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13967 else
13968 if test -n "$x_includes"; then
13969 X_CFLAGS="$X_CFLAGS -I$x_includes"
13972 # It would also be nice to do this for all -L options, not just this one.
13973 if test -n "$x_libraries"; then
13974 X_LIBS="$X_LIBS -L$x_libraries"
13975 # For Solaris; some versions of Sun CC require a space after -R and
13976 # others require no space. Words are not sufficient . . . .
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13978 printf %s "checking whether -R must be followed by a space... " >&6; }
13979 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13980 ac_xsave_c_werror_flag=$ac_c_werror_flag
13981 ac_c_werror_flag=yes
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13986 main (void)
13990 return 0;
13992 _ACEOF
13993 if ac_fn_c_try_link "$LINENO"
13994 then :
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 printf "%s\n" "no" >&6; }
13997 X_LIBS="$X_LIBS -R$x_libraries"
13998 else $as_nop
13999 LIBS="$ac_xsave_LIBS -R $x_libraries"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14004 main (void)
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"
14012 then :
14013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14014 printf "%s\n" "yes" >&6; }
14015 X_LIBS="$X_LIBS -R $x_libraries"
14016 else $as_nop
14017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14018 printf "%s\n" "neither works" >&6; }
14020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14021 conftest$ac_exeext conftest.$ac_ext
14023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14024 conftest$ac_exeext conftest.$ac_ext
14025 ac_c_werror_flag=$ac_xsave_c_werror_flag
14026 LIBS=$ac_xsave_LIBS
14029 # Check for system-dependent libraries X programs must link with.
14030 # Do this before checking for the system-independent R6 libraries
14031 # (-lICE), since we may need -lsocket or whatever for X linking.
14033 if test "$ISC" = yes; then
14034 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14035 else
14036 # Martyn Johnson says this is needed for Ultrix, if the X
14037 # libraries were built with DECnet support. And Karl Berry says
14038 # the Alpha needs dnet_stub (dnet does not exist).
14039 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14043 /* Override any GCC internal prototype to avoid an error.
14044 Use char because int might match the return type of a GCC
14045 builtin and then its argument prototype would still apply. */
14046 char XOpenDisplay ();
14048 main (void)
14050 return XOpenDisplay ();
14052 return 0;
14054 _ACEOF
14055 if ac_fn_c_try_link "$LINENO"
14056 then :
14058 else $as_nop
14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14060 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14061 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14062 then :
14063 printf %s "(cached) " >&6
14064 else $as_nop
14065 ac_check_lib_save_LIBS=$LIBS
14066 LIBS="-ldnet $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14073 char dnet_ntoa ();
14075 main (void)
14077 return dnet_ntoa ();
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"
14083 then :
14084 ac_cv_lib_dnet_dnet_ntoa=yes
14085 else $as_nop
14086 ac_cv_lib_dnet_dnet_ntoa=no
14088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14089 conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14093 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14094 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14095 then :
14096 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14099 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14101 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14102 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14103 then :
14104 printf %s "(cached) " >&6
14105 else $as_nop
14106 ac_check_lib_save_LIBS=$LIBS
14107 LIBS="-ldnet_stub $LIBS"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 /* Override any GCC internal prototype to avoid an error.
14112 Use char because int might match the return type of a GCC
14113 builtin and then its argument prototype would still apply. */
14114 char dnet_ntoa ();
14116 main (void)
14118 return dnet_ntoa ();
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"
14124 then :
14125 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14126 else $as_nop
14127 ac_cv_lib_dnet_stub_dnet_ntoa=no
14129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_lib_save_LIBS
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14134 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14135 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14136 then :
14137 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14143 conftest$ac_exeext conftest.$ac_ext
14144 LIBS="$ac_xsave_LIBS"
14146 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14147 # to get the SysV transport functions.
14148 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14149 # needs -lnsl.
14150 # The nsl library prevents programs from opening the X display
14151 # on Irix 5.2, according to T.E. Dickey.
14152 # The functions gethostbyname, getservbyname, and inet_addr are
14153 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14154 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14155 if test "x$ac_cv_func_gethostbyname" = xyes
14156 then :
14160 if test $ac_cv_func_gethostbyname = no; then
14161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14162 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14163 if test ${ac_cv_lib_nsl_gethostbyname+y}
14164 then :
14165 printf %s "(cached) " >&6
14166 else $as_nop
14167 ac_check_lib_save_LIBS=$LIBS
14168 LIBS="-lnsl $LIBS"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14175 char gethostbyname ();
14177 main (void)
14179 return gethostbyname ();
14181 return 0;
14183 _ACEOF
14184 if ac_fn_c_try_link "$LINENO"
14185 then :
14186 ac_cv_lib_nsl_gethostbyname=yes
14187 else $as_nop
14188 ac_cv_lib_nsl_gethostbyname=no
14190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14191 conftest$ac_exeext conftest.$ac_ext
14192 LIBS=$ac_check_lib_save_LIBS
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14195 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14196 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14197 then :
14198 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14201 if test $ac_cv_lib_nsl_gethostbyname = no; then
14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14203 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14204 if test ${ac_cv_lib_bsd_gethostbyname+y}
14205 then :
14206 printf %s "(cached) " >&6
14207 else $as_nop
14208 ac_check_lib_save_LIBS=$LIBS
14209 LIBS="-lbsd $LIBS"
14210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14213 /* Override any GCC internal prototype to avoid an error.
14214 Use char because int might match the return type of a GCC
14215 builtin and then its argument prototype would still apply. */
14216 char gethostbyname ();
14218 main (void)
14220 return gethostbyname ();
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_link "$LINENO"
14226 then :
14227 ac_cv_lib_bsd_gethostbyname=yes
14228 else $as_nop
14229 ac_cv_lib_bsd_gethostbyname=no
14231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14232 conftest$ac_exeext conftest.$ac_ext
14233 LIBS=$ac_check_lib_save_LIBS
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14236 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14237 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14238 then :
14239 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14245 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14246 # socket/setsockopt and other routines are undefined under SCO ODT
14247 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14248 # on later versions), says Simon Leinen: it contains gethostby*
14249 # variants that don't use the name server (or something). -lsocket
14250 # must be given before -lnsl if both are needed. We assume that
14251 # if connect needs -lnsl, so does gethostbyname.
14252 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14253 if test "x$ac_cv_func_connect" = xyes
14254 then :
14258 if test $ac_cv_func_connect = no; then
14259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14260 printf %s "checking for connect in -lsocket... " >&6; }
14261 if test ${ac_cv_lib_socket_connect+y}
14262 then :
14263 printf %s "(cached) " >&6
14264 else $as_nop
14265 ac_check_lib_save_LIBS=$LIBS
14266 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14270 /* Override any GCC internal prototype to avoid an error.
14271 Use char because int might match the return type of a GCC
14272 builtin and then its argument prototype would still apply. */
14273 char connect ();
14275 main (void)
14277 return connect ();
14279 return 0;
14281 _ACEOF
14282 if ac_fn_c_try_link "$LINENO"
14283 then :
14284 ac_cv_lib_socket_connect=yes
14285 else $as_nop
14286 ac_cv_lib_socket_connect=no
14288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14289 conftest$ac_exeext conftest.$ac_ext
14290 LIBS=$ac_check_lib_save_LIBS
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14293 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14294 if test "x$ac_cv_lib_socket_connect" = xyes
14295 then :
14296 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14301 # Guillermo Gomez says -lposix is necessary on A/UX.
14302 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14303 if test "x$ac_cv_func_remove" = xyes
14304 then :
14308 if test $ac_cv_func_remove = no; then
14309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14310 printf %s "checking for remove in -lposix... " >&6; }
14311 if test ${ac_cv_lib_posix_remove+y}
14312 then :
14313 printf %s "(cached) " >&6
14314 else $as_nop
14315 ac_check_lib_save_LIBS=$LIBS
14316 LIBS="-lposix $LIBS"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14323 char remove ();
14325 main (void)
14327 return remove ();
14329 return 0;
14331 _ACEOF
14332 if ac_fn_c_try_link "$LINENO"
14333 then :
14334 ac_cv_lib_posix_remove=yes
14335 else $as_nop
14336 ac_cv_lib_posix_remove=no
14338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14339 conftest$ac_exeext conftest.$ac_ext
14340 LIBS=$ac_check_lib_save_LIBS
14342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14343 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14344 if test "x$ac_cv_lib_posix_remove" = xyes
14345 then :
14346 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14351 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14352 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14353 if test "x$ac_cv_func_shmat" = xyes
14354 then :
14358 if test $ac_cv_func_shmat = no; then
14359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14360 printf %s "checking for shmat in -lipc... " >&6; }
14361 if test ${ac_cv_lib_ipc_shmat+y}
14362 then :
14363 printf %s "(cached) " >&6
14364 else $as_nop
14365 ac_check_lib_save_LIBS=$LIBS
14366 LIBS="-lipc $LIBS"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14373 char shmat ();
14375 main (void)
14377 return shmat ();
14379 return 0;
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"
14383 then :
14384 ac_cv_lib_ipc_shmat=yes
14385 else $as_nop
14386 ac_cv_lib_ipc_shmat=no
14388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14389 conftest$ac_exeext conftest.$ac_ext
14390 LIBS=$ac_check_lib_save_LIBS
14392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14393 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14394 if test "x$ac_cv_lib_ipc_shmat" = xyes
14395 then :
14396 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14402 # Check for libraries that X11R6 Xt/Xaw programs need.
14403 ac_save_LDFLAGS=$LDFLAGS
14404 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14405 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14406 # check for ICE first), but we must link in the order -lSM -lICE or
14407 # we get undefined symbols. So assume we have SM if we have ICE.
14408 # These have to be linked with before -lX11, unlike the other
14409 # libraries we check for below, so use a different variable.
14410 # John Interrante, Karl Berry
14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14412 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14413 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14414 then :
14415 printf %s "(cached) " >&6
14416 else $as_nop
14417 ac_check_lib_save_LIBS=$LIBS
14418 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14422 /* Override any GCC internal prototype to avoid an error.
14423 Use char because int might match the return type of a GCC
14424 builtin and then its argument prototype would still apply. */
14425 char IceConnectionNumber ();
14427 main (void)
14429 return IceConnectionNumber ();
14431 return 0;
14433 _ACEOF
14434 if ac_fn_c_try_link "$LINENO"
14435 then :
14436 ac_cv_lib_ICE_IceConnectionNumber=yes
14437 else $as_nop
14438 ac_cv_lib_ICE_IceConnectionNumber=no
14440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14441 conftest$ac_exeext conftest.$ac_ext
14442 LIBS=$ac_check_lib_save_LIBS
14444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14445 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14446 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14447 then :
14448 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14451 LDFLAGS=$ac_save_LDFLAGS
14456 if test "$have_x" = "yes"
14457 then
14458 ac_save_CPPFLAGS="$CPPFLAGS"
14459 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14462 printf %s "checking for -lX11... " >&6; }
14463 if test ${ac_cv_lib_soname_X11+y}
14464 then :
14465 printf %s "(cached) " >&6
14466 else $as_nop
14467 ac_check_soname_save_LIBS=$LIBS
14468 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14475 char XCreateWindow ();
14477 main (void)
14479 return XCreateWindow ();
14481 return 0;
14483 _ACEOF
14484 if ac_fn_c_try_link "$LINENO"
14485 then :
14486 case "$LIBEXT" in
14487 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14488 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'` ;;
14489 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14490 if ${ac_cv_lib_soname_X11:+false} :
14491 then :
14492 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14493 fi ;;
14494 esac
14495 else $as_nop
14496 ac_cv_lib_soname_X11=
14498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14499 conftest$ac_exeext conftest.$ac_ext
14500 LIBS=$ac_check_soname_save_LIBS
14502 if ${ac_cv_lib_soname_X11:+false} :
14503 then :
14504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14505 printf "%s\n" "not found" >&6; }
14507 else $as_nop
14508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14509 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14511 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14516 printf %s "checking for -lXext... " >&6; }
14517 if test ${ac_cv_lib_soname_Xext+y}
14518 then :
14519 printf %s "(cached) " >&6
14520 else $as_nop
14521 ac_check_soname_save_LIBS=$LIBS
14522 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14526 /* Override any GCC internal prototype to avoid an error.
14527 Use char because int might match the return type of a GCC
14528 builtin and then its argument prototype would still apply. */
14529 char XextCreateExtension ();
14531 main (void)
14533 return XextCreateExtension ();
14535 return 0;
14537 _ACEOF
14538 if ac_fn_c_try_link "$LINENO"
14539 then :
14540 case "$LIBEXT" in
14541 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14542 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'` ;;
14543 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14544 if ${ac_cv_lib_soname_Xext:+false} :
14545 then :
14546 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14547 fi ;;
14548 esac
14549 else $as_nop
14550 ac_cv_lib_soname_Xext=
14552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14553 conftest$ac_exeext conftest.$ac_ext
14554 LIBS=$ac_check_soname_save_LIBS
14556 if ${ac_cv_lib_soname_Xext:+false} :
14557 then :
14558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14559 printf "%s\n" "not found" >&6; }
14561 else $as_nop
14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14563 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14565 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14567 X_LIBS="$X_LIBS -lXext"
14569 X_LIBS="$X_LIBS -lX11"
14571 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14572 # include <X11/Xlib.h>
14573 #endif
14574 #ifdef HAVE_X11_XUTIL_H
14575 # include <X11/Xutil.h>
14576 #endif
14578 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14579 then :
14580 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14583 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14584 # include <X11/Xlib.h>
14585 #endif
14586 #ifdef HAVE_X11_XUTIL_H
14587 # include <X11/Xutil.h>
14588 #endif
14590 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14591 then :
14592 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14595 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14596 # include <X11/Xlib.h>
14597 #endif
14598 #ifdef HAVE_X11_XUTIL_H
14599 # include <X11/Xutil.h>
14600 #endif
14602 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14603 then :
14604 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14607 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14608 # include <X11/Xlib.h>
14609 #endif
14610 #ifdef HAVE_X11_XUTIL_H
14611 # include <X11/Xutil.h>
14612 #endif
14614 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14615 then :
14616 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14619 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14620 # include <X11/Xlib.h>
14621 #endif
14622 #ifdef HAVE_X11_XUTIL_H
14623 # include <X11/Xutil.h>
14624 #endif
14626 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14627 then :
14628 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14631 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14632 # include <X11/Xlib.h>
14633 #endif
14634 #ifdef HAVE_X11_XUTIL_H
14635 # include <X11/Xutil.h>
14636 #endif
14638 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14639 then :
14640 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14643 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14644 # include <X11/Xlib.h>
14645 #endif
14646 #ifdef HAVE_X11_XUTIL_H
14647 # include <X11/Xutil.h>
14648 #endif
14650 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14651 then :
14652 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14655 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14656 # include <X11/Xlib.h>
14657 #endif
14658 #ifdef HAVE_X11_XUTIL_H
14659 # include <X11/Xutil.h>
14660 #endif
14662 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14663 then :
14664 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14667 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14668 # include <X11/Xlib.h>
14669 #endif
14670 #ifdef HAVE_X11_XUTIL_H
14671 # include <X11/Xutil.h>
14672 #endif
14674 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14675 then :
14676 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14679 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14680 # include <X11/Xlib.h>
14681 #endif
14682 #ifdef HAVE_X11_XUTIL_H
14683 # include <X11/Xutil.h>
14684 #endif
14686 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14687 then :
14688 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14691 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14692 # include <X11/Xlib.h>
14693 #endif
14694 #ifdef HAVE_X11_XUTIL_H
14695 # include <X11/Xutil.h>
14696 #endif
14698 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14699 then :
14700 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14703 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14704 # include <X11/Xlib.h>
14705 #endif
14706 #ifdef HAVE_X11_XUTIL_H
14707 # include <X11/Xutil.h>
14708 #endif
14710 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14711 then :
14712 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14715 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14716 # include <X11/Xlib.h>
14717 #endif
14718 #ifdef HAVE_X11_XUTIL_H
14719 # include <X11/Xutil.h>
14720 #endif
14722 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14723 then :
14724 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14727 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14728 # include <X11/Xlib.h>
14729 #endif
14730 #ifdef HAVE_X11_XUTIL_H
14731 # include <X11/Xutil.h>
14732 #endif
14734 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14735 then :
14736 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14739 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14740 # include <X11/Xlib.h>
14741 #endif
14742 #ifdef HAVE_X11_XUTIL_H
14743 # include <X11/Xutil.h>
14744 #endif
14746 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14747 then :
14748 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14753 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14754 then
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14756 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14757 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14758 then :
14759 printf %s "(cached) " >&6
14760 else $as_nop
14761 ac_check_lib_save_LIBS=$LIBS
14762 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 char XkbQueryExtension ();
14771 main (void)
14773 return XkbQueryExtension ();
14775 return 0;
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"
14779 then :
14780 ac_cv_lib_X11_XkbQueryExtension=yes
14781 else $as_nop
14782 ac_cv_lib_X11_XkbQueryExtension=no
14784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14785 conftest$ac_exeext conftest.$ac_ext
14786 LIBS=$ac_check_lib_save_LIBS
14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14789 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14790 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14791 then :
14793 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14799 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14800 then
14801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14802 printf %s "checking for -lXcursor... " >&6; }
14803 if test ${ac_cv_lib_soname_Xcursor+y}
14804 then :
14805 printf %s "(cached) " >&6
14806 else $as_nop
14807 ac_check_soname_save_LIBS=$LIBS
14808 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14815 char XcursorImageLoadCursor ();
14817 main (void)
14819 return XcursorImageLoadCursor ();
14821 return 0;
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"
14825 then :
14826 case "$LIBEXT" in
14827 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14828 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'` ;;
14829 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14830 if ${ac_cv_lib_soname_Xcursor:+false} :
14831 then :
14832 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14833 fi ;;
14834 esac
14835 else $as_nop
14836 ac_cv_lib_soname_Xcursor=
14838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14839 conftest$ac_exeext conftest.$ac_ext
14840 LIBS=$ac_check_soname_save_LIBS
14842 if ${ac_cv_lib_soname_Xcursor:+false} :
14843 then :
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14845 printf "%s\n" "not found" >&6; }
14847 else $as_nop
14848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14849 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14851 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14856 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14857 then :
14858 case "x$with_xcursor" in
14859 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14860 xno) ;;
14861 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14862 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14863 esac
14867 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14868 then
14869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14870 printf %s "checking for -lXi... " >&6; }
14871 if test ${ac_cv_lib_soname_Xi+y}
14872 then :
14873 printf %s "(cached) " >&6
14874 else $as_nop
14875 ac_check_soname_save_LIBS=$LIBS
14876 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14883 char XOpenDevice ();
14885 main (void)
14887 return XOpenDevice ();
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"
14893 then :
14894 case "$LIBEXT" in
14895 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14896 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'` ;;
14897 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14898 if ${ac_cv_lib_soname_Xi:+false} :
14899 then :
14900 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14901 fi ;;
14902 esac
14903 else $as_nop
14904 ac_cv_lib_soname_Xi=
14906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14907 conftest$ac_exeext conftest.$ac_ext
14908 LIBS=$ac_check_soname_save_LIBS
14910 if ${ac_cv_lib_soname_Xi:+false} :
14911 then :
14912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14913 printf "%s\n" "not found" >&6; }
14915 else $as_nop
14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14917 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14919 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14924 if test "x$ac_cv_lib_soname_Xi" = "x"
14925 then :
14926 case "x$with_xinput" in
14927 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14928 xno) ;;
14929 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14930 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14931 esac
14935 if test "x$ac_cv_lib_soname_Xi" != x
14936 then
14937 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14938 then :
14939 case "x$with_xinput2" in
14940 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14941 xno) ;;
14942 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14943 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14944 esac
14949 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14950 then
14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14952 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14953 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14954 then :
14955 printf %s "(cached) " >&6
14956 else $as_nop
14957 ac_check_lib_save_LIBS=$LIBS
14958 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14962 /* Override any GCC internal prototype to avoid an error.
14963 Use char because int might match the return type of a GCC
14964 builtin and then its argument prototype would still apply. */
14965 char XShmQueryExtension ();
14967 main (void)
14969 return XShmQueryExtension ();
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"
14975 then :
14976 ac_cv_lib_Xext_XShmQueryExtension=yes
14977 else $as_nop
14978 ac_cv_lib_Xext_XShmQueryExtension=no
14980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_lib_save_LIBS
14984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14985 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14986 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14987 then :
14989 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14994 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14995 then :
14996 case "x$with_xshm" in
14997 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14998 xno) ;;
14999 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15000 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15001 esac
15005 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15006 then
15007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15008 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15009 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15010 then :
15011 printf %s "(cached) " >&6
15012 else $as_nop
15013 ac_check_lib_save_LIBS=$LIBS
15014 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15021 char XShapeQueryExtension ();
15023 main (void)
15025 return XShapeQueryExtension ();
15027 return 0;
15029 _ACEOF
15030 if ac_fn_c_try_link "$LINENO"
15031 then :
15032 ac_cv_lib_Xext_XShapeQueryExtension=yes
15033 else $as_nop
15034 ac_cv_lib_Xext_XShapeQueryExtension=no
15036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15037 conftest$ac_exeext conftest.$ac_ext
15038 LIBS=$ac_check_lib_save_LIBS
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15041 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15042 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15043 then :
15045 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15050 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15051 then :
15052 case "x$with_xshape" in
15053 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15054 xno) ;;
15055 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15056 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15057 esac
15061 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15062 then
15063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15064 printf %s "checking for -lXxf86vm... " >&6; }
15065 if test ${ac_cv_lib_soname_Xxf86vm+y}
15066 then :
15067 printf %s "(cached) " >&6
15068 else $as_nop
15069 ac_check_soname_save_LIBS=$LIBS
15070 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15074 /* Override any GCC internal prototype to avoid an error.
15075 Use char because int might match the return type of a GCC
15076 builtin and then its argument prototype would still apply. */
15077 char XF86VidModeQueryExtension ();
15079 main (void)
15081 return XF86VidModeQueryExtension ();
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"
15087 then :
15088 case "$LIBEXT" in
15089 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15090 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'` ;;
15091 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15092 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15093 then :
15094 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15095 fi ;;
15096 esac
15097 else $as_nop
15098 ac_cv_lib_soname_Xxf86vm=
15100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15101 conftest$ac_exeext conftest.$ac_ext
15102 LIBS=$ac_check_soname_save_LIBS
15104 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15105 then :
15106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15107 printf "%s\n" "not found" >&6; }
15109 else $as_nop
15110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15111 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15113 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15118 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15119 then :
15120 case "x$with_xxf86vm" in
15121 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15122 xno) ;;
15123 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15124 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15125 esac
15129 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15130 then
15131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15132 printf %s "checking for -lXrender... " >&6; }
15133 if test ${ac_cv_lib_soname_Xrender+y}
15134 then :
15135 printf %s "(cached) " >&6
15136 else $as_nop
15137 ac_check_soname_save_LIBS=$LIBS
15138 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15142 /* Override any GCC internal prototype to avoid an error.
15143 Use char because int might match the return type of a GCC
15144 builtin and then its argument prototype would still apply. */
15145 char XRenderQueryExtension ();
15147 main (void)
15149 return XRenderQueryExtension ();
15151 return 0;
15153 _ACEOF
15154 if ac_fn_c_try_link "$LINENO"
15155 then :
15156 case "$LIBEXT" in
15157 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15158 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'` ;;
15159 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15160 if ${ac_cv_lib_soname_Xrender:+false} :
15161 then :
15162 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15163 fi ;;
15164 esac
15165 else $as_nop
15166 ac_cv_lib_soname_Xrender=
15168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_soname_save_LIBS
15172 if ${ac_cv_lib_soname_Xrender:+false} :
15173 then :
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15175 printf "%s\n" "not found" >&6; }
15177 else $as_nop
15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15179 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15181 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15184 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15185 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15186 then :
15187 printf %s "(cached) " >&6
15188 else $as_nop
15189 ac_check_lib_save_LIBS=$LIBS
15190 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 char XRenderSetPictureTransform ();
15199 main (void)
15201 return XRenderSetPictureTransform ();
15203 return 0;
15205 _ACEOF
15206 if ac_fn_c_try_link "$LINENO"
15207 then :
15208 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15209 else $as_nop
15210 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15213 conftest$ac_exeext conftest.$ac_ext
15214 LIBS=$ac_check_lib_save_LIBS
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15217 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15218 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15219 then :
15221 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15226 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15227 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15228 then :
15229 printf %s "(cached) " >&6
15230 else $as_nop
15231 ac_check_lib_save_LIBS=$LIBS
15232 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 char XRenderCreateLinearGradient ();
15241 main (void)
15243 return XRenderCreateLinearGradient ();
15245 return 0;
15247 _ACEOF
15248 if ac_fn_c_try_link "$LINENO"
15249 then :
15250 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15251 else $as_nop
15252 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15255 conftest$ac_exeext conftest.$ac_ext
15256 LIBS=$ac_check_lib_save_LIBS
15258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15259 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15260 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15261 then :
15263 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15270 if test "x$ac_cv_lib_soname_Xrender" = "x"
15271 then :
15272 case "x$with_xrender" in
15273 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15274 xno) ;;
15275 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15276 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15277 esac
15281 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15282 then
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15285 #include <X11/Xlib.h>
15286 #include <X11/extensions/Xrandr.h>
15288 main (void)
15290 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15292 return 0;
15294 _ACEOF
15295 if ac_fn_c_try_compile "$LINENO"
15296 then :
15297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15298 printf %s "checking for -lXrandr... " >&6; }
15299 if test ${ac_cv_lib_soname_Xrandr+y}
15300 then :
15301 printf %s "(cached) " >&6
15302 else $as_nop
15303 ac_check_soname_save_LIBS=$LIBS
15304 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15308 /* Override any GCC internal prototype to avoid an error.
15309 Use char because int might match the return type of a GCC
15310 builtin and then its argument prototype would still apply. */
15311 char XRRQueryExtension ();
15313 main (void)
15315 return XRRQueryExtension ();
15317 return 0;
15319 _ACEOF
15320 if ac_fn_c_try_link "$LINENO"
15321 then :
15322 case "$LIBEXT" in
15323 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15324 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'` ;;
15325 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15326 if ${ac_cv_lib_soname_Xrandr:+false} :
15327 then :
15328 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15329 fi ;;
15330 esac
15331 else $as_nop
15332 ac_cv_lib_soname_Xrandr=
15334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_check_soname_save_LIBS
15338 if ${ac_cv_lib_soname_Xrandr:+false} :
15339 then :
15340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15341 printf "%s\n" "not found" >&6; }
15343 else $as_nop
15344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15345 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15347 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15351 #include <X11/Xlib.h>
15352 #include <X11/extensions/Xrandr.h>
15354 main (void)
15356 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15358 return 0;
15360 _ACEOF
15361 if ac_fn_c_try_compile "$LINENO"
15362 then :
15364 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15366 else $as_nop
15367 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15374 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15375 then :
15376 case "x$with_xrandr" in
15377 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15378 xno) ;;
15379 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15380 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15381 esac
15385 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15386 then
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15389 #include <X11/Xlib.h>
15390 #include <X11/extensions/Xfixes.h>
15392 main (void)
15394 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15396 return 0;
15398 _ACEOF
15399 if ac_fn_c_try_compile "$LINENO"
15400 then :
15401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15402 printf %s "checking for -lXfixes... " >&6; }
15403 if test ${ac_cv_lib_soname_Xfixes+y}
15404 then :
15405 printf %s "(cached) " >&6
15406 else $as_nop
15407 ac_check_soname_save_LIBS=$LIBS
15408 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 char XFixesQueryVersion ();
15417 main (void)
15419 return XFixesQueryVersion ();
15421 return 0;
15423 _ACEOF
15424 if ac_fn_c_try_link "$LINENO"
15425 then :
15426 case "$LIBEXT" in
15427 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15428 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'` ;;
15429 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15430 if ${ac_cv_lib_soname_Xfixes:+false} :
15431 then :
15432 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15433 fi ;;
15434 esac
15435 else $as_nop
15436 ac_cv_lib_soname_Xfixes=
15438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15439 conftest$ac_exeext conftest.$ac_ext
15440 LIBS=$ac_check_soname_save_LIBS
15442 if ${ac_cv_lib_soname_Xfixes:+false} :
15443 then :
15444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15445 printf "%s\n" "not found" >&6; }
15447 else $as_nop
15448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15449 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15451 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15458 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15459 then :
15460 case "x$with_xfixes" in
15461 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15462 xno) ;;
15463 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15464 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15465 esac
15469 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15470 then
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15473 #include <X11/Xlib.h>
15474 #include <X11/extensions/Xinerama.h>
15476 main (void)
15478 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15480 return 0;
15482 _ACEOF
15483 if ac_fn_c_try_compile "$LINENO"
15484 then :
15485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15486 printf %s "checking for -lXinerama... " >&6; }
15487 if test ${ac_cv_lib_soname_Xinerama+y}
15488 then :
15489 printf %s "(cached) " >&6
15490 else $as_nop
15491 ac_check_soname_save_LIBS=$LIBS
15492 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15496 /* Override any GCC internal prototype to avoid an error.
15497 Use char because int might match the return type of a GCC
15498 builtin and then its argument prototype would still apply. */
15499 char XineramaQueryScreens ();
15501 main (void)
15503 return XineramaQueryScreens ();
15505 return 0;
15507 _ACEOF
15508 if ac_fn_c_try_link "$LINENO"
15509 then :
15510 case "$LIBEXT" in
15511 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15512 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'` ;;
15513 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15514 if ${ac_cv_lib_soname_Xinerama:+false} :
15515 then :
15516 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15517 fi ;;
15518 esac
15519 else $as_nop
15520 ac_cv_lib_soname_Xinerama=
15522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15523 conftest$ac_exeext conftest.$ac_ext
15524 LIBS=$ac_check_soname_save_LIBS
15526 if ${ac_cv_lib_soname_Xinerama:+false} :
15527 then :
15528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15529 printf "%s\n" "not found" >&6; }
15531 else $as_nop
15532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15533 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15535 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15542 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15543 then :
15544 case "x$with_xinerama" in
15545 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15546 xno) ;;
15547 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15548 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15549 esac
15553 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15554 then
15555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15556 printf %s "checking for -lXcomposite... " >&6; }
15557 if test ${ac_cv_lib_soname_Xcomposite+y}
15558 then :
15559 printf %s "(cached) " >&6
15560 else $as_nop
15561 ac_check_soname_save_LIBS=$LIBS
15562 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15564 /* end confdefs.h. */
15566 /* Override any GCC internal prototype to avoid an error.
15567 Use char because int might match the return type of a GCC
15568 builtin and then its argument prototype would still apply. */
15569 char XCompositeRedirectWindow ();
15571 main (void)
15573 return XCompositeRedirectWindow ();
15575 return 0;
15577 _ACEOF
15578 if ac_fn_c_try_link "$LINENO"
15579 then :
15580 case "$LIBEXT" in
15581 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15582 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'` ;;
15583 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15584 if ${ac_cv_lib_soname_Xcomposite:+false} :
15585 then :
15586 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15587 fi ;;
15588 esac
15589 else $as_nop
15590 ac_cv_lib_soname_Xcomposite=
15592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15593 conftest$ac_exeext conftest.$ac_ext
15594 LIBS=$ac_check_soname_save_LIBS
15596 if ${ac_cv_lib_soname_Xcomposite:+false} :
15597 then :
15598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15599 printf "%s\n" "not found" >&6; }
15601 else $as_nop
15602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15603 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15605 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15610 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15611 then :
15612 case "x$with_xcomposite" in
15613 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15614 xno) ;;
15615 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15616 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15617 esac
15621 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15622 #include <X11/Xlib.h>
15623 #endif
15625 if test "x$ac_cv_member_XICCallback_callback" = xyes
15626 then :
15628 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15632 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15633 #include <X11/Xlib.h>
15634 #endif
15636 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15637 then :
15639 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15646 opengl_msg=""
15647 if test "x$with_opengl" != "xno"
15648 then
15649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15650 printf %s "checking for -lGL... " >&6; }
15651 if test ${ac_cv_lib_soname_GL+y}
15652 then :
15653 printf %s "(cached) " >&6
15654 else $as_nop
15655 ac_check_soname_save_LIBS=$LIBS
15656 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 char glXCreateContext ();
15665 main (void)
15667 return glXCreateContext ();
15669 return 0;
15671 _ACEOF
15672 if ac_fn_c_try_link "$LINENO"
15673 then :
15674 case "$LIBEXT" in
15675 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15676 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'` ;;
15677 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15678 if ${ac_cv_lib_soname_GL:+false} :
15679 then :
15680 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15681 fi ;;
15682 esac
15683 else $as_nop
15684 ac_cv_lib_soname_GL=
15686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_soname_save_LIBS
15690 if ${ac_cv_lib_soname_GL:+false} :
15691 then :
15692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15693 printf "%s\n" "not found" >&6; }
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15695 printf %s "checking for -lGL... " >&6; }
15696 if test ${ac_cv_lib_soname_GL+y}
15697 then :
15698 printf %s "(cached) " >&6
15699 else $as_nop
15700 ac_check_soname_save_LIBS=$LIBS
15701 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"
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 char glXCreateContext ();
15710 main (void)
15712 return glXCreateContext ();
15714 return 0;
15716 _ACEOF
15717 if ac_fn_c_try_link "$LINENO"
15718 then :
15719 case "$LIBEXT" in
15720 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15721 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'` ;;
15722 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15723 if ${ac_cv_lib_soname_GL:+false} :
15724 then :
15725 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15726 fi ;;
15727 esac
15728 else $as_nop
15729 ac_cv_lib_soname_GL=
15731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15732 conftest$ac_exeext conftest.$ac_ext
15733 LIBS=$ac_check_soname_save_LIBS
15735 if ${ac_cv_lib_soname_GL:+false} :
15736 then :
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15738 printf "%s\n" "not found" >&6; }
15739 if test -f /usr/X11R6/lib/libGL.a
15740 then
15741 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15742 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15743 else
15744 opengl_msg="No OpenGL library found on this system."
15746 else $as_nop
15747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15748 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15750 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15752 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"
15754 else $as_nop
15755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15756 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15758 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15760 OPENGL_LIBS="-lGL"
15762 if test "x$with_osmesa" != "xno"
15763 then
15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15765 printf %s "checking for -lOSMesa... " >&6; }
15766 if test ${ac_cv_lib_soname_OSMesa+y}
15767 then :
15768 printf %s "(cached) " >&6
15769 else $as_nop
15770 ac_check_soname_save_LIBS=$LIBS
15771 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15775 /* Override any GCC internal prototype to avoid an error.
15776 Use char because int might match the return type of a GCC
15777 builtin and then its argument prototype would still apply. */
15778 char OSMesaGetProcAddress ();
15780 main (void)
15782 return OSMesaGetProcAddress ();
15784 return 0;
15786 _ACEOF
15787 if ac_fn_c_try_link "$LINENO"
15788 then :
15789 case "$LIBEXT" in
15790 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15791 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'` ;;
15792 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15793 if ${ac_cv_lib_soname_OSMesa:+false} :
15794 then :
15795 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15796 fi ;;
15797 esac
15798 else $as_nop
15799 ac_cv_lib_soname_OSMesa=
15801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15802 conftest$ac_exeext conftest.$ac_ext
15803 LIBS=$ac_check_soname_save_LIBS
15805 if ${ac_cv_lib_soname_OSMesa:+false} :
15806 then :
15807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15808 printf "%s\n" "not found" >&6; }
15810 else $as_nop
15811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15812 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15814 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15818 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15819 then :
15820 case "x$with_osmesa" in
15821 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15822 xno) ;;
15823 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15824 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15825 esac
15830 if test -n "$opengl_msg"
15831 then :
15832 case "x$with_opengl" in
15833 x) as_fn_append wine_warnings "|$opengl_msg
15834 OpenGL and Direct3D won't be supported." ;;
15835 xno) ;;
15836 *) as_fn_error $? "$opengl_msg
15837 OpenGL and Direct3D won't be supported.
15838 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15839 esac
15843 CPPFLAGS="$ac_save_CPPFLAGS"
15844 else
15845 X_CFLAGS=""
15846 X_LIBS=""
15849 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15850 then
15851 if test "x$X_LIBS" = "x"
15852 then :
15853 case "x$with_x" in
15854 xno) ;;
15855 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15856 without X support, which probably isn't what you want. You will need
15857 to install ${notice_platform}development packages of Xlib at the very least.
15858 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15859 esac
15860 enable_winex11_drv=${enable_winex11_drv:-no}
15862 else
15863 if test "x$X_LIBS" = "x"
15864 then :
15865 case "x$with_x" in
15866 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15867 xno) ;;
15868 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15869 This is an error since --with-x was requested." "$LINENO" 5 ;;
15870 esac
15871 enable_winex11_drv=${enable_winex11_drv:-no}
15875 if test "$ac_cv_header_CL_cl_h" = "yes"
15876 then
15877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15878 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15879 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15880 then :
15881 printf %s "(cached) " >&6
15882 else $as_nop
15883 ac_check_lib_save_LIBS=$LIBS
15884 LIBS="-lOpenCL $LIBS"
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15888 /* Override any GCC internal prototype to avoid an error.
15889 Use char because int might match the return type of a GCC
15890 builtin and then its argument prototype would still apply. */
15891 char clGetPlatformInfo ();
15893 main (void)
15895 return clGetPlatformInfo ();
15897 return 0;
15899 _ACEOF
15900 if ac_fn_c_try_link "$LINENO"
15901 then :
15902 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15903 else $as_nop
15904 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15907 conftest$ac_exeext conftest.$ac_ext
15908 LIBS=$ac_check_lib_save_LIBS
15910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15911 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15912 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15913 then :
15914 OPENCL_LIBS="-lOpenCL"
15919 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15920 then :
15921 case "x$with_opencl" in
15922 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15923 xno) ;;
15924 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15925 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15926 esac
15927 enable_opencl=${enable_opencl:-no}
15930 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15931 then
15932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15933 printf %s "checking for pcap_create in -lpcap... " >&6; }
15934 if test ${ac_cv_lib_pcap_pcap_create+y}
15935 then :
15936 printf %s "(cached) " >&6
15937 else $as_nop
15938 ac_check_lib_save_LIBS=$LIBS
15939 LIBS="-lpcap $LIBS"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15943 /* Override any GCC internal prototype to avoid an error.
15944 Use char because int might match the return type of a GCC
15945 builtin and then its argument prototype would still apply. */
15946 char pcap_create ();
15948 main (void)
15950 return pcap_create ();
15952 return 0;
15954 _ACEOF
15955 if ac_fn_c_try_link "$LINENO"
15956 then :
15957 ac_cv_lib_pcap_pcap_create=yes
15958 else $as_nop
15959 ac_cv_lib_pcap_pcap_create=no
15961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15962 conftest$ac_exeext conftest.$ac_ext
15963 LIBS=$ac_check_lib_save_LIBS
15965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15966 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15967 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15968 then :
15969 PCAP_LIBS="-lpcap"
15974 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15975 then :
15976 case "x$with_pcap" in
15977 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15978 xno) ;;
15979 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15980 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15981 esac
15982 enable_wpcap=${enable_wpcap:-no}
15985 if test "x$with_inotify" != "xno"
15986 then
15987 if ${INOTIFY_CFLAGS:+false} :
15988 then :
15989 if test ${PKG_CONFIG+y}
15990 then :
15991 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15995 if ${INOTIFY_LIBS:+false} :
15996 then :
15997 if test ${PKG_CONFIG+y}
15998 then :
15999 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16006 ac_save_CPPFLAGS=$CPPFLAGS
16007 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16008 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16009 if test "x$ac_cv_header_sys_inotify_h" = xyes
16010 then :
16011 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16016 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16017 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16018 then :
16019 printf %s "(cached) " >&6
16020 else $as_nop
16021 ac_check_lib_save_LIBS=$LIBS
16022 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16026 /* Override any GCC internal prototype to avoid an error.
16027 Use char because int might match the return type of a GCC
16028 builtin and then its argument prototype would still apply. */
16029 char inotify_add_watch ();
16031 main (void)
16033 return inotify_add_watch ();
16035 return 0;
16037 _ACEOF
16038 if ac_fn_c_try_link "$LINENO"
16039 then :
16040 ac_cv_lib_inotify_inotify_add_watch=yes
16041 else $as_nop
16042 ac_cv_lib_inotify_inotify_add_watch=no
16044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16045 conftest$ac_exeext conftest.$ac_ext
16046 LIBS=$ac_check_lib_save_LIBS
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16049 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16050 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16051 then :
16053 else $as_nop
16054 INOTIFY_LIBS=""
16057 CPPFLAGS=$ac_save_CPPFLAGS
16060 if test "$ac_cv_header_sys_inotify_h" != "yes"
16061 then :
16062 case "x$with_inotify" in
16063 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16064 xno) ;;
16065 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16066 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16067 esac
16071 if test "x$with_dbus" != "xno"
16072 then
16073 if ${DBUS_CFLAGS:+false} :
16074 then :
16075 if test ${PKG_CONFIG+y}
16076 then :
16077 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16081 if ${DBUS_LIBS:+false} :
16082 then :
16083 if test ${PKG_CONFIG+y}
16084 then :
16085 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16092 ac_save_CPPFLAGS=$CPPFLAGS
16093 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16094 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16095 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16096 then :
16097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16098 printf %s "checking for -ldbus-1... " >&6; }
16099 if test ${ac_cv_lib_soname_dbus_1+y}
16100 then :
16101 printf %s "(cached) " >&6
16102 else $as_nop
16103 ac_check_soname_save_LIBS=$LIBS
16104 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111 char dbus_connection_close ();
16113 main (void)
16115 return dbus_connection_close ();
16117 return 0;
16119 _ACEOF
16120 if ac_fn_c_try_link "$LINENO"
16121 then :
16122 case "$LIBEXT" in
16123 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16124 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'` ;;
16125 *) 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'`
16126 if ${ac_cv_lib_soname_dbus_1:+false} :
16127 then :
16128 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16129 fi ;;
16130 esac
16131 else $as_nop
16132 ac_cv_lib_soname_dbus_1=
16134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16135 conftest$ac_exeext conftest.$ac_ext
16136 LIBS=$ac_check_soname_save_LIBS
16138 if ${ac_cv_lib_soname_dbus_1:+false} :
16139 then :
16140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16141 printf "%s\n" "not found" >&6; }
16142 DBUS_CFLAGS=""
16143 else $as_nop
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16145 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16147 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16151 else $as_nop
16152 DBUS_CFLAGS=""
16155 CPPFLAGS=$ac_save_CPPFLAGS
16158 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16159 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16160 then :
16161 case "x$with_dbus" in
16162 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16163 xno) ;;
16164 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16165 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16166 esac
16170 if test "x$with_gnutls" != "xno"
16171 then
16172 if ${GNUTLS_CFLAGS:+false} :
16173 then :
16174 if test ${PKG_CONFIG+y}
16175 then :
16176 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16180 if ${GNUTLS_LIBS:+false} :
16181 then :
16182 if test ${PKG_CONFIG+y}
16183 then :
16184 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16188 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16191 ac_save_CPPFLAGS=$CPPFLAGS
16192 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16193 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16195 then :
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 #include <gnutls/gnutls.h>
16199 #include <gnutls/crypto.h>
16201 main (void)
16203 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16205 return 0;
16207 _ACEOF
16208 if ac_fn_c_try_compile "$LINENO"
16209 then :
16210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16211 printf %s "checking for -lgnutls... " >&6; }
16212 if test ${ac_cv_lib_soname_gnutls+y}
16213 then :
16214 printf %s "(cached) " >&6
16215 else $as_nop
16216 ac_check_soname_save_LIBS=$LIBS
16217 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 char gnutls_global_init ();
16226 main (void)
16228 return gnutls_global_init ();
16230 return 0;
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"
16234 then :
16235 case "$LIBEXT" in
16236 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16237 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'` ;;
16238 *) 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'`
16239 if ${ac_cv_lib_soname_gnutls:+false} :
16240 then :
16241 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'`
16242 fi ;;
16243 esac
16244 else $as_nop
16245 ac_cv_lib_soname_gnutls=
16247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16248 conftest$ac_exeext conftest.$ac_ext
16249 LIBS=$ac_check_soname_save_LIBS
16251 if ${ac_cv_lib_soname_gnutls:+false} :
16252 then :
16253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16254 printf "%s\n" "not found" >&6; }
16255 GNUTLS_CFLAGS=""
16256 else $as_nop
16257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16258 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16260 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16264 ac_wine_check_funcs_save_LIBS="$LIBS"
16265 LIBS="$LIBS $GNUTLS_LIBS"
16267 for ac_func in gnutls_cipher_init
16268 do :
16269 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16270 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16271 then :
16272 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16274 else $as_nop
16275 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16278 done
16279 LIBS="$ac_wine_check_funcs_save_LIBS"
16281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16282 else $as_nop
16283 GNUTLS_CFLAGS=""
16286 CPPFLAGS=$ac_save_CPPFLAGS
16289 if test "x$ac_cv_lib_soname_gnutls" = "x"
16290 then :
16291 case "x$with_gnutls" in
16292 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16293 xno) ;;
16294 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16295 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16296 esac
16300 if test "x$with_sane" != "xno"
16301 then
16302 if ${SANE_CFLAGS:+false} :
16303 then :
16304 if test ${PKG_CONFIG+y}
16305 then :
16306 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16309 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16310 if ${SANE_LIBS:+false} :
16311 then :
16312 if test ${PKG_CONFIG+y}
16313 then :
16314 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16317 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16321 ac_save_CPPFLAGS=$CPPFLAGS
16322 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16323 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16324 if test "x$ac_cv_header_sane_sane_h" = xyes
16325 then :
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16327 printf %s "checking for sane_init in -lsane... " >&6; }
16328 if test ${ac_cv_lib_sane_sane_init+y}
16329 then :
16330 printf %s "(cached) " >&6
16331 else $as_nop
16332 ac_check_lib_save_LIBS=$LIBS
16333 LIBS="-lsane $SANE_LIBS $LIBS"
16334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16337 /* Override any GCC internal prototype to avoid an error.
16338 Use char because int might match the return type of a GCC
16339 builtin and then its argument prototype would still apply. */
16340 char sane_init ();
16342 main (void)
16344 return sane_init ();
16346 return 0;
16348 _ACEOF
16349 if ac_fn_c_try_link "$LINENO"
16350 then :
16351 ac_cv_lib_sane_sane_init=yes
16352 else $as_nop
16353 ac_cv_lib_sane_sane_init=no
16355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16356 conftest$ac_exeext conftest.$ac_ext
16357 LIBS=$ac_check_lib_save_LIBS
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16360 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16361 if test "x$ac_cv_lib_sane_sane_init" = xyes
16362 then :
16368 CPPFLAGS=$ac_save_CPPFLAGS
16371 if test "$ac_cv_lib_sane_sane_init" != "yes"
16372 then :
16373 case "x$with_sane" in
16374 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16375 xno) ;;
16376 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16377 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16378 esac
16379 enable_sane_ds=${enable_sane_ds:-no}
16382 if test "x$with_usb" != "xno"
16383 then
16384 if ${USB_CFLAGS:+false} :
16385 then :
16386 if test ${PKG_CONFIG+y}
16387 then :
16388 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16392 if ${USB_LIBS:+false} :
16393 then :
16394 if test ${PKG_CONFIG+y}
16395 then :
16396 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16400 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16403 ac_save_CPPFLAGS=$CPPFLAGS
16404 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16405 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16406 if test "x$ac_cv_header_libusb_h" = xyes
16407 then :
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16409 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16410 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16411 then :
16412 printf %s "(cached) " >&6
16413 else $as_nop
16414 ac_check_lib_save_LIBS=$LIBS
16415 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16419 /* Override any GCC internal prototype to avoid an error.
16420 Use char because int might match the return type of a GCC
16421 builtin and then its argument prototype would still apply. */
16422 char libusb_interrupt_event_handler ();
16424 main (void)
16426 return libusb_interrupt_event_handler ();
16428 return 0;
16430 _ACEOF
16431 if ac_fn_c_try_link "$LINENO"
16432 then :
16433 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16434 else $as_nop
16435 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16438 conftest$ac_exeext conftest.$ac_ext
16439 LIBS=$ac_check_lib_save_LIBS
16441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16442 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16443 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16444 then :
16446 else $as_nop
16447 USB_LIBS=""
16450 else $as_nop
16451 USB_LIBS=""
16454 CPPFLAGS=$ac_save_CPPFLAGS
16457 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16458 then :
16459 case "x$with_usb" in
16460 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16461 xno) ;;
16462 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16463 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16464 esac
16465 enable_wineusb_sys=${enable_wineusb_sys:-no}
16468 if test "x$with_v4l2" != "xno"
16469 then
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16471 printf %s "checking for -lv4l2... " >&6; }
16472 if test ${ac_cv_lib_soname_v4l2+y}
16473 then :
16474 printf %s "(cached) " >&6
16475 else $as_nop
16476 ac_check_soname_save_LIBS=$LIBS
16477 LIBS="-lv4l2 $LIBS"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16484 char v4l2_open ();
16486 main (void)
16488 return v4l2_open ();
16490 return 0;
16492 _ACEOF
16493 if ac_fn_c_try_link "$LINENO"
16494 then :
16495 case "$LIBEXT" in
16496 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16497 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'` ;;
16498 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16499 if ${ac_cv_lib_soname_v4l2:+false} :
16500 then :
16501 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16502 fi ;;
16503 esac
16504 else $as_nop
16505 ac_cv_lib_soname_v4l2=
16507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16508 conftest$ac_exeext conftest.$ac_ext
16509 LIBS=$ac_check_soname_save_LIBS
16511 if ${ac_cv_lib_soname_v4l2:+false} :
16512 then :
16513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16514 printf "%s\n" "not found" >&6; }
16516 else $as_nop
16517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16518 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16520 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16525 if test "x$ac_cv_lib_soname_v4l2" = "x"
16526 then :
16527 case "x$with_v4l2" in
16528 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16529 xno) ;;
16530 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16531 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16532 esac
16536 if test "x$with_gphoto" != "xno"
16537 then
16538 if ${GPHOTO2_CFLAGS:+false} :
16539 then :
16540 if test ${PKG_CONFIG+y}
16541 then :
16542 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16545 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16546 if ${GPHOTO2_LIBS:+false} :
16547 then :
16548 if test ${PKG_CONFIG+y}
16549 then :
16550 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16553 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16554 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16557 ac_save_CPPFLAGS=$CPPFLAGS
16558 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16559 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16560 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16561 then :
16562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16563 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16564 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16565 then :
16566 printf %s "(cached) " >&6
16567 else $as_nop
16568 ac_check_lib_save_LIBS=$LIBS
16569 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 /* Override any GCC internal prototype to avoid an error.
16574 Use char because int might match the return type of a GCC
16575 builtin and then its argument prototype would still apply. */
16576 char gp_camera_new ();
16578 main (void)
16580 return gp_camera_new ();
16582 return 0;
16584 _ACEOF
16585 if ac_fn_c_try_link "$LINENO"
16586 then :
16587 ac_cv_lib_gphoto2_gp_camera_new=yes
16588 else $as_nop
16589 ac_cv_lib_gphoto2_gp_camera_new=no
16591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16592 conftest$ac_exeext conftest.$ac_ext
16593 LIBS=$ac_check_lib_save_LIBS
16595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16596 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16597 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16598 then :
16604 CPPFLAGS=$ac_save_CPPFLAGS
16606 if ${GPHOTO2_PORT_CFLAGS:+false} :
16607 then :
16608 if test ${PKG_CONFIG+y}
16609 then :
16610 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16613 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16614 if ${GPHOTO2_PORT_LIBS:+false} :
16615 then :
16616 if test ${PKG_CONFIG+y}
16617 then :
16618 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16621 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16622 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16625 ac_save_CPPFLAGS=$CPPFLAGS
16626 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16627 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16628 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16629 then :
16630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16631 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16632 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16633 then :
16634 printf %s "(cached) " >&6
16635 else $as_nop
16636 ac_check_lib_save_LIBS=$LIBS
16637 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16641 /* Override any GCC internal prototype to avoid an error.
16642 Use char because int might match the return type of a GCC
16643 builtin and then its argument prototype would still apply. */
16644 char gp_port_info_list_new ();
16646 main (void)
16648 return gp_port_info_list_new ();
16650 return 0;
16652 _ACEOF
16653 if ac_fn_c_try_link "$LINENO"
16654 then :
16655 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16656 else $as_nop
16657 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16660 conftest$ac_exeext conftest.$ac_ext
16661 LIBS=$ac_check_lib_save_LIBS
16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16664 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16665 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16666 then :
16668 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16670 else $as_nop
16671 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16674 else $as_nop
16675 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16678 CPPFLAGS=$ac_save_CPPFLAGS
16681 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16682 then :
16683 case "x$with_gphoto" in
16684 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16685 xno) ;;
16686 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16687 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16688 esac
16689 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16691 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16692 then :
16693 case "x$with_gphoto" in
16694 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16695 xno) ;;
16696 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16697 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16698 esac
16703 if test "$ac_cv_header_resolv_h" = "yes"
16704 then
16705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16706 printf %s "checking for resolver library... " >&6; }
16707 if test ${ac_cv_have_resolv+y}
16708 then :
16709 printf %s "(cached) " >&6
16710 else $as_nop
16711 ac_save_LIBS="$LIBS"
16712 for lib in '' -lresolv
16714 LIBS="$lib $ac_save_LIBS"
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717 #ifdef HAVE_NETINET_IN_H
16718 #include <netinet/in.h>
16719 #endif
16720 #include <resolv.h>
16722 main (void)
16724 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16726 return 0;
16728 _ACEOF
16729 if ac_fn_c_try_link "$LINENO"
16730 then :
16731 ac_cv_have_resolv=${lib:-"none required"}
16732 else $as_nop
16733 ac_cv_have_resolv="not found"
16735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16736 conftest$ac_exeext conftest.$ac_ext
16737 test "x$ac_cv_have_resolv" = "xnot found" || break
16738 done
16739 LIBS="$ac_save_LIBS"
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16742 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16744 case "$ac_cv_have_resolv" in
16745 "not found") ;;
16746 "none required")
16748 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16751 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16753 RESOLV_LIBS=$ac_cv_have_resolv
16755 esac
16757 if test "x$ac_cv_have_resolv" != "xnot found"
16758 then
16759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16760 printf %s "checking for res_getservers... " >&6; }
16761 if test ${ac_cv_have_res_getservers+y}
16762 then :
16763 printf %s "(cached) " >&6
16764 else $as_nop
16765 ac_save_LIBS="$LIBS"
16766 LIBS="$RESOLV_LIBS $LIBS"
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16769 #include <resolv.h>
16771 main (void)
16773 res_getservers(NULL, NULL, 0);
16775 return 0;
16777 _ACEOF
16778 if ac_fn_c_try_link "$LINENO"
16779 then :
16780 ac_cv_have_res_getservers=yes
16781 else $as_nop
16782 ac_cv_have_res_getservers=no
16784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16785 conftest$ac_exeext conftest.$ac_ext
16786 LIBS="$ac_save_LIBS"
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16789 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16790 if test "$ac_cv_have_res_getservers" = "yes"
16791 then
16793 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16799 if test "x$with_freetype" != "xno"
16800 then
16801 if ${FREETYPE_CFLAGS:+false} :
16802 then :
16803 if test ${PKG_CONFIG+y}
16804 then :
16805 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16808 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16809 if ${FREETYPE_LIBS:+false} :
16810 then :
16811 if test ${PKG_CONFIG+y}
16812 then :
16813 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16816 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16817 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16820 ac_save_CPPFLAGS=$CPPFLAGS
16821 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16822 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16823 if test "x$ac_cv_header_ft2build_h" = xyes
16824 then :
16825 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16829 if test "$ac_cv_header_ft2build_h" = "yes"
16830 then
16831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16832 printf %s "checking for -lfreetype... " >&6; }
16833 if test ${ac_cv_lib_soname_freetype+y}
16834 then :
16835 printf %s "(cached) " >&6
16836 else $as_nop
16837 ac_check_soname_save_LIBS=$LIBS
16838 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16842 /* Override any GCC internal prototype to avoid an error.
16843 Use char because int might match the return type of a GCC
16844 builtin and then its argument prototype would still apply. */
16845 char FT_Init_FreeType ();
16847 main (void)
16849 return FT_Init_FreeType ();
16851 return 0;
16853 _ACEOF
16854 if ac_fn_c_try_link "$LINENO"
16855 then :
16856 case "$LIBEXT" in
16857 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16858 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'` ;;
16859 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16860 if ${ac_cv_lib_soname_freetype:+false} :
16861 then :
16862 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16863 fi ;;
16864 esac
16865 else $as_nop
16866 ac_cv_lib_soname_freetype=
16868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16869 conftest$ac_exeext conftest.$ac_ext
16870 LIBS=$ac_check_soname_save_LIBS
16872 if ${ac_cv_lib_soname_freetype:+false} :
16873 then :
16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16875 printf "%s\n" "not found" >&6; }
16876 FREETYPE_LIBS=""
16877 else $as_nop
16878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16879 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16881 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16884 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16886 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16887 #include FT_MODULE_H
16889 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16890 then :
16892 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16898 else
16899 FREETYPE_CFLAGS=""
16900 FREETYPE_LIBS=""
16902 CPPFLAGS=$ac_save_CPPFLAGS
16905 if test "x$ac_cv_lib_soname_freetype" = x
16906 then :
16907 case "x$with_freetype" in
16908 xno) ;;
16909 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16910 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16911 esac
16912 enable_fonts=${enable_fonts:-no}
16915 ac_wine_check_funcs_save_LIBS="$LIBS"
16916 LIBS="$LIBS $PTHREAD_LIBS"
16917 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16918 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16919 then :
16920 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16924 LIBS="$ac_wine_check_funcs_save_LIBS"
16926 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16927 then
16928 if test "$ac_cv_header_gettext_po_h" = "yes"
16929 then
16930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16931 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16932 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16933 then :
16934 printf %s "(cached) " >&6
16935 else $as_nop
16936 ac_check_lib_save_LIBS=$LIBS
16937 LIBS="-lgettextpo $LIBS"
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16941 /* Override any GCC internal prototype to avoid an error.
16942 Use char because int might match the return type of a GCC
16943 builtin and then its argument prototype would still apply. */
16944 char po_message_msgctxt ();
16946 main (void)
16948 return po_message_msgctxt ();
16950 return 0;
16952 _ACEOF
16953 if ac_fn_c_try_link "$LINENO"
16954 then :
16955 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16956 else $as_nop
16957 ac_cv_lib_gettextpo_po_message_msgctxt=no
16959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16960 conftest$ac_exeext conftest.$ac_ext
16961 LIBS=$ac_check_lib_save_LIBS
16963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16964 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16965 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16966 then :
16968 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16970 GETTEXTPO_LIBS="-lgettextpo"
16975 if test "x$GETTEXTPO_LIBS" = "x"
16976 then :
16977 case "x$with_gettextpo" in
16978 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16979 xno) ;;
16980 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16981 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16982 esac
16985 if test "$srcdir" != .
16986 then :
16987 case "x$with_gettextpo" in
16988 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16989 xno) ;;
16990 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16991 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16992 esac
16997 if test "x$with_pulse" != "xno";
16998 then
16999 if ${PULSE_CFLAGS:+false} :
17000 then :
17001 if test ${PKG_CONFIG+y}
17002 then :
17003 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17007 if ${PULSE_LIBS:+false} :
17008 then :
17009 if test ${PKG_CONFIG+y}
17010 then :
17011 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17018 ac_save_CPPFLAGS=$CPPFLAGS
17019 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17020 for ac_header in pulse/pulseaudio.h
17021 do :
17022 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17023 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17024 then :
17025 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17027 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17028 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17029 then :
17030 printf %s "(cached) " >&6
17031 else $as_nop
17032 ac_check_lib_save_LIBS=$LIBS
17033 LIBS="-lpulse $PULSE_LIBS $LIBS"
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17037 /* Override any GCC internal prototype to avoid an error.
17038 Use char because int might match the return type of a GCC
17039 builtin and then its argument prototype would still apply. */
17040 char pa_stream_is_corked ();
17042 main (void)
17044 return pa_stream_is_corked ();
17046 return 0;
17048 _ACEOF
17049 if ac_fn_c_try_link "$LINENO"
17050 then :
17051 ac_cv_lib_pulse_pa_stream_is_corked=yes
17052 else $as_nop
17053 ac_cv_lib_pulse_pa_stream_is_corked=no
17055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17056 conftest$ac_exeext conftest.$ac_ext
17057 LIBS=$ac_check_lib_save_LIBS
17059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17060 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17061 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17062 then :
17064 else $as_nop
17065 PULSE_LIBS=""
17068 else $as_nop
17069 PULSE_LIBS=""
17072 done
17073 CPPFLAGS=$ac_save_CPPFLAGS
17076 if test -z "$PULSE_LIBS"
17077 then :
17078 case "x$with_pulse" in
17079 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17080 xno) ;;
17081 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17082 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17083 esac
17084 enable_winepulse_drv=${enable_winepulse_drv:-no}
17087 if test "x$with_gstreamer" != "xno"
17088 then
17089 if ${GSTREAMER_CFLAGS:+false} :
17090 then :
17091 if test ${PKG_CONFIG+y}
17092 then :
17093 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17097 if ${GSTREAMER_LIBS:+false} :
17098 then :
17099 if test ${PKG_CONFIG+y}
17100 then :
17101 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17108 ac_save_CPPFLAGS=$CPPFLAGS
17109 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17110 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17111 if test "x$ac_cv_header_gst_gst_h" = xyes
17112 then :
17113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17114 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <gst/gst.h>
17119 main (void)
17121 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17123 return 0;
17125 _ACEOF
17126 if ac_fn_c_try_compile "$LINENO"
17127 then :
17128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17129 printf "%s\n" "yes" >&6; }
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17131 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17132 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17133 then :
17134 printf %s "(cached) " >&6
17135 else $as_nop
17136 ac_check_lib_save_LIBS=$LIBS
17137 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17141 /* Override any GCC internal prototype to avoid an error.
17142 Use char because int might match the return type of a GCC
17143 builtin and then its argument prototype would still apply. */
17144 char gst_pad_new ();
17146 main (void)
17148 return gst_pad_new ();
17150 return 0;
17152 _ACEOF
17153 if ac_fn_c_try_link "$LINENO"
17154 then :
17155 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17156 else $as_nop
17157 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17160 conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17164 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17165 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17166 then :
17170 else $as_nop
17171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17172 printf "%s\n" "no" >&6; }
17173 ac_glib2_broken=yes
17174 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17179 CPPFLAGS=$ac_save_CPPFLAGS
17182 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17183 then :
17184 case "x$with_gstreamer" in
17185 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17186 xno) ;;
17187 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17188 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17189 esac
17190 enable_winegstreamer=${enable_winegstreamer:-no}
17193 ALSA_LIBS=""
17195 if test "x$with_alsa" != "xno"
17196 then
17197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17198 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17199 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17200 then :
17201 printf %s "(cached) " >&6
17202 else $as_nop
17203 ac_check_lib_save_LIBS=$LIBS
17204 LIBS="-lasound $LIBS"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17211 char snd_pcm_hw_params_get_access_mask ();
17213 main (void)
17215 return snd_pcm_hw_params_get_access_mask ();
17217 return 0;
17219 _ACEOF
17220 if ac_fn_c_try_link "$LINENO"
17221 then :
17222 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17223 else $as_nop
17224 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17227 conftest$ac_exeext conftest.$ac_ext
17228 LIBS=$ac_check_lib_save_LIBS
17230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17231 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17232 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17233 then :
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 #include <alsa/asoundlib.h>
17238 main (void)
17240 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17242 return 0;
17244 _ACEOF
17245 if ac_fn_c_try_compile "$LINENO"
17246 then :
17247 ALSA_LIBS="-lasound"
17249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17253 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17255 if test "x$with_oss" != xno
17256 then
17257 ac_save_CPPFLAGS="$CPPFLAGS"
17258 if test -f /etc/oss.conf
17259 then
17260 . /etc/oss.conf
17262 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17263 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17264 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17265 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17266 then :
17267 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17269 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17270 then :
17272 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17274 OSS4_CFLAGS="$ac_oss_incl"
17276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17277 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17278 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17279 then :
17280 printf %s "(cached) " >&6
17281 else $as_nop
17282 ac_check_lib_save_LIBS=$LIBS
17283 LIBS="-lossaudio $LIBS"
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17287 /* Override any GCC internal prototype to avoid an error.
17288 Use char because int might match the return type of a GCC
17289 builtin and then its argument prototype would still apply. */
17290 char _oss_ioctl ();
17292 main (void)
17294 return _oss_ioctl ();
17296 return 0;
17298 _ACEOF
17299 if ac_fn_c_try_link "$LINENO"
17300 then :
17301 ac_cv_lib_ossaudio__oss_ioctl=yes
17302 else $as_nop
17303 ac_cv_lib_ossaudio__oss_ioctl=no
17305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17306 conftest$ac_exeext conftest.$ac_ext
17307 LIBS=$ac_check_lib_save_LIBS
17309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17310 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17311 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17312 then :
17313 OSS4_LIBS="-lossaudio"
17321 CPPFLAGS="$ac_save_CPPFLAGS"
17323 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17324 then :
17325 case "x$with_oss" in
17326 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17327 xno) ;;
17328 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17329 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17330 esac
17331 enable_wineoss_drv=${enable_wineoss_drv:-no}
17334 if test "x$with_udev" != "xno"
17335 then
17336 if ${UDEV_CFLAGS:+false} :
17337 then :
17338 if test ${PKG_CONFIG+y}
17339 then :
17340 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17344 if ${UDEV_LIBS:+false} :
17345 then :
17346 if test ${PKG_CONFIG+y}
17347 then :
17348 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17352 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17355 ac_save_CPPFLAGS=$CPPFLAGS
17356 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17357 for ac_header in libudev.h
17358 do :
17359 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17360 if test "x$ac_cv_header_libudev_h" = xyes
17361 then :
17362 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17364 printf %s "checking for udev_new in -ludev... " >&6; }
17365 if test ${ac_cv_lib_udev_udev_new+y}
17366 then :
17367 printf %s "(cached) " >&6
17368 else $as_nop
17369 ac_check_lib_save_LIBS=$LIBS
17370 LIBS="-ludev $UDEV_LIBS $LIBS"
17371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17372 /* end confdefs.h. */
17374 /* Override any GCC internal prototype to avoid an error.
17375 Use char because int might match the return type of a GCC
17376 builtin and then its argument prototype would still apply. */
17377 char udev_new ();
17379 main (void)
17381 return udev_new ();
17383 return 0;
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"
17387 then :
17388 ac_cv_lib_udev_udev_new=yes
17389 else $as_nop
17390 ac_cv_lib_udev_udev_new=no
17392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17393 conftest$ac_exeext conftest.$ac_ext
17394 LIBS=$ac_check_lib_save_LIBS
17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17397 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17398 if test "x$ac_cv_lib_udev_udev_new" = xyes
17399 then :
17401 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17403 else $as_nop
17404 UDEV_LIBS=""
17407 else $as_nop
17408 UDEV_LIBS=""
17411 done
17412 CPPFLAGS=$ac_save_CPPFLAGS
17415 if test "x$UDEV_LIBS" = "x"
17416 then :
17417 case "x$with_udev" in
17418 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17419 xno) ;;
17420 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17421 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17422 esac
17426 if test "x$with_unwind" != xno
17427 then
17428 if ${UNWIND_CFLAGS:+false} :
17429 then :
17430 if test ${PKG_CONFIG+y}
17431 then :
17432 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17436 if ${UNWIND_LIBS:+false} :
17437 then :
17438 if test ${PKG_CONFIG+y}
17439 then :
17440 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17444 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17447 ac_save_CPPFLAGS=$CPPFLAGS
17448 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17450 printf %s "checking for unw_step... " >&6; }
17451 if test ${wine_cv_have_unw_step+y}
17452 then :
17453 printf %s "(cached) " >&6
17454 else $as_nop
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #define UNW_LOCAL_ONLY
17458 #include <libunwind.h>
17460 main (void)
17462 unw_cursor_t cursor; unw_step( &cursor );
17464 return 0;
17466 _ACEOF
17467 if ac_fn_c_try_link "$LINENO"
17468 then :
17469 wine_cv_have_unw_step="yes"
17470 else $as_nop
17471 wine_cv_have_unw_step="no"
17473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17474 conftest$ac_exeext conftest.$ac_ext
17476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17477 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17478 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17479 then
17480 save_libs=$LIBS
17481 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17482 LIBS="$UNWIND_LIBS $LIBS"
17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17484 printf %s "checking for unw_step in libunwind... " >&6; }
17485 if test ${wine_cv_have_libunwind_unw_step+y}
17486 then :
17487 printf %s "(cached) " >&6
17488 else $as_nop
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 #define UNW_LOCAL_ONLY
17492 #include <libunwind.h>
17494 main (void)
17496 unw_cursor_t cursor; unw_step( &cursor );
17498 return 0;
17500 _ACEOF
17501 if ac_fn_c_try_link "$LINENO"
17502 then :
17503 wine_cv_have_libunwind_unw_step="yes"
17504 else $as_nop
17505 wine_cv_have_libunwind_unw_step="no"
17507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17508 conftest$ac_exeext conftest.$ac_ext
17510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17511 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17512 LIBS=$save_libs
17514 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17515 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17516 then
17518 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17521 CPPFLAGS=$ac_save_CPPFLAGS
17524 case $host in
17525 aarch64*|*-darwin*)
17526 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17527 then :
17528 case "x$with_unwind" in
17529 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17530 xno) ;;
17531 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17532 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17533 esac
17535 fi ;;
17536 esac
17538 if test "x$with_sdl" != "xno"
17539 then
17540 if ${SDL2_CFLAGS:+false} :
17541 then :
17542 if test ${PKG_CONFIG+y}
17543 then :
17544 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17548 if ${SDL2_LIBS:+false} :
17549 then :
17550 if test ${PKG_CONFIG+y}
17551 then :
17552 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17556 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17559 ac_save_CPPFLAGS=$CPPFLAGS
17560 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17561 for ac_header in SDL.h
17562 do :
17563 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17564 if test "x$ac_cv_header_SDL_h" = xyes
17565 then :
17566 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17568 printf %s "checking for -lSDL2... " >&6; }
17569 if test ${ac_cv_lib_soname_SDL2+y}
17570 then :
17571 printf %s "(cached) " >&6
17572 else $as_nop
17573 ac_check_soname_save_LIBS=$LIBS
17574 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17578 /* Override any GCC internal prototype to avoid an error.
17579 Use char because int might match the return type of a GCC
17580 builtin and then its argument prototype would still apply. */
17581 char SDL_Init ();
17583 main (void)
17585 return SDL_Init ();
17587 return 0;
17589 _ACEOF
17590 if ac_fn_c_try_link "$LINENO"
17591 then :
17592 case "$LIBEXT" in
17593 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17594 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'` ;;
17595 *) 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'`
17596 if ${ac_cv_lib_soname_SDL2:+false} :
17597 then :
17598 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17599 fi ;;
17600 esac
17601 else $as_nop
17602 ac_cv_lib_soname_SDL2=
17604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17605 conftest$ac_exeext conftest.$ac_ext
17606 LIBS=$ac_check_soname_save_LIBS
17608 if ${ac_cv_lib_soname_SDL2:+false} :
17609 then :
17610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17611 printf "%s\n" "not found" >&6; }
17613 else $as_nop
17614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17615 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17617 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17623 done
17624 CPPFLAGS=$ac_save_CPPFLAGS
17627 if test "x$ac_cv_lib_soname_SDL2" = "x"
17628 then :
17629 case "x$with_sdl" in
17630 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17631 xno) ;;
17632 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17633 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17634 esac
17638 if test "x$with_capi" != "xno"
17639 then
17640 if ${CAPI20_CFLAGS:+false} :
17641 then :
17642 if test ${PKG_CONFIG+y}
17643 then :
17644 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17648 if ${CAPI20_LIBS:+false} :
17649 then :
17650 if test ${PKG_CONFIG+y}
17651 then :
17652 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17659 ac_save_CPPFLAGS=$CPPFLAGS
17660 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17661 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17663 if test "x$ac_cv_header_capi20_h" = xyes
17664 then :
17665 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17668 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17670 if test "x$ac_cv_header_linux_capi_h" = xyes
17671 then :
17672 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17676 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17677 then
17678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17679 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17680 if test ${ac_cv_lib_capi20_capi20_register+y}
17681 then :
17682 printf %s "(cached) " >&6
17683 else $as_nop
17684 ac_check_lib_save_LIBS=$LIBS
17685 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17689 /* Override any GCC internal prototype to avoid an error.
17690 Use char because int might match the return type of a GCC
17691 builtin and then its argument prototype would still apply. */
17692 char capi20_register ();
17694 main (void)
17696 return capi20_register ();
17698 return 0;
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"
17702 then :
17703 ac_cv_lib_capi20_capi20_register=yes
17704 else $as_nop
17705 ac_cv_lib_capi20_capi20_register=no
17707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17708 conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_check_lib_save_LIBS
17711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17712 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17713 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17714 then :
17716 else $as_nop
17717 CAPI20_LIBS=""
17721 CPPFLAGS=$ac_save_CPPFLAGS
17724 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17725 then :
17726 case "x$with_capi" in
17727 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17728 xno) ;;
17729 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17730 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17731 esac
17732 enable_capi2032=${enable_capi2032:-no}
17735 if test "x$with_cups" != "xno"
17736 then
17737 if ${CUPS_CFLAGS:+false} :
17738 then :
17739 if test ${PKG_CONFIG+y}
17740 then :
17741 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17744 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17745 if ${CUPS_LIBS:+false} :
17746 then :
17747 if test ${PKG_CONFIG+y}
17748 then :
17749 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17752 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17753 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17756 ac_save_CPPFLAGS=$CPPFLAGS
17757 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17758 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17759 if test "x$ac_cv_header_cups_cups_h" = xyes
17760 then :
17761 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17764 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17765 if test "x$ac_cv_header_cups_ppd_h" = xyes
17766 then :
17767 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17771 if test "$ac_cv_header_cups_cups_h" = "yes"
17772 then
17773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17774 printf %s "checking for -lcups... " >&6; }
17775 if test ${ac_cv_lib_soname_cups+y}
17776 then :
17777 printf %s "(cached) " >&6
17778 else $as_nop
17779 ac_check_soname_save_LIBS=$LIBS
17780 LIBS="-lcups $CUPS_LIBS $LIBS"
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17784 /* Override any GCC internal prototype to avoid an error.
17785 Use char because int might match the return type of a GCC
17786 builtin and then its argument prototype would still apply. */
17787 char cupsGetDefault ();
17789 main (void)
17791 return cupsGetDefault ();
17793 return 0;
17795 _ACEOF
17796 if ac_fn_c_try_link "$LINENO"
17797 then :
17798 case "$LIBEXT" in
17799 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17800 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'` ;;
17801 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17802 if ${ac_cv_lib_soname_cups:+false} :
17803 then :
17804 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17805 fi ;;
17806 esac
17807 else $as_nop
17808 ac_cv_lib_soname_cups=
17810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17811 conftest$ac_exeext conftest.$ac_ext
17812 LIBS=$ac_check_soname_save_LIBS
17814 if ${ac_cv_lib_soname_cups:+false} :
17815 then :
17816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17817 printf "%s\n" "not found" >&6; }
17818 CUPS_LIBS=""
17819 else $as_nop
17820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17821 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17823 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17827 else
17828 CUPS_CFLAGS=""
17829 CUPS_LIBS=""
17831 CPPFLAGS=$ac_save_CPPFLAGS
17834 if test "x$ac_cv_lib_soname_cups" = "x"
17835 then :
17836 case "x$with_cups" in
17837 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17838 xno) ;;
17839 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17840 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17841 esac
17845 if test "x$with_fontconfig" != "xno"
17846 then
17847 if ${FONTCONFIG_CFLAGS:+false} :
17848 then :
17849 if test ${PKG_CONFIG+y}
17850 then :
17851 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17854 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17855 if ${FONTCONFIG_LIBS:+false} :
17856 then :
17857 if test ${PKG_CONFIG+y}
17858 then :
17859 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17862 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17866 ac_save_CPPFLAGS=$CPPFLAGS
17867 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17868 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17869 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17870 then :
17871 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17875 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17876 then
17877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17878 printf %s "checking for -lfontconfig... " >&6; }
17879 if test ${ac_cv_lib_soname_fontconfig+y}
17880 then :
17881 printf %s "(cached) " >&6
17882 else $as_nop
17883 ac_check_soname_save_LIBS=$LIBS
17884 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17888 /* Override any GCC internal prototype to avoid an error.
17889 Use char because int might match the return type of a GCC
17890 builtin and then its argument prototype would still apply. */
17891 char FcInit ();
17893 main (void)
17895 return FcInit ();
17897 return 0;
17899 _ACEOF
17900 if ac_fn_c_try_link "$LINENO"
17901 then :
17902 case "$LIBEXT" in
17903 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17904 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'` ;;
17905 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17906 if ${ac_cv_lib_soname_fontconfig:+false} :
17907 then :
17908 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17909 fi ;;
17910 esac
17911 else $as_nop
17912 ac_cv_lib_soname_fontconfig=
17914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17915 conftest$ac_exeext conftest.$ac_ext
17916 LIBS=$ac_check_soname_save_LIBS
17918 if ${ac_cv_lib_soname_fontconfig:+false} :
17919 then :
17920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17921 printf "%s\n" "not found" >&6; }
17922 FONTCONFIG_CFLAGS=""
17923 else $as_nop
17924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17925 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17927 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17931 else
17932 FONTCONFIG_CFLAGS=""
17934 CPPFLAGS=$ac_save_CPPFLAGS
17937 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17938 then :
17939 case "x$with_fontconfig" in
17940 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17941 xno) ;;
17942 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17943 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17944 esac
17948 if test "x$with_krb5" != "xno"
17949 then
17950 if ${KRB5_CFLAGS:+false} :
17951 then :
17952 if test ${PKG_CONFIG+y}
17953 then :
17954 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17957 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17958 if ${KRB5_LIBS:+false} :
17959 then :
17960 if test ${PKG_CONFIG+y}
17961 then :
17962 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17965 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17969 ac_save_CPPFLAGS=$CPPFLAGS
17970 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17971 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17972 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17973 then :
17974 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17978 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17979 then
17980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17981 printf %s "checking for -lkrb5... " >&6; }
17982 if test ${ac_cv_lib_soname_krb5+y}
17983 then :
17984 printf %s "(cached) " >&6
17985 else $as_nop
17986 ac_check_soname_save_LIBS=$LIBS
17987 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17991 /* Override any GCC internal prototype to avoid an error.
17992 Use char because int might match the return type of a GCC
17993 builtin and then its argument prototype would still apply. */
17994 char krb5_is_config_principal ();
17996 main (void)
17998 return krb5_is_config_principal ();
18000 return 0;
18002 _ACEOF
18003 if ac_fn_c_try_link "$LINENO"
18004 then :
18005 case "$LIBEXT" in
18006 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18007 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'` ;;
18008 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18009 if ${ac_cv_lib_soname_krb5:+false} :
18010 then :
18011 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18012 fi ;;
18013 esac
18014 else $as_nop
18015 ac_cv_lib_soname_krb5=
18017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18018 conftest$ac_exeext conftest.$ac_ext
18019 LIBS=$ac_check_soname_save_LIBS
18021 if ${ac_cv_lib_soname_krb5:+false} :
18022 then :
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18024 printf "%s\n" "not found" >&6; }
18025 KRB5_CFLAGS=""
18026 else $as_nop
18027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18028 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18030 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18034 else
18035 KRB5_CFLAGS=""
18037 CPPFLAGS=$ac_save_CPPFLAGS
18040 if test "x$ac_cv_lib_soname_krb5" = "x"
18041 then :
18042 case "x$with_krb5" in
18043 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18044 xno) ;;
18045 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18046 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18047 esac
18050 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18052 if test "x$with_gssapi" != "xno"
18053 then
18054 if ${GSSAPI_CFLAGS:+false} :
18055 then :
18056 if test ${PKG_CONFIG+y}
18057 then :
18058 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18061 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18062 if ${GSSAPI_LIBS:+false} :
18063 then :
18064 if test ${PKG_CONFIG+y}
18065 then :
18066 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18069 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18073 ac_save_CPPFLAGS=$CPPFLAGS
18074 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18075 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18076 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18077 then :
18078 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18081 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18082 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18083 then :
18084 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18088 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18089 then
18090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18091 printf %s "checking for -lgssapi_krb5... " >&6; }
18092 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18093 then :
18094 printf %s "(cached) " >&6
18095 else $as_nop
18096 ac_check_soname_save_LIBS=$LIBS
18097 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18101 /* Override any GCC internal prototype to avoid an error.
18102 Use char because int might match the return type of a GCC
18103 builtin and then its argument prototype would still apply. */
18104 char gss_init_sec_context ();
18106 main (void)
18108 return gss_init_sec_context ();
18110 return 0;
18112 _ACEOF
18113 if ac_fn_c_try_link "$LINENO"
18114 then :
18115 case "$LIBEXT" in
18116 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18117 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'` ;;
18118 *) 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'`
18119 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18120 then :
18121 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18122 fi ;;
18123 esac
18124 else $as_nop
18125 ac_cv_lib_soname_gssapi_krb5=
18127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18128 conftest$ac_exeext conftest.$ac_ext
18129 LIBS=$ac_check_soname_save_LIBS
18131 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18132 then :
18133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18134 printf "%s\n" "not found" >&6; }
18135 GSSAPI_CFLAGS=""
18136 else $as_nop
18137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18138 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18140 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18144 else
18145 GSSAPI_CFLAGS=""
18147 CPPFLAGS=$ac_save_CPPFLAGS
18150 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18151 then :
18152 case "x$with_gssapi" in
18153 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18154 xno) ;;
18155 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18156 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18157 esac
18161 if test "$ac_cv_header_AL_al_h" = "yes"
18162 then
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18164 printf %s "checking for -lopenal... " >&6; }
18165 if test ${ac_cv_lib_soname_openal+y}
18166 then :
18167 printf %s "(cached) " >&6
18168 else $as_nop
18169 ac_check_soname_save_LIBS=$LIBS
18170 LIBS="-lopenal $LIBS"
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 char alGetSource3i ();
18179 main (void)
18181 return alGetSource3i ();
18183 return 0;
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"
18187 then :
18188 case "$LIBEXT" in
18189 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18190 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'` ;;
18191 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18192 if ${ac_cv_lib_soname_openal:+false} :
18193 then :
18194 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18195 fi ;;
18196 esac
18197 else $as_nop
18198 ac_cv_lib_soname_openal=
18200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18201 conftest$ac_exeext conftest.$ac_ext
18202 LIBS=$ac_check_soname_save_LIBS
18204 if ${ac_cv_lib_soname_openal:+false} :
18205 then :
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18207 printf "%s\n" "not found" >&6; }
18209 else $as_nop
18210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18211 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18213 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18215 OPENAL_LIBS="-lopenal"
18217 ac_cv_lib_openal=yes
18219 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18223 if test "x$ac_cv_lib_openal" != xyes
18224 then :
18225 case "x$with_openal" in
18226 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18227 xno) ;;
18228 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18229 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18230 esac
18231 enable_openal32=${enable_openal32:-no}
18234 if test "$ac_cv_header_libprocstat_h" = "yes"
18235 then
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18237 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18238 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18239 then :
18240 printf %s "(cached) " >&6
18241 else $as_nop
18242 ac_check_lib_save_LIBS=$LIBS
18243 LIBS="-lprocstat $LIBS"
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 /* Override any GCC internal prototype to avoid an error.
18248 Use char because int might match the return type of a GCC
18249 builtin and then its argument prototype would still apply. */
18250 char procstat_open_sysctl ();
18252 main (void)
18254 return procstat_open_sysctl ();
18256 return 0;
18258 _ACEOF
18259 if ac_fn_c_try_link "$LINENO"
18260 then :
18261 ac_cv_lib_procstat_procstat_open_sysctl=yes
18262 else $as_nop
18263 ac_cv_lib_procstat_procstat_open_sysctl=no
18265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18266 conftest$ac_exeext conftest.$ac_ext
18267 LIBS=$ac_check_lib_save_LIBS
18269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18270 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18271 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18272 then :
18274 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18276 PROCSTAT_LIBS="-lprocstat"
18282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18283 printf %s "checking for -lodbc... " >&6; }
18284 if test ${ac_cv_lib_soname_odbc+y}
18285 then :
18286 printf %s "(cached) " >&6
18287 else $as_nop
18288 ac_check_soname_save_LIBS=$LIBS
18289 LIBS="-lodbc $LIBS"
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18293 /* Override any GCC internal prototype to avoid an error.
18294 Use char because int might match the return type of a GCC
18295 builtin and then its argument prototype would still apply. */
18296 char SQLConnect ();
18298 main (void)
18300 return SQLConnect ();
18302 return 0;
18304 _ACEOF
18305 if ac_fn_c_try_link "$LINENO"
18306 then :
18307 case "$LIBEXT" in
18308 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18309 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'` ;;
18310 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18311 if ${ac_cv_lib_soname_odbc:+false} :
18312 then :
18313 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18314 fi ;;
18315 esac
18316 else $as_nop
18317 ac_cv_lib_soname_odbc=
18319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18320 conftest$ac_exeext conftest.$ac_ext
18321 LIBS=$ac_check_soname_save_LIBS
18323 if ${ac_cv_lib_soname_odbc:+false} :
18324 then :
18325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18326 printf "%s\n" "not found" >&6; }
18327 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18329 else $as_nop
18330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18331 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18333 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18338 if test "x$with_netapi" != "xno"
18339 then
18340 if ${NETAPI_CFLAGS:+false} :
18341 then :
18342 if test ${PKG_CONFIG+y}
18343 then :
18344 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18348 if ${NETAPI_LIBS:+false} :
18349 then :
18350 if test ${PKG_CONFIG+y}
18351 then :
18352 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18359 ac_save_CPPFLAGS=$CPPFLAGS
18360 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18362 printf %s "checking for -lnetapi... " >&6; }
18363 if test ${ac_cv_lib_soname_netapi+y}
18364 then :
18365 printf %s "(cached) " >&6
18366 else $as_nop
18367 ac_check_soname_save_LIBS=$LIBS
18368 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18372 /* Override any GCC internal prototype to avoid an error.
18373 Use char because int might match the return type of a GCC
18374 builtin and then its argument prototype would still apply. */
18375 char libnetapi_init ();
18377 main (void)
18379 return libnetapi_init ();
18381 return 0;
18383 _ACEOF
18384 if ac_fn_c_try_link "$LINENO"
18385 then :
18386 case "$LIBEXT" in
18387 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18388 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'` ;;
18389 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18390 if ${ac_cv_lib_soname_netapi:+false} :
18391 then :
18392 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18393 fi ;;
18394 esac
18395 else $as_nop
18396 ac_cv_lib_soname_netapi=
18398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18399 conftest$ac_exeext conftest.$ac_ext
18400 LIBS=$ac_check_soname_save_LIBS
18402 if ${ac_cv_lib_soname_netapi:+false} :
18403 then :
18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18405 printf "%s\n" "not found" >&6; }
18406 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18408 else $as_nop
18409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18410 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18412 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18416 CPPFLAGS=$ac_save_CPPFLAGS
18419 if test "x$ac_cv_lib_soname_netapi" = "x"
18420 then :
18421 case "x$with_netapi" in
18422 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18423 xno) ;;
18424 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18425 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18426 esac
18427 enable_netapi=${enable_netapi:-no}
18431 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18432 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18433 then
18434 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18437 if test "x$with_vulkan" != "xno"
18438 then
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18440 printf %s "checking for -lvulkan... " >&6; }
18441 if test ${ac_cv_lib_soname_vulkan+y}
18442 then :
18443 printf %s "(cached) " >&6
18444 else $as_nop
18445 ac_check_soname_save_LIBS=$LIBS
18446 LIBS="-lvulkan $LIBS"
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18450 /* Override any GCC internal prototype to avoid an error.
18451 Use char because int might match the return type of a GCC
18452 builtin and then its argument prototype would still apply. */
18453 char vkGetInstanceProcAddr ();
18455 main (void)
18457 return vkGetInstanceProcAddr ();
18459 return 0;
18461 _ACEOF
18462 if ac_fn_c_try_link "$LINENO"
18463 then :
18464 case "$LIBEXT" in
18465 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18466 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'` ;;
18467 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18468 if ${ac_cv_lib_soname_vulkan:+false} :
18469 then :
18470 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18471 fi ;;
18472 esac
18473 else $as_nop
18474 ac_cv_lib_soname_vulkan=
18476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18477 conftest$ac_exeext conftest.$ac_ext
18478 LIBS=$ac_check_soname_save_LIBS
18480 if ${ac_cv_lib_soname_vulkan:+false} :
18481 then :
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18483 printf "%s\n" "not found" >&6; }
18485 else $as_nop
18486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18487 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18489 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18493 if test "x$ac_cv_lib_soname_vulkan" = "x"
18494 then
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18496 printf %s "checking for -lMoltenVK... " >&6; }
18497 if test ${ac_cv_lib_soname_MoltenVK+y}
18498 then :
18499 printf %s "(cached) " >&6
18500 else $as_nop
18501 ac_check_soname_save_LIBS=$LIBS
18502 LIBS="-lMoltenVK $LIBS"
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18506 /* Override any GCC internal prototype to avoid an error.
18507 Use char because int might match the return type of a GCC
18508 builtin and then its argument prototype would still apply. */
18509 char vkGetInstanceProcAddr ();
18511 main (void)
18513 return vkGetInstanceProcAddr ();
18515 return 0;
18517 _ACEOF
18518 if ac_fn_c_try_link "$LINENO"
18519 then :
18520 case "$LIBEXT" in
18521 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18522 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'` ;;
18523 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18524 if ${ac_cv_lib_soname_MoltenVK:+false} :
18525 then :
18526 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18527 fi ;;
18528 esac
18529 else $as_nop
18530 ac_cv_lib_soname_MoltenVK=
18532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18533 conftest$ac_exeext conftest.$ac_ext
18534 LIBS=$ac_check_soname_save_LIBS
18536 if ${ac_cv_lib_soname_MoltenVK:+false} :
18537 then :
18538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18539 printf "%s\n" "not found" >&6; }
18541 else $as_nop
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18543 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18545 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18551 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18552 then :
18553 case "x$with_vulkan" in
18554 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18555 xno) ;;
18556 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18557 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18558 esac
18563 if test "x${GCC}" = "xyes"
18564 then
18565 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18567 saved_CFLAGS=$CFLAGS
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18569 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18570 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18571 then :
18572 printf %s "(cached) " >&6
18573 else $as_nop
18574 ac_wine_try_cflags_saved=$CFLAGS
18575 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 int main(int argc, char **argv) { return 0; }
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"
18581 then :
18582 ac_cv_cflags__Werror_unknown_warning_option=yes
18583 else $as_nop
18584 ac_cv_cflags__Werror_unknown_warning_option=no
18586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18587 conftest$ac_exeext conftest.$ac_ext
18588 CFLAGS=$ac_wine_try_cflags_saved
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18591 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18592 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18593 then :
18594 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18597 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18598 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18599 then :
18600 printf %s "(cached) " >&6
18601 else $as_nop
18602 ac_wine_try_cflags_saved=$CFLAGS
18603 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 int main(int argc, char **argv) { return 0; }
18607 _ACEOF
18608 if ac_fn_c_try_link "$LINENO"
18609 then :
18610 ac_cv_cflags__Werror_unused_command_line_argument=yes
18611 else $as_nop
18612 ac_cv_cflags__Werror_unused_command_line_argument=no
18614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18615 conftest$ac_exeext conftest.$ac_ext
18616 CFLAGS=$ac_wine_try_cflags_saved
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18619 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18620 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18621 then :
18622 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18625 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18626 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18627 then :
18628 printf %s "(cached) " >&6
18629 else $as_nop
18630 ac_wine_try_cflags_saved=$CFLAGS
18631 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 int main(int argc, char **argv) { return 0; }
18635 _ACEOF
18636 if ac_fn_c_try_link "$LINENO"
18637 then :
18638 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18639 else $as_nop
18640 ac_cv_cflags__Werror_ignored_optimization_argument=no
18642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18643 conftest$ac_exeext conftest.$ac_ext
18644 CFLAGS=$ac_wine_try_cflags_saved
18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18647 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18648 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18649 then :
18650 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18653 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18654 if test ${ac_cv_cflags__fcf_protection_none+y}
18655 then :
18656 printf %s "(cached) " >&6
18657 else $as_nop
18658 ac_wine_try_cflags_saved=$CFLAGS
18659 CFLAGS="$CFLAGS -fcf-protection=none"
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 int main(int argc, char **argv) { return 0; }
18663 _ACEOF
18664 if ac_fn_c_try_link "$LINENO"
18665 then :
18666 ac_cv_cflags__fcf_protection_none=yes
18667 else $as_nop
18668 ac_cv_cflags__fcf_protection_none=no
18670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18671 conftest$ac_exeext conftest.$ac_ext
18672 CFLAGS=$ac_wine_try_cflags_saved
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18675 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18676 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18677 then :
18678 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18681 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18682 if test ${ac_cv_cflags__fno_stack_protector+y}
18683 then :
18684 printf %s "(cached) " >&6
18685 else $as_nop
18686 ac_wine_try_cflags_saved=$CFLAGS
18687 CFLAGS="$CFLAGS -fno-stack-protector"
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 int main(int argc, char **argv) { return 0; }
18691 _ACEOF
18692 if ac_fn_c_try_link "$LINENO"
18693 then :
18694 ac_cv_cflags__fno_stack_protector=yes
18695 else $as_nop
18696 ac_cv_cflags__fno_stack_protector=no
18698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18699 conftest$ac_exeext conftest.$ac_ext
18700 CFLAGS=$ac_wine_try_cflags_saved
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18703 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18704 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18705 then :
18706 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18709 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18710 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18711 then :
18712 printf %s "(cached) " >&6
18713 else $as_nop
18714 ac_wine_try_cflags_saved=$CFLAGS
18715 CFLAGS="$CFLAGS -fno-strict-aliasing"
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 int main(int argc, char **argv) { return 0; }
18719 _ACEOF
18720 if ac_fn_c_try_link "$LINENO"
18721 then :
18722 ac_cv_cflags__fno_strict_aliasing=yes
18723 else $as_nop
18724 ac_cv_cflags__fno_strict_aliasing=no
18726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18727 conftest$ac_exeext conftest.$ac_ext
18728 CFLAGS=$ac_wine_try_cflags_saved
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18731 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18732 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18733 then :
18734 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18737 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18738 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18739 then :
18740 printf %s "(cached) " >&6
18741 else $as_nop
18742 ac_wine_try_cflags_saved=$CFLAGS
18743 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 int main(int argc, char **argv) { return 0; }
18747 _ACEOF
18748 if ac_fn_c_try_link "$LINENO"
18749 then :
18750 ac_cv_cflags__Wdeclaration_after_statement=yes
18751 else $as_nop
18752 ac_cv_cflags__Wdeclaration_after_statement=no
18754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18755 conftest$ac_exeext conftest.$ac_ext
18756 CFLAGS=$ac_wine_try_cflags_saved
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18759 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18760 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18761 then :
18762 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18765 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18766 if test ${ac_cv_cflags__Wempty_body+y}
18767 then :
18768 printf %s "(cached) " >&6
18769 else $as_nop
18770 ac_wine_try_cflags_saved=$CFLAGS
18771 CFLAGS="$CFLAGS -Wempty-body"
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 int main(int argc, char **argv) { return 0; }
18775 _ACEOF
18776 if ac_fn_c_try_link "$LINENO"
18777 then :
18778 ac_cv_cflags__Wempty_body=yes
18779 else $as_nop
18780 ac_cv_cflags__Wempty_body=no
18782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18783 conftest$ac_exeext conftest.$ac_ext
18784 CFLAGS=$ac_wine_try_cflags_saved
18786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18787 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18788 if test "x$ac_cv_cflags__Wempty_body" = xyes
18789 then :
18790 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18793 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18794 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18795 then :
18796 printf %s "(cached) " >&6
18797 else $as_nop
18798 ac_wine_try_cflags_saved=$CFLAGS
18799 CFLAGS="$CFLAGS -Wignored-qualifiers"
18800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 int main(int argc, char **argv) { return 0; }
18803 _ACEOF
18804 if ac_fn_c_try_link "$LINENO"
18805 then :
18806 ac_cv_cflags__Wignored_qualifiers=yes
18807 else $as_nop
18808 ac_cv_cflags__Wignored_qualifiers=no
18810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18811 conftest$ac_exeext conftest.$ac_ext
18812 CFLAGS=$ac_wine_try_cflags_saved
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18815 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18816 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18817 then :
18818 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18821 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18822 if test ${ac_cv_cflags__Winit_self+y}
18823 then :
18824 printf %s "(cached) " >&6
18825 else $as_nop
18826 ac_wine_try_cflags_saved=$CFLAGS
18827 CFLAGS="$CFLAGS -Winit-self"
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830 int main(int argc, char **argv) { return 0; }
18831 _ACEOF
18832 if ac_fn_c_try_link "$LINENO"
18833 then :
18834 ac_cv_cflags__Winit_self=yes
18835 else $as_nop
18836 ac_cv_cflags__Winit_self=no
18838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18839 conftest$ac_exeext conftest.$ac_ext
18840 CFLAGS=$ac_wine_try_cflags_saved
18842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18843 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18844 if test "x$ac_cv_cflags__Winit_self" = xyes
18845 then :
18846 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18849 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18850 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18851 then :
18852 printf %s "(cached) " >&6
18853 else $as_nop
18854 ac_wine_try_cflags_saved=$CFLAGS
18855 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 int main(int argc, char **argv) { return 0; }
18859 _ACEOF
18860 if ac_fn_c_try_link "$LINENO"
18861 then :
18862 ac_cv_cflags__Wpacked_not_aligned=yes
18863 else $as_nop
18864 ac_cv_cflags__Wpacked_not_aligned=no
18866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18867 conftest$ac_exeext conftest.$ac_ext
18868 CFLAGS=$ac_wine_try_cflags_saved
18870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18871 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18872 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18873 then :
18874 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18877 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18878 if test ${ac_cv_cflags__Wpragma_pack+y}
18879 then :
18880 printf %s "(cached) " >&6
18881 else $as_nop
18882 ac_wine_try_cflags_saved=$CFLAGS
18883 CFLAGS="$CFLAGS -Wpragma-pack"
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 int main(int argc, char **argv) { return 0; }
18887 _ACEOF
18888 if ac_fn_c_try_link "$LINENO"
18889 then :
18890 ac_cv_cflags__Wpragma_pack=yes
18891 else $as_nop
18892 ac_cv_cflags__Wpragma_pack=no
18894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18895 conftest$ac_exeext conftest.$ac_ext
18896 CFLAGS=$ac_wine_try_cflags_saved
18898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18899 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18900 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18901 then :
18902 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18905 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18906 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18907 then :
18908 printf %s "(cached) " >&6
18909 else $as_nop
18910 ac_wine_try_cflags_saved=$CFLAGS
18911 CFLAGS="$CFLAGS -Wshift-overflow=2"
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914 int main(int argc, char **argv) { return 0; }
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"
18917 then :
18918 ac_cv_cflags__Wshift_overflow_2=yes
18919 else $as_nop
18920 ac_cv_cflags__Wshift_overflow_2=no
18922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18923 conftest$ac_exeext conftest.$ac_ext
18924 CFLAGS=$ac_wine_try_cflags_saved
18926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18927 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18928 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18929 then :
18930 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18933 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18934 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18935 then :
18936 printf %s "(cached) " >&6
18937 else $as_nop
18938 ac_wine_try_cflags_saved=$CFLAGS
18939 CFLAGS="$CFLAGS -Wstrict-prototypes"
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 int main(int argc, char **argv) { return 0; }
18943 _ACEOF
18944 if ac_fn_c_try_link "$LINENO"
18945 then :
18946 ac_cv_cflags__Wstrict_prototypes=yes
18947 else $as_nop
18948 ac_cv_cflags__Wstrict_prototypes=no
18950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18951 conftest$ac_exeext conftest.$ac_ext
18952 CFLAGS=$ac_wine_try_cflags_saved
18954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18955 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18956 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18957 then :
18958 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18961 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18962 if test ${ac_cv_cflags__Wtype_limits+y}
18963 then :
18964 printf %s "(cached) " >&6
18965 else $as_nop
18966 ac_wine_try_cflags_saved=$CFLAGS
18967 CFLAGS="$CFLAGS -Wtype-limits"
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 int main(int argc, char **argv) { return 0; }
18971 _ACEOF
18972 if ac_fn_c_try_link "$LINENO"
18973 then :
18974 ac_cv_cflags__Wtype_limits=yes
18975 else $as_nop
18976 ac_cv_cflags__Wtype_limits=no
18978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18979 conftest$ac_exeext conftest.$ac_ext
18980 CFLAGS=$ac_wine_try_cflags_saved
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18983 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18984 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18985 then :
18986 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18989 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18990 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18991 then :
18992 printf %s "(cached) " >&6
18993 else $as_nop
18994 ac_wine_try_cflags_saved=$CFLAGS
18995 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 int main(int argc, char **argv) { return 0; }
18999 _ACEOF
19000 if ac_fn_c_try_link "$LINENO"
19001 then :
19002 ac_cv_cflags__Wunused_but_set_parameter=yes
19003 else $as_nop
19004 ac_cv_cflags__Wunused_but_set_parameter=no
19006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19007 conftest$ac_exeext conftest.$ac_ext
19008 CFLAGS=$ac_wine_try_cflags_saved
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19011 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19012 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19013 then :
19014 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19017 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19018 if test ${ac_cv_cflags__Wvla+y}
19019 then :
19020 printf %s "(cached) " >&6
19021 else $as_nop
19022 ac_wine_try_cflags_saved=$CFLAGS
19023 CFLAGS="$CFLAGS -Wvla"
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 int main(int argc, char **argv) { return 0; }
19027 _ACEOF
19028 if ac_fn_c_try_link "$LINENO"
19029 then :
19030 ac_cv_cflags__Wvla=yes
19031 else $as_nop
19032 ac_cv_cflags__Wvla=no
19034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19035 conftest$ac_exeext conftest.$ac_ext
19036 CFLAGS=$ac_wine_try_cflags_saved
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19039 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19040 if test "x$ac_cv_cflags__Wvla" = xyes
19041 then :
19042 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19045 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19046 if test ${ac_cv_cflags__Wwrite_strings+y}
19047 then :
19048 printf %s "(cached) " >&6
19049 else $as_nop
19050 ac_wine_try_cflags_saved=$CFLAGS
19051 CFLAGS="$CFLAGS -Wwrite-strings"
19052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19053 /* end confdefs.h. */
19054 int main(int argc, char **argv) { return 0; }
19055 _ACEOF
19056 if ac_fn_c_try_link "$LINENO"
19057 then :
19058 ac_cv_cflags__Wwrite_strings=yes
19059 else $as_nop
19060 ac_cv_cflags__Wwrite_strings=no
19062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19063 conftest$ac_exeext conftest.$ac_ext
19064 CFLAGS=$ac_wine_try_cflags_saved
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19067 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19068 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19069 then :
19070 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19074 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19075 if test ${ac_cv_cflags__Wpointer_arith+y}
19076 then :
19077 printf %s "(cached) " >&6
19078 else $as_nop
19079 ac_wine_try_cflags_saved=$CFLAGS
19080 CFLAGS="$CFLAGS -Wpointer-arith"
19081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19082 /* end confdefs.h. */
19083 int main(int argc, char **argv) { return 0; }
19084 _ACEOF
19085 if ac_fn_c_try_link "$LINENO"
19086 then :
19087 ac_cv_cflags__Wpointer_arith=yes
19088 else $as_nop
19089 ac_cv_cflags__Wpointer_arith=no
19091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19092 conftest$ac_exeext conftest.$ac_ext
19093 CFLAGS=$ac_wine_try_cflags_saved
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19096 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19097 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19098 then :
19099 saved_string_h_CFLAGS=$CFLAGS
19100 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19102 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19103 if test ${ac_cv_c_string_h_warnings+y}
19104 then :
19105 printf %s "(cached) " >&6
19106 else $as_nop
19107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19109 #include <string.h>
19111 main (void)
19115 return 0;
19117 _ACEOF
19118 if ac_fn_c_try_compile "$LINENO"
19119 then :
19120 ac_cv_c_string_h_warnings=no
19121 else $as_nop
19122 ac_cv_c_string_h_warnings=yes
19124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19127 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19128 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19129 CFLAGS=$saved_string_h_CFLAGS
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19133 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19134 if test ${ac_cv_cflags__Wlogical_op+y}
19135 then :
19136 printf %s "(cached) " >&6
19137 else $as_nop
19138 ac_wine_try_cflags_saved=$CFLAGS
19139 CFLAGS="$CFLAGS -Wlogical-op"
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 int main(int argc, char **argv) { return 0; }
19143 _ACEOF
19144 if ac_fn_c_try_link "$LINENO"
19145 then :
19146 ac_cv_cflags__Wlogical_op=yes
19147 else $as_nop
19148 ac_cv_cflags__Wlogical_op=no
19150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19151 conftest$ac_exeext conftest.$ac_ext
19152 CFLAGS=$ac_wine_try_cflags_saved
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19155 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19156 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19157 then :
19158 saved_string_h_CFLAGS=$CFLAGS
19159 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19161 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19162 if test ${ac_cv_c_logicalop_noisy+y}
19163 then :
19164 printf %s "(cached) " >&6
19165 else $as_nop
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 #include <string.h>
19169 char*f(const char *h,char n) {return strchr(h,n);}
19171 main (void)
19175 return 0;
19177 _ACEOF
19178 if ac_fn_c_try_compile "$LINENO"
19179 then :
19180 ac_cv_c_logicalop_noisy=no
19181 else $as_nop
19182 ac_cv_c_logicalop_noisy=yes
19184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19187 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19188 CFLAGS=$saved_string_h_CFLAGS
19189 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19193 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19194 if test ${wine_cv_64bit_compare_swap+y}
19195 then :
19196 printf %s "(cached) " >&6
19197 else $as_nop
19198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h. */
19200 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19201 #error no
19202 #endif
19204 main (void)
19208 return 0;
19210 _ACEOF
19211 if ac_fn_c_try_compile "$LINENO"
19212 then :
19213 wine_cv_64bit_compare_swap="none needed"
19214 else $as_nop
19215 case $host_cpu in
19216 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19217 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19218 *) wine_cv_64bit_compare_swap="unknown" ;;
19219 esac
19220 if test "x$wine_cv_64bit_compare_swap" != xunknown
19221 then
19222 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19226 #error no
19227 #endif
19229 main (void)
19233 return 0;
19235 _ACEOF
19236 if ac_fn_c_try_compile "$LINENO"
19237 then :
19239 else $as_nop
19240 wine_cv_64bit_compare_swap="unknown"
19242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19243 CFLAGS=$saved_CFLAGS
19246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19249 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19250 case "$wine_cv_64bit_compare_swap" in
19251 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19252 "none needed") ;;
19253 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19254 esac
19256 ac_debug_format_seen=""
19257 for ac_flag in $CFLAGS; do
19258 case $ac_flag in
19259 -gdwarf*) ac_debug_format_seen=yes ;;
19260 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19261 esac
19262 done
19263 if test "x$ac_debug_format_seen" = xdefault
19264 then
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19266 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19267 if test ${ac_cv_cflags__gdwarf_4+y}
19268 then :
19269 printf %s "(cached) " >&6
19270 else $as_nop
19271 ac_wine_try_cflags_saved=$CFLAGS
19272 CFLAGS="$CFLAGS -gdwarf-4"
19273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 int main(int argc, char **argv) { return 0; }
19276 _ACEOF
19277 if ac_fn_c_try_link "$LINENO"
19278 then :
19279 ac_cv_cflags__gdwarf_4=yes
19280 else $as_nop
19281 ac_cv_cflags__gdwarf_4=no
19283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19284 conftest$ac_exeext conftest.$ac_ext
19285 CFLAGS=$ac_wine_try_cflags_saved
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19288 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19289 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19290 then :
19291 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19295 MSVCRTFLAGS=""
19297 case $host_os in
19298 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19299 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19300 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19301 then :
19302 printf %s "(cached) " >&6
19303 else $as_nop
19304 ac_wine_try_cflags_saved=$CFLAGS
19305 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 int main(int argc, char **argv) { return 0; }
19309 _ACEOF
19310 if ac_fn_c_try_link "$LINENO"
19311 then :
19312 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19313 else $as_nop
19314 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19317 conftest$ac_exeext conftest.$ac_ext
19318 CFLAGS=$ac_wine_try_cflags_saved
19320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19321 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19322 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19323 then :
19324 DELAYLOADFLAG="-Wl,-delayload,"
19326 fi ;;
19327 *) MSVCRTFLAGS="-D_WIN32"
19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19329 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19330 if test ${ac_cv_cflags__fno_builtin+y}
19331 then :
19332 printf %s "(cached) " >&6
19333 else $as_nop
19334 ac_wine_try_cflags_saved=$CFLAGS
19335 CFLAGS="$CFLAGS -fno-builtin"
19336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19338 int main(int argc, char **argv) { return 0; }
19339 _ACEOF
19340 if ac_fn_c_try_link "$LINENO"
19341 then :
19342 ac_cv_cflags__fno_builtin=yes
19343 else $as_nop
19344 ac_cv_cflags__fno_builtin=no
19346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19347 conftest$ac_exeext conftest.$ac_ext
19348 CFLAGS=$ac_wine_try_cflags_saved
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19351 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19352 if test "x$ac_cv_cflags__fno_builtin" = xyes
19353 then :
19354 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19357 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19358 if test ${ac_cv_cflags__fshort_wchar+y}
19359 then :
19360 printf %s "(cached) " >&6
19361 else $as_nop
19362 ac_wine_try_cflags_saved=$CFLAGS
19363 CFLAGS="$CFLAGS -fshort-wchar"
19364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19365 /* end confdefs.h. */
19366 int main(int argc, char **argv) { return 0; }
19367 _ACEOF
19368 if ac_fn_c_try_link "$LINENO"
19369 then :
19370 ac_cv_cflags__fshort_wchar=yes
19371 else $as_nop
19372 ac_cv_cflags__fshort_wchar=no
19374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19375 conftest$ac_exeext conftest.$ac_ext
19376 CFLAGS=$ac_wine_try_cflags_saved
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19379 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19380 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19381 then :
19382 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19385 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19386 if test ${ac_cv_cflags__Wno_format+y}
19387 then :
19388 printf %s "(cached) " >&6
19389 else $as_nop
19390 ac_wine_try_cflags_saved=$CFLAGS
19391 CFLAGS="$CFLAGS -Wno-format"
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 int main(int argc, char **argv) { return 0; }
19395 _ACEOF
19396 if ac_fn_c_try_link "$LINENO"
19397 then :
19398 ac_cv_cflags__Wno_format=yes
19399 else $as_nop
19400 ac_cv_cflags__Wno_format=no
19402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19403 conftest$ac_exeext conftest.$ac_ext
19404 CFLAGS=$ac_wine_try_cflags_saved
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19407 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19408 if test "x$ac_cv_cflags__Wno_format" = xyes
19409 then :
19410 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19411 fi ;;
19412 esac
19414 case $host_cpu in
19415 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19416 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19417 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19418 then :
19419 printf %s "(cached) " >&6
19420 else $as_nop
19421 ac_wine_try_cflags_saved=$CFLAGS
19422 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 int main(int argc, char **argv) { return 0; }
19426 _ACEOF
19427 if ac_fn_c_try_link "$LINENO"
19428 then :
19429 ac_cv_cflags__fno_omit_frame_pointer=yes
19430 else $as_nop
19431 ac_cv_cflags__fno_omit_frame_pointer=no
19433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19434 conftest$ac_exeext conftest.$ac_ext
19435 CFLAGS=$ac_wine_try_cflags_saved
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19438 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19439 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19440 then :
19441 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19442 fi ;;
19443 *x86_64*)
19444 case $host_os in
19445 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19446 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19447 if test ${ac_cv_cflags__Wno_format+y}
19448 then :
19449 printf %s "(cached) " >&6
19450 else $as_nop
19451 ac_wine_try_cflags_saved=$CFLAGS
19452 CFLAGS="$CFLAGS -Wno-format"
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 int main(int argc, char **argv) { return 0; }
19456 _ACEOF
19457 if ac_fn_c_try_link "$LINENO"
19458 then :
19459 ac_cv_cflags__Wno_format=yes
19460 else $as_nop
19461 ac_cv_cflags__Wno_format=no
19463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19464 conftest$ac_exeext conftest.$ac_ext
19465 CFLAGS=$ac_wine_try_cflags_saved
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19468 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19469 if test "x$ac_cv_cflags__Wno_format" = xyes
19470 then :
19471 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19472 fi ;;
19473 *) if test -z "$PE_ARCHS"
19474 then
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19476 printf %s "checking for working -mabi=ms... " >&6; }
19477 if test ${ac_cv_mabi_ms+y}
19478 then :
19479 printf %s "(cached) " >&6
19480 else $as_nop
19481 CFLAGS="$CFLAGS -mabi=ms"
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 #include <stdarg.h>
19485 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19487 main (void)
19491 return 0;
19493 _ACEOF
19494 if ac_fn_c_try_compile "$LINENO"
19495 then :
19496 ac_cv_mabi_ms=yes
19497 else $as_nop
19498 ac_cv_mabi_ms=no
19500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19501 CFLAGS=$saved_CFLAGS
19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19504 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19505 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
19507 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19508 esac ;;
19509 arm*)
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19511 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19512 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19513 then :
19514 printf %s "(cached) " >&6
19515 else $as_nop
19516 ac_wine_try_cflags_saved=$CFLAGS
19517 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 int main(int argc, char **argv) { return 0; }
19521 _ACEOF
19522 if ac_fn_c_try_link "$LINENO"
19523 then :
19524 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19525 else $as_nop
19526 ac_cv_cflags__Wincompatible_function_pointer_types=no
19528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19529 conftest$ac_exeext conftest.$ac_ext
19530 CFLAGS=$ac_wine_try_cflags_saved
19532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19533 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19534 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19535 then :
19536 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19537 fi ;;
19538 esac
19540 CFLAGS=$saved_CFLAGS
19542 if test "x$enable_werror" = "xyes"
19543 then
19544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19545 printf %s "checking whether the compiler supports -Werror... " >&6; }
19546 if test ${ac_cv_cflags__Werror+y}
19547 then :
19548 printf %s "(cached) " >&6
19549 else $as_nop
19550 ac_wine_try_cflags_saved=$CFLAGS
19551 CFLAGS="$CFLAGS -Werror"
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 int main(int argc, char **argv) { return 0; }
19555 _ACEOF
19556 if ac_fn_c_try_link "$LINENO"
19557 then :
19558 ac_cv_cflags__Werror=yes
19559 else $as_nop
19560 ac_cv_cflags__Werror=no
19562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19563 conftest$ac_exeext conftest.$ac_ext
19564 CFLAGS=$ac_wine_try_cflags_saved
19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19567 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19568 if test "x$ac_cv_cflags__Werror" = xyes
19569 then :
19570 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19573 if test "x$enable_build_id" = "xyes"
19574 then
19575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19576 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19577 if test ${ac_cv_cflags__Wl___build_id+y}
19578 then :
19579 printf %s "(cached) " >&6
19580 else $as_nop
19581 ac_wine_try_cflags_saved=$CFLAGS
19582 CFLAGS="$CFLAGS -Wl,--build-id"
19583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19584 /* end confdefs.h. */
19585 int main(int argc, char **argv) { return 0; }
19586 _ACEOF
19587 if ac_fn_c_try_link "$LINENO"
19588 then :
19589 ac_cv_cflags__Wl___build_id=yes
19590 else $as_nop
19591 ac_cv_cflags__Wl___build_id=no
19593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19594 conftest$ac_exeext conftest.$ac_ext
19595 CFLAGS=$ac_wine_try_cflags_saved
19597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19598 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19599 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19600 then :
19601 CFLAGS="$CFLAGS -Wl,--build-id"
19602 LDFLAGS="$LDFLAGS -Wl,--build-id"
19608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19609 printf %s "checking for the need to disable Fortify... " >&6; }
19610 if test ${ac_cv_c_fortify_enabled+y}
19611 then :
19612 printf %s "(cached) " >&6
19613 else $as_nop
19614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19616 #include <string.h>
19618 main (void)
19620 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19621 #error Fortify enabled
19622 #endif
19624 return 0;
19626 _ACEOF
19627 if ac_fn_c_try_compile "$LINENO"
19628 then :
19629 ac_cv_c_fortify_enabled=no
19630 else $as_nop
19631 ac_cv_c_fortify_enabled=yes
19633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19636 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19637 if test "$ac_cv_c_fortify_enabled" = yes
19638 then
19639 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19644 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19645 if test ${ac_cv_c_cfi_support+y}
19646 then :
19647 printf %s "(cached) " >&6
19648 else $as_nop
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19653 main (void)
19657 return 0;
19659 _ACEOF
19660 if ac_fn_c_try_compile "$LINENO"
19661 then :
19662 ac_cv_c_cfi_support="yes"
19663 else $as_nop
19664 ac_cv_c_cfi_support="no"
19666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19669 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19670 if test "$ac_cv_c_cfi_support" = "yes"
19671 then
19672 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19673 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19674 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19675 elif test $HOST_ARCH = x86_64
19676 then
19677 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19681 case $host_os in
19682 linux*)
19683 case $host_cpu in
19684 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19685 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19686 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19688 esac
19690 esac
19693 ac_save_CFLAGS="$CFLAGS"
19694 CFLAGS="$CFLAGS $BUILTINFLAG"
19695 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19696 if test "x$ac_cv_func_epoll_create" = xyes
19697 then :
19698 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19701 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19702 if test "x$ac_cv_func_fstatfs" = xyes
19703 then :
19704 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19707 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19708 if test "x$ac_cv_func_futimens" = xyes
19709 then :
19710 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19713 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19714 if test "x$ac_cv_func_futimes" = xyes
19715 then :
19716 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19719 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19720 if test "x$ac_cv_func_futimesat" = xyes
19721 then :
19722 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19725 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19726 if test "x$ac_cv_func_getattrlist" = xyes
19727 then :
19728 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19731 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19732 if test "x$ac_cv_func_getauxval" = xyes
19733 then :
19734 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19737 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19738 if test "x$ac_cv_func_getifaddrs" = xyes
19739 then :
19740 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19743 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19744 if test "x$ac_cv_func_getrandom" = xyes
19745 then :
19746 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19749 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19750 if test "x$ac_cv_func_kqueue" = xyes
19751 then :
19752 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19755 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19756 if test "x$ac_cv_func_mach_continuous_time" = xyes
19757 then :
19758 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19761 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19762 if test "x$ac_cv_func_pipe2" = xyes
19763 then :
19764 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19767 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19768 if test "x$ac_cv_func_port_create" = xyes
19769 then :
19770 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19773 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19774 if test "x$ac_cv_func_posix_fadvise" = xyes
19775 then :
19776 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19779 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19780 if test "x$ac_cv_func_posix_fallocate" = xyes
19781 then :
19782 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19785 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19786 if test "x$ac_cv_func_prctl" = xyes
19787 then :
19788 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19791 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19792 if test "x$ac_cv_func_proc_pidinfo" = xyes
19793 then :
19794 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19797 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19798 if test "x$ac_cv_func_sched_yield" = xyes
19799 then :
19800 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19803 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19804 if test "x$ac_cv_func_setproctitle" = xyes
19805 then :
19806 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19809 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19810 if test "x$ac_cv_func_setprogname" = xyes
19811 then :
19812 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19815 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19816 if test "x$ac_cv_func_sigprocmask" = xyes
19817 then :
19818 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19821 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19822 if test "x$ac_cv_func_sysinfo" = xyes
19823 then :
19824 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19827 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19828 if test "x$ac_cv_func_tcdrain" = xyes
19829 then :
19830 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19833 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19834 if test "x$ac_cv_func_thr_kill2" = xyes
19835 then :
19836 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19840 CFLAGS="$ac_save_CFLAGS"
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19843 printf %s "checking for library containing dlopen... " >&6; }
19844 if test ${ac_cv_search_dlopen+y}
19845 then :
19846 printf %s "(cached) " >&6
19847 else $as_nop
19848 ac_func_search_save_LIBS=$LIBS
19849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19852 /* Override any GCC internal prototype to avoid an error.
19853 Use char because int might match the return type of a GCC
19854 builtin and then its argument prototype would still apply. */
19855 char dlopen ();
19857 main (void)
19859 return dlopen ();
19861 return 0;
19863 _ACEOF
19864 for ac_lib in '' dl
19866 if test -z "$ac_lib"; then
19867 ac_res="none required"
19868 else
19869 ac_res=-l$ac_lib
19870 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19872 if ac_fn_c_try_link "$LINENO"
19873 then :
19874 ac_cv_search_dlopen=$ac_res
19876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19877 conftest$ac_exeext
19878 if test ${ac_cv_search_dlopen+y}
19879 then :
19880 break
19882 done
19883 if test ${ac_cv_search_dlopen+y}
19884 then :
19886 else $as_nop
19887 ac_cv_search_dlopen=no
19889 rm conftest.$ac_ext
19890 LIBS=$ac_func_search_save_LIBS
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19893 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19894 ac_res=$ac_cv_search_dlopen
19895 if test "$ac_res" != no
19896 then :
19897 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19901 ac_wine_check_funcs_save_LIBS="$LIBS"
19902 LIBS="$LIBS $DL_LIBS"
19903 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19904 if test "x$ac_cv_func_dlinfo" = xyes
19905 then :
19906 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19910 LIBS="$ac_wine_check_funcs_save_LIBS"
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19913 printf %s "checking for library containing gethostbyname... " >&6; }
19914 if test ${ac_cv_search_gethostbyname+y}
19915 then :
19916 printf %s "(cached) " >&6
19917 else $as_nop
19918 ac_func_search_save_LIBS=$LIBS
19919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19922 /* Override any GCC internal prototype to avoid an error.
19923 Use char because int might match the return type of a GCC
19924 builtin and then its argument prototype would still apply. */
19925 char gethostbyname ();
19927 main (void)
19929 return gethostbyname ();
19931 return 0;
19933 _ACEOF
19934 for ac_lib in '' nsl
19936 if test -z "$ac_lib"; then
19937 ac_res="none required"
19938 else
19939 ac_res=-l$ac_lib
19940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19942 if ac_fn_c_try_link "$LINENO"
19943 then :
19944 ac_cv_search_gethostbyname=$ac_res
19946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19947 conftest$ac_exeext
19948 if test ${ac_cv_search_gethostbyname+y}
19949 then :
19950 break
19952 done
19953 if test ${ac_cv_search_gethostbyname+y}
19954 then :
19956 else $as_nop
19957 ac_cv_search_gethostbyname=no
19959 rm conftest.$ac_ext
19960 LIBS=$ac_func_search_save_LIBS
19962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19963 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19964 ac_res=$ac_cv_search_gethostbyname
19965 if test "$ac_res" != no
19966 then :
19967 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19973 printf %s "checking for library containing connect... " >&6; }
19974 if test ${ac_cv_search_connect+y}
19975 then :
19976 printf %s "(cached) " >&6
19977 else $as_nop
19978 ac_func_search_save_LIBS=$LIBS
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 /* Override any GCC internal prototype to avoid an error.
19983 Use char because int might match the return type of a GCC
19984 builtin and then its argument prototype would still apply. */
19985 char connect ();
19987 main (void)
19989 return connect ();
19991 return 0;
19993 _ACEOF
19994 for ac_lib in '' socket
19996 if test -z "$ac_lib"; then
19997 ac_res="none required"
19998 else
19999 ac_res=-l$ac_lib
20000 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20002 if ac_fn_c_try_link "$LINENO"
20003 then :
20004 ac_cv_search_connect=$ac_res
20006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20007 conftest$ac_exeext
20008 if test ${ac_cv_search_connect+y}
20009 then :
20010 break
20012 done
20013 if test ${ac_cv_search_connect+y}
20014 then :
20016 else $as_nop
20017 ac_cv_search_connect=no
20019 rm conftest.$ac_ext
20020 LIBS=$ac_func_search_save_LIBS
20022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20023 printf "%s\n" "$ac_cv_search_connect" >&6; }
20024 ac_res=$ac_cv_search_connect
20025 if test "$ac_res" != no
20026 then :
20027 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20033 printf %s "checking for library containing inet_aton... " >&6; }
20034 if test ${ac_cv_search_inet_aton+y}
20035 then :
20036 printf %s "(cached) " >&6
20037 else $as_nop
20038 ac_func_search_save_LIBS=$LIBS
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 /* Override any GCC internal prototype to avoid an error.
20043 Use char because int might match the return type of a GCC
20044 builtin and then its argument prototype would still apply. */
20045 char inet_aton ();
20047 main (void)
20049 return inet_aton ();
20051 return 0;
20053 _ACEOF
20054 for ac_lib in '' resolv
20056 if test -z "$ac_lib"; then
20057 ac_res="none required"
20058 else
20059 ac_res=-l$ac_lib
20060 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20062 if ac_fn_c_try_link "$LINENO"
20063 then :
20064 ac_cv_search_inet_aton=$ac_res
20066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20067 conftest$ac_exeext
20068 if test ${ac_cv_search_inet_aton+y}
20069 then :
20070 break
20072 done
20073 if test ${ac_cv_search_inet_aton+y}
20074 then :
20076 else $as_nop
20077 ac_cv_search_inet_aton=no
20079 rm conftest.$ac_ext
20080 LIBS=$ac_func_search_save_LIBS
20082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20083 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20084 ac_res=$ac_cv_search_inet_aton
20085 if test "$ac_res" != no
20086 then :
20087 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20092 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20093 if test "x$ac_cv_func_getaddrinfo" = xyes
20094 then :
20095 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20100 case $host_os in
20101 darwin*|macosx*) ;;
20102 *) ac_save_LIBS=$LIBS
20103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20104 printf %s "checking for library containing clock_gettime... " >&6; }
20105 if test ${ac_cv_search_clock_gettime+y}
20106 then :
20107 printf %s "(cached) " >&6
20108 else $as_nop
20109 ac_func_search_save_LIBS=$LIBS
20110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h. */
20113 /* Override any GCC internal prototype to avoid an error.
20114 Use char because int might match the return type of a GCC
20115 builtin and then its argument prototype would still apply. */
20116 char clock_gettime ();
20118 main (void)
20120 return clock_gettime ();
20122 return 0;
20124 _ACEOF
20125 for ac_lib in '' rt
20127 if test -z "$ac_lib"; then
20128 ac_res="none required"
20129 else
20130 ac_res=-l$ac_lib
20131 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20133 if ac_fn_c_try_link "$LINENO"
20134 then :
20135 ac_cv_search_clock_gettime=$ac_res
20137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20138 conftest$ac_exeext
20139 if test ${ac_cv_search_clock_gettime+y}
20140 then :
20141 break
20143 done
20144 if test ${ac_cv_search_clock_gettime+y}
20145 then :
20147 else $as_nop
20148 ac_cv_search_clock_gettime=no
20150 rm conftest.$ac_ext
20151 LIBS=$ac_func_search_save_LIBS
20153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20154 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20155 ac_res=$ac_cv_search_clock_gettime
20156 if test "$ac_res" != no
20157 then :
20158 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20160 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20162 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20166 LIBS=$ac_save_LIBS
20168 esac
20170 if test "x$with_ldap" != "xno"
20171 then
20172 if ${LDAP_CFLAGS:+false} :
20173 then :
20174 if test ${PKG_CONFIG+y}
20175 then :
20176 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20180 if ${LDAP_LIBS:+false} :
20181 then :
20182 if test ${PKG_CONFIG+y}
20183 then :
20184 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20188 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20191 ac_save_CPPFLAGS=$CPPFLAGS
20192 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20193 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20194 if test "x$ac_cv_header_ldap_h" = xyes
20195 then :
20196 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20199 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20200 if test "x$ac_cv_header_lber_h" = xyes
20201 then :
20202 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20206 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20207 then
20208 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20210 if test "x$ac_cv_type_LDAPSortKey" = xyes
20211 then :
20212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20213 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20214 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20215 then :
20216 printf %s "(cached) " >&6
20217 else $as_nop
20218 ac_check_lib_save_LIBS=$LIBS
20219 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20221 /* end confdefs.h. */
20223 /* Override any GCC internal prototype to avoid an error.
20224 Use char because int might match the return type of a GCC
20225 builtin and then its argument prototype would still apply. */
20226 char ldap_initialize ();
20228 main (void)
20230 return ldap_initialize ();
20232 return 0;
20234 _ACEOF
20235 if ac_fn_c_try_link "$LINENO"
20236 then :
20237 ac_cv_lib_ldap_ldap_initialize=yes
20238 else $as_nop
20239 ac_cv_lib_ldap_ldap_initialize=no
20241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20242 conftest$ac_exeext conftest.$ac_ext
20243 LIBS=$ac_check_lib_save_LIBS
20245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20246 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20247 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20248 then :
20249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20250 printf %s "checking for ber_init in -llber... " >&6; }
20251 if test ${ac_cv_lib_lber_ber_init+y}
20252 then :
20253 printf %s "(cached) " >&6
20254 else $as_nop
20255 ac_check_lib_save_LIBS=$LIBS
20256 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20260 /* Override any GCC internal prototype to avoid an error.
20261 Use char because int might match the return type of a GCC
20262 builtin and then its argument prototype would still apply. */
20263 char ber_init ();
20265 main (void)
20267 return ber_init ();
20269 return 0;
20271 _ACEOF
20272 if ac_fn_c_try_link "$LINENO"
20273 then :
20274 ac_cv_lib_lber_ber_init=yes
20275 else $as_nop
20276 ac_cv_lib_lber_ber_init=no
20278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20279 conftest$ac_exeext conftest.$ac_ext
20280 LIBS=$ac_check_lib_save_LIBS
20282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20283 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20284 if test "x$ac_cv_lib_lber_ber_init" = xyes
20285 then :
20287 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20289 else $as_nop
20290 LDAP_LIBS=""
20293 else $as_nop
20294 LDAP_LIBS=""
20297 else $as_nop
20298 LDAP_LIBS=""
20301 else
20302 LDAP_LIBS=""
20304 CPPFLAGS=$ac_save_CPPFLAGS
20307 if test "x$LDAP_LIBS" = "x"
20308 then :
20309 case "x$with_ldap" in
20310 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20311 xno) ;;
20312 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20313 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20314 esac
20318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20319 printf %s "checking for sched_setaffinity... " >&6; }
20320 if test ${wine_cv_have_sched_setaffinity+y}
20321 then :
20322 printf %s "(cached) " >&6
20323 else $as_nop
20324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20325 /* end confdefs.h. */
20326 #include <sched.h>
20328 main (void)
20330 sched_setaffinity(0, 0, 0);
20332 return 0;
20334 _ACEOF
20335 if ac_fn_c_try_link "$LINENO"
20336 then :
20337 wine_cv_have_sched_setaffinity=yes
20338 else $as_nop
20339 wine_cv_have_sched_setaffinity=no
20341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20342 conftest$ac_exeext conftest.$ac_ext
20344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20345 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20346 if test "$wine_cv_have_sched_setaffinity" = "yes"
20347 then
20349 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20355 printf %s "checking for inline... " >&6; }
20356 if test ${ac_cv_c_inline+y}
20357 then :
20358 printf %s "(cached) " >&6
20359 else $as_nop
20360 ac_cv_c_inline=no
20361 for ac_kw in inline __inline__ __inline; do
20362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20363 /* end confdefs.h. */
20364 #ifndef __cplusplus
20365 typedef int foo_t;
20366 static $ac_kw foo_t static_foo (void) {return 0; }
20367 $ac_kw foo_t foo (void) {return 0; }
20368 #endif
20370 _ACEOF
20371 if ac_fn_c_try_compile "$LINENO"
20372 then :
20373 ac_cv_c_inline=$ac_kw
20375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20376 test "$ac_cv_c_inline" != no && break
20377 done
20380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20381 printf "%s\n" "$ac_cv_c_inline" >&6; }
20383 case $ac_cv_c_inline in
20384 inline | yes) ;;
20386 case $ac_cv_c_inline in
20387 no) ac_val=;;
20388 *) ac_val=$ac_cv_c_inline;;
20389 esac
20390 cat >>confdefs.h <<_ACEOF
20391 #ifndef __cplusplus
20392 #define inline $ac_val
20393 #endif
20394 _ACEOF
20396 esac
20398 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20399 #include <signal.h>
20401 if test "x$ac_cv_type_sigset_t" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20409 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20411 if test "x$ac_cv_type_request_sense" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20420 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20421 #include <sys/socket.h>
20422 #ifdef HAVE_SYS_SOCKETVAR_H
20423 #include <sys/socketvar.h>
20424 #endif
20425 #ifdef HAVE_NET_ROUTE_H
20426 #include <net/route.h>
20427 #endif
20428 #ifdef HAVE_NETINET_IN_H
20429 #include <netinet/in.h>
20430 #endif
20431 #ifdef HAVE_NETINET_IN_SYSTM_H
20432 #include <netinet/in_systm.h>
20433 #endif
20434 #ifdef HAVE_NETINET_IP_H
20435 #include <netinet/ip.h>
20436 #endif
20437 #ifdef HAVE_NETINET_IN_PCB_H
20438 #include <netinet/in_pcb.h>
20439 #endif
20441 if test "x$ac_cv_type_struct_xinpgen" = xyes
20442 then :
20444 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20451 printf %s "checking for sigaddset... " >&6; }
20452 if test ${wine_cv_have_sigaddset+y}
20453 then :
20454 printf %s "(cached) " >&6
20455 else $as_nop
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #include <signal.h>
20460 main (void)
20462 sigset_t set; sigaddset(&set,SIGTERM);
20464 return 0;
20466 _ACEOF
20467 if ac_fn_c_try_link "$LINENO"
20468 then :
20469 wine_cv_have_sigaddset=yes
20470 else $as_nop
20471 wine_cv_have_sigaddset=no
20473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20474 conftest$ac_exeext conftest.$ac_ext
20476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20477 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20478 if test "$wine_cv_have_sigaddset" = "yes"
20479 then
20481 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20487 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20488 if test ${wine_cv_linux_gethostbyname_r_6+y}
20489 then :
20490 printf %s "(cached) " >&6
20491 else $as_nop
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20494 #include <netdb.h>
20496 main (void)
20499 char *name=0;
20500 struct hostent he;
20501 struct hostent *result;
20502 char *buf=0;
20503 int bufsize=0;
20504 int errnr;
20505 char *addr=0;
20506 int addrlen=0;
20507 int addrtype=0;
20508 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20509 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20512 return 0;
20514 _ACEOF
20515 if ac_fn_c_try_link "$LINENO"
20516 then :
20517 wine_cv_linux_gethostbyname_r_6=yes
20518 else $as_nop
20519 wine_cv_linux_gethostbyname_r_6=no
20522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20523 conftest$ac_exeext conftest.$ac_ext
20526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20527 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20528 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20529 then
20531 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20535 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20536 #include <sys/socket.h>
20537 #ifdef HAVE_SYS_UN_H
20538 # include <sys/un.h>
20539 #endif
20541 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20542 then :
20544 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20548 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20549 #include <sys/socket.h>
20550 #ifdef HAVE_SYS_UN_H
20551 # include <sys/un.h>
20552 #endif
20554 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20555 then :
20557 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20563 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20564 #ifdef HAVE_SCSI_SG_H
20565 #include <scsi/sg.h>
20566 #endif
20568 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20569 then :
20571 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20575 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>
20576 #ifdef HAVE_SCSI_SG_H
20577 #include <scsi/sg.h>
20578 #endif
20580 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20581 then :
20583 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20589 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20591 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20592 then :
20594 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20600 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20601 #ifdef HAVE_SYS_MTIO_H
20602 #include <sys/mtio.h>
20603 #endif
20605 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20606 then :
20608 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20612 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20613 #ifdef HAVE_SYS_MTIO_H
20614 #include <sys/mtio.h>
20615 #endif
20617 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20618 then :
20620 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20625 #ifdef HAVE_SYS_MTIO_H
20626 #include <sys/mtio.h>
20627 #endif
20629 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20630 then :
20632 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20638 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20639 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20640 then :
20642 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20646 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20647 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20648 then :
20650 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20654 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20655 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20656 then :
20658 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20662 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20663 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20664 then :
20666 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20670 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20671 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20672 then :
20674 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20678 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20679 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20680 then :
20682 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20686 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20687 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20688 then :
20690 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20694 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20695 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20696 then :
20698 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20702 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20703 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20704 then :
20706 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20710 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20711 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20712 then :
20714 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20718 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20719 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20720 then :
20722 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20728 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>
20729 #ifdef HAVE_NETINET_IN_H
20730 #include <netinet/in.h>
20731 #endif
20733 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20734 then :
20736 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20742 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
20743 #include <resolv.h>
20744 #endif
20746 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20747 then :
20749 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20755 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20756 #include <netinet/in.h>
20757 #endif
20759 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20760 then :
20762 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20768 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20769 #ifdef HAVE_SYS_SOCKETVAR_H
20770 #include <sys/socketvar.h>
20771 #endif
20772 #ifdef HAVE_NETINET_IN_H
20773 #include <netinet/in.h>
20774 #endif
20775 #ifdef HAVE_NETINET_IP_VAR_H
20776 #include <netinet/ip_var.h>
20777 #endif
20779 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20780 then :
20782 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20788 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
20789 #include <netinet/ip_var.h>
20790 #endif
20792 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20793 then :
20795 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20801 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20802 #ifdef HAVE_SYS_SOCKETVAR_H
20803 #include <sys/socketvar.h>
20804 #endif
20805 #ifdef HAVE_NETINET_IN_H
20806 #include <netinet/in.h>
20807 #endif
20808 #ifdef HAVE_NETINET6_IP6_VAR_H
20809 #include <netinet6/ip6_var.h>
20810 #endif
20812 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20813 then :
20815 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20821 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20822 #ifdef HAVE_SYS_SOCKETVAR_H
20823 #include <sys/socketvar.h>
20824 #endif
20825 #ifdef HAVE_NETINET_IN_H
20826 #include <netinet/in.h>
20827 #endif
20828 #ifdef HAVE_NETINET_IP_H
20829 #include <netinet/ip.h>
20830 #endif
20831 #ifdef HAVE_NETINET_IP_ICMP_H
20832 #include <netinet/ip_icmp.h>
20833 #endif
20834 #ifdef HAVE_NETINET_ICMP_VAR_H
20835 #include <netinet/icmp_var.h>
20836 #endif
20838 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20839 then :
20841 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20847 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20848 #ifdef HAVE_SYS_SOCKETVAR_H
20849 #include <sys/socketvar.h>
20850 #endif
20851 #ifdef HAVE_NETINET_IN_H
20852 #include <netinet/in.h>
20853 #endif
20854 #ifdef HAVE_NETINET_ICMP6_H
20855 #include <netinet/icmp6.h>
20856 #endif
20858 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20859 then :
20861 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20867 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20868 #ifdef HAVE_SYS_SOCKETVAR_H
20869 #include <sys/socketvar.h>
20870 #endif
20871 #ifdef HAVE_NETINET_IN_H
20872 #include <netinet/in.h>
20873 #endif
20874 #ifdef HAVE_NETINET_TCP_H
20875 #include <netinet/tcp.h>
20876 #endif
20877 #ifdef HAVE_NETINET_TCP_VAR_H
20878 #include <netinet/tcp_var.h>
20879 #endif
20881 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20882 then :
20884 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20890 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
20891 #include <netinet/tcp_var.h>
20892 #endif
20894 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20895 then :
20897 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20903 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20904 #ifdef HAVE_NETINET_IN_H
20905 #include <netinet/in.h>
20906 #endif
20907 #ifdef HAVE_NETINET_IP_VAR_H
20908 #include <netinet/ip_var.h>
20909 #endif
20910 #ifdef HAVE_NETINET_UDP_H
20911 #include <netinet/udp.h>
20912 #endif
20913 #ifdef HAVE_NETINET_UDP_VAR_H
20914 #include <netinet/udp_var.h>
20915 #endif
20917 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20918 then :
20920 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20926 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20927 #ifdef HAVE_NET_IF_H
20928 # include <net/if.h>
20929 #endif
20931 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20932 then :
20934 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20940 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20941 # include <sys/sysinfo.h>
20942 #endif
20944 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20945 then :
20947 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20951 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20952 # include <sys/sysinfo.h>
20953 #endif
20955 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20956 then :
20958 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20964 LIBS="$ac_save_LIBS"
20966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20967 printf %s "checking for __builtin_popcount... " >&6; }
20968 if test ${ac_cv_have___builtin_popcount+y}
20969 then :
20970 printf %s "(cached) " >&6
20971 else $as_nop
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20976 main (void)
20978 return __builtin_popcount(1)
20980 return 0;
20982 _ACEOF
20983 if ac_fn_c_try_link "$LINENO"
20984 then :
20985 ac_cv_have___builtin_popcount="yes"
20986 else $as_nop
20987 ac_cv_have___builtin_popcount="no"
20989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20990 conftest$ac_exeext conftest.$ac_ext
20992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20993 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20994 if test "$ac_cv_have___builtin_popcount" = "yes"
20995 then
20997 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21002 printf %s "checking for __clear_cache... " >&6; }
21003 if test ${ac_cv_have___clear_cache+y}
21004 then :
21005 printf %s "(cached) " >&6
21006 else $as_nop
21007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21011 main (void)
21013 __clear_cache((void*)0, (void*)0); return 0;
21015 return 0;
21017 _ACEOF
21018 if ac_fn_c_try_link "$LINENO"
21019 then :
21020 ac_cv_have___clear_cache="yes"
21021 else $as_nop
21022 ac_cv_have___clear_cache="no"
21024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21025 conftest$ac_exeext conftest.$ac_ext
21027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21028 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21029 if test "$ac_cv_have___clear_cache" = "yes"
21030 then
21032 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21037 case $host_cpu in
21038 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21039 printf %s "checking whether we need to define __i386__... " >&6; }
21040 if test ${ac_cv_cpp_def___i386__+y}
21041 then :
21042 printf %s "(cached) " >&6
21043 else $as_nop
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #ifndef __i386__
21048 #endif
21049 _ACEOF
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev/null 2>&1
21052 then :
21053 ac_cv_cpp_def___i386__=yes
21054 else $as_nop
21055 ac_cv_cpp_def___i386__=no
21057 rm -rf conftest*
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21062 if test "x$ac_cv_cpp_def___i386__" = xyes
21063 then :
21064 CFLAGS="$CFLAGS -D__i386__"
21065 LINTFLAGS="$LINTFLAGS -D__i386__"
21066 fi ;;
21067 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21068 printf %s "checking whether we need to define __x86_64__... " >&6; }
21069 if test ${ac_cv_cpp_def___x86_64__+y}
21070 then :
21071 printf %s "(cached) " >&6
21072 else $as_nop
21073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21075 #ifndef __x86_64__
21077 #endif
21078 _ACEOF
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev/null 2>&1
21081 then :
21082 ac_cv_cpp_def___x86_64__=yes
21083 else $as_nop
21084 ac_cv_cpp_def___x86_64__=no
21086 rm -rf conftest*
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21091 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21092 then :
21093 CFLAGS="$CFLAGS -D__x86_64__"
21094 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21095 fi ;;
21096 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21097 printf %s "checking whether we need to define __sparc64__... " >&6; }
21098 if test ${ac_cv_cpp_def___sparc64__+y}
21099 then :
21100 printf %s "(cached) " >&6
21101 else $as_nop
21102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21103 /* end confdefs.h. */
21104 #ifndef __sparc64__
21106 #endif
21107 _ACEOF
21108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21109 $EGREP "yes" >/dev/null 2>&1
21110 then :
21111 ac_cv_cpp_def___sparc64__=yes
21112 else $as_nop
21113 ac_cv_cpp_def___sparc64__=no
21115 rm -rf conftest*
21118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21119 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21120 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21121 then :
21122 CFLAGS="$CFLAGS -D__sparc64__"
21123 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21124 fi ;;
21125 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21126 printf %s "checking whether we need to define __sparc__... " >&6; }
21127 if test ${ac_cv_cpp_def___sparc__+y}
21128 then :
21129 printf %s "(cached) " >&6
21130 else $as_nop
21131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21132 /* end confdefs.h. */
21133 #ifndef __sparc__
21135 #endif
21136 _ACEOF
21137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21138 $EGREP "yes" >/dev/null 2>&1
21139 then :
21140 ac_cv_cpp_def___sparc__=yes
21141 else $as_nop
21142 ac_cv_cpp_def___sparc__=no
21144 rm -rf conftest*
21147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21148 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21149 if test "x$ac_cv_cpp_def___sparc__" = xyes
21150 then :
21151 CFLAGS="$CFLAGS -D__sparc__"
21152 LINTFLAGS="$LINTFLAGS -D__sparc__"
21153 fi ;;
21154 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21155 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21156 if test ${ac_cv_cpp_def___powerpc64__+y}
21157 then :
21158 printf %s "(cached) " >&6
21159 else $as_nop
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162 #ifndef __powerpc64__
21164 #endif
21165 _ACEOF
21166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21167 $EGREP "yes" >/dev/null 2>&1
21168 then :
21169 ac_cv_cpp_def___powerpc64__=yes
21170 else $as_nop
21171 ac_cv_cpp_def___powerpc64__=no
21173 rm -rf conftest*
21176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21177 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21178 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21179 then :
21180 CFLAGS="$CFLAGS -D__powerpc64__"
21181 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21182 fi ;;
21183 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21184 printf %s "checking whether we need to define __powerpc__... " >&6; }
21185 if test ${ac_cv_cpp_def___powerpc__+y}
21186 then :
21187 printf %s "(cached) " >&6
21188 else $as_nop
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21191 #ifndef __powerpc__
21193 #endif
21194 _ACEOF
21195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21196 $EGREP "yes" >/dev/null 2>&1
21197 then :
21198 ac_cv_cpp_def___powerpc__=yes
21199 else $as_nop
21200 ac_cv_cpp_def___powerpc__=no
21202 rm -rf conftest*
21205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21206 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21207 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21208 then :
21209 CFLAGS="$CFLAGS -D__powerpc__"
21210 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21211 fi ;;
21212 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21213 printf %s "checking whether we need to define __aarch64__... " >&6; }
21214 if test ${ac_cv_cpp_def___aarch64__+y}
21215 then :
21216 printf %s "(cached) " >&6
21217 else $as_nop
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #ifndef __aarch64__
21222 #endif
21223 _ACEOF
21224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21225 $EGREP "yes" >/dev/null 2>&1
21226 then :
21227 ac_cv_cpp_def___aarch64__=yes
21228 else $as_nop
21229 ac_cv_cpp_def___aarch64__=no
21231 rm -rf conftest*
21234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21235 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21236 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21237 then :
21238 CFLAGS="$CFLAGS -D__aarch64__"
21239 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21240 fi ;;
21241 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21242 printf %s "checking whether we need to define __arm__... " >&6; }
21243 if test ${ac_cv_cpp_def___arm__+y}
21244 then :
21245 printf %s "(cached) " >&6
21246 else $as_nop
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21249 #ifndef __arm__
21251 #endif
21252 _ACEOF
21253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21254 $EGREP "yes" >/dev/null 2>&1
21255 then :
21256 ac_cv_cpp_def___arm__=yes
21257 else $as_nop
21258 ac_cv_cpp_def___arm__=no
21260 rm -rf conftest*
21263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21264 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21265 if test "x$ac_cv_cpp_def___arm__" = xyes
21266 then :
21267 CFLAGS="$CFLAGS -D__arm__"
21268 LINTFLAGS="$LINTFLAGS -D__arm__"
21269 fi ;;
21270 esac
21272 case $host_vendor in
21273 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21274 printf %s "checking whether we need to define __sun__... " >&6; }
21275 if test ${ac_cv_cpp_def___sun__+y}
21276 then :
21277 printf %s "(cached) " >&6
21278 else $as_nop
21279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21280 /* end confdefs.h. */
21281 #ifndef __sun__
21283 #endif
21284 _ACEOF
21285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21286 $EGREP "yes" >/dev/null 2>&1
21287 then :
21288 ac_cv_cpp_def___sun__=yes
21289 else $as_nop
21290 ac_cv_cpp_def___sun__=no
21292 rm -rf conftest*
21295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21296 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21297 if test "x$ac_cv_cpp_def___sun__" = xyes
21298 then :
21299 CFLAGS="$CFLAGS -D__sun__"
21300 LINTFLAGS="$LINTFLAGS -D__sun__"
21301 fi ;;
21302 esac
21308 ac_config_commands="$ac_config_commands include/stamp-h"
21310 printf %s "creating Makefile rules..." >&6
21312 makedep_flags=""
21313 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21315 wine_srcdir=
21316 test "$srcdir" = . || wine_srcdir="$srcdir/"
21318 ac_config_links="$ac_config_links wine:tools/winewrapper"
21319 wine_fn_config_symlink wine
21320 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21321 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21322 wine_fn_config_symlink wine64
21325 wine_fn_config_makefile dlls/acledit enable_acledit
21326 wine_fn_config_makefile dlls/aclui enable_aclui
21327 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21328 wine_fn_config_makefile dlls/activeds enable_activeds
21329 wine_fn_config_makefile dlls/activeds/tests enable_tests
21330 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21331 wine_fn_config_makefile dlls/adsldp enable_adsldp
21332 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21333 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21334 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21335 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21336 wine_fn_config_makefile dlls/advpack enable_advpack
21337 wine_fn_config_makefile dlls/advpack/tests enable_tests
21338 wine_fn_config_makefile dlls/amsi enable_amsi
21339 wine_fn_config_makefile dlls/amstream enable_amstream
21340 wine_fn_config_makefile dlls/amstream/tests enable_tests
21341 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21342 wine_fn_config_makefile dlls/apphelp enable_apphelp
21343 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21344 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21345 wine_fn_config_makefile dlls/atl enable_atl
21346 wine_fn_config_makefile dlls/atl/tests enable_tests
21347 wine_fn_config_makefile dlls/atl100 enable_atl100
21348 wine_fn_config_makefile dlls/atl100/tests enable_tests
21349 wine_fn_config_makefile dlls/atl110 enable_atl110
21350 wine_fn_config_makefile dlls/atl110/tests enable_tests
21351 wine_fn_config_makefile dlls/atl80 enable_atl80
21352 wine_fn_config_makefile dlls/atl80/tests enable_tests
21353 wine_fn_config_makefile dlls/atl90 enable_atl90
21354 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21355 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21356 wine_fn_config_makefile dlls/atmlib enable_atmlib
21357 wine_fn_config_makefile dlls/authz enable_authz
21358 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21359 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21360 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21361 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21362 wine_fn_config_makefile dlls/avrt enable_avrt
21363 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21364 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21365 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21366 wine_fn_config_makefile dlls/browseui enable_browseui
21367 wine_fn_config_makefile dlls/browseui/tests enable_tests
21368 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21369 wine_fn_config_makefile dlls/cabinet enable_cabinet
21370 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21371 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21372 wine_fn_config_makefile dlls/cards enable_cards
21373 wine_fn_config_makefile dlls/cdosys enable_cdosys
21374 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21375 wine_fn_config_makefile dlls/clusapi enable_clusapi
21376 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21377 wine_fn_config_makefile dlls/combase enable_combase
21378 wine_fn_config_makefile dlls/combase/tests enable_tests
21379 wine_fn_config_makefile dlls/comcat enable_comcat
21380 wine_fn_config_makefile dlls/comcat/tests enable_tests
21381 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21382 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21383 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21384 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21385 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21386 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21387 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21388 wine_fn_config_makefile dlls/compstui enable_compstui
21389 wine_fn_config_makefile dlls/compstui/tests enable_tests
21390 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21391 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21392 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21393 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21394 wine_fn_config_makefile dlls/connect enable_connect
21395 wine_fn_config_makefile dlls/credui enable_credui
21396 wine_fn_config_makefile dlls/credui/tests enable_tests
21397 wine_fn_config_makefile dlls/crtdll enable_crtdll
21398 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21399 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21400 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21401 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21402 wine_fn_config_makefile dlls/cryptext enable_cryptext
21403 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21404 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21405 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21406 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21407 wine_fn_config_makefile dlls/cryptui enable_cryptui
21408 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21409 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21410 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21411 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21412 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21413 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21414 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21415 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21416 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21417 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21418 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21419 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21420 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21421 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21422 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21423 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21424 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21425 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21426 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21427 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21428 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21429 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21430 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21431 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21432 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21433 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21434 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21435 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21436 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21437 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21438 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21439 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21440 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21441 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21442 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21443 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21444 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21445 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21446 wine_fn_config_makefile dlls/d3dim enable_d3dim
21447 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21448 wine_fn_config_makefile dlls/d3drm enable_d3drm
21449 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21450 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21451 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21452 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21453 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21454 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21455 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21456 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21457 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21458 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21459 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21460 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21461 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21462 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21463 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21464 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21465 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21466 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21467 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21468 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21469 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21470 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21471 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21472 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21473 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21474 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21475 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21476 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21477 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21478 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21479 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21480 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21481 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21482 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21483 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21484 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21485 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21486 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21487 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21488 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21489 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21490 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21491 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21492 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21493 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21494 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21495 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21496 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21497 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21498 wine_fn_config_makefile dlls/davclnt enable_davclnt
21499 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21500 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21501 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21502 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21503 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21504 wine_fn_config_makefile dlls/dcomp enable_dcomp
21505 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21506 wine_fn_config_makefile dlls/ddraw enable_ddraw
21507 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21508 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21509 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21510 wine_fn_config_makefile dlls/devenum enable_devenum
21511 wine_fn_config_makefile dlls/devenum/tests enable_tests
21512 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21513 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21514 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21515 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21516 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21517 wine_fn_config_makefile dlls/difxapi enable_difxapi
21518 wine_fn_config_makefile dlls/dinput enable_dinput
21519 wine_fn_config_makefile dlls/dinput/tests enable_tests
21520 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21521 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21522 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21523 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21524 wine_fn_config_makefile dlls/dispex enable_dispex
21525 wine_fn_config_makefile dlls/dispex/tests enable_tests
21526 wine_fn_config_makefile dlls/display.drv16 enable_win16
21527 wine_fn_config_makefile dlls/dmband enable_dmband
21528 wine_fn_config_makefile dlls/dmband/tests enable_tests
21529 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21530 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21531 wine_fn_config_makefile dlls/dmime enable_dmime
21532 wine_fn_config_makefile dlls/dmime/tests enable_tests
21533 wine_fn_config_makefile dlls/dmloader enable_dmloader
21534 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21535 wine_fn_config_makefile dlls/dmscript enable_dmscript
21536 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21537 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21538 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21539 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21540 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21541 wine_fn_config_makefile dlls/dmusic enable_dmusic
21542 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21543 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21544 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21545 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21546 wine_fn_config_makefile dlls/dplay enable_dplay
21547 wine_fn_config_makefile dlls/dplayx enable_dplayx
21548 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21549 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21550 wine_fn_config_makefile dlls/dpnet enable_dpnet
21551 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21552 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21553 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21554 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21555 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21556 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21557 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21558 wine_fn_config_makefile dlls/drmclien enable_drmclien
21559 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21560 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21561 wine_fn_config_makefile dlls/dsound enable_dsound
21562 wine_fn_config_makefile dlls/dsound/tests enable_tests
21563 wine_fn_config_makefile dlls/dsquery enable_dsquery
21564 wine_fn_config_makefile dlls/dssenh enable_dssenh
21565 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21566 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21567 wine_fn_config_makefile dlls/dswave enable_dswave
21568 wine_fn_config_makefile dlls/dswave/tests enable_tests
21569 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21570 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21571 wine_fn_config_makefile dlls/dwrite enable_dwrite
21572 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21573 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21574 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21575 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21576 wine_fn_config_makefile dlls/dxgi enable_dxgi
21577 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21578 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21579 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21580 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21581 wine_fn_config_makefile dlls/esent enable_esent
21582 wine_fn_config_makefile dlls/evr enable_evr
21583 wine_fn_config_makefile dlls/evr/tests enable_tests
21584 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21585 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21586 wine_fn_config_makefile dlls/faultrep enable_faultrep
21587 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21588 wine_fn_config_makefile dlls/feclient enable_feclient
21589 wine_fn_config_makefile dlls/fltlib enable_fltlib
21590 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21591 wine_fn_config_makefile dlls/fntcache enable_fntcache
21592 wine_fn_config_makefile dlls/fontsub enable_fontsub
21593 wine_fn_config_makefile dlls/fusion enable_fusion
21594 wine_fn_config_makefile dlls/fusion/tests enable_tests
21595 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21596 wine_fn_config_makefile dlls/gameux enable_gameux
21597 wine_fn_config_makefile dlls/gameux/tests enable_tests
21598 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21599 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21600 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21601 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21602 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21603 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21604 wine_fn_config_makefile dlls/glu32 enable_glu32
21605 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21606 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21607 wine_fn_config_makefile dlls/hal enable_hal
21608 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21609 wine_fn_config_makefile dlls/hid enable_hid
21610 wine_fn_config_makefile dlls/hid/tests enable_tests
21611 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21612 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21613 wine_fn_config_makefile dlls/hlink enable_hlink
21614 wine_fn_config_makefile dlls/hlink/tests enable_tests
21615 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21616 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21617 wine_fn_config_makefile dlls/http.sys enable_http_sys
21618 wine_fn_config_makefile dlls/httpapi enable_httpapi
21619 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21620 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21621 wine_fn_config_makefile dlls/iccvid enable_iccvid
21622 wine_fn_config_makefile dlls/icmp enable_icmp
21623 wine_fn_config_makefile dlls/ieframe enable_ieframe
21624 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21625 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21626 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21627 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21628 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21629 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21630 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21631 wine_fn_config_makefile dlls/imm32 enable_imm32
21632 wine_fn_config_makefile dlls/imm32/tests enable_tests
21633 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21634 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21635 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21636 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21637 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21638 wine_fn_config_makefile dlls/infosoft enable_infosoft
21639 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21640 wine_fn_config_makefile dlls/initpki enable_initpki
21641 wine_fn_config_makefile dlls/inkobj enable_inkobj
21642 wine_fn_config_makefile dlls/inseng enable_inseng
21643 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21644 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21645 wine_fn_config_makefile dlls/iprop enable_iprop
21646 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21647 wine_fn_config_makefile dlls/itircl enable_itircl
21648 wine_fn_config_makefile dlls/itss enable_itss
21649 wine_fn_config_makefile dlls/itss/tests enable_tests
21650 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21651 wine_fn_config_makefile dlls/jscript enable_jscript
21652 wine_fn_config_makefile dlls/jscript/tests enable_tests
21653 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21654 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21655 wine_fn_config_makefile dlls/kerberos enable_kerberos
21656 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21657 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21658 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21659 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21660 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21661 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21662 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21663 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21664 wine_fn_config_makefile dlls/ksuser enable_ksuser
21665 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21666 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21667 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21668 wine_fn_config_makefile dlls/loadperf enable_loadperf
21669 wine_fn_config_makefile dlls/localspl enable_localspl
21670 wine_fn_config_makefile dlls/localspl/tests enable_tests
21671 wine_fn_config_makefile dlls/localui enable_localui
21672 wine_fn_config_makefile dlls/localui/tests enable_tests
21673 wine_fn_config_makefile dlls/lz32 enable_lz32
21674 wine_fn_config_makefile dlls/lz32/tests enable_tests
21675 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21676 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21677 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21678 wine_fn_config_makefile dlls/mapistub enable_mapistub
21679 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21680 wine_fn_config_makefile dlls/mcicda enable_mcicda
21681 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21682 wine_fn_config_makefile dlls/mciseq enable_mciseq
21683 wine_fn_config_makefile dlls/mciwave enable_mciwave
21684 wine_fn_config_makefile dlls/mf enable_mf
21685 wine_fn_config_makefile dlls/mf/tests enable_tests
21686 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21687 wine_fn_config_makefile dlls/mferror enable_mferror
21688 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21689 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21690 wine_fn_config_makefile dlls/mfplat enable_mfplat
21691 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21692 wine_fn_config_makefile dlls/mfplay enable_mfplay
21693 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21694 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21695 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21696 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21697 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21698 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21699 wine_fn_config_makefile dlls/midimap enable_midimap
21700 wine_fn_config_makefile dlls/mlang enable_mlang
21701 wine_fn_config_makefile dlls/mlang/tests enable_tests
21702 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21703 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21704 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21705 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21706 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21707 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21708 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21709 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21710 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21711 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21712 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21713 wine_fn_config_makefile dlls/mpr enable_mpr
21714 wine_fn_config_makefile dlls/mpr/tests enable_tests
21715 wine_fn_config_makefile dlls/mprapi enable_mprapi
21716 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21717 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21718 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21719 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21720 wine_fn_config_makefile dlls/msado15 enable_msado15
21721 wine_fn_config_makefile dlls/msado15/tests enable_tests
21722 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21723 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21724 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21725 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21726 wine_fn_config_makefile dlls/mscms enable_mscms
21727 wine_fn_config_makefile dlls/mscms/tests enable_tests
21728 wine_fn_config_makefile dlls/mscoree enable_mscoree
21729 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21730 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21731 wine_fn_config_makefile dlls/msctf enable_msctf
21732 wine_fn_config_makefile dlls/msctf/tests enable_tests
21733 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21734 wine_fn_config_makefile dlls/msctfp enable_msctfp
21735 wine_fn_config_makefile dlls/msdaps enable_msdaps
21736 wine_fn_config_makefile dlls/msdasql enable_msdasql
21737 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21738 wine_fn_config_makefile dlls/msdelta enable_msdelta
21739 wine_fn_config_makefile dlls/msdmo enable_msdmo
21740 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21741 wine_fn_config_makefile dlls/msdrm enable_msdrm
21742 wine_fn_config_makefile dlls/msftedit enable_msftedit
21743 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21744 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21745 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21746 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21747 wine_fn_config_makefile dlls/mshtml enable_mshtml
21748 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21749 wine_fn_config_makefile dlls/msi enable_msi
21750 wine_fn_config_makefile dlls/msi/tests enable_tests
21751 wine_fn_config_makefile dlls/msident enable_msident
21752 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21753 wine_fn_config_makefile dlls/msimsg enable_msimsg
21754 wine_fn_config_makefile dlls/msimtf enable_msimtf
21755 wine_fn_config_makefile dlls/msisip enable_msisip
21756 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21757 wine_fn_config_makefile dlls/msls31 enable_msls31
21758 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21759 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21760 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21761 wine_fn_config_makefile dlls/msports enable_msports
21762 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21763 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21764 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21765 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21766 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21767 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21768 wine_fn_config_makefile dlls/mstask enable_mstask
21769 wine_fn_config_makefile dlls/mstask/tests enable_tests
21770 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21771 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21772 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21773 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21774 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21775 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21776 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21777 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21778 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21779 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21780 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21781 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21782 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21783 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21784 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21785 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21786 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21787 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21788 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21789 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21790 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21791 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21792 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21793 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21794 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21795 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21796 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21797 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21798 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21799 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21800 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21801 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21802 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21803 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21804 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21805 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21806 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21807 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21808 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21809 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21810 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21811 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21812 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21813 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21814 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21815 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21816 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21817 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21818 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21819 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21820 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21821 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21822 wine_fn_config_makefile dlls/mswsock enable_mswsock
21823 wine_fn_config_makefile dlls/msxml enable_msxml
21824 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21825 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21826 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21827 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21828 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21829 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21830 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21831 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21832 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21833 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21834 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21835 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21836 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21837 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21838 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21839 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21840 wine_fn_config_makefile dlls/netprofm enable_netprofm
21841 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21842 wine_fn_config_makefile dlls/netutils enable_netutils
21843 wine_fn_config_makefile dlls/newdev enable_newdev
21844 wine_fn_config_makefile dlls/ninput enable_ninput
21845 wine_fn_config_makefile dlls/ninput/tests enable_tests
21846 wine_fn_config_makefile dlls/normaliz enable_normaliz
21847 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21848 wine_fn_config_makefile dlls/npptools enable_npptools
21849 wine_fn_config_makefile dlls/nsi enable_nsi
21850 wine_fn_config_makefile dlls/nsi/tests enable_tests
21851 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21852 wine_fn_config_makefile dlls/ntdll enable_ntdll
21853 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21854 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21855 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21856 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21857 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21858 wine_fn_config_makefile dlls/ntprint enable_ntprint
21859 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21860 wine_fn_config_makefile dlls/objsel enable_objsel
21861 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21862 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21863 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21864 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21865 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21866 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21867 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21868 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21869 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21870 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21871 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21872 wine_fn_config_makefile dlls/ole32 enable_ole32
21873 wine_fn_config_makefile dlls/ole32/tests enable_tests
21874 wine_fn_config_makefile dlls/oleacc enable_oleacc
21875 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21876 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21877 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21878 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21879 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21880 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21881 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21882 wine_fn_config_makefile dlls/oledlg enable_oledlg
21883 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21884 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21885 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21886 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21887 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21888 wine_fn_config_makefile dlls/opcservices enable_opcservices
21889 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21890 wine_fn_config_makefile dlls/openal32 enable_openal32
21891 wine_fn_config_makefile dlls/opencl enable_opencl
21892 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21893 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21894 wine_fn_config_makefile dlls/packager enable_packager
21895 wine_fn_config_makefile dlls/packager/tests enable_tests
21896 wine_fn_config_makefile dlls/pdh enable_pdh
21897 wine_fn_config_makefile dlls/pdh/tests enable_tests
21898 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21899 wine_fn_config_makefile dlls/pidgen enable_pidgen
21900 wine_fn_config_makefile dlls/powrprof enable_powrprof
21901 wine_fn_config_makefile dlls/printui enable_printui
21902 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21903 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21904 wine_fn_config_makefile dlls/propsys enable_propsys
21905 wine_fn_config_makefile dlls/propsys/tests enable_tests
21906 wine_fn_config_makefile dlls/psapi enable_psapi
21907 wine_fn_config_makefile dlls/psapi/tests enable_tests
21908 wine_fn_config_makefile dlls/pstorec enable_pstorec
21909 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21910 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21911 wine_fn_config_makefile dlls/qasf enable_qasf
21912 wine_fn_config_makefile dlls/qasf/tests enable_tests
21913 wine_fn_config_makefile dlls/qcap enable_qcap
21914 wine_fn_config_makefile dlls/qcap/tests enable_tests
21915 wine_fn_config_makefile dlls/qdvd enable_qdvd
21916 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21917 wine_fn_config_makefile dlls/qedit enable_qedit
21918 wine_fn_config_makefile dlls/qedit/tests enable_tests
21919 wine_fn_config_makefile dlls/qmgr enable_qmgr
21920 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21921 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21922 wine_fn_config_makefile dlls/quartz enable_quartz
21923 wine_fn_config_makefile dlls/quartz/tests enable_tests
21924 wine_fn_config_makefile dlls/query enable_query
21925 wine_fn_config_makefile dlls/qwave enable_qwave
21926 wine_fn_config_makefile dlls/qwave/tests enable_tests
21927 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21928 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21929 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21930 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21931 wine_fn_config_makefile dlls/regapi enable_regapi
21932 wine_fn_config_makefile dlls/resutils enable_resutils
21933 wine_fn_config_makefile dlls/riched20 enable_riched20
21934 wine_fn_config_makefile dlls/riched20/tests enable_tests
21935 wine_fn_config_makefile dlls/riched32 enable_riched32
21936 wine_fn_config_makefile dlls/riched32/tests enable_tests
21937 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21938 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21939 wine_fn_config_makefile dlls/rsabase enable_rsabase
21940 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21941 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21942 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21943 wine_fn_config_makefile dlls/rtutils enable_rtutils
21944 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21945 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21946 wine_fn_config_makefile dlls/samlib enable_samlib
21947 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21948 wine_fn_config_makefile dlls/sapi enable_sapi
21949 wine_fn_config_makefile dlls/sapi/tests enable_tests
21950 wine_fn_config_makefile dlls/sas enable_sas
21951 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21952 wine_fn_config_makefile dlls/sccbase enable_sccbase
21953 wine_fn_config_makefile dlls/schannel enable_schannel
21954 wine_fn_config_makefile dlls/schannel/tests enable_tests
21955 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21956 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21957 wine_fn_config_makefile dlls/scrobj enable_scrobj
21958 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21959 wine_fn_config_makefile dlls/scrrun enable_scrrun
21960 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21961 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21962 wine_fn_config_makefile dlls/sechost enable_sechost
21963 wine_fn_config_makefile dlls/secur32 enable_secur32
21964 wine_fn_config_makefile dlls/secur32/tests enable_tests
21965 wine_fn_config_makefile dlls/security enable_security
21966 wine_fn_config_makefile dlls/sensapi enable_sensapi
21967 wine_fn_config_makefile dlls/serialui enable_serialui
21968 wine_fn_config_makefile dlls/serialui/tests enable_tests
21969 wine_fn_config_makefile dlls/setupapi enable_setupapi
21970 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21971 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21972 wine_fn_config_makefile dlls/sfc enable_sfc
21973 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21974 wine_fn_config_makefile dlls/shcore enable_shcore
21975 wine_fn_config_makefile dlls/shcore/tests enable_tests
21976 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21977 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21978 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21979 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21980 wine_fn_config_makefile dlls/shell32 enable_shell32
21981 wine_fn_config_makefile dlls/shell32/tests enable_tests
21982 wine_fn_config_makefile dlls/shfolder enable_shfolder
21983 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21984 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21985 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21986 wine_fn_config_makefile dlls/slc enable_slc
21987 wine_fn_config_makefile dlls/slc/tests enable_tests
21988 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21989 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21990 wine_fn_config_makefile dlls/softpub enable_softpub
21991 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21992 wine_fn_config_makefile dlls/spoolss enable_spoolss
21993 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21994 wine_fn_config_makefile dlls/sppc enable_sppc
21995 wine_fn_config_makefile dlls/srclient enable_srclient
21996 wine_fn_config_makefile dlls/srvcli enable_srvcli
21997 wine_fn_config_makefile dlls/sspicli enable_sspicli
21998 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21999 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22000 wine_fn_config_makefile dlls/sti enable_sti
22001 wine_fn_config_makefile dlls/sti/tests enable_tests
22002 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22003 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22004 wine_fn_config_makefile dlls/strmdll enable_strmdll
22005 wine_fn_config_makefile dlls/svrapi enable_svrapi
22006 wine_fn_config_makefile dlls/sxs enable_sxs
22007 wine_fn_config_makefile dlls/sxs/tests enable_tests
22008 wine_fn_config_makefile dlls/system.drv16 enable_win16
22009 wine_fn_config_makefile dlls/t2embed enable_t2embed
22010 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22011 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22012 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22013 wine_fn_config_makefile dlls/taskschd enable_taskschd
22014 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22015 wine_fn_config_makefile dlls/tbs enable_tbs
22016 wine_fn_config_makefile dlls/tdh enable_tdh
22017 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22018 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22019 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22020 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22021 wine_fn_config_makefile dlls/traffic enable_traffic
22022 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22023 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22024 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22025 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22026 wine_fn_config_makefile dlls/tzres enable_tzres
22027 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22028 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22029 wine_fn_config_makefile dlls/uianimation enable_uianimation
22030 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22031 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22032 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22033 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22034 wine_fn_config_makefile dlls/unicows enable_unicows
22035 wine_fn_config_makefile dlls/updspapi enable_updspapi
22036 wine_fn_config_makefile dlls/url enable_url
22037 wine_fn_config_makefile dlls/urlmon enable_urlmon
22038 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22039 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22040 wine_fn_config_makefile dlls/user.exe16 enable_win16
22041 wine_fn_config_makefile dlls/user32 enable_user32
22042 wine_fn_config_makefile dlls/user32/tests enable_tests
22043 wine_fn_config_makefile dlls/userenv enable_userenv
22044 wine_fn_config_makefile dlls/userenv/tests enable_tests
22045 wine_fn_config_makefile dlls/usp10 enable_usp10
22046 wine_fn_config_makefile dlls/usp10/tests enable_tests
22047 wine_fn_config_makefile dlls/utildll enable_utildll
22048 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22049 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22050 wine_fn_config_makefile dlls/vbscript enable_vbscript
22051 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22052 wine_fn_config_makefile dlls/vcomp enable_vcomp
22053 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22054 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22055 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22056 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22057 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22058 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22059 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22060 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22061 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22062 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22063 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22064 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22065 wine_fn_config_makefile dlls/version enable_version
22066 wine_fn_config_makefile dlls/version/tests enable_tests
22067 wine_fn_config_makefile dlls/vga enable_vga
22068 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22069 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22070 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22071 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22072 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22073 wine_fn_config_makefile dlls/vssapi enable_vssapi
22074 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22075 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22076 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22077 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22078 wine_fn_config_makefile dlls/w32skrnl enable_win16
22079 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22080 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22081 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22082 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22083 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22084 wine_fn_config_makefile dlls/wdscore enable_wdscore
22085 wine_fn_config_makefile dlls/webservices enable_webservices
22086 wine_fn_config_makefile dlls/webservices/tests enable_tests
22087 wine_fn_config_makefile dlls/websocket enable_websocket
22088 wine_fn_config_makefile dlls/wer enable_wer
22089 wine_fn_config_makefile dlls/wer/tests enable_tests
22090 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22091 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22092 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22093 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22094 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22095 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22096 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22097 wine_fn_config_makefile dlls/win32u enable_win32u
22098 wine_fn_config_makefile dlls/win32u/tests enable_tests
22099 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22100 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22101 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22102 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22103 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22104 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22105 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22106 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22107 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22108 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22109 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22110 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22111 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22112 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22113 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22114 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22115 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22116 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22117 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22118 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22119 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22120 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22121 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22122 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22123 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22124 wine_fn_config_makefile dlls/wined3d enable_wined3d
22125 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22126 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22127 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22128 wine_fn_config_makefile dlls/winemapi enable_winemapi
22129 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22130 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22131 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22132 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22133 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22134 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22135 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22136 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22137 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22138 wine_fn_config_makefile dlls/wing32 enable_wing32
22139 wine_fn_config_makefile dlls/winhttp enable_winhttp
22140 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22141 wine_fn_config_makefile dlls/wininet enable_wininet
22142 wine_fn_config_makefile dlls/wininet/tests enable_tests
22143 wine_fn_config_makefile dlls/winmm enable_winmm
22144 wine_fn_config_makefile dlls/winmm/tests enable_tests
22145 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22146 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22147 wine_fn_config_makefile dlls/winscard enable_winscard
22148 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22149 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22150 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22151 wine_fn_config_makefile dlls/winsta enable_winsta
22152 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22153 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22154 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22155 wine_fn_config_makefile dlls/wintrust enable_wintrust
22156 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22157 wine_fn_config_makefile dlls/wintypes enable_wintypes
22158 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22159 wine_fn_config_makefile dlls/winusb enable_winusb
22160 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22161 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22162 wine_fn_config_makefile dlls/wlanui enable_wlanui
22163 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22164 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22165 wine_fn_config_makefile dlls/wmasf enable_wmasf
22166 wine_fn_config_makefile dlls/wmi enable_wmi
22167 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22168 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22169 wine_fn_config_makefile dlls/wmp enable_wmp
22170 wine_fn_config_makefile dlls/wmp/tests enable_tests
22171 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22172 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22173 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22174 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22175 wine_fn_config_makefile dlls/wow32 enable_win16
22176 wine_fn_config_makefile dlls/wow64 enable_wow64
22177 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22178 wine_fn_config_makefile dlls/wow64win enable_wow64win
22179 wine_fn_config_makefile dlls/wpc enable_wpc
22180 wine_fn_config_makefile dlls/wpc/tests enable_tests
22181 wine_fn_config_makefile dlls/wpcap enable_wpcap
22182 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22183 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22184 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22185 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22186 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22187 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22188 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22189 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22190 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22191 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22192 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22193 wine_fn_config_makefile dlls/wuapi enable_wuapi
22194 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22195 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22196 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22197 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22198 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22199 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22200 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22201 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22202 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22203 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22204 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22205 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22206 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22207 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22208 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22209 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22210 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22211 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22212 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22213 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22214 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22215 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22216 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22217 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22218 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22219 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22220 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22221 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22222 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22223 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22224 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22225 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22226 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22227 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22228 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22229 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22230 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22231 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22232 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22233 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22234 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22235 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22236 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22237 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22238 wine_fn_config_makefile dlls/xmllite enable_xmllite
22239 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22240 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22241 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22242 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22243 wine_fn_config_makefile fonts enable_fonts
22244 wine_fn_config_makefile include enable_include
22245 wine_fn_config_makefile libs/adsiid enable_adsiid
22246 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22247 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22248 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22249 wine_fn_config_makefile libs/dxguid enable_dxguid
22250 wine_fn_config_makefile libs/faudio enable_faudio
22251 wine_fn_config_makefile libs/gsm enable_gsm
22252 wine_fn_config_makefile libs/jpeg enable_jpeg
22253 wine_fn_config_makefile libs/jxr enable_jxr
22254 wine_fn_config_makefile libs/lcms2 enable_lcms2
22255 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22256 wine_fn_config_makefile libs/mpg123 enable_mpg123
22257 wine_fn_config_makefile libs/png enable_png
22258 wine_fn_config_makefile libs/strmbase enable_strmbase
22259 wine_fn_config_makefile libs/strmiids enable_strmiids
22260 wine_fn_config_makefile libs/tiff enable_tiff
22261 wine_fn_config_makefile libs/uuid enable_uuid
22262 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22263 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22264 wine_fn_config_makefile libs/wine enable_wine
22265 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22266 wine_fn_config_makefile libs/xml2 enable_xml2
22267 wine_fn_config_makefile libs/xslt enable_xslt
22268 wine_fn_config_makefile libs/zlib enable_zlib
22269 wine_fn_config_makefile loader enable_loader
22270 wine_fn_config_makefile nls enable_nls
22271 wine_fn_config_makefile po enable_po
22272 wine_fn_config_makefile programs/arp enable_arp
22273 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22274 wine_fn_config_makefile programs/attrib enable_attrib
22275 wine_fn_config_makefile programs/cabarc enable_cabarc
22276 wine_fn_config_makefile programs/cacls enable_cacls
22277 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22278 wine_fn_config_makefile programs/clock enable_clock
22279 wine_fn_config_makefile programs/cmd enable_cmd
22280 wine_fn_config_makefile programs/cmd/tests enable_tests
22281 wine_fn_config_makefile programs/conhost enable_conhost
22282 wine_fn_config_makefile programs/conhost/tests enable_tests
22283 wine_fn_config_makefile programs/control enable_control
22284 wine_fn_config_makefile programs/cscript enable_cscript
22285 wine_fn_config_makefile programs/dism enable_dism
22286 wine_fn_config_makefile programs/dllhost enable_dllhost
22287 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22288 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22289 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22290 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22291 wine_fn_config_makefile programs/eject enable_eject
22292 wine_fn_config_makefile programs/expand enable_expand
22293 wine_fn_config_makefile programs/explorer enable_explorer
22294 wine_fn_config_makefile programs/extrac32 enable_extrac32
22295 wine_fn_config_makefile programs/fc enable_fc
22296 wine_fn_config_makefile programs/find enable_find
22297 wine_fn_config_makefile programs/find/tests enable_tests
22298 wine_fn_config_makefile programs/findstr enable_findstr
22299 wine_fn_config_makefile programs/fsutil enable_fsutil
22300 wine_fn_config_makefile programs/fsutil/tests enable_tests
22301 wine_fn_config_makefile programs/hh enable_hh
22302 wine_fn_config_makefile programs/hostname enable_hostname
22303 wine_fn_config_makefile programs/icacls enable_icacls
22304 wine_fn_config_makefile programs/icinfo enable_icinfo
22305 wine_fn_config_makefile programs/iexplore enable_iexplore
22306 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22307 wine_fn_config_makefile programs/lodctr enable_lodctr
22308 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22309 wine_fn_config_makefile programs/mshta enable_mshta
22310 wine_fn_config_makefile programs/msidb enable_msidb
22311 wine_fn_config_makefile programs/msiexec enable_msiexec
22312 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22313 wine_fn_config_makefile programs/net enable_net
22314 wine_fn_config_makefile programs/netsh enable_netsh
22315 wine_fn_config_makefile programs/netstat enable_netstat
22316 wine_fn_config_makefile programs/ngen enable_ngen
22317 wine_fn_config_makefile programs/notepad enable_notepad
22318 wine_fn_config_makefile programs/oleview enable_oleview
22319 wine_fn_config_makefile programs/ping enable_ping
22320 wine_fn_config_makefile programs/plugplay enable_plugplay
22321 wine_fn_config_makefile programs/powershell enable_powershell
22322 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22323 wine_fn_config_makefile programs/progman enable_progman
22324 wine_fn_config_makefile programs/reg enable_reg
22325 wine_fn_config_makefile programs/reg/tests enable_tests
22326 wine_fn_config_makefile programs/regasm enable_regasm
22327 wine_fn_config_makefile programs/regedit enable_regedit
22328 wine_fn_config_makefile programs/regedit/tests enable_tests
22329 wine_fn_config_makefile programs/regini enable_regini
22330 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22331 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22332 wine_fn_config_makefile programs/robocopy enable_robocopy
22333 wine_fn_config_makefile programs/rpcss enable_rpcss
22334 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22335 wine_fn_config_makefile programs/rundll32 enable_rundll32
22336 wine_fn_config_makefile programs/sc enable_sc
22337 wine_fn_config_makefile programs/sc/tests enable_tests
22338 wine_fn_config_makefile programs/schtasks enable_schtasks
22339 wine_fn_config_makefile programs/schtasks/tests enable_tests
22340 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22341 wine_fn_config_makefile programs/secedit enable_secedit
22342 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22343 wine_fn_config_makefile programs/services enable_services
22344 wine_fn_config_makefile programs/services/tests enable_tests
22345 wine_fn_config_makefile programs/shutdown enable_shutdown
22346 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22347 wine_fn_config_makefile programs/start enable_start
22348 wine_fn_config_makefile programs/subst enable_subst
22349 wine_fn_config_makefile programs/svchost enable_svchost
22350 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22351 wine_fn_config_makefile programs/taskkill enable_taskkill
22352 wine_fn_config_makefile programs/tasklist enable_tasklist
22353 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22354 wine_fn_config_makefile programs/termsv enable_termsv
22355 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22356 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22357 wine_fn_config_makefile programs/view enable_view
22358 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22359 wine_fn_config_makefile programs/where enable_where
22360 wine_fn_config_makefile programs/whoami enable_whoami
22361 wine_fn_config_makefile programs/wineboot enable_wineboot
22362 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22363 wine_fn_config_makefile programs/winecfg enable_winecfg
22364 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22365 wine_fn_config_makefile programs/winedbg enable_winedbg
22366 wine_fn_config_makefile programs/winedevice enable_winedevice
22367 wine_fn_config_makefile programs/winefile enable_winefile
22368 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22369 wine_fn_config_makefile programs/winemine enable_winemine
22370 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22371 wine_fn_config_makefile programs/winepath enable_winepath
22372 wine_fn_config_makefile programs/winetest enable_winetest
22373 wine_fn_config_makefile programs/winevdm enable_win16
22374 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22375 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22376 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22377 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22378 wine_fn_config_makefile programs/winver enable_winver
22379 wine_fn_config_makefile programs/wmic enable_wmic
22380 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22381 wine_fn_config_makefile programs/wordpad enable_wordpad
22382 wine_fn_config_makefile programs/write enable_write
22383 wine_fn_config_makefile programs/wscript enable_wscript
22384 wine_fn_config_makefile programs/wscript/tests enable_tests
22385 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22386 wine_fn_config_makefile programs/wusa enable_wusa
22387 wine_fn_config_makefile programs/xcopy enable_xcopy
22388 wine_fn_config_makefile programs/xcopy/tests enable_tests
22389 wine_fn_config_makefile server enable_server
22390 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22391 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22392 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22393 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22394 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22395 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22396 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22397 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22398 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22401 as_fn_append CONFIGURE_TARGETS " TAGS"
22402 as_fn_append CONFIGURE_TARGETS " tags"
22403 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22404 as_fn_append CONFIGURE_TARGETS " config.log"
22405 as_fn_append CONFIGURE_TARGETS " config.status"
22406 as_fn_append CONFIGURE_TARGETS " include/config.h"
22407 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22408 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22410 if test "x$enable_tools" != xno
22411 then
22412 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22413 ac_config_commands="$ac_config_commands tools/makedep"
22417 ac_config_commands="$ac_config_commands Makefile"
22421 SHELL=/bin/sh
22424 as_fn_append wine_rules "
22425 all: wine
22426 @echo \"Wine build complete.\"
22427 .INIT: Makefile
22428 .MAKEFILEDEPS:
22429 all: Makefile
22430 Makefile: config.status \$(MAKEDEP)
22431 @./config.status Makefile
22432 depend: \$(MAKEDEP)
22433 \$(MAKEDEP)$makedep_flags"
22436 as_fn_append wine_rules "
22437 config.status: ${wine_srcdir}configure
22438 @./config.status --recheck
22439 include/config.h: include/stamp-h
22440 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22441 @./config.status include/config.h include/stamp-h"
22443 if test "x$enable_maintainer_mode" = xyes
22444 then
22445 as_fn_append wine_rules "
22446 configure: configure.ac aclocal.m4
22447 autoconf --warnings=all
22448 include/config.h.in: include/stamp-h.in
22449 include/stamp-h.in: configure.ac aclocal.m4
22450 autoheader --warnings=all
22451 @echo timestamp > \$@"
22454 if test "x$enable_tools" != xno
22455 then
22456 as_fn_append wine_rules "
22457 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22458 @./config.status tools/makedep
22459 Makefile: tools/makedep$ac_exeext"
22460 else
22461 as_fn_append wine_rules "
22462 \$(MAKEDEP):
22463 @echo \"You need to run make in $toolsdir first\" && false"
22467 if test -n "$with_wine64"
22468 then
22469 case "$with_wine64" in
22470 /*) reldir="" ;;
22471 *) reldir="../" ;;
22472 esac
22473 rm -f fonts server 2>/dev/null
22474 as_fn_append wine_rules "
22475 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22476 loader/wine64 loader/wine64-preloader:
22477 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22478 $with_wine64/loader/wine:
22479 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22480 $with_wine64/loader/wine-preloader:
22481 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22482 clean::
22483 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22484 else
22485 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22486 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22487 fonts \
22488 loader/wine.inf \
22489 nls \
22490 programs/msidb/msidb \
22491 programs/msiexec/msiexec \
22492 programs/notepad/notepad \
22493 programs/regedit/regedit \
22494 programs/regsvr32/regsvr32 \
22495 programs/wineboot/wineboot \
22496 programs/winecfg/winecfg \
22497 programs/wineconsole/wineconsole \
22498 programs/winedbg/winedbg \
22499 programs/winefile/winefile \
22500 programs/winemine/winemine \
22501 programs/winepath/winepath \
22502 server/wineserver"
22504 case $host_os in
22505 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22506 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22507 esac
22511 as_fn_append wine_rules "
22512 distclean:: clean
22513 rm -rf autom4te.cache
22514 maintainer-clean::
22515 rm -f configure include/config.h.in"
22518 as_fn_append wine_rules "
22519 dlls/ntdll/unix/version.c: dummy
22520 @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)
22521 programs/winetest/build.rc: dummy
22522 @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)
22523 programs/winetest/build.nfo:
22524 @-\$(CC) -v 2>\$@
22525 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
22526 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22527 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22530 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22532 as_fn_append wine_rules "
22533 TAGS etags:
22534 rm -f TAGS
22535 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22536 tags ctags:
22537 rm -f tags
22538 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22539 dummy:
22540 .PHONY: depend dummy install-manpages"
22542 printf "%s\n" " done" >&6
22543 cat >confcache <<\_ACEOF
22544 # This file is a shell script that caches the results of configure
22545 # tests run on this system so they can be shared between configure
22546 # scripts and configure runs, see configure's option --config-cache.
22547 # It is not useful on other systems. If it contains results you don't
22548 # want to keep, you may remove or edit it.
22550 # config.status only pays attention to the cache file if you give it
22551 # the --recheck option to rerun configure.
22553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22555 # following values.
22557 _ACEOF
22559 # The following way of writing the cache mishandles newlines in values,
22560 # but we know of no workaround that is simple, portable, and efficient.
22561 # So, we kill variables containing newlines.
22562 # Ultrix sh set writes to stderr and can't be redirected directly,
22563 # and sets the high bit in the cache file unless we assign to the vars.
22565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22566 eval ac_val=\$$ac_var
22567 case $ac_val in #(
22568 *${as_nl}*)
22569 case $ac_var in #(
22570 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22571 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22572 esac
22573 case $ac_var in #(
22574 _ | IFS | as_nl) ;; #(
22575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22576 *) { eval $ac_var=; unset $ac_var;} ;;
22577 esac ;;
22578 esac
22579 done
22581 (set) 2>&1 |
22582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22583 *${as_nl}ac_space=\ *)
22584 # `set' does not quote correctly, so add quotes: double-quote
22585 # substitution turns \\\\ into \\, and sed turns \\ into \.
22586 sed -n \
22587 "s/'/'\\\\''/g;
22588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22589 ;; #(
22591 # `set' quotes correctly as required by POSIX, so do not add quotes.
22592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22594 esac |
22595 sort
22597 sed '
22598 /^ac_cv_env_/b end
22599 t clear
22600 :clear
22601 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22602 t end
22603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22604 :end' >>confcache
22605 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22606 if test -w "$cache_file"; then
22607 if test "x$cache_file" != "x/dev/null"; then
22608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22609 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22610 if test ! -f "$cache_file" || test -h "$cache_file"; then
22611 cat confcache >"$cache_file"
22612 else
22613 case $cache_file in #(
22614 */* | ?:*)
22615 mv -f confcache "$cache_file"$$ &&
22616 mv -f "$cache_file"$$ "$cache_file" ;; #(
22618 mv -f confcache "$cache_file" ;;
22619 esac
22622 else
22623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22624 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22627 rm -f confcache
22629 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22630 # Let make expand exec_prefix.
22631 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22633 DEFS=-DHAVE_CONFIG_H
22635 ac_libobjs=
22636 ac_ltlibobjs=
22638 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22639 # 1. Remove the extension, and $U if already installed.
22640 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22641 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22643 # will be set to the directory where LIBOBJS objects are built.
22644 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22645 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22646 done
22647 LIBOBJS=$ac_libobjs
22649 LTLIBOBJS=$ac_ltlibobjs
22653 : "${CONFIG_STATUS=./config.status}"
22654 ac_write_fail=0
22655 ac_clean_files_save=$ac_clean_files
22656 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22658 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22659 as_write_fail=0
22660 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22661 #! $SHELL
22662 # Generated by $as_me.
22663 # Run this file to recreate the current configuration.
22664 # Compiler output produced by configure, useful for debugging
22665 # configure, is in config.log if it exists.
22667 debug=false
22668 ac_cs_recheck=false
22669 ac_cs_silent=false
22671 SHELL=\${CONFIG_SHELL-$SHELL}
22672 export SHELL
22673 _ASEOF
22674 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22675 ## -------------------- ##
22676 ## M4sh Initialization. ##
22677 ## -------------------- ##
22679 # Be more Bourne compatible
22680 DUALCASE=1; export DUALCASE # for MKS sh
22681 as_nop=:
22682 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22683 then :
22684 emulate sh
22685 NULLCMD=:
22686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22687 # is contrary to our usage. Disable this feature.
22688 alias -g '${1+"$@"}'='"$@"'
22689 setopt NO_GLOB_SUBST
22690 else $as_nop
22691 case `(set -o) 2>/dev/null` in #(
22692 *posix*) :
22693 set -o posix ;; #(
22694 *) :
22696 esac
22701 # Reset variables that may have inherited troublesome values from
22702 # the environment.
22704 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22705 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22706 # side effect of setting IFS to empty, thus disabling word splitting.)
22707 # Quoting is to prevent editors from complaining about space-tab.
22708 as_nl='
22710 export as_nl
22711 IFS=" "" $as_nl"
22713 PS1='$ '
22714 PS2='> '
22715 PS4='+ '
22717 # Ensure predictable behavior from utilities with locale-dependent output.
22718 LC_ALL=C
22719 export LC_ALL
22720 LANGUAGE=C
22721 export LANGUAGE
22723 # We cannot yet rely on "unset" to work, but we need these variables
22724 # to be unset--not just set to an empty or harmless value--now, to
22725 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22726 # also avoids known problems related to "unset" and subshell syntax
22727 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22728 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22729 do eval test \${$as_var+y} \
22730 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22731 done
22733 # Ensure that fds 0, 1, and 2 are open.
22734 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22735 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22736 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22738 # The user is always right.
22739 if ${PATH_SEPARATOR+false} :; then
22740 PATH_SEPARATOR=:
22741 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22742 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22743 PATH_SEPARATOR=';'
22748 # Find who we are. Look in the path if we contain no directory separator.
22749 as_myself=
22750 case $0 in #((
22751 *[\\/]* ) as_myself=$0 ;;
22752 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22753 for as_dir in $PATH
22755 IFS=$as_save_IFS
22756 case $as_dir in #(((
22757 '') as_dir=./ ;;
22758 */) ;;
22759 *) as_dir=$as_dir/ ;;
22760 esac
22761 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22762 done
22763 IFS=$as_save_IFS
22766 esac
22767 # We did not find ourselves, most probably we were run as `sh COMMAND'
22768 # in which case we are not to be found in the path.
22769 if test "x$as_myself" = x; then
22770 as_myself=$0
22772 if test ! -f "$as_myself"; then
22773 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22774 exit 1
22779 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22780 # ----------------------------------------
22781 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22782 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22783 # script with STATUS, using 1 if that was 0.
22784 as_fn_error ()
22786 as_status=$1; test $as_status -eq 0 && as_status=1
22787 if test "$4"; then
22788 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22791 printf "%s\n" "$as_me: error: $2" >&2
22792 as_fn_exit $as_status
22793 } # as_fn_error
22797 # as_fn_set_status STATUS
22798 # -----------------------
22799 # Set $? to STATUS, without forking.
22800 as_fn_set_status ()
22802 return $1
22803 } # as_fn_set_status
22805 # as_fn_exit STATUS
22806 # -----------------
22807 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22808 as_fn_exit ()
22810 set +e
22811 as_fn_set_status $1
22812 exit $1
22813 } # as_fn_exit
22815 # as_fn_unset VAR
22816 # ---------------
22817 # Portably unset VAR.
22818 as_fn_unset ()
22820 { eval $1=; unset $1;}
22822 as_unset=as_fn_unset
22824 # as_fn_append VAR VALUE
22825 # ----------------------
22826 # Append the text in VALUE to the end of the definition contained in VAR. Take
22827 # advantage of any shell optimizations that allow amortized linear growth over
22828 # repeated appends, instead of the typical quadratic growth present in naive
22829 # implementations.
22830 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22831 then :
22832 eval 'as_fn_append ()
22834 eval $1+=\$2
22836 else $as_nop
22837 as_fn_append ()
22839 eval $1=\$$1\$2
22841 fi # as_fn_append
22843 # as_fn_arith ARG...
22844 # ------------------
22845 # Perform arithmetic evaluation on the ARGs, and store the result in the
22846 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22847 # must be portable across $(()) and expr.
22848 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22849 then :
22850 eval 'as_fn_arith ()
22852 as_val=$(( $* ))
22854 else $as_nop
22855 as_fn_arith ()
22857 as_val=`expr "$@" || test $? -eq 1`
22859 fi # as_fn_arith
22862 if expr a : '\(a\)' >/dev/null 2>&1 &&
22863 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22864 as_expr=expr
22865 else
22866 as_expr=false
22869 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22870 as_basename=basename
22871 else
22872 as_basename=false
22875 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22876 as_dirname=dirname
22877 else
22878 as_dirname=false
22881 as_me=`$as_basename -- "$0" ||
22882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22883 X"$0" : 'X\(//\)$' \| \
22884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22885 printf "%s\n" X/"$0" |
22886 sed '/^.*\/\([^/][^/]*\)\/*$/{
22887 s//\1/
22890 /^X\/\(\/\/\)$/{
22891 s//\1/
22894 /^X\/\(\/\).*/{
22895 s//\1/
22898 s/.*/./; q'`
22900 # Avoid depending upon Character Ranges.
22901 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22902 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22903 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22904 as_cr_digits='0123456789'
22905 as_cr_alnum=$as_cr_Letters$as_cr_digits
22908 # Determine whether it's possible to make 'echo' print without a newline.
22909 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22910 # for compatibility with existing Makefiles.
22911 ECHO_C= ECHO_N= ECHO_T=
22912 case `echo -n x` in #(((((
22913 -n*)
22914 case `echo 'xy\c'` in
22915 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22916 xy) ECHO_C='\c';;
22917 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22918 ECHO_T=' ';;
22919 esac;;
22921 ECHO_N='-n';;
22922 esac
22924 # For backward compatibility with old third-party macros, we provide
22925 # the shell variables $as_echo and $as_echo_n. New code should use
22926 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22927 as_echo='printf %s\n'
22928 as_echo_n='printf %s'
22930 rm -f conf$$ conf$$.exe conf$$.file
22931 if test -d conf$$.dir; then
22932 rm -f conf$$.dir/conf$$.file
22933 else
22934 rm -f conf$$.dir
22935 mkdir conf$$.dir 2>/dev/null
22937 if (echo >conf$$.file) 2>/dev/null; then
22938 if ln -s conf$$.file conf$$ 2>/dev/null; then
22939 as_ln_s='ln -s'
22940 # ... but there are two gotchas:
22941 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22942 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22943 # In both cases, we have to default to `cp -pR'.
22944 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22945 as_ln_s='cp -pR'
22946 elif ln conf$$.file conf$$ 2>/dev/null; then
22947 as_ln_s=ln
22948 else
22949 as_ln_s='cp -pR'
22951 else
22952 as_ln_s='cp -pR'
22954 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22955 rmdir conf$$.dir 2>/dev/null
22958 # as_fn_mkdir_p
22959 # -------------
22960 # Create "$as_dir" as a directory, including parents if necessary.
22961 as_fn_mkdir_p ()
22964 case $as_dir in #(
22965 -*) as_dir=./$as_dir;;
22966 esac
22967 test -d "$as_dir" || eval $as_mkdir_p || {
22968 as_dirs=
22969 while :; do
22970 case $as_dir in #(
22971 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22972 *) as_qdir=$as_dir;;
22973 esac
22974 as_dirs="'$as_qdir' $as_dirs"
22975 as_dir=`$as_dirname -- "$as_dir" ||
22976 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22977 X"$as_dir" : 'X\(//\)[^/]' \| \
22978 X"$as_dir" : 'X\(//\)$' \| \
22979 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22980 printf "%s\n" X"$as_dir" |
22981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22982 s//\1/
22985 /^X\(\/\/\)[^/].*/{
22986 s//\1/
22989 /^X\(\/\/\)$/{
22990 s//\1/
22993 /^X\(\/\).*/{
22994 s//\1/
22997 s/.*/./; q'`
22998 test -d "$as_dir" && break
22999 done
23000 test -z "$as_dirs" || eval "mkdir $as_dirs"
23001 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23004 } # as_fn_mkdir_p
23005 if mkdir -p . 2>/dev/null; then
23006 as_mkdir_p='mkdir -p "$as_dir"'
23007 else
23008 test -d ./-p && rmdir ./-p
23009 as_mkdir_p=false
23013 # as_fn_executable_p FILE
23014 # -----------------------
23015 # Test if FILE is an executable regular file.
23016 as_fn_executable_p ()
23018 test -f "$1" && test -x "$1"
23019 } # as_fn_executable_p
23020 as_test_x='test -x'
23021 as_executable_p=as_fn_executable_p
23023 # Sed expression to map a string onto a valid CPP name.
23024 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23026 # Sed expression to map a string onto a valid variable name.
23027 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23030 exec 6>&1
23031 ## ----------------------------------- ##
23032 ## Main body of $CONFIG_STATUS script. ##
23033 ## ----------------------------------- ##
23034 _ASEOF
23035 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23038 # Save the log message, to keep $0 and so on meaningful, and to
23039 # report actual input values of CONFIG_FILES etc. instead of their
23040 # values after options handling.
23041 ac_log="
23042 This file was extended by Wine $as_me 7.20, which was
23043 generated by GNU Autoconf 2.71. Invocation command line was
23045 CONFIG_FILES = $CONFIG_FILES
23046 CONFIG_HEADERS = $CONFIG_HEADERS
23047 CONFIG_LINKS = $CONFIG_LINKS
23048 CONFIG_COMMANDS = $CONFIG_COMMANDS
23049 $ $0 $@
23051 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23054 _ACEOF
23057 case $ac_config_headers in *"
23058 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23059 esac
23062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23063 # Files that config.status was made for.
23064 config_headers="$ac_config_headers"
23065 config_links="$ac_config_links"
23066 config_commands="$ac_config_commands"
23068 _ACEOF
23070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23071 ac_cs_usage="\
23072 \`$as_me' instantiates files and other configuration actions
23073 from templates according to the current configuration. Unless the files
23074 and actions are specified as TAGs, all are instantiated by default.
23076 Usage: $0 [OPTION]... [TAG]...
23078 -h, --help print this help, then exit
23079 -V, --version print version number and configuration settings, then exit
23080 --config print configuration, then exit
23081 -q, --quiet, --silent
23082 do not print progress messages
23083 -d, --debug don't remove temporary files
23084 --recheck update $as_me by reconfiguring in the same conditions
23085 --header=FILE[:TEMPLATE]
23086 instantiate the configuration header FILE
23088 Configuration headers:
23089 $config_headers
23091 Configuration links:
23092 $config_links
23094 Configuration commands:
23095 $config_commands
23097 Report bugs to <wine-devel@winehq.org>.
23098 Wine home page: <https://www.winehq.org>."
23100 _ACEOF
23101 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23102 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23104 ac_cs_config='$ac_cs_config_escaped'
23105 ac_cs_version="\\
23106 Wine config.status 7.20
23107 configured by $0, generated by GNU Autoconf 2.71,
23108 with options \\"\$ac_cs_config\\"
23110 Copyright (C) 2021 Free Software Foundation, Inc.
23111 This config.status script is free software; the Free Software Foundation
23112 gives unlimited permission to copy, distribute and modify it."
23114 ac_pwd='$ac_pwd'
23115 srcdir='$srcdir'
23116 test -n "\$AWK" || AWK=awk
23117 _ACEOF
23119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23120 # The default lists apply if the user does not specify any file.
23121 ac_need_defaults=:
23122 while test $# != 0
23124 case $1 in
23125 --*=?*)
23126 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23127 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23128 ac_shift=:
23130 --*=)
23131 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23132 ac_optarg=
23133 ac_shift=:
23136 ac_option=$1
23137 ac_optarg=$2
23138 ac_shift=shift
23140 esac
23142 case $ac_option in
23143 # Handling of the options.
23144 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23145 ac_cs_recheck=: ;;
23146 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23147 printf "%s\n" "$ac_cs_version"; exit ;;
23148 --config | --confi | --conf | --con | --co | --c )
23149 printf "%s\n" "$ac_cs_config"; exit ;;
23150 --debug | --debu | --deb | --de | --d | -d )
23151 debug=: ;;
23152 --header | --heade | --head | --hea )
23153 $ac_shift
23154 case $ac_optarg in
23155 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23156 esac
23157 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23158 ac_need_defaults=false;;
23159 --he | --h)
23160 # Conflict between --help and --header
23161 as_fn_error $? "ambiguous option: \`$1'
23162 Try \`$0 --help' for more information.";;
23163 --help | --hel | -h )
23164 printf "%s\n" "$ac_cs_usage"; exit ;;
23165 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23166 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23167 ac_cs_silent=: ;;
23169 # This is an error.
23170 -*) as_fn_error $? "unrecognized option: \`$1'
23171 Try \`$0 --help' for more information." ;;
23173 *) as_fn_append ac_config_targets " $1"
23174 ac_need_defaults=false ;;
23176 esac
23177 shift
23178 done
23180 ac_configure_extra_args=
23182 if $ac_cs_silent; then
23183 exec 6>/dev/null
23184 ac_configure_extra_args="$ac_configure_extra_args --silent"
23187 _ACEOF
23188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23189 if \$ac_cs_recheck; then
23190 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23191 shift
23192 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23193 CONFIG_SHELL='$SHELL'
23194 export CONFIG_SHELL
23195 exec "\$@"
23198 _ACEOF
23199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23200 exec 5>>config.log
23202 echo
23203 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23204 ## Running $as_me. ##
23205 _ASBOX
23206 printf "%s\n" "$ac_log"
23207 } >&5
23209 _ACEOF
23210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23212 # INIT-COMMANDS
23214 wine_fn_output_makedep ()
23216 as_dir=tools; as_fn_mkdir_p
23217 $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
23219 wine_fn_output_makefile ()
23221 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23222 # This Makefile understands the following targets:
23224 # all (default): build wine
23225 # clean: remove all intermediate files
23226 # distclean: also remove all files created by configure
23227 # test: run tests
23228 # testclean: clean test results to force running all tests again
23229 # install-lib: install libraries needed to run applications
23230 # install-dev: install development environment
23231 # install: install everything
23232 # uninstall: uninstall everything
23233 # ctags: create a tags file for vim and others.
23234 # etags: create a TAGS file for Emacs.
23236 SHELL = $SHELL
23237 PATH_SEPARATOR = $PATH_SEPARATOR
23238 PACKAGE_NAME = $PACKAGE_NAME
23239 PACKAGE_TARNAME = $PACKAGE_TARNAME
23240 PACKAGE_VERSION = $PACKAGE_VERSION
23241 PACKAGE_STRING = $PACKAGE_STRING
23242 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23243 PACKAGE_URL = $PACKAGE_URL
23244 exec_prefix = $exec_prefix
23245 prefix = $prefix
23246 program_transform_name = $program_transform_name
23247 bindir = $bindir
23248 sbindir = $sbindir
23249 libexecdir = $libexecdir
23250 datarootdir = $datarootdir
23251 datadir = $datadir
23252 sysconfdir = $sysconfdir
23253 sharedstatedir = $sharedstatedir
23254 localstatedir = $localstatedir
23255 runstatedir = $runstatedir
23256 includedir = $includedir
23257 oldincludedir = $oldincludedir
23258 docdir = $docdir
23259 infodir = $infodir
23260 htmldir = $htmldir
23261 dvidir = $dvidir
23262 pdfdir = $pdfdir
23263 psdir = $psdir
23264 libdir = $libdir
23265 localedir = $localedir
23266 mandir = $mandir
23267 DEFS = $DEFS
23268 ECHO_C = $ECHO_C
23269 ECHO_N = $ECHO_N
23270 ECHO_T = $ECHO_T
23271 LIBS = $LIBS
23272 build_alias = $build_alias
23273 host_alias = $host_alias
23274 target_alias = $target_alias
23275 system_dllpath = $system_dllpath
23276 build = $build
23277 build_cpu = $build_cpu
23278 build_vendor = $build_vendor
23279 build_os = $build_os
23280 host = $host
23281 host_cpu = $host_cpu
23282 host_vendor = $host_vendor
23283 host_os = $host_os
23284 dlldir = $dlldir
23285 fontdir = $fontdir
23286 nlsdir = $nlsdir
23287 srcdir = $srcdir
23288 SET_MAKE = $SET_MAKE
23289 CC = $CC
23290 CFLAGS = $CFLAGS
23291 LDFLAGS = $LDFLAGS
23292 CPPFLAGS = $CPPFLAGS
23293 ac_ct_CC = $ac_ct_CC
23294 EXEEXT = $EXEEXT
23295 OBJEXT = $OBJEXT
23296 CXX = $CXX
23297 CXXFLAGS = $CXXFLAGS
23298 ac_ct_CXX = $ac_ct_CXX
23299 CPPBIN = $CPPBIN
23300 LD = $LD
23301 TARGETFLAGS = $TARGETFLAGS
23302 toolsext = $toolsext
23303 HOST_ARCH = $HOST_ARCH
23304 aarch64_CC = $aarch64_CC
23305 aarch64_CFLAGS = $aarch64_CFLAGS
23306 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23307 aarch64_LDFLAGS = $aarch64_LDFLAGS
23308 aarch64_DEBUG = $aarch64_DEBUG
23309 aarch64_TARGET = $aarch64_TARGET
23310 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23311 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23312 arm_CC = $arm_CC
23313 arm_CFLAGS = $arm_CFLAGS
23314 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23315 arm_LDFLAGS = $arm_LDFLAGS
23316 arm_DEBUG = $arm_DEBUG
23317 arm_TARGET = $arm_TARGET
23318 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23319 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23320 i386_CC = $i386_CC
23321 i386_CFLAGS = $i386_CFLAGS
23322 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23323 i386_LDFLAGS = $i386_LDFLAGS
23324 i386_DEBUG = $i386_DEBUG
23325 i386_TARGET = $i386_TARGET
23326 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23327 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23328 x86_64_CC = $x86_64_CC
23329 x86_64_CFLAGS = $x86_64_CFLAGS
23330 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23331 x86_64_LDFLAGS = $x86_64_LDFLAGS
23332 x86_64_DEBUG = $x86_64_DEBUG
23333 x86_64_TARGET = $x86_64_TARGET
23334 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23335 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23336 toolsdir = $toolsdir
23337 MAKEDEP = $MAKEDEP
23338 RUNTESTFLAGS = $RUNTESTFLAGS
23339 SED_CMD = $SED_CMD
23340 FLEX = $FLEX
23341 BISON = $BISON
23342 AR = $AR
23343 ac_ct_AR = $ac_ct_AR
23344 STRIP = $STRIP
23345 RANLIB = $RANLIB
23346 LN_S = $LN_S
23347 GREP = $GREP
23348 EGREP = $EGREP
23349 LDCONFIG = $LDCONFIG
23350 MSGFMT = $MSGFMT
23351 PKG_CONFIG = $PKG_CONFIG
23352 FONTFORGE = $FONTFORGE
23353 RSVG = $RSVG
23354 CONVERT = $CONVERT
23355 ICOTOOL = $ICOTOOL
23356 I386_LIBS = $I386_LIBS
23357 OPENGL_LIBS = $OPENGL_LIBS
23358 DLLFLAGS = $DLLFLAGS
23359 LDDLLFLAGS = $LDDLLFLAGS
23360 LDEXECFLAGS = $LDEXECFLAGS
23361 EXTRACFLAGS = $EXTRACFLAGS
23362 UNIXDLLFLAGS = $UNIXDLLFLAGS
23363 UNIXLDFLAGS = $UNIXLDFLAGS
23364 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23365 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23366 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23367 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23368 LDD = $LDD
23369 OTOOL = $OTOOL
23370 READELF = $READELF
23371 SUBDIRS = $SUBDIRS
23372 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23373 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23374 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23375 OBJC = $OBJC
23376 OBJCFLAGS = $OBJCFLAGS
23377 ac_ct_OBJC = $ac_ct_OBJC
23378 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23379 IOKIT_LIBS = $IOKIT_LIBS
23380 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23381 CORESERVICES_LIBS = $CORESERVICES_LIBS
23382 APPKIT_LIBS = $APPKIT_LIBS
23383 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23384 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23385 SECURITY_LIBS = $SECURITY_LIBS
23386 COREAUDIO_LIBS = $COREAUDIO_LIBS
23387 OPENAL_LIBS = $OPENAL_LIBS
23388 OPENCL_LIBS = $OPENCL_LIBS
23389 CARBON_LIBS = $CARBON_LIBS
23390 METAL_LIBS = $METAL_LIBS
23391 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23392 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23393 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23394 PRELINK = $PRELINK
23395 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23396 PE_ARCHS = $PE_ARCHS
23397 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23398 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23399 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23400 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23401 GSM_PE_LIBS = $GSM_PE_LIBS
23402 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23403 JPEG_PE_LIBS = $JPEG_PE_LIBS
23404 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23405 JXR_PE_LIBS = $JXR_PE_LIBS
23406 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23407 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23408 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23409 MPG123_PE_LIBS = $MPG123_PE_LIBS
23410 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23411 PNG_PE_LIBS = $PNG_PE_LIBS
23412 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23413 TIFF_PE_LIBS = $TIFF_PE_LIBS
23414 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23415 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23416 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23417 XML2_PE_LIBS = $XML2_PE_LIBS
23418 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23419 XSLT_PE_LIBS = $XSLT_PE_LIBS
23420 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23421 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23422 PTHREAD_LIBS = $PTHREAD_LIBS
23423 XMKMF = $XMKMF
23424 CPP = $CPP
23425 X_CFLAGS = $X_CFLAGS
23426 X_PRE_LIBS = $X_PRE_LIBS
23427 X_LIBS = $X_LIBS
23428 X_EXTRA_LIBS = $X_EXTRA_LIBS
23429 PCAP_LIBS = $PCAP_LIBS
23430 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23431 INOTIFY_LIBS = $INOTIFY_LIBS
23432 DBUS_CFLAGS = $DBUS_CFLAGS
23433 DBUS_LIBS = $DBUS_LIBS
23434 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23435 GNUTLS_LIBS = $GNUTLS_LIBS
23436 SANE_CFLAGS = $SANE_CFLAGS
23437 SANE_LIBS = $SANE_LIBS
23438 USB_CFLAGS = $USB_CFLAGS
23439 USB_LIBS = $USB_LIBS
23440 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23441 GPHOTO2_LIBS = $GPHOTO2_LIBS
23442 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23443 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23444 RESOLV_LIBS = $RESOLV_LIBS
23445 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23446 FREETYPE_LIBS = $FREETYPE_LIBS
23447 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23448 PULSE_CFLAGS = $PULSE_CFLAGS
23449 PULSE_LIBS = $PULSE_LIBS
23450 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23451 GSTREAMER_LIBS = $GSTREAMER_LIBS
23452 ALSA_LIBS = $ALSA_LIBS
23453 OSS4_CFLAGS = $OSS4_CFLAGS
23454 OSS4_LIBS = $OSS4_LIBS
23455 UDEV_CFLAGS = $UDEV_CFLAGS
23456 UDEV_LIBS = $UDEV_LIBS
23457 UNWIND_CFLAGS = $UNWIND_CFLAGS
23458 UNWIND_LIBS = $UNWIND_LIBS
23459 SDL2_CFLAGS = $SDL2_CFLAGS
23460 SDL2_LIBS = $SDL2_LIBS
23461 CAPI20_CFLAGS = $CAPI20_CFLAGS
23462 CAPI20_LIBS = $CAPI20_LIBS
23463 CUPS_CFLAGS = $CUPS_CFLAGS
23464 CUPS_LIBS = $CUPS_LIBS
23465 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23466 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23467 KRB5_CFLAGS = $KRB5_CFLAGS
23468 KRB5_LIBS = $KRB5_LIBS
23469 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23470 GSSAPI_LIBS = $GSSAPI_LIBS
23471 PROCSTAT_LIBS = $PROCSTAT_LIBS
23472 NETAPI_CFLAGS = $NETAPI_CFLAGS
23473 NETAPI_LIBS = $NETAPI_LIBS
23474 MSVCRTFLAGS = $MSVCRTFLAGS
23475 DELAYLOADFLAG = $DELAYLOADFLAG
23476 RT_LIBS = $RT_LIBS
23477 LDAP_CFLAGS = $LDAP_CFLAGS
23478 LDAP_LIBS = $LDAP_LIBS
23479 TAGSFLAGS = $TAGSFLAGS
23480 LIBOBJS = $LIBOBJS
23481 LTLIBOBJS = $LTLIBOBJS
23482 $SET_MAKE
23483 $wine_rules
23484 _WINE_EOF
23485 as_fn_error $? "could not create Makefile" "$LINENO" 5
23488 _ACEOF
23490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23492 # Handling of arguments.
23493 for ac_config_target in $ac_config_targets
23495 case $ac_config_target in
23496 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23497 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23498 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23499 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23500 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23501 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23503 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23504 esac
23505 done
23508 # If the user did not use the arguments to specify the items to instantiate,
23509 # then the envvar interface is used. Set only those that are not.
23510 # We use the long form for the default assignment because of an extremely
23511 # bizarre bug on SunOS 4.1.3.
23512 if $ac_need_defaults; then
23513 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23514 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23515 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23518 # Have a temporary directory for convenience. Make it in the build tree
23519 # simply because there is no reason against having it here, and in addition,
23520 # creating and moving files from /tmp can sometimes cause problems.
23521 # Hook for its removal unless debugging.
23522 # Note that there is a small window in which the directory will not be cleaned:
23523 # after its creation but before its name has been assigned to `$tmp'.
23524 $debug ||
23526 tmp= ac_tmp=
23527 trap 'exit_status=$?
23528 : "${ac_tmp:=$tmp}"
23529 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23531 trap 'as_fn_exit 1' 1 2 13 15
23533 # Create a (secure) tmp directory for tmp files.
23536 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23537 test -d "$tmp"
23538 } ||
23540 tmp=./conf$$-$RANDOM
23541 (umask 077 && mkdir "$tmp")
23542 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23543 ac_tmp=$tmp
23545 # Set up the scripts for CONFIG_HEADERS section.
23546 # No need to generate them if there are no CONFIG_HEADERS.
23547 # This happens for instance with `./config.status Makefile'.
23548 if test -n "$CONFIG_HEADERS"; then
23549 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23550 BEGIN {
23551 _ACEOF
23553 # Transform confdefs.h into an awk script `defines.awk', embedded as
23554 # here-document in config.status, that substitutes the proper values into
23555 # config.h.in to produce config.h.
23557 # Create a delimiter string that does not exist in confdefs.h, to ease
23558 # handling of long lines.
23559 ac_delim='%!_!# '
23560 for ac_last_try in false false :; do
23561 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23562 if test -z "$ac_tt"; then
23563 break
23564 elif $ac_last_try; then
23565 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23566 else
23567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23569 done
23571 # For the awk script, D is an array of macro values keyed by name,
23572 # likewise P contains macro parameters if any. Preserve backslash
23573 # newline sequences.
23575 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23576 sed -n '
23577 s/.\{148\}/&'"$ac_delim"'/g
23578 t rset
23579 :rset
23580 s/^[ ]*#[ ]*define[ ][ ]*/ /
23581 t def
23583 :def
23584 s/\\$//
23585 t bsnl
23586 s/["\\]/\\&/g
23587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23588 D["\1"]=" \3"/p
23589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23591 :bsnl
23592 s/["\\]/\\&/g
23593 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23594 D["\1"]=" \3\\\\\\n"\\/p
23595 t cont
23596 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23597 t cont
23599 :cont
23601 s/.\{148\}/&'"$ac_delim"'/g
23602 t clear
23603 :clear
23604 s/\\$//
23605 t bsnlc
23606 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23608 :bsnlc
23609 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23610 b cont
23611 ' <confdefs.h | sed '
23612 s/'"$ac_delim"'/"\\\
23613 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23616 for (key in D) D_is_set[key] = 1
23617 FS = "\a"
23619 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23620 line = \$ 0
23621 split(line, arg, " ")
23622 if (arg[1] == "#") {
23623 defundef = arg[2]
23624 mac1 = arg[3]
23625 } else {
23626 defundef = substr(arg[1], 2)
23627 mac1 = arg[2]
23629 split(mac1, mac2, "(") #)
23630 macro = mac2[1]
23631 prefix = substr(line, 1, index(line, defundef) - 1)
23632 if (D_is_set[macro]) {
23633 # Preserve the white space surrounding the "#".
23634 print prefix "define", macro P[macro] D[macro]
23635 next
23636 } else {
23637 # Replace #undef with comments. This is necessary, for example,
23638 # in the case of _POSIX_SOURCE, which is predefined and required
23639 # on some systems where configure will not decide to define it.
23640 if (defundef == "undef") {
23641 print "/*", prefix defundef, macro, "*/"
23642 next
23646 { print }
23647 _ACAWK
23648 _ACEOF
23649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23650 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23651 fi # test -n "$CONFIG_HEADERS"
23654 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23655 shift
23656 for ac_tag
23658 case $ac_tag in
23659 :[FHLC]) ac_mode=$ac_tag; continue;;
23660 esac
23661 case $ac_mode$ac_tag in
23662 :[FHL]*:*);;
23663 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23664 :[FH]-) ac_tag=-:-;;
23665 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23666 esac
23667 ac_save_IFS=$IFS
23668 IFS=:
23669 set x $ac_tag
23670 IFS=$ac_save_IFS
23671 shift
23672 ac_file=$1
23673 shift
23675 case $ac_mode in
23676 :L) ac_source=$1;;
23677 :[FH])
23678 ac_file_inputs=
23679 for ac_f
23681 case $ac_f in
23682 -) ac_f="$ac_tmp/stdin";;
23683 *) # Look for the file first in the build tree, then in the source tree
23684 # (if the path is not absolute). The absolute path cannot be DOS-style,
23685 # because $ac_f cannot contain `:'.
23686 test -f "$ac_f" ||
23687 case $ac_f in
23688 [\\/$]*) false;;
23689 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23690 esac ||
23691 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23692 esac
23693 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23694 as_fn_append ac_file_inputs " '$ac_f'"
23695 done
23697 # Let's still pretend it is `configure' which instantiates (i.e., don't
23698 # use $as_me), people would be surprised to read:
23699 # /* config.h. Generated by config.status. */
23700 configure_input='Generated from '`
23701 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23702 `' by configure.'
23703 if test x"$ac_file" != x-; then
23704 configure_input="$ac_file. $configure_input"
23705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23706 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23708 # Neutralize special characters interpreted by sed in replacement strings.
23709 case $configure_input in #(
23710 *\&* | *\|* | *\\* )
23711 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23712 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23713 *) ac_sed_conf_input=$configure_input;;
23714 esac
23716 case $ac_tag in
23717 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23719 esac
23721 esac
23723 ac_dir=`$as_dirname -- "$ac_file" ||
23724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23725 X"$ac_file" : 'X\(//\)[^/]' \| \
23726 X"$ac_file" : 'X\(//\)$' \| \
23727 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23728 printf "%s\n" X"$ac_file" |
23729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23730 s//\1/
23733 /^X\(\/\/\)[^/].*/{
23734 s//\1/
23737 /^X\(\/\/\)$/{
23738 s//\1/
23741 /^X\(\/\).*/{
23742 s//\1/
23745 s/.*/./; q'`
23746 as_dir="$ac_dir"; as_fn_mkdir_p
23747 ac_builddir=.
23749 case "$ac_dir" in
23750 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23752 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23753 # A ".." for each directory in $ac_dir_suffix.
23754 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23755 case $ac_top_builddir_sub in
23756 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23757 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23758 esac ;;
23759 esac
23760 ac_abs_top_builddir=$ac_pwd
23761 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23762 # for backward compatibility:
23763 ac_top_builddir=$ac_top_build_prefix
23765 case $srcdir in
23766 .) # We are building in place.
23767 ac_srcdir=.
23768 ac_top_srcdir=$ac_top_builddir_sub
23769 ac_abs_top_srcdir=$ac_pwd ;;
23770 [\\/]* | ?:[\\/]* ) # Absolute name.
23771 ac_srcdir=$srcdir$ac_dir_suffix;
23772 ac_top_srcdir=$srcdir
23773 ac_abs_top_srcdir=$srcdir ;;
23774 *) # Relative name.
23775 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23776 ac_top_srcdir=$ac_top_build_prefix$srcdir
23777 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23778 esac
23779 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23782 case $ac_mode in
23786 # CONFIG_HEADER
23788 if test x"$ac_file" != x-; then
23790 printf "%s\n" "/* $configure_input */" >&1 \
23791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23792 } >"$ac_tmp/config.h" \
23793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23794 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23796 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23797 else
23798 rm -f "$ac_file"
23799 mv "$ac_tmp/config.h" "$ac_file" \
23800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23802 else
23803 printf "%s\n" "/* $configure_input */" >&1 \
23804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23805 || as_fn_error $? "could not create -" "$LINENO" 5
23810 # CONFIG_LINK
23813 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23815 else
23816 # Prefer the file from the source tree if names are identical.
23817 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23818 ac_source=$srcdir/$ac_source
23821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23822 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23824 if test ! -r "$ac_source"; then
23825 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23827 rm -f "$ac_file"
23829 # Try a relative symlink, then a hard link, then a copy.
23830 case $ac_source in
23831 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23832 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23833 esac
23834 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23835 ln "$ac_source" "$ac_file" 2>/dev/null ||
23836 cp -p "$ac_source" "$ac_file" ||
23837 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23840 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23841 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23843 esac
23846 case $ac_file$ac_mode in
23847 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23848 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23849 "Makefile":C) wine_fn_output_makefile Makefile ;;
23851 esac
23852 done # for ac_tag
23855 as_fn_exit 0
23856 _ACEOF
23857 ac_clean_files=$ac_clean_files_save
23859 test $ac_write_fail = 0 ||
23860 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23863 # configure is writing to config.log, and then calls config.status.
23864 # config.status does its own redirection, appending to config.log.
23865 # Unfortunately, on DOS this fails, as config.log is still kept open
23866 # by configure, so config.status won't be able to write to it; its
23867 # output is simply discarded. So we exec the FD to /dev/null,
23868 # effectively closing config.log, so it can be properly (re)opened and
23869 # appended to by config.status. When coming back to configure, we
23870 # need to make the FD available again.
23871 if test "$no_create" != yes; then
23872 ac_cs_success=:
23873 ac_config_status_args=
23874 test "$silent" = yes &&
23875 ac_config_status_args="$ac_config_status_args --quiet"
23876 exec 5>/dev/null
23877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23878 exec 5>>config.log
23879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23880 # would make configure fail if this is the last instruction.
23881 $ac_cs_success || as_fn_exit 1
23883 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23885 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23889 if test "$no_create" = "yes"
23890 then
23891 exit 0
23894 ac_save_IFS="$IFS"
23895 if test "x$wine_notices" != x; then
23896 echo >&6
23897 IFS="|"
23898 for msg in $wine_notices; do
23899 IFS="$ac_save_IFS"
23900 if ${msg:+false} :
23901 then :
23903 else $as_nop
23904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23905 printf "%s\n" "$as_me: $msg" >&6;}
23907 done
23909 IFS="|"
23910 for msg in $wine_warnings; do
23911 IFS="$ac_save_IFS"
23912 if ${msg:+false} :
23913 then :
23915 else $as_nop
23916 echo >&2
23917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23918 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23920 done
23921 IFS="$ac_save_IFS"
23923 printf "%s\n" "
23924 $as_me: Finished. Do '${ac_make}' to compile Wine.
23925 " >&6