mshtml: Allow accessing some document elements as props via id.
[wine.git] / configure
blob2efb2a37011c041a44effb2421e0bbcb7c10a5ea
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.18.
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.18'
615 PACKAGE_STRING='Wine 7.18'
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 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LCMS2_PE_LIBS
726 LCMS2_PE_CFLAGS
727 JXR_PE_LIBS
728 JXR_PE_CFLAGS
729 JPEG_PE_LIBS
730 JPEG_PE_CFLAGS
731 GSM_PE_LIBS
732 GSM_PE_CFLAGS
733 FAUDIO_PE_LIBS
734 FAUDIO_PE_CFLAGS
735 MINGW_PKG_CONFIG
736 EXCESS_PRECISION_CFLAGS
737 CROSSDEBUG
738 DELAYLOADFLAG
739 CROSSLDFLAGS
740 EXTRACROSSCFLAGS
741 CROSSCFLAGS
742 CROSSCC
743 CROSSTARGET
744 LIBWINE_DEPENDS
745 PRELINK
746 WINELOADER_DEPENDS
747 LIBWINE_LDFLAGS
748 LIBWINE_SHAREDLIB
749 METAL_LIBS
750 CARBON_LIBS
751 OPENCL_LIBS
752 OPENAL_LIBS
753 COREAUDIO_LIBS
754 SECURITY_LIBS
755 DISKARBITRATION_LIBS
756 SYSTEMCONFIGURATION_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 IOKIT_LIBS
761 COREFOUNDATION_LIBS
762 ac_ct_OBJC
763 OBJCFLAGS
764 OBJC
765 DLLTOOL
766 WINELOADER_PROGRAMS
767 CONFIGURE_TARGETS
768 DISABLED_SUBDIRS
769 SUBDIRS
770 READELF
771 OTOOL
773 WINEPRELOADER_LDFLAGS
774 WINELOADER_LDFLAGS
775 TOP_INSTALL_DEV
776 TOP_INSTALL_LIB
777 UNIXLDFLAGS
778 UNIXDLLFLAGS
779 EXTRACFLAGS
780 LDEXECFLAGS
781 LDDLLFLAGS
782 DLLFLAGS
783 OPENGL_LIBS
784 I386_LIBS
785 ICOTOOL
786 CONVERT
787 RSVG
788 FONTFORGE
789 PKG_CONFIG
790 MSGFMT
791 LDCONFIG
792 EGREP
793 GREP
794 LN_S
795 RANLIB
796 STRIP
797 ac_ct_AR
799 BISON
800 FLEX
801 SED_CMD
802 RUNTESTFLAGS
803 MAKEDEP
804 toolsdir
805 toolsext
806 TARGETFLAGS
808 CPPBIN
809 ac_ct_CXX
810 CXXFLAGS
812 OBJEXT
813 EXEEXT
814 ac_ct_CC
815 CPPFLAGS
816 LDFLAGS
817 CFLAGS
819 SET_MAKE
820 srcdir
821 nlsdir
822 fontdir
823 dlldir
824 host_os
825 host_vendor
826 host_cpu
827 host
828 build_os
829 build_vendor
830 build_cpu
831 build
832 system_dllpath
833 target_alias
834 host_alias
835 build_alias
836 LIBS
837 ECHO_T
838 ECHO_N
839 ECHO_C
840 DEFS
841 mandir
842 localedir
843 libdir
844 psdir
845 pdfdir
846 dvidir
847 htmldir
848 infodir
849 docdir
850 oldincludedir
851 includedir
852 runstatedir
853 localstatedir
854 sharedstatedir
855 sysconfdir
856 datadir
857 datarootdir
858 libexecdir
859 sbindir
860 bindir
861 program_transform_name
862 prefix
863 exec_prefix
864 PACKAGE_URL
865 PACKAGE_BUGREPORT
866 PACKAGE_STRING
867 PACKAGE_VERSION
868 PACKAGE_TARNAME
869 PACKAGE_NAME
870 PATH_SEPARATOR
871 SHELL'
872 ac_subst_files=''
873 ac_user_opts='
874 enable_option_checking
875 enable_win16
876 enable_win64
877 enable_tests
878 enable_build_id
879 enable_maintainer_mode
880 enable_silent_rules
881 enable_werror
882 with_alsa
883 with_capi
884 with_coreaudio
885 with_cups
886 with_dbus
887 with_float_abi
888 with_fontconfig
889 with_freetype
890 with_gettext
891 with_gettextpo
892 with_gphoto
893 with_gnutls
894 with_gssapi
895 with_gstreamer
896 with_inotify
897 with_krb5
898 with_ldap
899 with_mingw
900 with_netapi
901 with_openal
902 with_opencl
903 with_opengl
904 with_osmesa
905 with_oss
906 with_pcap
907 with_pthread
908 with_pulse
909 with_sane
910 with_sdl
911 with_udev
912 with_unwind
913 with_usb
914 with_v4l2
915 with_vulkan
916 with_xcomposite
917 with_xcursor
918 with_xfixes
919 with_xinerama
920 with_xinput
921 with_xinput2
922 with_xrandr
923 with_xrender
924 with_xshape
925 with_xshm
926 with_xxf86vm
927 with_system_dllpath
928 with_wine_tools
929 with_wine64
930 enable_largefile
931 with_x
932 enable_acledit
933 enable_aclui
934 enable_activeds_tlb
935 enable_activeds
936 enable_actxprxy
937 enable_adsldp
938 enable_adsldpc
939 enable_advapi32
940 enable_advpack
941 enable_amsi
942 enable_amstream
943 enable_apisetschema
944 enable_apphelp
945 enable_appwiz_cpl
946 enable_atl
947 enable_atl100
948 enable_atl110
949 enable_atl80
950 enable_atl90
951 enable_atlthunk
952 enable_atmlib
953 enable_authz
954 enable_avicap32
955 enable_avifil32
956 enable_avrt
957 enable_bcrypt
958 enable_bluetoothapis
959 enable_browseui
960 enable_bthprops_cpl
961 enable_cabinet
962 enable_capi2032
963 enable_cards
964 enable_cdosys
965 enable_cfgmgr32
966 enable_clusapi
967 enable_cng_sys
968 enable_combase
969 enable_comcat
970 enable_comctl32
971 enable_comdlg32
972 enable_compstui
973 enable_comsvcs
974 enable_concrt140
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptowinrt
984 enable_cryptsp
985 enable_cryptui
986 enable_ctapi32
987 enable_ctl3d32
988 enable_d2d1
989 enable_d3d10
990 enable_d3d10_1
991 enable_d3d10core
992 enable_d3d11
993 enable_d3d12
994 enable_d3d8
995 enable_d3d8thk
996 enable_d3d9
997 enable_d3dcompiler_33
998 enable_d3dcompiler_34
999 enable_d3dcompiler_35
1000 enable_d3dcompiler_36
1001 enable_d3dcompiler_37
1002 enable_d3dcompiler_38
1003 enable_d3dcompiler_39
1004 enable_d3dcompiler_40
1005 enable_d3dcompiler_41
1006 enable_d3dcompiler_42
1007 enable_d3dcompiler_43
1008 enable_d3dcompiler_46
1009 enable_d3dcompiler_47
1010 enable_d3dim
1011 enable_d3dim700
1012 enable_d3drm
1013 enable_d3dx10_33
1014 enable_d3dx10_34
1015 enable_d3dx10_35
1016 enable_d3dx10_36
1017 enable_d3dx10_37
1018 enable_d3dx10_38
1019 enable_d3dx10_39
1020 enable_d3dx10_40
1021 enable_d3dx10_41
1022 enable_d3dx10_42
1023 enable_d3dx10_43
1024 enable_d3dx11_42
1025 enable_d3dx11_43
1026 enable_d3dx9_24
1027 enable_d3dx9_25
1028 enable_d3dx9_26
1029 enable_d3dx9_27
1030 enable_d3dx9_28
1031 enable_d3dx9_29
1032 enable_d3dx9_30
1033 enable_d3dx9_31
1034 enable_d3dx9_32
1035 enable_d3dx9_33
1036 enable_d3dx9_34
1037 enable_d3dx9_35
1038 enable_d3dx9_36
1039 enable_d3dx9_37
1040 enable_d3dx9_38
1041 enable_d3dx9_39
1042 enable_d3dx9_40
1043 enable_d3dx9_41
1044 enable_d3dx9_42
1045 enable_d3dx9_43
1046 enable_d3dxof
1047 enable_davclnt
1048 enable_dbgeng
1049 enable_dbghelp
1050 enable_dciman32
1051 enable_dcomp
1052 enable_ddraw
1053 enable_ddrawex
1054 enable_devenum
1055 enable_dhcpcsvc
1056 enable_dhcpcsvc6
1057 enable_dhtmled_ocx
1058 enable_diasymreader
1059 enable_difxapi
1060 enable_dinput
1061 enable_dinput8
1062 enable_directmanipulation
1063 enable_dispex
1064 enable_dmband
1065 enable_dmcompos
1066 enable_dmime
1067 enable_dmloader
1068 enable_dmscript
1069 enable_dmstyle
1070 enable_dmsynth
1071 enable_dmusic
1072 enable_dmusic32
1073 enable_dnsapi
1074 enable_dplay
1075 enable_dplayx
1076 enable_dpnaddr
1077 enable_dpnet
1078 enable_dpnhpast
1079 enable_dpnhupnp
1080 enable_dpnlobby
1081 enable_dpvoice
1082 enable_dpwsockx
1083 enable_drmclien
1084 enable_dsdmo
1085 enable_dsound
1086 enable_dsquery
1087 enable_dssenh
1088 enable_dsuiext
1089 enable_dswave
1090 enable_dwmapi
1091 enable_dwrite
1092 enable_dx8vb
1093 enable_dxdiagn
1094 enable_dxgi
1095 enable_dxtrans
1096 enable_dxva2
1097 enable_esent
1098 enable_evr
1099 enable_explorerframe
1100 enable_faultrep
1101 enable_feclient
1102 enable_fltlib
1103 enable_fltmgr_sys
1104 enable_fntcache
1105 enable_fontsub
1106 enable_fusion
1107 enable_fwpuclnt
1108 enable_gameux
1109 enable_gamingtcui
1110 enable_gdi32
1111 enable_gdiplus
1112 enable_glu32
1113 enable_gphoto2_ds
1114 enable_gpkcsp
1115 enable_hal
1116 enable_hhctrl_ocx
1117 enable_hid
1118 enable_hidclass_sys
1119 enable_hidparse_sys
1120 enable_hlink
1121 enable_hnetcfg
1122 enable_http_sys
1123 enable_httpapi
1124 enable_ia2comproxy
1125 enable_iccvid
1126 enable_icmp
1127 enable_ieframe
1128 enable_ieproxy
1129 enable_imaadp32_acm
1130 enable_imagehlp
1131 enable_imm32
1132 enable_inetcomm
1133 enable_inetcpl_cpl
1134 enable_inetmib1
1135 enable_infosoft
1136 enable_initpki
1137 enable_inkobj
1138 enable_inseng
1139 enable_iphlpapi
1140 enable_iprop
1141 enable_irprops_cpl
1142 enable_itircl
1143 enable_itss
1144 enable_joy_cpl
1145 enable_jscript
1146 enable_jsproxy
1147 enable_kerberos
1148 enable_kernel32
1149 enable_kernelbase
1150 enable_ksecdd_sys
1151 enable_ksproxy_ax
1152 enable_ksuser
1153 enable_ktmw32
1154 enable_l3codeca_acm
1155 enable_light_msstyles
1156 enable_loadperf
1157 enable_localspl
1158 enable_localui
1159 enable_lz32
1160 enable_mapi32
1161 enable_mapistub
1162 enable_mciavi32
1163 enable_mcicda
1164 enable_mciqtz32
1165 enable_mciseq
1166 enable_mciwave
1167 enable_mf
1168 enable_mf3216
1169 enable_mferror
1170 enable_mfmediaengine
1171 enable_mfplat
1172 enable_mfplay
1173 enable_mfreadwrite
1174 enable_mfsrcsnk
1175 enable_mgmtapi
1176 enable_midimap
1177 enable_mlang
1178 enable_mmcndmgr
1179 enable_mmdevapi
1180 enable_mountmgr_sys
1181 enable_mp3dmod
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msado15
1187 enable_msadp32_acm
1188 enable_msasn1
1189 enable_mscat32
1190 enable_mscms
1191 enable_mscoree
1192 enable_mscorwks
1193 enable_msctf
1194 enable_msctfmonitor
1195 enable_msctfp
1196 enable_msdaps
1197 enable_msdasql
1198 enable_msdelta
1199 enable_msdmo
1200 enable_msdrm
1201 enable_msftedit
1202 enable_msg711_acm
1203 enable_msgsm32_acm
1204 enable_mshtml_tlb
1205 enable_mshtml
1206 enable_msi
1207 enable_msident
1208 enable_msimg32
1209 enable_msimsg
1210 enable_msimtf
1211 enable_msisip
1212 enable_msisys_ocx
1213 enable_msls31
1214 enable_msnet32
1215 enable_mspatcha
1216 enable_msports
1217 enable_msrle32
1218 enable_msscript_ocx
1219 enable_mssign32
1220 enable_mssip32
1221 enable_mstask
1222 enable_msv1_0
1223 enable_msvcirt
1224 enable_msvcm80
1225 enable_msvcm90
1226 enable_msvcp100
1227 enable_msvcp110
1228 enable_msvcp120
1229 enable_msvcp120_app
1230 enable_msvcp140
1231 enable_msvcp140_1
1232 enable_msvcp140_2
1233 enable_msvcp140_atomic_wait
1234 enable_msvcp60
1235 enable_msvcp70
1236 enable_msvcp71
1237 enable_msvcp80
1238 enable_msvcp90
1239 enable_msvcp_win
1240 enable_msvcr100
1241 enable_msvcr110
1242 enable_msvcr120
1243 enable_msvcr120_app
1244 enable_msvcr70
1245 enable_msvcr71
1246 enable_msvcr80
1247 enable_msvcr90
1248 enable_msvcrt
1249 enable_msvcrt20
1250 enable_msvcrt40
1251 enable_msvcrtd
1252 enable_msvfw32
1253 enable_msvidc32
1254 enable_mswsock
1255 enable_msxml
1256 enable_msxml2
1257 enable_msxml3
1258 enable_msxml4
1259 enable_msxml6
1260 enable_mtxdm
1261 enable_ncrypt
1262 enable_nddeapi
1263 enable_ndis_sys
1264 enable_netapi32
1265 enable_netcfgx
1266 enable_netio_sys
1267 enable_netprofm
1268 enable_netutils
1269 enable_newdev
1270 enable_ninput
1271 enable_normaliz
1272 enable_npmshtml
1273 enable_npptools
1274 enable_nsi
1275 enable_nsiproxy_sys
1276 enable_ntdll
1277 enable_ntdsapi
1278 enable_ntoskrnl_exe
1279 enable_ntprint
1280 enable_objsel
1281 enable_odbc32
1282 enable_odbcbcp
1283 enable_odbccp32
1284 enable_odbccu32
1285 enable_ole32
1286 enable_oleacc
1287 enable_oleaut32
1288 enable_olecli32
1289 enable_oledb32
1290 enable_oledlg
1291 enable_olepro32
1292 enable_olesvr32
1293 enable_olethk32
1294 enable_opcservices
1295 enable_openal32
1296 enable_opencl
1297 enable_opengl32
1298 enable_packager
1299 enable_pdh
1300 enable_photometadatahandler
1301 enable_pidgen
1302 enable_powrprof
1303 enable_printui
1304 enable_prntvpt
1305 enable_propsys
1306 enable_psapi
1307 enable_pstorec
1308 enable_pwrshplugin
1309 enable_qasf
1310 enable_qcap
1311 enable_qdvd
1312 enable_qedit
1313 enable_qmgr
1314 enable_qmgrprxy
1315 enable_quartz
1316 enable_query
1317 enable_qwave
1318 enable_rasapi32
1319 enable_rasdlg
1320 enable_regapi
1321 enable_resutils
1322 enable_riched20
1323 enable_riched32
1324 enable_rpcrt4
1325 enable_rsabase
1326 enable_rsaenh
1327 enable_rstrtmgr
1328 enable_rtutils
1329 enable_rtworkq
1330 enable_samlib
1331 enable_sane_ds
1332 enable_sapi
1333 enable_sas
1334 enable_scarddlg
1335 enable_sccbase
1336 enable_schannel
1337 enable_schedsvc
1338 enable_scrobj
1339 enable_scrrun
1340 enable_scsiport_sys
1341 enable_sechost
1342 enable_secur32
1343 enable_security
1344 enable_sensapi
1345 enable_serialui
1346 enable_setupapi
1347 enable_sfc
1348 enable_sfc_os
1349 enable_shcore
1350 enable_shdoclc
1351 enable_shdocvw
1352 enable_shell32
1353 enable_shfolder
1354 enable_shlwapi
1355 enable_slbcsp
1356 enable_slc
1357 enable_snmpapi
1358 enable_softpub
1359 enable_spoolss
1360 enable_sppc
1361 enable_srclient
1362 enable_srvcli
1363 enable_sspicli
1364 enable_stdole2_tlb
1365 enable_stdole32_tlb
1366 enable_sti
1367 enable_strmdll
1368 enable_svrapi
1369 enable_sxs
1370 enable_t2embed
1371 enable_tapi32
1372 enable_taskschd
1373 enable_tbs
1374 enable_tdh
1375 enable_tdi_sys
1376 enable_threadpoolwinrt
1377 enable_traffic
1378 enable_twain_32
1379 enable_tzres
1380 enable_ucrtbase
1381 enable_uianimation
1382 enable_uiautomationcore
1383 enable_uiribbon
1384 enable_unicows
1385 enable_updspapi
1386 enable_url
1387 enable_urlmon
1388 enable_usbd_sys
1389 enable_user32
1390 enable_userenv
1391 enable_usp10
1392 enable_utildll
1393 enable_uxtheme
1394 enable_vbscript
1395 enable_vcomp
1396 enable_vcomp100
1397 enable_vcomp110
1398 enable_vcomp120
1399 enable_vcomp140
1400 enable_vcomp90
1401 enable_vcruntime140
1402 enable_vcruntime140_1
1403 enable_vdmdbg
1404 enable_version
1405 enable_vga
1406 enable_virtdisk
1407 enable_vssapi
1408 enable_vulkan_1
1409 enable_wbemdisp
1410 enable_wbemprox
1411 enable_wdscore
1412 enable_webservices
1413 enable_websocket
1414 enable_wer
1415 enable_wevtapi
1416 enable_wevtsvc
1417 enable_wiaservc
1418 enable_wimgapi
1419 enable_win32u
1420 enable_windows_devices_enumeration
1421 enable_windows_gaming_input
1422 enable_windows_globalization
1423 enable_windows_media_devices
1424 enable_windows_media_speech
1425 enable_windows_networking
1426 enable_windowscodecs
1427 enable_windowscodecsext
1428 enable_winealsa_drv
1429 enable_wineandroid_drv
1430 enable_winebus_sys
1431 enable_winecoreaudio_drv
1432 enable_winecrt0
1433 enable_wined3d
1434 enable_winegstreamer
1435 enable_winehid_sys
1436 enable_winemac_drv
1437 enable_winemapi
1438 enable_wineoss_drv
1439 enable_wineps_drv
1440 enable_winepulse_drv
1441 enable_wineusb_sys
1442 enable_winevulkan
1443 enable_winex11_drv
1444 enable_winexinput_sys
1445 enable_wing32
1446 enable_winhttp
1447 enable_wininet
1448 enable_winmm
1449 enable_winnls32
1450 enable_winscard
1451 enable_winspool_drv
1452 enable_winsta
1453 enable_wintab32
1454 enable_wintrust
1455 enable_wintypes
1456 enable_winusb
1457 enable_wlanapi
1458 enable_wlanui
1459 enable_wldap32
1460 enable_wmasf
1461 enable_wmi
1462 enable_wmiutils
1463 enable_wmp
1464 enable_wmphoto
1465 enable_wmvcore
1466 enable_wnaspi32
1467 enable_wow64
1468 enable_wow64cpu
1469 enable_wow64win
1470 enable_wpc
1471 enable_wpcap
1472 enable_ws2_32
1473 enable_wsdapi
1474 enable_wshom_ocx
1475 enable_wsnmp32
1476 enable_wsock32
1477 enable_wtsapi32
1478 enable_wuapi
1479 enable_wuaueng
1480 enable_x3daudio1_0
1481 enable_x3daudio1_1
1482 enable_x3daudio1_2
1483 enable_x3daudio1_3
1484 enable_x3daudio1_4
1485 enable_x3daudio1_5
1486 enable_x3daudio1_6
1487 enable_x3daudio1_7
1488 enable_xactengine2_0
1489 enable_xactengine2_4
1490 enable_xactengine2_7
1491 enable_xactengine2_9
1492 enable_xactengine3_0
1493 enable_xactengine3_1
1494 enable_xactengine3_2
1495 enable_xactengine3_3
1496 enable_xactengine3_4
1497 enable_xactengine3_5
1498 enable_xactengine3_6
1499 enable_xactengine3_7
1500 enable_xapofx1_1
1501 enable_xapofx1_2
1502 enable_xapofx1_3
1503 enable_xapofx1_4
1504 enable_xapofx1_5
1505 enable_xaudio2_0
1506 enable_xaudio2_1
1507 enable_xaudio2_2
1508 enable_xaudio2_3
1509 enable_xaudio2_4
1510 enable_xaudio2_5
1511 enable_xaudio2_6
1512 enable_xaudio2_7
1513 enable_xaudio2_8
1514 enable_xaudio2_9
1515 enable_xinput1_1
1516 enable_xinput1_2
1517 enable_xinput1_3
1518 enable_xinput1_4
1519 enable_xinput9_1_0
1520 enable_xmllite
1521 enable_xolehlp
1522 enable_xpsprint
1523 enable_xpssvcs
1524 enable_fonts
1525 enable_include
1526 enable_adsiid
1527 enable_dmoguids
1528 enable_dxerr8
1529 enable_dxerr9
1530 enable_dxguid
1531 enable_faudio
1532 enable_gsm
1533 enable_jpeg
1534 enable_jxr
1535 enable_lcms2
1536 enable_mfuuid
1537 enable_mpg123
1538 enable_png
1539 enable_strmbase
1540 enable_strmiids
1541 enable_tiff
1542 enable_uuid
1543 enable_vkd3d
1544 enable_wbemuuid
1545 enable_wine
1546 enable_wmcodecdspuuid
1547 enable_xml2
1548 enable_xslt
1549 enable_zlib
1550 enable_loader
1551 enable_nls
1552 enable_po
1553 enable_arp
1554 enable_aspnet_regiis
1555 enable_attrib
1556 enable_cabarc
1557 enable_cacls
1558 enable_chcp_com
1559 enable_clock
1560 enable_cmd
1561 enable_conhost
1562 enable_control
1563 enable_cscript
1564 enable_dism
1565 enable_dllhost
1566 enable_dplaysvr
1567 enable_dpnsvr
1568 enable_dpvsetup
1569 enable_dxdiag
1570 enable_eject
1571 enable_expand
1572 enable_explorer
1573 enable_extrac32
1574 enable_fc
1575 enable_find
1576 enable_findstr
1577 enable_fsutil
1578 enable_hh
1579 enable_hostname
1580 enable_icacls
1581 enable_icinfo
1582 enable_iexplore
1583 enable_ipconfig
1584 enable_lodctr
1585 enable_mofcomp
1586 enable_mshta
1587 enable_msidb
1588 enable_msiexec
1589 enable_msinfo32
1590 enable_net
1591 enable_netsh
1592 enable_netstat
1593 enable_ngen
1594 enable_notepad
1595 enable_oleview
1596 enable_ping
1597 enable_plugplay
1598 enable_powershell
1599 enable_presentationfontcache
1600 enable_progman
1601 enable_reg
1602 enable_regasm
1603 enable_regedit
1604 enable_regini
1605 enable_regsvcs
1606 enable_regsvr32
1607 enable_robocopy
1608 enable_rpcss
1609 enable_rundll32
1610 enable_sc
1611 enable_schtasks
1612 enable_sdbinst
1613 enable_secedit
1614 enable_servicemodelreg
1615 enable_services
1616 enable_shutdown
1617 enable_spoolsv
1618 enable_start
1619 enable_subst
1620 enable_svchost
1621 enable_systeminfo
1622 enable_taskkill
1623 enable_tasklist
1624 enable_taskmgr
1625 enable_termsv
1626 enable_uninstaller
1627 enable_unlodctr
1628 enable_view
1629 enable_wevtutil
1630 enable_where
1631 enable_whoami
1632 enable_wineboot
1633 enable_winebrowser
1634 enable_winecfg
1635 enable_wineconsole
1636 enable_winedbg
1637 enable_winedevice
1638 enable_winefile
1639 enable_winemenubuilder
1640 enable_winemine
1641 enable_winemsibuilder
1642 enable_winepath
1643 enable_winetest
1644 enable_winhlp32
1645 enable_winmgmt
1646 enable_winver
1647 enable_wmic
1648 enable_wmplayer
1649 enable_wordpad
1650 enable_write
1651 enable_wscript
1652 enable_wuauserv
1653 enable_wusa
1654 enable_xcopy
1655 enable_server
1656 enable_tools
1657 enable_sfnt2fon
1658 enable_widl
1659 enable_winebuild
1660 enable_winedump
1661 enable_winegcc
1662 enable_winemaker
1663 enable_wmc
1664 enable_wrc
1666 ac_precious_vars='build_alias
1667 host_alias
1668 target_alias
1670 CFLAGS
1671 LDFLAGS
1672 LIBS
1673 CPPFLAGS
1675 CXXFLAGS
1677 OBJC
1678 OBJCFLAGS
1679 FAUDIO_PE_CFLAGS
1680 FAUDIO_PE_LIBS
1681 GSM_PE_CFLAGS
1682 GSM_PE_LIBS
1683 JPEG_PE_CFLAGS
1684 JPEG_PE_LIBS
1685 JXR_PE_CFLAGS
1686 JXR_PE_LIBS
1687 LCMS2_PE_CFLAGS
1688 LCMS2_PE_LIBS
1689 MPG123_PE_CFLAGS
1690 MPG123_PE_LIBS
1691 PNG_PE_CFLAGS
1692 PNG_PE_LIBS
1693 TIFF_PE_CFLAGS
1694 TIFF_PE_LIBS
1695 VKD3D_PE_CFLAGS
1696 VKD3D_PE_LIBS
1697 XML2_PE_CFLAGS
1698 XML2_PE_LIBS
1699 XSLT_PE_CFLAGS
1700 XSLT_PE_LIBS
1701 ZLIB_PE_CFLAGS
1702 ZLIB_PE_LIBS
1703 XMKMF
1705 INOTIFY_CFLAGS
1706 INOTIFY_LIBS
1707 DBUS_CFLAGS
1708 DBUS_LIBS
1709 GNUTLS_CFLAGS
1710 GNUTLS_LIBS
1711 SANE_CFLAGS
1712 SANE_LIBS
1713 USB_CFLAGS
1714 USB_LIBS
1715 GPHOTO2_CFLAGS
1716 GPHOTO2_LIBS
1717 GPHOTO2_PORT_CFLAGS
1718 GPHOTO2_PORT_LIBS
1719 FREETYPE_CFLAGS
1720 FREETYPE_LIBS
1721 PULSE_CFLAGS
1722 PULSE_LIBS
1723 GSTREAMER_CFLAGS
1724 GSTREAMER_LIBS
1725 UDEV_CFLAGS
1726 UDEV_LIBS
1727 UNWIND_CFLAGS
1728 UNWIND_LIBS
1729 SDL2_CFLAGS
1730 SDL2_LIBS
1731 CAPI20_CFLAGS
1732 CAPI20_LIBS
1733 CUPS_CFLAGS
1734 CUPS_LIBS
1735 FONTCONFIG_CFLAGS
1736 FONTCONFIG_LIBS
1737 KRB5_CFLAGS
1738 KRB5_LIBS
1739 GSSAPI_CFLAGS
1740 GSSAPI_LIBS
1741 NETAPI_CFLAGS
1742 NETAPI_LIBS
1743 LDAP_CFLAGS
1744 LDAP_LIBS'
1747 # Initialize some variables set by options.
1748 ac_init_help=
1749 ac_init_version=false
1750 ac_unrecognized_opts=
1751 ac_unrecognized_sep=
1752 # The variables have the same names as the options, with
1753 # dashes changed to underlines.
1754 cache_file=/dev/null
1755 exec_prefix=NONE
1756 no_create=
1757 no_recursion=
1758 prefix=NONE
1759 program_prefix=NONE
1760 program_suffix=NONE
1761 program_transform_name=s,x,x,
1762 silent=
1763 site=
1764 srcdir=
1765 verbose=
1766 x_includes=NONE
1767 x_libraries=NONE
1769 # Installation directory options.
1770 # These are left unexpanded so users can "make install exec_prefix=/foo"
1771 # and all the variables that are supposed to be based on exec_prefix
1772 # by default will actually change.
1773 # Use braces instead of parens because sh, perl, etc. also accept them.
1774 # (The list follows the same order as the GNU Coding Standards.)
1775 bindir='${exec_prefix}/bin'
1776 sbindir='${exec_prefix}/sbin'
1777 libexecdir='${exec_prefix}/libexec'
1778 datarootdir='${prefix}/share'
1779 datadir='${datarootdir}'
1780 sysconfdir='${prefix}/etc'
1781 sharedstatedir='${prefix}/com'
1782 localstatedir='${prefix}/var'
1783 runstatedir='${localstatedir}/run'
1784 includedir='${prefix}/include'
1785 oldincludedir='/usr/include'
1786 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1787 infodir='${datarootdir}/info'
1788 htmldir='${docdir}'
1789 dvidir='${docdir}'
1790 pdfdir='${docdir}'
1791 psdir='${docdir}'
1792 libdir='${exec_prefix}/lib'
1793 localedir='${datarootdir}/locale'
1794 mandir='${datarootdir}/man'
1796 ac_prev=
1797 ac_dashdash=
1798 for ac_option
1800 # If the previous option needs an argument, assign it.
1801 if test -n "$ac_prev"; then
1802 eval $ac_prev=\$ac_option
1803 ac_prev=
1804 continue
1807 case $ac_option in
1808 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1809 *=) ac_optarg= ;;
1810 *) ac_optarg=yes ;;
1811 esac
1813 case $ac_dashdash$ac_option in
1815 ac_dashdash=yes ;;
1817 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1818 ac_prev=bindir ;;
1819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1820 bindir=$ac_optarg ;;
1822 -build | --build | --buil | --bui | --bu)
1823 ac_prev=build_alias ;;
1824 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1825 build_alias=$ac_optarg ;;
1827 -cache-file | --cache-file | --cache-fil | --cache-fi \
1828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1829 ac_prev=cache_file ;;
1830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1832 cache_file=$ac_optarg ;;
1834 --config-cache | -C)
1835 cache_file=config.cache ;;
1837 -datadir | --datadir | --datadi | --datad)
1838 ac_prev=datadir ;;
1839 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1840 datadir=$ac_optarg ;;
1842 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1843 | --dataroo | --dataro | --datar)
1844 ac_prev=datarootdir ;;
1845 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1846 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1847 datarootdir=$ac_optarg ;;
1849 -disable-* | --disable-*)
1850 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1851 # Reject names that are not valid shell variable names.
1852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1853 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1854 ac_useropt_orig=$ac_useropt
1855 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1856 case $ac_user_opts in
1858 "enable_$ac_useropt"
1859 "*) ;;
1860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1861 ac_unrecognized_sep=', ';;
1862 esac
1863 eval enable_$ac_useropt=no ;;
1865 -docdir | --docdir | --docdi | --doc | --do)
1866 ac_prev=docdir ;;
1867 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1868 docdir=$ac_optarg ;;
1870 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1871 ac_prev=dvidir ;;
1872 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1873 dvidir=$ac_optarg ;;
1875 -enable-* | --enable-*)
1876 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1877 # Reject names that are not valid shell variable names.
1878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1879 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1880 ac_useropt_orig=$ac_useropt
1881 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1882 case $ac_user_opts in
1884 "enable_$ac_useropt"
1885 "*) ;;
1886 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1887 ac_unrecognized_sep=', ';;
1888 esac
1889 eval enable_$ac_useropt=\$ac_optarg ;;
1891 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1892 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1893 | --exec | --exe | --ex)
1894 ac_prev=exec_prefix ;;
1895 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1896 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1897 | --exec=* | --exe=* | --ex=*)
1898 exec_prefix=$ac_optarg ;;
1900 -gas | --gas | --ga | --g)
1901 # Obsolete; use --with-gas.
1902 with_gas=yes ;;
1904 -help | --help | --hel | --he | -h)
1905 ac_init_help=long ;;
1906 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1907 ac_init_help=recursive ;;
1908 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1909 ac_init_help=short ;;
1911 -host | --host | --hos | --ho)
1912 ac_prev=host_alias ;;
1913 -host=* | --host=* | --hos=* | --ho=*)
1914 host_alias=$ac_optarg ;;
1916 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1917 ac_prev=htmldir ;;
1918 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1919 | --ht=*)
1920 htmldir=$ac_optarg ;;
1922 -includedir | --includedir | --includedi | --included | --include \
1923 | --includ | --inclu | --incl | --inc)
1924 ac_prev=includedir ;;
1925 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1926 | --includ=* | --inclu=* | --incl=* | --inc=*)
1927 includedir=$ac_optarg ;;
1929 -infodir | --infodir | --infodi | --infod | --info | --inf)
1930 ac_prev=infodir ;;
1931 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1932 infodir=$ac_optarg ;;
1934 -libdir | --libdir | --libdi | --libd)
1935 ac_prev=libdir ;;
1936 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1937 libdir=$ac_optarg ;;
1939 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1940 | --libexe | --libex | --libe)
1941 ac_prev=libexecdir ;;
1942 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1943 | --libexe=* | --libex=* | --libe=*)
1944 libexecdir=$ac_optarg ;;
1946 -localedir | --localedir | --localedi | --localed | --locale)
1947 ac_prev=localedir ;;
1948 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1949 localedir=$ac_optarg ;;
1951 -localstatedir | --localstatedir | --localstatedi | --localstated \
1952 | --localstate | --localstat | --localsta | --localst | --locals)
1953 ac_prev=localstatedir ;;
1954 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1955 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1956 localstatedir=$ac_optarg ;;
1958 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1959 ac_prev=mandir ;;
1960 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1961 mandir=$ac_optarg ;;
1963 -nfp | --nfp | --nf)
1964 # Obsolete; use --without-fp.
1965 with_fp=no ;;
1967 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1968 | --no-cr | --no-c | -n)
1969 no_create=yes ;;
1971 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1972 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1973 no_recursion=yes ;;
1975 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1976 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1977 | --oldin | --oldi | --old | --ol | --o)
1978 ac_prev=oldincludedir ;;
1979 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1980 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1981 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1982 oldincludedir=$ac_optarg ;;
1984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1985 ac_prev=prefix ;;
1986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1987 prefix=$ac_optarg ;;
1989 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1990 | --program-pre | --program-pr | --program-p)
1991 ac_prev=program_prefix ;;
1992 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1993 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1994 program_prefix=$ac_optarg ;;
1996 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1997 | --program-suf | --program-su | --program-s)
1998 ac_prev=program_suffix ;;
1999 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2000 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2001 program_suffix=$ac_optarg ;;
2003 -program-transform-name | --program-transform-name \
2004 | --program-transform-nam | --program-transform-na \
2005 | --program-transform-n | --program-transform- \
2006 | --program-transform | --program-transfor \
2007 | --program-transfo | --program-transf \
2008 | --program-trans | --program-tran \
2009 | --progr-tra | --program-tr | --program-t)
2010 ac_prev=program_transform_name ;;
2011 -program-transform-name=* | --program-transform-name=* \
2012 | --program-transform-nam=* | --program-transform-na=* \
2013 | --program-transform-n=* | --program-transform-=* \
2014 | --program-transform=* | --program-transfor=* \
2015 | --program-transfo=* | --program-transf=* \
2016 | --program-trans=* | --program-tran=* \
2017 | --progr-tra=* | --program-tr=* | --program-t=*)
2018 program_transform_name=$ac_optarg ;;
2020 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2021 ac_prev=pdfdir ;;
2022 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2023 pdfdir=$ac_optarg ;;
2025 -psdir | --psdir | --psdi | --psd | --ps)
2026 ac_prev=psdir ;;
2027 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2028 psdir=$ac_optarg ;;
2030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2031 | -silent | --silent | --silen | --sile | --sil)
2032 silent=yes ;;
2034 -runstatedir | --runstatedir | --runstatedi | --runstated \
2035 | --runstate | --runstat | --runsta | --runst | --runs \
2036 | --run | --ru | --r)
2037 ac_prev=runstatedir ;;
2038 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2039 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2040 | --run=* | --ru=* | --r=*)
2041 runstatedir=$ac_optarg ;;
2043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2044 ac_prev=sbindir ;;
2045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2046 | --sbi=* | --sb=*)
2047 sbindir=$ac_optarg ;;
2049 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2051 | --sharedst | --shareds | --shared | --share | --shar \
2052 | --sha | --sh)
2053 ac_prev=sharedstatedir ;;
2054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2057 | --sha=* | --sh=*)
2058 sharedstatedir=$ac_optarg ;;
2060 -site | --site | --sit)
2061 ac_prev=site ;;
2062 -site=* | --site=* | --sit=*)
2063 site=$ac_optarg ;;
2065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2066 ac_prev=srcdir ;;
2067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2068 srcdir=$ac_optarg ;;
2070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2071 | --syscon | --sysco | --sysc | --sys | --sy)
2072 ac_prev=sysconfdir ;;
2073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2075 sysconfdir=$ac_optarg ;;
2077 -target | --target | --targe | --targ | --tar | --ta | --t)
2078 ac_prev=target_alias ;;
2079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2080 target_alias=$ac_optarg ;;
2082 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2083 verbose=yes ;;
2085 -version | --version | --versio | --versi | --vers | -V)
2086 ac_init_version=: ;;
2088 -with-* | --with-*)
2089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2090 # Reject names that are not valid shell variable names.
2091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2092 as_fn_error $? "invalid package name: \`$ac_useropt'"
2093 ac_useropt_orig=$ac_useropt
2094 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2095 case $ac_user_opts in
2097 "with_$ac_useropt"
2098 "*) ;;
2099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2100 ac_unrecognized_sep=', ';;
2101 esac
2102 eval with_$ac_useropt=\$ac_optarg ;;
2104 -without-* | --without-*)
2105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2106 # Reject names that are not valid shell variable names.
2107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2108 as_fn_error $? "invalid package name: \`$ac_useropt'"
2109 ac_useropt_orig=$ac_useropt
2110 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2111 case $ac_user_opts in
2113 "with_$ac_useropt"
2114 "*) ;;
2115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2116 ac_unrecognized_sep=', ';;
2117 esac
2118 eval with_$ac_useropt=no ;;
2120 --x)
2121 # Obsolete; use --with-x.
2122 with_x=yes ;;
2124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2125 | --x-incl | --x-inc | --x-in | --x-i)
2126 ac_prev=x_includes ;;
2127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2129 x_includes=$ac_optarg ;;
2131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2133 ac_prev=x_libraries ;;
2134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2136 x_libraries=$ac_optarg ;;
2138 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2139 Try \`$0 --help' for more information"
2142 *=*)
2143 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2144 # Reject names that are not valid shell variable names.
2145 case $ac_envvar in #(
2146 '' | [0-9]* | *[!_$as_cr_alnum]* )
2147 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2148 esac
2149 eval $ac_envvar=\$ac_optarg
2150 export $ac_envvar ;;
2153 # FIXME: should be removed in autoconf 3.0.
2154 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2156 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2157 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2160 esac
2161 done
2163 if test -n "$ac_prev"; then
2164 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2165 as_fn_error $? "missing argument to $ac_option"
2168 if test -n "$ac_unrecognized_opts"; then
2169 case $enable_option_checking in
2170 no) ;;
2171 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2172 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2173 esac
2176 # Check all directory arguments for consistency.
2177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2178 datadir sysconfdir sharedstatedir localstatedir includedir \
2179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2180 libdir localedir mandir runstatedir
2182 eval ac_val=\$$ac_var
2183 # Remove trailing slashes.
2184 case $ac_val in
2185 */ )
2186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2187 eval $ac_var=\$ac_val;;
2188 esac
2189 # Be sure to have absolute directory names.
2190 case $ac_val in
2191 [\\/$]* | ?:[\\/]* ) continue;;
2192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2193 esac
2194 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2195 done
2197 # There might be people who depend on the old broken behavior: `$host'
2198 # used to hold the argument of --host etc.
2199 # FIXME: To remove some day.
2200 build=$build_alias
2201 host=$host_alias
2202 target=$target_alias
2204 # FIXME: To remove some day.
2205 if test "x$host_alias" != x; then
2206 if test "x$build_alias" = x; then
2207 cross_compiling=maybe
2208 elif test "x$build_alias" != "x$host_alias"; then
2209 cross_compiling=yes
2213 ac_tool_prefix=
2214 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2216 test "$silent" = yes && exec 6>/dev/null
2219 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2220 ac_ls_di=`ls -di .` &&
2221 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2222 as_fn_error $? "working directory cannot be determined"
2223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2224 as_fn_error $? "pwd does not report name of working directory"
2227 # Find the source files, if location was not specified.
2228 if test -z "$srcdir"; then
2229 ac_srcdir_defaulted=yes
2230 # Try the directory containing this script, then the parent directory.
2231 ac_confdir=`$as_dirname -- "$as_myself" ||
2232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2233 X"$as_myself" : 'X\(//\)[^/]' \| \
2234 X"$as_myself" : 'X\(//\)$' \| \
2235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2236 printf "%s\n" X"$as_myself" |
2237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2238 s//\1/
2241 /^X\(\/\/\)[^/].*/{
2242 s//\1/
2245 /^X\(\/\/\)$/{
2246 s//\1/
2249 /^X\(\/\).*/{
2250 s//\1/
2253 s/.*/./; q'`
2254 srcdir=$ac_confdir
2255 if test ! -r "$srcdir/$ac_unique_file"; then
2256 srcdir=..
2258 else
2259 ac_srcdir_defaulted=no
2261 if test ! -r "$srcdir/$ac_unique_file"; then
2262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2263 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2266 ac_abs_confdir=`(
2267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2268 pwd)`
2269 # When building in place, set srcdir=.
2270 if test "$ac_abs_confdir" = "$ac_pwd"; then
2271 srcdir=.
2273 # Remove unnecessary trailing slashes from srcdir.
2274 # Double slashes in file names in object file debugging info
2275 # mess up M-x gdb in Emacs.
2276 case $srcdir in
2277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2278 esac
2279 for ac_var in $ac_precious_vars; do
2280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2281 eval ac_env_${ac_var}_value=\$${ac_var}
2282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2284 done
2287 # Report the --help message.
2289 if test "$ac_init_help" = "long"; then
2290 # Omit some internal or obsolete options to make the list less imposing.
2291 # This message is too long to be a string in the A/UX 3.1 sh.
2292 cat <<_ACEOF
2293 \`configure' configures Wine 7.18 to adapt to many kinds of systems.
2295 Usage: $0 [OPTION]... [VAR=VALUE]...
2297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2298 VAR=VALUE. See below for descriptions of some of the useful variables.
2300 Defaults for the options are specified in brackets.
2302 Configuration:
2303 -h, --help display this help and exit
2304 --help=short display options specific to this package
2305 --help=recursive display the short help of all the included packages
2306 -V, --version display version information and exit
2307 -q, --quiet, --silent do not print \`checking ...' messages
2308 --cache-file=FILE cache test results in FILE [disabled]
2309 -C, --config-cache alias for \`--cache-file=config.cache'
2310 -n, --no-create do not create output files
2311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2313 Installation directories:
2314 --prefix=PREFIX install architecture-independent files in PREFIX
2315 [$ac_default_prefix]
2316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2317 [PREFIX]
2319 By default, \`make install' will install all the files in
2320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2322 for instance \`--prefix=\$HOME'.
2324 For better control, use the options below.
2326 Fine tuning of the installation directories:
2327 --bindir=DIR user executables [EPREFIX/bin]
2328 --sbindir=DIR system admin executables [EPREFIX/sbin]
2329 --libexecdir=DIR program executables [EPREFIX/libexec]
2330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2333 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2334 --libdir=DIR object code libraries [EPREFIX/lib]
2335 --includedir=DIR C header files [PREFIX/include]
2336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2339 --infodir=DIR info documentation [DATAROOTDIR/info]
2340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2341 --mandir=DIR man documentation [DATAROOTDIR/man]
2342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2343 --htmldir=DIR html documentation [DOCDIR]
2344 --dvidir=DIR dvi documentation [DOCDIR]
2345 --pdfdir=DIR pdf documentation [DOCDIR]
2346 --psdir=DIR ps documentation [DOCDIR]
2347 _ACEOF
2349 cat <<\_ACEOF
2351 X features:
2352 --x-includes=DIR X include files are in DIR
2353 --x-libraries=DIR X library files are in DIR
2355 System types:
2356 --build=BUILD configure for building on BUILD [guessed]
2357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2358 _ACEOF
2361 if test -n "$ac_init_help"; then
2362 case $ac_init_help in
2363 short | recursive ) echo "Configuration of Wine 7.18:";;
2364 esac
2365 cat <<\_ACEOF
2367 Optional Features:
2368 --disable-option-checking ignore unrecognized --enable/--with options
2369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2371 --disable-win16 do not include Win16 support
2372 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2373 binaries)
2374 --disable-tests do not build the regression tests
2375 --enable-build-id include .buildid section in output objects
2376 --enable-maintainer-mode
2377 enable maintainer-specific build rules
2378 --enable-silent-rules use silent build rules (override: "make V=1")
2379 --enable-werror treat compilation warnings as errors
2380 --disable-largefile omit support for large files
2382 Optional Packages:
2383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2385 --without-alsa do not use the Alsa sound support
2386 --without-capi do not use CAPI (ISDN support)
2387 --without-coreaudio do not use the CoreAudio sound support
2388 --without-cups do not use CUPS
2389 --without-dbus do not use DBus (dynamic device support)
2390 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2391 --without-fontconfig do not use fontconfig
2392 --without-freetype do not use the FreeType library
2393 --without-gettext do not use gettext
2394 --with-gettextpo use the GetTextPO library to rebuild po files
2395 --without-gphoto do not use gphoto (Digital Camera support)
2396 --without-gnutls do not use GnuTLS (schannel support)
2397 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2398 --without-gstreamer do not use GStreamer (codecs support)
2399 --without-inotify do not use inotify (filesystem change notifications)
2400 --without-krb5 do not use krb5 (Kerberos)
2401 --without-ldap do not use LDAP
2402 --without-mingw do not use the MinGW cross-compiler
2403 --without-netapi do not use the Samba NetAPI library
2404 --without-openal do not use OpenAL
2405 --without-opencl do not use OpenCL
2406 --without-opengl do not use OpenGL
2407 --without-osmesa do not use the OSMesa library
2408 --without-oss do not use the OSS sound support
2409 --without-pcap do not use the Packet Capture library
2410 --without-pthread do not use the pthread library
2411 --without-pulse do not use PulseAudio sound support
2412 --without-sane do not use SANE (scanner support)
2413 --without-sdl do not use SDL
2414 --without-udev do not use udev (plug and play support)
2415 --without-unwind do not use the libunwind library (exception
2416 handling)
2417 --without-usb do not use the libusb library
2418 --without-v4l2 do not use v4l2 (video capture)
2419 --without-vulkan do not use Vulkan
2420 --without-xcomposite do not use the Xcomposite extension
2421 --without-xcursor do not use the Xcursor extension
2422 --without-xfixes do not use Xfixes for clipboard change notifications
2423 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2424 --without-xinput do not use the Xinput extension
2425 --without-xinput2 do not use the Xinput 2 extension
2426 --without-xrandr do not use Xrandr (multi-monitor support)
2427 --without-xrender do not use the Xrender extension
2428 --without-xshape do not use the Xshape extension
2429 --without-xshm do not use XShm (shared memory extension)
2430 --without-xxf86vm do not use XFree video mode extension
2431 --with-system-dllpath=PATH
2432 load external PE dependencies from colon-separated
2433 path PATH
2434 --with-wine-tools=DIR use Wine tools from directory DIR
2435 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2436 --with-x use the X Window System
2438 Some influential environment variables:
2439 CC C compiler command
2440 CFLAGS C compiler flags
2441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2442 nonstandard directory <lib dir>
2443 LIBS libraries to pass to the linker, e.g. -l<library>
2444 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2445 you have headers in a nonstandard directory <include dir>
2446 CXX C++ compiler command
2447 CXXFLAGS C++ compiler flags
2448 OBJC Objective C compiler command
2449 OBJCFLAGS Objective C compiler flags
2450 FAUDIO_PE_CFLAGS
2451 C compiler flags for the PE faudio, overriding the bundled
2452 version
2453 FAUDIO_PE_LIBS
2454 Linker flags for the PE faudio, overriding the bundled version
2455 GSM_PE_CFLAGS
2456 C compiler flags for the PE gsm, overriding the bundled version
2457 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2458 JPEG_PE_CFLAGS
2459 C compiler flags for the PE jpeg, overriding the bundled version
2460 JPEG_PE_LIBS
2461 Linker flags for the PE jpeg, overriding the bundled version
2462 JXR_PE_CFLAGS
2463 C compiler flags for the PE jxr, overriding the bundled version
2464 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2465 LCMS2_PE_CFLAGS
2466 C compiler flags for the PE lcms2, overriding the bundled
2467 version
2468 LCMS2_PE_LIBS
2469 Linker flags for the PE lcms2, overriding the bundled version
2470 MPG123_PE_CFLAGS
2471 C compiler flags for the PE mpg123, overriding the bundled
2472 version
2473 MPG123_PE_LIBS
2474 Linker flags for the PE mpg123, overriding the bundled version
2475 PNG_PE_CFLAGS
2476 C compiler flags for the PE png, overriding the bundled version
2477 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2478 TIFF_PE_CFLAGS
2479 C compiler flags for the PE tiff, overriding the bundled version
2480 TIFF_PE_LIBS
2481 Linker flags for the PE tiff, overriding the bundled version
2482 VKD3D_PE_CFLAGS
2483 C compiler flags for the PE vkd3d, overriding the bundled
2484 version
2485 VKD3D_PE_LIBS
2486 Linker flags for the PE vkd3d, overriding the bundled version
2487 XML2_PE_CFLAGS
2488 C compiler flags for the PE xml2, overriding the bundled version
2489 XML2_PE_LIBS
2490 Linker flags for the PE xml2, overriding the bundled version
2491 XSLT_PE_CFLAGS
2492 C compiler flags for the PE xslt, overriding the bundled version
2493 XSLT_PE_LIBS
2494 Linker flags for the PE xslt, overriding the bundled version
2495 ZLIB_PE_CFLAGS
2496 C compiler flags for the PE zlib, overriding the bundled version
2497 ZLIB_PE_LIBS
2498 Linker flags for the PE zlib, overriding the bundled version
2499 XMKMF Path to xmkmf, Makefile generator for X Window System
2500 CPP C preprocessor
2501 INOTIFY_CFLAGS
2502 C compiler flags for libinotify, overriding pkg-config
2503 INOTIFY_LIBS
2504 Linker flags for libinotify, overriding pkg-config
2505 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2506 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2507 GNUTLS_CFLAGS
2508 C compiler flags for gnutls, overriding pkg-config
2509 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2510 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2511 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2512 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2513 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2514 GPHOTO2_CFLAGS
2515 C compiler flags for libgphoto2, overriding pkg-config
2516 GPHOTO2_LIBS
2517 Linker flags for libgphoto2, overriding pkg-config
2518 GPHOTO2_PORT_CFLAGS
2519 C compiler flags for libgphoto2_port, overriding pkg-config
2520 GPHOTO2_PORT_LIBS
2521 Linker flags for libgphoto2_port, overriding pkg-config
2522 FREETYPE_CFLAGS
2523 C compiler flags for freetype2, overriding pkg-config
2524 FREETYPE_LIBS
2525 Linker flags for freetype2, overriding pkg-config
2526 PULSE_CFLAGS
2527 C compiler flags for libpulse, overriding pkg-config
2528 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2529 GSTREAMER_CFLAGS
2530 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2531 gstreamer-audio-1.0, overriding pkg-config
2532 GSTREAMER_LIBS
2533 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2534 gstreamer-audio-1.0, overriding pkg-config
2535 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2536 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2537 UNWIND_CFLAGS
2538 C compiler flags for libunwind, overriding pkg-config
2539 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2540 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2541 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2542 CAPI20_CFLAGS
2543 C compiler flags for capi20, overriding pkg-config
2544 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2545 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2546 CUPS_LIBS Linker flags for cups, overriding pkg-config
2547 FONTCONFIG_CFLAGS
2548 C compiler flags for fontconfig, overriding pkg-config
2549 FONTCONFIG_LIBS
2550 Linker flags for fontconfig, overriding pkg-config
2551 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2552 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2553 GSSAPI_CFLAGS
2554 C compiler flags for krb5-gssapi, overriding pkg-config
2555 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2556 NETAPI_CFLAGS
2557 C compiler flags for netapi, overriding pkg-config
2558 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2559 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2560 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2562 Use these variables to override the choices made by `configure' or to help
2563 it to find libraries and programs with nonstandard names/locations.
2565 Report bugs to <wine-devel@winehq.org>.
2566 Wine home page: <https://www.winehq.org>.
2567 _ACEOF
2568 ac_status=$?
2571 if test "$ac_init_help" = "recursive"; then
2572 # If there are subdirs, report their specific --help.
2573 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2574 test -d "$ac_dir" ||
2575 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2576 continue
2577 ac_builddir=.
2579 case "$ac_dir" in
2580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2582 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2583 # A ".." for each directory in $ac_dir_suffix.
2584 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2585 case $ac_top_builddir_sub in
2586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2588 esac ;;
2589 esac
2590 ac_abs_top_builddir=$ac_pwd
2591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2592 # for backward compatibility:
2593 ac_top_builddir=$ac_top_build_prefix
2595 case $srcdir in
2596 .) # We are building in place.
2597 ac_srcdir=.
2598 ac_top_srcdir=$ac_top_builddir_sub
2599 ac_abs_top_srcdir=$ac_pwd ;;
2600 [\\/]* | ?:[\\/]* ) # Absolute name.
2601 ac_srcdir=$srcdir$ac_dir_suffix;
2602 ac_top_srcdir=$srcdir
2603 ac_abs_top_srcdir=$srcdir ;;
2604 *) # Relative name.
2605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2606 ac_top_srcdir=$ac_top_build_prefix$srcdir
2607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2608 esac
2609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2611 cd "$ac_dir" || { ac_status=$?; continue; }
2612 # Check for configure.gnu first; this name is used for a wrapper for
2613 # Metaconfig's "Configure" on case-insensitive file systems.
2614 if test -f "$ac_srcdir/configure.gnu"; then
2615 echo &&
2616 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2617 elif test -f "$ac_srcdir/configure"; then
2618 echo &&
2619 $SHELL "$ac_srcdir/configure" --help=recursive
2620 else
2621 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2622 fi || ac_status=$?
2623 cd "$ac_pwd" || { ac_status=$?; break; }
2624 done
2627 test -n "$ac_init_help" && exit $ac_status
2628 if $ac_init_version; then
2629 cat <<\_ACEOF
2630 Wine configure 7.18
2631 generated by GNU Autoconf 2.71
2633 Copyright (C) 2021 Free Software Foundation, Inc.
2634 This configure script is free software; the Free Software Foundation
2635 gives unlimited permission to copy, distribute and modify it.
2636 _ACEOF
2637 exit
2640 ## ------------------------ ##
2641 ## Autoconf initialization. ##
2642 ## ------------------------ ##
2644 # ac_fn_c_try_compile LINENO
2645 # --------------------------
2646 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2647 ac_fn_c_try_compile ()
2649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2650 rm -f conftest.$ac_objext conftest.beam
2651 if { { ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2657 printf "%s\n" "$ac_try_echo"; } >&5
2658 (eval "$ac_compile") 2>conftest.err
2659 ac_status=$?
2660 if test -s conftest.err; then
2661 grep -v '^ *+' conftest.err >conftest.er1
2662 cat conftest.er1 >&5
2663 mv -f conftest.er1 conftest.err
2665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 test $ac_status = 0; } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext
2670 then :
2671 ac_retval=0
2672 else $as_nop
2673 printf "%s\n" "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_retval=1
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_c_try_compile
2683 # ac_fn_cxx_try_compile LINENO
2684 # ----------------------------
2685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_cxx_try_compile ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 rm -f conftest.$ac_objext conftest.beam
2690 if { { ac_try="$ac_compile"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 printf "%s\n" "$ac_try_echo"; } >&5
2697 (eval "$ac_compile") 2>conftest.err
2698 ac_status=$?
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_cxx_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest.$ac_objext
2709 then :
2710 ac_retval=0
2711 else $as_nop
2712 printf "%s\n" "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2715 ac_retval=1
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2720 } # ac_fn_cxx_try_compile
2722 # ac_fn_c_try_link LINENO
2723 # -----------------------
2724 # Try to link conftest.$ac_ext, and return whether this succeeded.
2725 ac_fn_c_try_link ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2729 if { { ac_try="$ac_link"
2730 case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_link") 2>conftest.err
2737 ac_status=$?
2738 if test -s conftest.err; then
2739 grep -v '^ *+' conftest.err >conftest.er1
2740 cat conftest.er1 >&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest$ac_exeext && {
2748 test "$cross_compiling" = yes ||
2749 test -x conftest$ac_exeext
2751 then :
2752 ac_retval=0
2753 else $as_nop
2754 printf "%s\n" "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 ac_retval=1
2759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2761 # interfere with the next link command; also delete a directory that is
2762 # left behind by Apple's compiler. We do this before executing the actions.
2763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2767 } # ac_fn_c_try_link
2769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2770 # -------------------------------------------------------
2771 # Tests whether HEADER exists and can be compiled using the include files in
2772 # INCLUDES, setting the cache variable VAR accordingly.
2773 ac_fn_c_check_header_compile ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 printf %s "checking for $2... " >&6; }
2778 if eval test \${$3+y}
2779 then :
2780 printf %s "(cached) " >&6
2781 else $as_nop
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2785 #include <$2>
2786 _ACEOF
2787 if ac_fn_c_try_compile "$LINENO"
2788 then :
2789 eval "$3=yes"
2790 else $as_nop
2791 eval "$3=no"
2793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2795 eval ac_res=\$$3
2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 printf "%s\n" "$ac_res" >&6; }
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 } # ac_fn_c_check_header_compile
2802 # ac_fn_objc_try_compile LINENO
2803 # -----------------------------
2804 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2805 ac_fn_objc_try_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 rm -f conftest.$ac_objext conftest.beam
2809 if { { ac_try="$ac_compile"
2810 case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2813 esac
2814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2815 printf "%s\n" "$ac_try_echo"; } >&5
2816 (eval "$ac_compile") 2>conftest.err
2817 ac_status=$?
2818 if test -s conftest.err; then
2819 grep -v '^ *+' conftest.err >conftest.er1
2820 cat conftest.er1 >&5
2821 mv -f conftest.er1 conftest.err
2823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; } && {
2825 test -z "$ac_objc_werror_flag" ||
2826 test ! -s conftest.err
2827 } && test -s conftest.$ac_objext
2828 then :
2829 ac_retval=0
2830 else $as_nop
2831 printf "%s\n" "$as_me: failed program was:" >&5
2832 sed 's/^/| /' conftest.$ac_ext >&5
2834 ac_retval=1
2836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 as_fn_set_status $ac_retval
2839 } # ac_fn_objc_try_compile
2841 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2842 # ----------------------------------------------------------
2843 # Tests whether HEADER exists and can be compiled using the include files in
2844 # INCLUDES, setting the cache variable VAR accordingly.
2845 ac_fn_objc_check_header_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 printf %s "checking for $2... " >&6; }
2850 if eval test \${$3+y}
2851 then :
2852 printf %s "(cached) " >&6
2853 else $as_nop
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2857 #include <$2>
2858 _ACEOF
2859 if ac_fn_objc_try_compile "$LINENO"
2860 then :
2861 eval "$3=yes"
2862 else $as_nop
2863 eval "$3=no"
2865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2867 eval ac_res=\$$3
2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 printf "%s\n" "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_objc_check_header_compile
2874 # ac_fn_c_check_func LINENO FUNC VAR
2875 # ----------------------------------
2876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2877 ac_fn_c_check_func ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2883 then :
2884 printf %s "(cached) " >&6
2885 else $as_nop
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2890 #define $2 innocuous_$2
2892 /* System header to define __stub macros and hopefully few prototypes,
2893 which can conflict with char $2 (); below. */
2895 #include <limits.h>
2896 #undef $2
2898 /* Override any GCC internal prototype to avoid an error.
2899 Use char because int might match the return type of a GCC
2900 builtin and then its argument prototype would still apply. */
2901 #ifdef __cplusplus
2902 extern "C"
2903 #endif
2904 char $2 ();
2905 /* The GNU C library defines this for functions which it implements
2906 to always fail with ENOSYS. Some functions are actually named
2907 something starting with __ and the normal name is an alias. */
2908 #if defined __stub_$2 || defined __stub___$2
2909 choke me
2910 #endif
2913 main (void)
2915 return $2 ();
2917 return 0;
2919 _ACEOF
2920 if ac_fn_c_try_link "$LINENO"
2921 then :
2922 eval "$3=yes"
2923 else $as_nop
2924 eval "$3=no"
2926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2927 conftest$ac_exeext conftest.$ac_ext
2929 eval ac_res=\$$3
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 printf "%s\n" "$ac_res" >&6; }
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 } # ac_fn_c_check_func
2936 # ac_fn_c_try_cpp LINENO
2937 # ----------------------
2938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2939 ac_fn_c_try_cpp ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 if { { ac_try="$ac_cpp conftest.$ac_ext"
2943 case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 printf "%s\n" "$ac_try_echo"; } >&5
2949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2950 ac_status=$?
2951 if test -s conftest.err; then
2952 grep -v '^ *+' conftest.err >conftest.er1
2953 cat conftest.er1 >&5
2954 mv -f conftest.er1 conftest.err
2956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } > conftest.i && {
2958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2959 test ! -s conftest.err
2961 then :
2962 ac_retval=0
2963 else $as_nop
2964 printf "%s\n" "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 ac_retval=1
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 as_fn_set_status $ac_retval
2972 } # ac_fn_c_try_cpp
2974 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2975 # ----------------------------------------------------
2976 # Tries to find if the field MEMBER exists in type AGGR, after including
2977 # INCLUDES, setting cache variable VAR accordingly.
2978 ac_fn_c_check_member ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2982 printf %s "checking for $2.$3... " >&6; }
2983 if eval test \${$4+y}
2984 then :
2985 printf %s "(cached) " >&6
2986 else $as_nop
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2991 main (void)
2993 static $2 ac_aggr;
2994 if (ac_aggr.$3)
2995 return 0;
2997 return 0;
2999 _ACEOF
3000 if ac_fn_c_try_compile "$LINENO"
3001 then :
3002 eval "$4=yes"
3003 else $as_nop
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main (void)
3010 static $2 ac_aggr;
3011 if (sizeof ac_aggr.$3)
3012 return 0;
3014 return 0;
3016 _ACEOF
3017 if ac_fn_c_try_compile "$LINENO"
3018 then :
3019 eval "$4=yes"
3020 else $as_nop
3021 eval "$4=no"
3023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3027 eval ac_res=\$$4
3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 printf "%s\n" "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_member
3034 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3035 # -------------------------------------------
3036 # Tests whether TYPE exists after having included INCLUDES, setting cache
3037 # variable VAR accordingly.
3038 ac_fn_c_check_type ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3042 printf %s "checking for $2... " >&6; }
3043 if eval test \${$3+y}
3044 then :
3045 printf %s "(cached) " >&6
3046 else $as_nop
3047 eval "$3=no"
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3052 main (void)
3054 if (sizeof ($2))
3055 return 0;
3057 return 0;
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"
3061 then :
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3066 main (void)
3068 if (sizeof (($2)))
3069 return 0;
3071 return 0;
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"
3075 then :
3077 else $as_nop
3078 eval "$3=yes"
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3084 eval ac_res=\$$3
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 printf "%s\n" "$ac_res" >&6; }
3087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 } # ac_fn_c_check_type
3090 ac_configure_args_raw=
3091 for ac_arg
3093 case $ac_arg in
3094 *\'*)
3095 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3096 esac
3097 as_fn_append ac_configure_args_raw " '$ac_arg'"
3098 done
3100 case $ac_configure_args_raw in
3101 *$as_nl*)
3102 ac_safe_unquote= ;;
3104 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3105 ac_unsafe_a="$ac_unsafe_z#~"
3106 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3107 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3108 esac
3110 cat >config.log <<_ACEOF
3111 This file contains any messages produced by compilers while
3112 running configure, to aid debugging if configure makes a mistake.
3114 It was created by Wine $as_me 7.18, which was
3115 generated by GNU Autoconf 2.71. Invocation command line was
3117 $ $0$ac_configure_args_raw
3119 _ACEOF
3120 exec 5>>config.log
3122 cat <<_ASUNAME
3123 ## --------- ##
3124 ## Platform. ##
3125 ## --------- ##
3127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3144 _ASUNAME
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH
3149 IFS=$as_save_IFS
3150 case $as_dir in #(((
3151 '') as_dir=./ ;;
3152 */) ;;
3153 *) as_dir=$as_dir/ ;;
3154 esac
3155 printf "%s\n" "PATH: $as_dir"
3156 done
3157 IFS=$as_save_IFS
3159 } >&5
3161 cat >&5 <<_ACEOF
3164 ## ----------- ##
3165 ## Core tests. ##
3166 ## ----------- ##
3168 _ACEOF
3171 # Keep a trace of the command line.
3172 # Strip out --no-create and --no-recursion so they do not pile up.
3173 # Strip out --silent because we don't want to record it for future runs.
3174 # Also quote any args containing shell meta-characters.
3175 # Make two passes to allow for proper duplicate-argument suppression.
3176 ac_configure_args=
3177 ac_configure_args0=
3178 ac_configure_args1=
3179 ac_must_keep_next=false
3180 for ac_pass in 1 2
3182 for ac_arg
3184 case $ac_arg in
3185 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3187 | -silent | --silent | --silen | --sile | --sil)
3188 continue ;;
3189 *\'*)
3190 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3191 esac
3192 case $ac_pass in
3193 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3195 as_fn_append ac_configure_args1 " '$ac_arg'"
3196 if test $ac_must_keep_next = true; then
3197 ac_must_keep_next=false # Got value, back to normal.
3198 else
3199 case $ac_arg in
3200 *=* | --config-cache | -C | -disable-* | --disable-* \
3201 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3202 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3203 | -with-* | --with-* | -without-* | --without-* | --x)
3204 case "$ac_configure_args0 " in
3205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3206 esac
3208 -* ) ac_must_keep_next=true ;;
3209 esac
3211 as_fn_append ac_configure_args " '$ac_arg'"
3213 esac
3214 done
3215 done
3216 { ac_configure_args0=; unset ac_configure_args0;}
3217 { ac_configure_args1=; unset ac_configure_args1;}
3219 # When interrupted or exit'd, cleanup temporary files, and complete
3220 # config.log. We remove comments because anyway the quotes in there
3221 # would cause problems or look ugly.
3222 # WARNING: Use '\'' to represent an apostrophe within the trap.
3223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3224 trap 'exit_status=$?
3225 # Sanitize IFS.
3226 IFS=" "" $as_nl"
3227 # Save into config.log some information that might help in debugging.
3229 echo
3231 printf "%s\n" "## ---------------- ##
3232 ## Cache variables. ##
3233 ## ---------------- ##"
3234 echo
3235 # The following way of writing the cache mishandles newlines in values,
3237 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3238 eval ac_val=\$$ac_var
3239 case $ac_val in #(
3240 *${as_nl}*)
3241 case $ac_var in #(
3242 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3243 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3244 esac
3245 case $ac_var in #(
3246 _ | IFS | as_nl) ;; #(
3247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3248 *) { eval $ac_var=; unset $ac_var;} ;;
3249 esac ;;
3250 esac
3251 done
3252 (set) 2>&1 |
3253 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3254 *${as_nl}ac_space=\ *)
3255 sed -n \
3256 "s/'\''/'\''\\\\'\'''\''/g;
3257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3258 ;; #(
3260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3262 esac |
3263 sort
3265 echo
3267 printf "%s\n" "## ----------------- ##
3268 ## Output variables. ##
3269 ## ----------------- ##"
3270 echo
3271 for ac_var in $ac_subst_vars
3273 eval ac_val=\$$ac_var
3274 case $ac_val in
3275 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3276 esac
3277 printf "%s\n" "$ac_var='\''$ac_val'\''"
3278 done | sort
3279 echo
3281 if test -n "$ac_subst_files"; then
3282 printf "%s\n" "## ------------------- ##
3283 ## File substitutions. ##
3284 ## ------------------- ##"
3285 echo
3286 for ac_var in $ac_subst_files
3288 eval ac_val=\$$ac_var
3289 case $ac_val in
3290 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3291 esac
3292 printf "%s\n" "$ac_var='\''$ac_val'\''"
3293 done | sort
3294 echo
3297 if test -s confdefs.h; then
3298 printf "%s\n" "## ----------- ##
3299 ## confdefs.h. ##
3300 ## ----------- ##"
3301 echo
3302 cat confdefs.h
3303 echo
3305 test "$ac_signal" != 0 &&
3306 printf "%s\n" "$as_me: caught signal $ac_signal"
3307 printf "%s\n" "$as_me: exit $exit_status"
3308 } >&5
3309 rm -f core *.core core.conftest.* &&
3310 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3311 exit $exit_status
3313 for ac_signal in 1 2 13 15; do
3314 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3315 done
3316 ac_signal=0
3318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3319 rm -f -r conftest* confdefs.h
3321 printf "%s\n" "/* confdefs.h */" > confdefs.h
3323 # Predefined preprocessor variables.
3325 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3338 # Let the site file select an alternate cache file if it wants to.
3339 # Prefer an explicitly selected file to automatically selected ones.
3340 if test -n "$CONFIG_SITE"; then
3341 ac_site_files="$CONFIG_SITE"
3342 elif test "x$prefix" != xNONE; then
3343 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3344 else
3345 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3348 for ac_site_file in $ac_site_files
3350 case $ac_site_file in #(
3351 */*) :
3352 ;; #(
3353 *) :
3354 ac_site_file=./$ac_site_file ;;
3355 esac
3356 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3358 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3359 sed 's/^/| /' "$ac_site_file" >&5
3360 . "$ac_site_file" \
3361 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error $? "failed to load site script $ac_site_file
3364 See \`config.log' for more details" "$LINENO" 5; }
3366 done
3368 if test -r "$cache_file"; then
3369 # Some versions of bash will fail to source /dev/null (special files
3370 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3371 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3373 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3374 case $cache_file in
3375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3376 *) . "./$cache_file";;
3377 esac
3379 else
3380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3381 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3382 >$cache_file
3385 # Test code for whether the C compiler supports C89 (global declarations)
3386 ac_c_conftest_c89_globals='
3387 /* Does the compiler advertise C89 conformance?
3388 Do not test the value of __STDC__, because some compilers set it to 0
3389 while being otherwise adequately conformant. */
3390 #if !defined __STDC__
3391 # error "Compiler does not advertise C89 conformance"
3392 #endif
3394 #include <stddef.h>
3395 #include <stdarg.h>
3396 struct stat;
3397 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3398 struct buf { int x; };
3399 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3400 static char *e (p, i)
3401 char **p;
3402 int i;
3404 return p[i];
3406 static char *f (char * (*g) (char **, int), char **p, ...)
3408 char *s;
3409 va_list v;
3410 va_start (v,p);
3411 s = g (p, va_arg (v,int));
3412 va_end (v);
3413 return s;
3416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3417 function prototypes and stuff, but not \xHH hex character constants.
3418 These do not provoke an error unfortunately, instead are silently treated
3419 as an "x". The following induces an error, until -std is added to get
3420 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3421 array size at least. It is necessary to write \x00 == 0 to get something
3422 that is true only with -std. */
3423 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3426 inside strings and character constants. */
3427 #define FOO(x) '\''x'\''
3428 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3430 int test (int i, double x);
3431 struct s1 {int (*f) (int a);};
3432 struct s2 {int (*f) (double a);};
3433 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3434 int, int);'
3436 # Test code for whether the C compiler supports C89 (body of main).
3437 ac_c_conftest_c89_main='
3438 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3441 # Test code for whether the C compiler supports C99 (global declarations)
3442 ac_c_conftest_c99_globals='
3443 // Does the compiler advertise C99 conformance?
3444 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3445 # error "Compiler does not advertise C99 conformance"
3446 #endif
3448 #include <stdbool.h>
3449 extern int puts (const char *);
3450 extern int printf (const char *, ...);
3451 extern int dprintf (int, const char *, ...);
3452 extern void *malloc (size_t);
3454 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3455 // dprintf is used instead of fprintf to avoid needing to declare
3456 // FILE and stderr.
3457 #define debug(...) dprintf (2, __VA_ARGS__)
3458 #define showlist(...) puts (#__VA_ARGS__)
3459 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3460 static void
3461 test_varargs_macros (void)
3463 int x = 1234;
3464 int y = 5678;
3465 debug ("Flag");
3466 debug ("X = %d\n", x);
3467 showlist (The first, second, and third items.);
3468 report (x>y, "x is %d but y is %d", x, y);
3471 // Check long long types.
3472 #define BIG64 18446744073709551615ull
3473 #define BIG32 4294967295ul
3474 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3475 #if !BIG_OK
3476 #error "your preprocessor is broken"
3477 #endif
3478 #if BIG_OK
3479 #else
3480 #error "your preprocessor is broken"
3481 #endif
3482 static long long int bignum = -9223372036854775807LL;
3483 static unsigned long long int ubignum = BIG64;
3485 struct incomplete_array
3487 int datasize;
3488 double data[];
3491 struct named_init {
3492 int number;
3493 const wchar_t *name;
3494 double average;
3497 typedef const char *ccp;
3499 static inline int
3500 test_restrict (ccp restrict text)
3502 // See if C++-style comments work.
3503 // Iterate through items via the restricted pointer.
3504 // Also check for declarations in for loops.
3505 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3506 continue;
3507 return 0;
3510 // Check varargs and va_copy.
3511 static bool
3512 test_varargs (const char *format, ...)
3514 va_list args;
3515 va_start (args, format);
3516 va_list args_copy;
3517 va_copy (args_copy, args);
3519 const char *str = "";
3520 int number = 0;
3521 float fnumber = 0;
3523 while (*format)
3525 switch (*format++)
3527 case '\''s'\'': // string
3528 str = va_arg (args_copy, const char *);
3529 break;
3530 case '\''d'\'': // int
3531 number = va_arg (args_copy, int);
3532 break;
3533 case '\''f'\'': // float
3534 fnumber = va_arg (args_copy, double);
3535 break;
3536 default:
3537 break;
3540 va_end (args_copy);
3541 va_end (args);
3543 return *str && number && fnumber;
3547 # Test code for whether the C compiler supports C99 (body of main).
3548 ac_c_conftest_c99_main='
3549 // Check bool.
3550 _Bool success = false;
3551 success |= (argc != 0);
3553 // Check restrict.
3554 if (test_restrict ("String literal") == 0)
3555 success = true;
3556 char *restrict newvar = "Another string";
3558 // Check varargs.
3559 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3560 test_varargs_macros ();
3562 // Check flexible array members.
3563 struct incomplete_array *ia =
3564 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3565 ia->datasize = 10;
3566 for (int i = 0; i < ia->datasize; ++i)
3567 ia->data[i] = i * 1.234;
3569 // Check named initializers.
3570 struct named_init ni = {
3571 .number = 34,
3572 .name = L"Test wide string",
3573 .average = 543.34343,
3576 ni.number = 58;
3578 int dynamic_array[ni.number];
3579 dynamic_array[0] = argv[0][0];
3580 dynamic_array[ni.number - 1] = 543;
3582 // work around unused variable warnings
3583 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3584 || dynamic_array[ni.number - 1] != 543);
3587 # Test code for whether the C compiler supports C11 (global declarations)
3588 ac_c_conftest_c11_globals='
3589 // Does the compiler advertise C11 conformance?
3590 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3591 # error "Compiler does not advertise C11 conformance"
3592 #endif
3594 // Check _Alignas.
3595 char _Alignas (double) aligned_as_double;
3596 char _Alignas (0) no_special_alignment;
3597 extern char aligned_as_int;
3598 char _Alignas (0) _Alignas (int) aligned_as_int;
3600 // Check _Alignof.
3601 enum
3603 int_alignment = _Alignof (int),
3604 int_array_alignment = _Alignof (int[100]),
3605 char_alignment = _Alignof (char)
3607 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3609 // Check _Noreturn.
3610 int _Noreturn does_not_return (void) { for (;;) continue; }
3612 // Check _Static_assert.
3613 struct test_static_assert
3615 int x;
3616 _Static_assert (sizeof (int) <= sizeof (long int),
3617 "_Static_assert does not work in struct");
3618 long int y;
3621 // Check UTF-8 literals.
3622 #define u8 syntax error!
3623 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3625 // Check duplicate typedefs.
3626 typedef long *long_ptr;
3627 typedef long int *long_ptr;
3628 typedef long_ptr long_ptr;
3630 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3631 struct anonymous
3633 union {
3634 struct { int i; int j; };
3635 struct { int k; long int l; } w;
3637 int m;
3638 } v1;
3641 # Test code for whether the C compiler supports C11 (body of main).
3642 ac_c_conftest_c11_main='
3643 _Static_assert ((offsetof (struct anonymous, i)
3644 == offsetof (struct anonymous, w.k)),
3645 "Anonymous union alignment botch");
3646 v1.i = 2;
3647 v1.w.k = 5;
3648 ok |= v1.i != 5;
3651 # Test code for whether the C compiler supports C11 (complete).
3652 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3653 ${ac_c_conftest_c99_globals}
3654 ${ac_c_conftest_c11_globals}
3657 main (int argc, char **argv)
3659 int ok = 0;
3660 ${ac_c_conftest_c89_main}
3661 ${ac_c_conftest_c99_main}
3662 ${ac_c_conftest_c11_main}
3663 return ok;
3667 # Test code for whether the C compiler supports C99 (complete).
3668 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3669 ${ac_c_conftest_c99_globals}
3672 main (int argc, char **argv)
3674 int ok = 0;
3675 ${ac_c_conftest_c89_main}
3676 ${ac_c_conftest_c99_main}
3677 return ok;
3681 # Test code for whether the C compiler supports C89 (complete).
3682 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3685 main (int argc, char **argv)
3687 int ok = 0;
3688 ${ac_c_conftest_c89_main}
3689 return ok;
3693 # Test code for whether the C++ compiler supports C++98 (global declarations)
3694 ac_cxx_conftest_cxx98_globals='
3695 // Does the compiler advertise C++98 conformance?
3696 #if !defined __cplusplus || __cplusplus < 199711L
3697 # error "Compiler does not advertise C++98 conformance"
3698 #endif
3700 // These inclusions are to reject old compilers that
3701 // lack the unsuffixed header files.
3702 #include <cstdlib>
3703 #include <exception>
3705 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3706 extern void assert (int);
3707 namespace std {
3708 extern int strcmp (const char *, const char *);
3711 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3712 using std::exception;
3713 using std::strcmp;
3715 namespace {
3717 void test_exception_syntax()
3719 try {
3720 throw "test";
3721 } catch (const char *s) {
3722 // Extra parentheses suppress a warning when building autoconf itself,
3723 // due to lint rules shared with more typical C programs.
3724 assert (!(strcmp) (s, "test"));
3728 template <typename T> struct test_template
3730 T const val;
3731 explicit test_template(T t) : val(t) {}
3732 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3735 } // anonymous namespace
3738 # Test code for whether the C++ compiler supports C++98 (body of main)
3739 ac_cxx_conftest_cxx98_main='
3740 assert (argc);
3741 assert (! argv[0]);
3743 test_exception_syntax ();
3744 test_template<double> tt (2.0);
3745 assert (tt.add (4) == 6.0);
3746 assert (true && !false);
3750 # Test code for whether the C++ compiler supports C++11 (global declarations)
3751 ac_cxx_conftest_cxx11_globals='
3752 // Does the compiler advertise C++ 2011 conformance?
3753 #if !defined __cplusplus || __cplusplus < 201103L
3754 # error "Compiler does not advertise C++11 conformance"
3755 #endif
3757 namespace cxx11test
3759 constexpr int get_val() { return 20; }
3761 struct testinit
3763 int i;
3764 double d;
3767 class delegate
3769 public:
3770 delegate(int n) : n(n) {}
3771 delegate(): delegate(2354) {}
3773 virtual int getval() { return this->n; };
3774 protected:
3775 int n;
3778 class overridden : public delegate
3780 public:
3781 overridden(int n): delegate(n) {}
3782 virtual int getval() override final { return this->n * 2; }
3785 class nocopy
3787 public:
3788 nocopy(int i): i(i) {}
3789 nocopy() = default;
3790 nocopy(const nocopy&) = delete;
3791 nocopy & operator=(const nocopy&) = delete;
3792 private:
3793 int i;
3796 // for testing lambda expressions
3797 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3799 return f(v);
3802 // for testing variadic templates and trailing return types
3803 template <typename V> auto sum(V first) -> V
3805 return first;
3807 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3809 return first + sum(rest...);
3814 # Test code for whether the C++ compiler supports C++11 (body of main)
3815 ac_cxx_conftest_cxx11_main='
3817 // Test auto and decltype
3818 auto a1 = 6538;
3819 auto a2 = 48573953.4;
3820 auto a3 = "String literal";
3822 int total = 0;
3823 for (auto i = a3; *i; ++i) { total += *i; }
3825 decltype(a2) a4 = 34895.034;
3828 // Test constexpr
3829 short sa[cxx11test::get_val()] = { 0 };
3832 // Test initializer lists
3833 cxx11test::testinit il = { 4323, 435234.23544 };
3836 // Test range-based for
3837 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3838 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3839 for (auto &x : array) { x += 23; }
3842 // Test lambda expressions
3843 using cxx11test::eval;
3844 assert (eval ([](int x) { return x*2; }, 21) == 42);
3845 double d = 2.0;
3846 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3847 assert (d == 5.0);
3848 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3849 assert (d == 5.0);
3852 // Test use of variadic templates
3853 using cxx11test::sum;
3854 auto a = sum(1);
3855 auto b = sum(1, 2);
3856 auto c = sum(1.0, 2.0, 3.0);
3859 // Test constructor delegation
3860 cxx11test::delegate d1;
3861 cxx11test::delegate d2();
3862 cxx11test::delegate d3(45);
3865 // Test override and final
3866 cxx11test::overridden o1(55464);
3869 // Test nullptr
3870 char *c = nullptr;
3873 // Test template brackets
3874 test_template<::test_template<int>> v(test_template<int>(12));
3877 // Unicode literals
3878 char const *utf8 = u8"UTF-8 string \u2500";
3879 char16_t const *utf16 = u"UTF-8 string \u2500";
3880 char32_t const *utf32 = U"UTF-32 string \u2500";
3884 # Test code for whether the C compiler supports C++11 (complete).
3885 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3886 ${ac_cxx_conftest_cxx11_globals}
3889 main (int argc, char **argv)
3891 int ok = 0;
3892 ${ac_cxx_conftest_cxx98_main}
3893 ${ac_cxx_conftest_cxx11_main}
3894 return ok;
3898 # Test code for whether the C compiler supports C++98 (complete).
3899 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3901 main (int argc, char **argv)
3903 int ok = 0;
3904 ${ac_cxx_conftest_cxx98_main}
3905 return ok;
3909 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3910 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3911 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3912 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3913 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3914 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3915 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3916 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3917 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3919 # Auxiliary files required by this configure script.
3920 ac_aux_files="config.guess config.sub"
3922 # Locations in which to look for auxiliary files.
3923 ac_aux_dir_candidates="${srcdir}/tools"
3925 # Search for a directory containing all of the required auxiliary files,
3926 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3927 # If we don't find one directory that contains all the files we need,
3928 # we report the set of missing files from the *first* directory in
3929 # $ac_aux_dir_candidates and give up.
3930 ac_missing_aux_files=""
3931 ac_first_candidate=:
3932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 as_found=false
3935 for as_dir in $ac_aux_dir_candidates
3937 IFS=$as_save_IFS
3938 case $as_dir in #(((
3939 '') as_dir=./ ;;
3940 */) ;;
3941 *) as_dir=$as_dir/ ;;
3942 esac
3943 as_found=:
3945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3946 ac_aux_dir_found=yes
3947 ac_install_sh=
3948 for ac_aux in $ac_aux_files
3950 # As a special case, if "install-sh" is required, that requirement
3951 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3952 # and $ac_install_sh is set appropriately for whichever one is found.
3953 if test x"$ac_aux" = x"install-sh"
3954 then
3955 if test -f "${as_dir}install-sh"; then
3956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3957 ac_install_sh="${as_dir}install-sh -c"
3958 elif test -f "${as_dir}install.sh"; then
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3960 ac_install_sh="${as_dir}install.sh -c"
3961 elif test -f "${as_dir}shtool"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3963 ac_install_sh="${as_dir}shtool install -c"
3964 else
3965 ac_aux_dir_found=no
3966 if $ac_first_candidate; then
3967 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3968 else
3969 break
3972 else
3973 if test -f "${as_dir}${ac_aux}"; then
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3975 else
3976 ac_aux_dir_found=no
3977 if $ac_first_candidate; then
3978 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3979 else
3980 break
3984 done
3985 if test "$ac_aux_dir_found" = yes; then
3986 ac_aux_dir="$as_dir"
3987 break
3989 ac_first_candidate=false
3991 as_found=false
3992 done
3993 IFS=$as_save_IFS
3994 if $as_found
3995 then :
3997 else $as_nop
3998 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4002 # These three variables are undocumented and unsupported,
4003 # and are intended to be withdrawn in a future Autoconf release.
4004 # They can cause serious problems if a builder's source tree is in a directory
4005 # whose full name contains unusual characters.
4006 if test -f "${ac_aux_dir}config.guess"; then
4007 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4009 if test -f "${ac_aux_dir}config.sub"; then
4010 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4012 if test -f "$ac_aux_dir/configure"; then
4013 ac_configure="$SHELL ${ac_aux_dir}configure"
4016 # Check that the precious variables saved in the cache have kept the same
4017 # value.
4018 ac_cache_corrupted=false
4019 for ac_var in $ac_precious_vars; do
4020 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4021 eval ac_new_set=\$ac_env_${ac_var}_set
4022 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4023 eval ac_new_val=\$ac_env_${ac_var}_value
4024 case $ac_old_set,$ac_new_set in
4025 set,)
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4027 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4028 ac_cache_corrupted=: ;;
4029 ,set)
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4031 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4032 ac_cache_corrupted=: ;;
4033 ,);;
4035 if test "x$ac_old_val" != "x$ac_new_val"; then
4036 # differences in whitespace do not lead to failure.
4037 ac_old_val_w=`echo x $ac_old_val`
4038 ac_new_val_w=`echo x $ac_new_val`
4039 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4041 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4042 ac_cache_corrupted=:
4043 else
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4045 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4046 eval $ac_var=\$ac_old_val
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4049 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4051 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4052 fi;;
4053 esac
4054 # Pass precious variables to config.status.
4055 if test "$ac_new_set" = set; then
4056 case $ac_new_val in
4057 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4058 *) ac_arg=$ac_var=$ac_new_val ;;
4059 esac
4060 case " $ac_configure_args " in
4061 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4062 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4063 esac
4065 done
4066 if $ac_cache_corrupted; then
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4070 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4071 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4072 and start over" "$LINENO" 5
4074 ## -------------------- ##
4075 ## Main body of script. ##
4076 ## -------------------- ##
4078 ac_ext=c
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4086 ac_config_headers="$ac_config_headers include/config.h"
4090 libwine_version="1.0"
4093 # Check whether --enable-win16 was given.
4094 if test ${enable_win16+y}
4095 then :
4096 enableval=$enable_win16;
4099 # Check whether --enable-win64 was given.
4100 if test ${enable_win64+y}
4101 then :
4102 enableval=$enable_win64;
4105 # Check whether --enable-tests was given.
4106 if test ${enable_tests+y}
4107 then :
4108 enableval=$enable_tests;
4111 # Check whether --enable-build-id was given.
4112 if test ${enable_build_id+y}
4113 then :
4114 enableval=$enable_build_id;
4117 # Check whether --enable-maintainer-mode was given.
4118 if test ${enable_maintainer_mode+y}
4119 then :
4120 enableval=$enable_maintainer_mode;
4123 # Check whether --enable-silent-rules was given.
4124 if test ${enable_silent_rules+y}
4125 then :
4126 enableval=$enable_silent_rules;
4129 # Check whether --enable-werror was given.
4130 if test ${enable_werror+y}
4131 then :
4132 enableval=$enable_werror;
4137 # Check whether --with-alsa was given.
4138 if test ${with_alsa+y}
4139 then :
4140 withval=$with_alsa;
4144 # Check whether --with-capi was given.
4145 if test ${with_capi+y}
4146 then :
4147 withval=$with_capi;
4151 # Check whether --with-coreaudio was given.
4152 if test ${with_coreaudio+y}
4153 then :
4154 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4158 # Check whether --with-cups was given.
4159 if test ${with_cups+y}
4160 then :
4161 withval=$with_cups;
4165 # Check whether --with-dbus was given.
4166 if test ${with_dbus+y}
4167 then :
4168 withval=$with_dbus;
4172 # Check whether --with-float-abi was given.
4173 if test ${with_float_abi+y}
4174 then :
4175 withval=$with_float_abi;
4179 # Check whether --with-fontconfig was given.
4180 if test ${with_fontconfig+y}
4181 then :
4182 withval=$with_fontconfig;
4186 # Check whether --with-freetype was given.
4187 if test ${with_freetype+y}
4188 then :
4189 withval=$with_freetype;
4193 # Check whether --with-gettext was given.
4194 if test ${with_gettext+y}
4195 then :
4196 withval=$with_gettext;
4200 # Check whether --with-gettextpo was given.
4201 if test ${with_gettextpo+y}
4202 then :
4203 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4207 # Check whether --with-gphoto was given.
4208 if test ${with_gphoto+y}
4209 then :
4210 withval=$with_gphoto;
4214 # Check whether --with-gnutls was given.
4215 if test ${with_gnutls+y}
4216 then :
4217 withval=$with_gnutls;
4221 # Check whether --with-gssapi was given.
4222 if test ${with_gssapi+y}
4223 then :
4224 withval=$with_gssapi;
4228 # Check whether --with-gstreamer was given.
4229 if test ${with_gstreamer+y}
4230 then :
4231 withval=$with_gstreamer;
4235 # Check whether --with-inotify was given.
4236 if test ${with_inotify+y}
4237 then :
4238 withval=$with_inotify;
4242 # Check whether --with-krb5 was given.
4243 if test ${with_krb5+y}
4244 then :
4245 withval=$with_krb5;
4249 # Check whether --with-ldap was given.
4250 if test ${with_ldap+y}
4251 then :
4252 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4256 # Check whether --with-mingw was given.
4257 if test ${with_mingw+y}
4258 then :
4259 withval=$with_mingw;
4263 # Check whether --with-netapi was given.
4264 if test ${with_netapi+y}
4265 then :
4266 withval=$with_netapi;
4270 # Check whether --with-openal was given.
4271 if test ${with_openal+y}
4272 then :
4273 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4277 # Check whether --with-opencl was given.
4278 if test ${with_opencl+y}
4279 then :
4280 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4284 # Check whether --with-opengl was given.
4285 if test ${with_opengl+y}
4286 then :
4287 withval=$with_opengl;
4291 # Check whether --with-osmesa was given.
4292 if test ${with_osmesa+y}
4293 then :
4294 withval=$with_osmesa;
4298 # Check whether --with-oss was given.
4299 if test ${with_oss+y}
4300 then :
4301 withval=$with_oss;
4305 # Check whether --with-pcap was given.
4306 if test ${with_pcap+y}
4307 then :
4308 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4312 # Check whether --with-pthread was given.
4313 if test ${with_pthread+y}
4314 then :
4315 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4319 # Check whether --with-pulse was given.
4320 if test ${with_pulse+y}
4321 then :
4322 withval=$with_pulse;
4326 # Check whether --with-sane was given.
4327 if test ${with_sane+y}
4328 then :
4329 withval=$with_sane;
4333 # Check whether --with-sdl was given.
4334 if test ${with_sdl+y}
4335 then :
4336 withval=$with_sdl;
4340 # Check whether --with-udev was given.
4341 if test ${with_udev+y}
4342 then :
4343 withval=$with_udev;
4347 # Check whether --with-unwind was given.
4348 if test ${with_unwind+y}
4349 then :
4350 withval=$with_unwind;
4354 # Check whether --with-usb was given.
4355 if test ${with_usb+y}
4356 then :
4357 withval=$with_usb;
4361 # Check whether --with-v4l2 was given.
4362 if test ${with_v4l2+y}
4363 then :
4364 withval=$with_v4l2;
4368 # Check whether --with-vulkan was given.
4369 if test ${with_vulkan+y}
4370 then :
4371 withval=$with_vulkan;
4375 # Check whether --with-xcomposite was given.
4376 if test ${with_xcomposite+y}
4377 then :
4378 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4382 # Check whether --with-xcursor was given.
4383 if test ${with_xcursor+y}
4384 then :
4385 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4389 # Check whether --with-xfixes was given.
4390 if test ${with_xfixes+y}
4391 then :
4392 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4396 # Check whether --with-xinerama was given.
4397 if test ${with_xinerama+y}
4398 then :
4399 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4403 # Check whether --with-xinput was given.
4404 if test ${with_xinput+y}
4405 then :
4406 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4410 # Check whether --with-xinput2 was given.
4411 if test ${with_xinput2+y}
4412 then :
4413 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4417 # Check whether --with-xrandr was given.
4418 if test ${with_xrandr+y}
4419 then :
4420 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4424 # Check whether --with-xrender was given.
4425 if test ${with_xrender+y}
4426 then :
4427 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4431 # Check whether --with-xshape was given.
4432 if test ${with_xshape+y}
4433 then :
4434 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4438 # Check whether --with-xshm was given.
4439 if test ${with_xshm+y}
4440 then :
4441 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4445 # Check whether --with-xxf86vm was given.
4446 if test ${with_xxf86vm+y}
4447 then :
4448 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
4453 # Check whether --with-system-dllpath was given.
4454 if test ${with_system_dllpath+y}
4455 then :
4456 withval=$with_system_dllpath; system_dllpath=$withval
4461 # Check whether --with-wine-tools was given.
4462 if test ${with_wine_tools+y}
4463 then :
4464 withval=$with_wine_tools;
4468 # Check whether --with-wine64 was given.
4469 if test ${with_wine64+y}
4470 then :
4471 withval=$with_wine64;
4478 # Make sure we can run config.sub.
4479 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4480 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4483 printf %s "checking build system type... " >&6; }
4484 if test ${ac_cv_build+y}
4485 then :
4486 printf %s "(cached) " >&6
4487 else $as_nop
4488 ac_build_alias=$build_alias
4489 test "x$ac_build_alias" = x &&
4490 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4491 test "x$ac_build_alias" = x &&
4492 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4493 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4494 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4498 printf "%s\n" "$ac_cv_build" >&6; }
4499 case $ac_cv_build in
4500 *-*-*) ;;
4501 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4502 esac
4503 build=$ac_cv_build
4504 ac_save_IFS=$IFS; IFS='-'
4505 set x $ac_cv_build
4506 shift
4507 build_cpu=$1
4508 build_vendor=$2
4509 shift; shift
4510 # Remember, the first character of IFS is used to create $*,
4511 # except with old shells:
4512 build_os=$*
4513 IFS=$ac_save_IFS
4514 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4518 printf %s "checking host system type... " >&6; }
4519 if test ${ac_cv_host+y}
4520 then :
4521 printf %s "(cached) " >&6
4522 else $as_nop
4523 if test "x$host_alias" = x; then
4524 ac_cv_host=$ac_cv_build
4525 else
4526 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4527 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4532 printf "%s\n" "$ac_cv_host" >&6; }
4533 case $ac_cv_host in
4534 *-*-*) ;;
4535 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4536 esac
4537 host=$ac_cv_host
4538 ac_save_IFS=$IFS; IFS='-'
4539 set x $ac_cv_host
4540 shift
4541 host_cpu=$1
4542 host_vendor=$2
4543 shift; shift
4544 # Remember, the first character of IFS is used to create $*,
4545 # except with old shells:
4546 host_os=$*
4547 IFS=$ac_save_IFS
4548 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4552 dlldir=\${libdir}/wine
4554 fontdir=\${datadir}/wine/fonts
4556 nlsdir=\${datadir}/wine/nls
4561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4562 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4563 set x ${MAKE-make}
4564 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4565 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4566 then :
4567 printf %s "(cached) " >&6
4568 else $as_nop
4569 cat >conftest.make <<\_ACEOF
4570 SHELL = /bin/sh
4571 all:
4572 @echo '@@@%%%=$(MAKE)=@@@%%%'
4573 _ACEOF
4574 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4575 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4576 *@@@%%%=?*=@@@%%%*)
4577 eval ac_cv_prog_make_${ac_make}_set=yes;;
4579 eval ac_cv_prog_make_${ac_make}_set=no;;
4580 esac
4581 rm -f conftest.make
4583 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4585 printf "%s\n" "yes" >&6; }
4586 SET_MAKE=
4587 else
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 printf "%s\n" "no" >&6; }
4590 SET_MAKE="MAKE=${MAKE-make}"
4602 ac_ext=c
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607 if test -n "$ac_tool_prefix"; then
4608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4609 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 printf %s "checking for $ac_word... " >&6; }
4612 if test ${ac_cv_prog_CC+y}
4613 then :
4614 printf %s "(cached) " >&6
4615 else $as_nop
4616 if test -n "$CC"; then
4617 ac_cv_prog_CC="$CC" # Let the user override the test.
4618 else
4619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 for as_dir in $PATH
4622 IFS=$as_save_IFS
4623 case $as_dir in #(((
4624 '') as_dir=./ ;;
4625 */) ;;
4626 *) as_dir=$as_dir/ ;;
4627 esac
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4632 break 2
4634 done
4635 done
4636 IFS=$as_save_IFS
4640 CC=$ac_cv_prog_CC
4641 if test -n "$CC"; then
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4643 printf "%s\n" "$CC" >&6; }
4644 else
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 printf "%s\n" "no" >&6; }
4651 if test -z "$ac_cv_prog_CC"; then
4652 ac_ct_CC=$CC
4653 # Extract the first word of "gcc", so it can be a program name with args.
4654 set dummy gcc; ac_word=$2
4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 printf %s "checking for $ac_word... " >&6; }
4657 if test ${ac_cv_prog_ac_ct_CC+y}
4658 then :
4659 printf %s "(cached) " >&6
4660 else $as_nop
4661 if test -n "$ac_ct_CC"; then
4662 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4663 else
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH
4667 IFS=$as_save_IFS
4668 case $as_dir in #(((
4669 '') as_dir=./ ;;
4670 */) ;;
4671 *) as_dir=$as_dir/ ;;
4672 esac
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CC="gcc"
4676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4677 break 2
4679 done
4680 done
4681 IFS=$as_save_IFS
4685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4686 if test -n "$ac_ct_CC"; then
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4688 printf "%s\n" "$ac_ct_CC" >&6; }
4689 else
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4694 if test "x$ac_ct_CC" = x; then
4695 CC=""
4696 else
4697 case $cross_compiling:$ac_tool_warned in
4698 yes:)
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned=yes ;;
4702 esac
4703 CC=$ac_ct_CC
4705 else
4706 CC="$ac_cv_prog_CC"
4709 if test -z "$CC"; then
4710 if test -n "$ac_tool_prefix"; then
4711 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4712 set dummy ${ac_tool_prefix}cc; ac_word=$2
4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 printf %s "checking for $ac_word... " >&6; }
4715 if test ${ac_cv_prog_CC+y}
4716 then :
4717 printf %s "(cached) " >&6
4718 else $as_nop
4719 if test -n "$CC"; then
4720 ac_cv_prog_CC="$CC" # Let the user override the test.
4721 else
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 for as_dir in $PATH
4725 IFS=$as_save_IFS
4726 case $as_dir in #(((
4727 '') as_dir=./ ;;
4728 */) ;;
4729 *) as_dir=$as_dir/ ;;
4730 esac
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_CC="${ac_tool_prefix}cc"
4734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4735 break 2
4737 done
4738 done
4739 IFS=$as_save_IFS
4743 CC=$ac_cv_prog_CC
4744 if test -n "$CC"; then
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4746 printf "%s\n" "$CC" >&6; }
4747 else
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 printf "%s\n" "no" >&6; }
4755 if test -z "$CC"; then
4756 # Extract the first word of "cc", so it can be a program name with args.
4757 set dummy cc; ac_word=$2
4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 printf %s "checking for $ac_word... " >&6; }
4760 if test ${ac_cv_prog_CC+y}
4761 then :
4762 printf %s "(cached) " >&6
4763 else $as_nop
4764 if test -n "$CC"; then
4765 ac_cv_prog_CC="$CC" # Let the user override the test.
4766 else
4767 ac_prog_rejected=no
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $PATH
4771 IFS=$as_save_IFS
4772 case $as_dir in #(((
4773 '') as_dir=./ ;;
4774 */) ;;
4775 *) as_dir=$as_dir/ ;;
4776 esac
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4779 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4780 ac_prog_rejected=yes
4781 continue
4783 ac_cv_prog_CC="cc"
4784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4785 break 2
4787 done
4788 done
4789 IFS=$as_save_IFS
4791 if test $ac_prog_rejected = yes; then
4792 # We found a bogon in the path, so make sure we never use it.
4793 set dummy $ac_cv_prog_CC
4794 shift
4795 if test $# != 0; then
4796 # We chose a different compiler from the bogus one.
4797 # However, it has the same basename, so the bogon will be chosen
4798 # first if we set CC to just the basename; use the full file name.
4799 shift
4800 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4805 CC=$ac_cv_prog_CC
4806 if test -n "$CC"; then
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4808 printf "%s\n" "$CC" >&6; }
4809 else
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 printf "%s\n" "no" >&6; }
4816 if test -z "$CC"; then
4817 if test -n "$ac_tool_prefix"; then
4818 for ac_prog in cl.exe
4820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 printf %s "checking for $ac_word... " >&6; }
4824 if test ${ac_cv_prog_CC+y}
4825 then :
4826 printf %s "(cached) " >&6
4827 else $as_nop
4828 if test -n "$CC"; then
4829 ac_cv_prog_CC="$CC" # Let the user override the test.
4830 else
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH
4834 IFS=$as_save_IFS
4835 case $as_dir in #(((
4836 '') as_dir=./ ;;
4837 */) ;;
4838 *) as_dir=$as_dir/ ;;
4839 esac
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4852 CC=$ac_cv_prog_CC
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4856 else
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4862 test -n "$CC" && break
4863 done
4865 if test -z "$CC"; then
4866 ac_ct_CC=$CC
4867 for ac_prog in cl.exe
4869 # Extract the first word of "$ac_prog", so it can be a program name with args.
4870 set dummy $ac_prog; ac_word=$2
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 printf %s "checking for $ac_word... " >&6; }
4873 if test ${ac_cv_prog_ac_ct_CC+y}
4874 then :
4875 printf %s "(cached) " >&6
4876 else $as_nop
4877 if test -n "$ac_ct_CC"; then
4878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4879 else
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 for as_dir in $PATH
4883 IFS=$as_save_IFS
4884 case $as_dir in #(((
4885 '') as_dir=./ ;;
4886 */) ;;
4887 *) as_dir=$as_dir/ ;;
4888 esac
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CC="$ac_prog"
4892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4902 if test -n "$ac_ct_CC"; then
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4904 printf "%s\n" "$ac_ct_CC" >&6; }
4905 else
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 printf "%s\n" "no" >&6; }
4911 test -n "$ac_ct_CC" && break
4912 done
4914 if test "x$ac_ct_CC" = x; then
4915 CC=""
4916 else
4917 case $cross_compiling:$ac_tool_warned in
4918 yes:)
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4922 esac
4923 CC=$ac_ct_CC
4928 if test -z "$CC"; then
4929 if test -n "$ac_tool_prefix"; then
4930 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4931 set dummy ${ac_tool_prefix}clang; ac_word=$2
4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 printf %s "checking for $ac_word... " >&6; }
4934 if test ${ac_cv_prog_CC+y}
4935 then :
4936 printf %s "(cached) " >&6
4937 else $as_nop
4938 if test -n "$CC"; then
4939 ac_cv_prog_CC="$CC" # Let the user override the test.
4940 else
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 for as_dir in $PATH
4944 IFS=$as_save_IFS
4945 case $as_dir in #(((
4946 '') as_dir=./ ;;
4947 */) ;;
4948 *) as_dir=$as_dir/ ;;
4949 esac
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_CC="${ac_tool_prefix}clang"
4953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4954 break 2
4956 done
4957 done
4958 IFS=$as_save_IFS
4962 CC=$ac_cv_prog_CC
4963 if test -n "$CC"; then
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4965 printf "%s\n" "$CC" >&6; }
4966 else
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 printf "%s\n" "no" >&6; }
4973 if test -z "$ac_cv_prog_CC"; then
4974 ac_ct_CC=$CC
4975 # Extract the first word of "clang", so it can be a program name with args.
4976 set dummy clang; ac_word=$2
4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 printf %s "checking for $ac_word... " >&6; }
4979 if test ${ac_cv_prog_ac_ct_CC+y}
4980 then :
4981 printf %s "(cached) " >&6
4982 else $as_nop
4983 if test -n "$ac_ct_CC"; then
4984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 case $as_dir in #(((
4991 '') as_dir=./ ;;
4992 */) ;;
4993 *) as_dir=$as_dir/ ;;
4994 esac
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_ac_ct_CC="clang"
4998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4999 break 2
5001 done
5002 done
5003 IFS=$as_save_IFS
5007 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5008 if test -n "$ac_ct_CC"; then
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5010 printf "%s\n" "$ac_ct_CC" >&6; }
5011 else
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 printf "%s\n" "no" >&6; }
5016 if test "x$ac_ct_CC" = x; then
5017 CC=""
5018 else
5019 case $cross_compiling:$ac_tool_warned in
5020 yes:)
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5024 esac
5025 CC=$ac_ct_CC
5027 else
5028 CC="$ac_cv_prog_CC"
5034 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5035 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5036 as_fn_error $? "no acceptable C compiler found in \$PATH
5037 See \`config.log' for more details" "$LINENO" 5; }
5039 # Provide some information about the compiler.
5040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5041 set X $ac_compile
5042 ac_compiler=$2
5043 for ac_option in --version -v -V -qversion -version; do
5044 { { ac_try="$ac_compiler $ac_option >&5"
5045 case "(($ac_try" in
5046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5047 *) ac_try_echo=$ac_try;;
5048 esac
5049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5050 printf "%s\n" "$ac_try_echo"; } >&5
5051 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5052 ac_status=$?
5053 if test -s conftest.err; then
5054 sed '10a\
5055 ... rest of stderr output deleted ...
5056 10q' conftest.err >conftest.er1
5057 cat conftest.er1 >&5
5059 rm -f conftest.er1 conftest.err
5060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5061 test $ac_status = 0; }
5062 done
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5068 main (void)
5072 return 0;
5074 _ACEOF
5075 ac_clean_files_save=$ac_clean_files
5076 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5077 # Try to create an executable without -o first, disregard a.out.
5078 # It will help us diagnose broken compilers, and finding out an intuition
5079 # of exeext.
5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5081 printf %s "checking whether the C compiler works... " >&6; }
5082 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5084 # The possible output files:
5085 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5087 ac_rmfiles=
5088 for ac_file in $ac_files
5090 case $ac_file in
5091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5093 esac
5094 done
5095 rm -f $ac_rmfiles
5097 if { { ac_try="$ac_link_default"
5098 case "(($ac_try" in
5099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5100 *) ac_try_echo=$ac_try;;
5101 esac
5102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5103 printf "%s\n" "$ac_try_echo"; } >&5
5104 (eval "$ac_link_default") 2>&5
5105 ac_status=$?
5106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107 test $ac_status = 0; }
5108 then :
5109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5112 # so that the user can short-circuit this test for compilers unknown to
5113 # Autoconf.
5114 for ac_file in $ac_files ''
5116 test -f "$ac_file" || continue
5117 case $ac_file in
5118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5120 [ab].out )
5121 # We found the default executable, but exeext='' is most
5122 # certainly right.
5123 break;;
5124 *.* )
5125 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5126 then :; else
5127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5129 # We set ac_cv_exeext here because the later test for it is not
5130 # safe: cross compilers may not add the suffix if given an `-o'
5131 # argument, so we may need to know it at that point already.
5132 # Even if this section looks crufty: it has the advantage of
5133 # actually working.
5134 break;;
5136 break;;
5137 esac
5138 done
5139 test "$ac_cv_exeext" = no && ac_cv_exeext=
5141 else $as_nop
5142 ac_file=''
5144 if test -z "$ac_file"
5145 then :
5146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 printf "%s\n" "no" >&6; }
5148 printf "%s\n" "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5151 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5152 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5153 as_fn_error 77 "C compiler cannot create executables
5154 See \`config.log' for more details" "$LINENO" 5; }
5155 else $as_nop
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5157 printf "%s\n" "yes" >&6; }
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5160 printf %s "checking for C compiler default output file name... " >&6; }
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5162 printf "%s\n" "$ac_file" >&6; }
5163 ac_exeext=$ac_cv_exeext
5165 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5166 ac_clean_files=$ac_clean_files_save
5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5168 printf %s "checking for suffix of executables... " >&6; }
5169 if { { ac_try="$ac_link"
5170 case "(($ac_try" in
5171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5172 *) ac_try_echo=$ac_try;;
5173 esac
5174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5175 printf "%s\n" "$ac_try_echo"; } >&5
5176 (eval "$ac_link") 2>&5
5177 ac_status=$?
5178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5179 test $ac_status = 0; }
5180 then :
5181 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5182 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5183 # work properly (i.e., refer to `conftest.exe'), while it won't with
5184 # `rm'.
5185 for ac_file in conftest.exe conftest conftest.*; do
5186 test -f "$ac_file" || continue
5187 case $ac_file in
5188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5189 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5190 break;;
5191 * ) break;;
5192 esac
5193 done
5194 else $as_nop
5195 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5196 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5197 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5198 See \`config.log' for more details" "$LINENO" 5; }
5200 rm -f conftest conftest$ac_cv_exeext
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5202 printf "%s\n" "$ac_cv_exeext" >&6; }
5204 rm -f conftest.$ac_ext
5205 EXEEXT=$ac_cv_exeext
5206 ac_exeext=$EXEEXT
5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5209 #include <stdio.h>
5211 main (void)
5213 FILE *f = fopen ("conftest.out", "w");
5214 return ferror (f) || fclose (f) != 0;
5217 return 0;
5219 _ACEOF
5220 ac_clean_files="$ac_clean_files conftest.out"
5221 # Check that the compiler produces executables we can run. If not, either
5222 # the compiler is broken, or we cross compile.
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5224 printf %s "checking whether we are cross compiling... " >&6; }
5225 if test "$cross_compiling" != yes; then
5226 { { ac_try="$ac_link"
5227 case "(($ac_try" in
5228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5229 *) ac_try_echo=$ac_try;;
5230 esac
5231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5232 printf "%s\n" "$ac_try_echo"; } >&5
5233 (eval "$ac_link") 2>&5
5234 ac_status=$?
5235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5236 test $ac_status = 0; }
5237 if { ac_try='./conftest$ac_cv_exeext'
5238 { { case "(($ac_try" in
5239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5240 *) ac_try_echo=$ac_try;;
5241 esac
5242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5243 printf "%s\n" "$ac_try_echo"; } >&5
5244 (eval "$ac_try") 2>&5
5245 ac_status=$?
5246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5247 test $ac_status = 0; }; }; then
5248 cross_compiling=no
5249 else
5250 if test "$cross_compiling" = maybe; then
5251 cross_compiling=yes
5252 else
5253 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5254 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5255 as_fn_error 77 "cannot run C compiled programs.
5256 If you meant to cross compile, use \`--host'.
5257 See \`config.log' for more details" "$LINENO" 5; }
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5262 printf "%s\n" "$cross_compiling" >&6; }
5264 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5265 ac_clean_files=$ac_clean_files_save
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5267 printf %s "checking for suffix of object files... " >&6; }
5268 if test ${ac_cv_objext+y}
5269 then :
5270 printf %s "(cached) " >&6
5271 else $as_nop
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5276 main (void)
5280 return 0;
5282 _ACEOF
5283 rm -f conftest.o conftest.obj
5284 if { { ac_try="$ac_compile"
5285 case "(($ac_try" in
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5288 esac
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 printf "%s\n" "$ac_try_echo"; } >&5
5291 (eval "$ac_compile") 2>&5
5292 ac_status=$?
5293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5295 then :
5296 for ac_file in conftest.o conftest.obj conftest.*; do
5297 test -f "$ac_file" || continue;
5298 case $ac_file in
5299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5300 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5301 break;;
5302 esac
5303 done
5304 else $as_nop
5305 printf "%s\n" "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5308 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5309 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5310 as_fn_error $? "cannot compute suffix of object files: cannot compile
5311 See \`config.log' for more details" "$LINENO" 5; }
5313 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5316 printf "%s\n" "$ac_cv_objext" >&6; }
5317 OBJEXT=$ac_cv_objext
5318 ac_objext=$OBJEXT
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5320 printf %s "checking whether the compiler supports GNU C... " >&6; }
5321 if test ${ac_cv_c_compiler_gnu+y}
5322 then :
5323 printf %s "(cached) " >&6
5324 else $as_nop
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main (void)
5331 #ifndef __GNUC__
5332 choke me
5333 #endif
5336 return 0;
5338 _ACEOF
5339 if ac_fn_c_try_compile "$LINENO"
5340 then :
5341 ac_compiler_gnu=yes
5342 else $as_nop
5343 ac_compiler_gnu=no
5345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5346 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5350 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5353 if test $ac_compiler_gnu = yes; then
5354 GCC=yes
5355 else
5356 GCC=
5358 ac_test_CFLAGS=${CFLAGS+y}
5359 ac_save_CFLAGS=$CFLAGS
5360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5361 printf %s "checking whether $CC accepts -g... " >&6; }
5362 if test ${ac_cv_prog_cc_g+y}
5363 then :
5364 printf %s "(cached) " >&6
5365 else $as_nop
5366 ac_save_c_werror_flag=$ac_c_werror_flag
5367 ac_c_werror_flag=yes
5368 ac_cv_prog_cc_g=no
5369 CFLAGS="-g"
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5374 main (void)
5378 return 0;
5380 _ACEOF
5381 if ac_fn_c_try_compile "$LINENO"
5382 then :
5383 ac_cv_prog_cc_g=yes
5384 else $as_nop
5385 CFLAGS=""
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5390 main (void)
5394 return 0;
5396 _ACEOF
5397 if ac_fn_c_try_compile "$LINENO"
5398 then :
5400 else $as_nop
5401 ac_c_werror_flag=$ac_save_c_werror_flag
5402 CFLAGS="-g"
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5407 main (void)
5411 return 0;
5413 _ACEOF
5414 if ac_fn_c_try_compile "$LINENO"
5415 then :
5416 ac_cv_prog_cc_g=yes
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5423 ac_c_werror_flag=$ac_save_c_werror_flag
5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5426 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5427 if test $ac_test_CFLAGS; then
5428 CFLAGS=$ac_save_CFLAGS
5429 elif test $ac_cv_prog_cc_g = yes; then
5430 if test "$GCC" = yes; then
5431 CFLAGS="-g -O2"
5432 else
5433 CFLAGS="-g"
5435 else
5436 if test "$GCC" = yes; then
5437 CFLAGS="-O2"
5438 else
5439 CFLAGS=
5442 ac_prog_cc_stdc=no
5443 if test x$ac_prog_cc_stdc = xno
5444 then :
5445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5446 printf %s "checking for $CC option to enable C11 features... " >&6; }
5447 if test ${ac_cv_prog_cc_c11+y}
5448 then :
5449 printf %s "(cached) " >&6
5450 else $as_nop
5451 ac_cv_prog_cc_c11=no
5452 ac_save_CC=$CC
5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5455 $ac_c_conftest_c11_program
5456 _ACEOF
5457 for ac_arg in '' -std=gnu11
5459 CC="$ac_save_CC $ac_arg"
5460 if ac_fn_c_try_compile "$LINENO"
5461 then :
5462 ac_cv_prog_cc_c11=$ac_arg
5464 rm -f core conftest.err conftest.$ac_objext conftest.beam
5465 test "x$ac_cv_prog_cc_c11" != "xno" && break
5466 done
5467 rm -f conftest.$ac_ext
5468 CC=$ac_save_CC
5471 if test "x$ac_cv_prog_cc_c11" = xno
5472 then :
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5474 printf "%s\n" "unsupported" >&6; }
5475 else $as_nop
5476 if test "x$ac_cv_prog_cc_c11" = x
5477 then :
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5479 printf "%s\n" "none needed" >&6; }
5480 else $as_nop
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5482 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5483 CC="$CC $ac_cv_prog_cc_c11"
5485 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5486 ac_prog_cc_stdc=c11
5489 if test x$ac_prog_cc_stdc = xno
5490 then :
5491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5492 printf %s "checking for $CC option to enable C99 features... " >&6; }
5493 if test ${ac_cv_prog_cc_c99+y}
5494 then :
5495 printf %s "(cached) " >&6
5496 else $as_nop
5497 ac_cv_prog_cc_c99=no
5498 ac_save_CC=$CC
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5501 $ac_c_conftest_c99_program
5502 _ACEOF
5503 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5505 CC="$ac_save_CC $ac_arg"
5506 if ac_fn_c_try_compile "$LINENO"
5507 then :
5508 ac_cv_prog_cc_c99=$ac_arg
5510 rm -f core conftest.err conftest.$ac_objext conftest.beam
5511 test "x$ac_cv_prog_cc_c99" != "xno" && break
5512 done
5513 rm -f conftest.$ac_ext
5514 CC=$ac_save_CC
5517 if test "x$ac_cv_prog_cc_c99" = xno
5518 then :
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5520 printf "%s\n" "unsupported" >&6; }
5521 else $as_nop
5522 if test "x$ac_cv_prog_cc_c99" = x
5523 then :
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5525 printf "%s\n" "none needed" >&6; }
5526 else $as_nop
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5529 CC="$CC $ac_cv_prog_cc_c99"
5531 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5532 ac_prog_cc_stdc=c99
5535 if test x$ac_prog_cc_stdc = xno
5536 then :
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5538 printf %s "checking for $CC option to enable C89 features... " >&6; }
5539 if test ${ac_cv_prog_cc_c89+y}
5540 then :
5541 printf %s "(cached) " >&6
5542 else $as_nop
5543 ac_cv_prog_cc_c89=no
5544 ac_save_CC=$CC
5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5546 /* end confdefs.h. */
5547 $ac_c_conftest_c89_program
5548 _ACEOF
5549 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5551 CC="$ac_save_CC $ac_arg"
5552 if ac_fn_c_try_compile "$LINENO"
5553 then :
5554 ac_cv_prog_cc_c89=$ac_arg
5556 rm -f core conftest.err conftest.$ac_objext conftest.beam
5557 test "x$ac_cv_prog_cc_c89" != "xno" && break
5558 done
5559 rm -f conftest.$ac_ext
5560 CC=$ac_save_CC
5563 if test "x$ac_cv_prog_cc_c89" = xno
5564 then :
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5566 printf "%s\n" "unsupported" >&6; }
5567 else $as_nop
5568 if test "x$ac_cv_prog_cc_c89" = x
5569 then :
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5571 printf "%s\n" "none needed" >&6; }
5572 else $as_nop
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5574 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5575 CC="$CC $ac_cv_prog_cc_c89"
5577 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5578 ac_prog_cc_stdc=c89
5582 ac_ext=c
5583 ac_cpp='$CPP $CPPFLAGS'
5584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5594 ac_ext=cpp
5595 ac_cpp='$CXXCPP $CPPFLAGS'
5596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5599 if test -z "$CXX"; then
5600 if test -n "$CCC"; then
5601 CXX=$CCC
5602 else
5603 if test -n "$ac_tool_prefix"; then
5604 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 printf %s "checking for $ac_word... " >&6; }
5610 if test ${ac_cv_prog_CXX+y}
5611 then :
5612 printf %s "(cached) " >&6
5613 else $as_nop
5614 if test -n "$CXX"; then
5615 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5616 else
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 for as_dir in $PATH
5620 IFS=$as_save_IFS
5621 case $as_dir in #(((
5622 '') as_dir=./ ;;
5623 */) ;;
5624 *) as_dir=$as_dir/ ;;
5625 esac
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5630 break 2
5632 done
5633 done
5634 IFS=$as_save_IFS
5638 CXX=$ac_cv_prog_CXX
5639 if test -n "$CXX"; then
5640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5641 printf "%s\n" "$CXX" >&6; }
5642 else
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 printf "%s\n" "no" >&6; }
5648 test -n "$CXX" && break
5649 done
5651 if test -z "$CXX"; then
5652 ac_ct_CXX=$CXX
5653 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5655 # Extract the first word of "$ac_prog", so it can be a program name with args.
5656 set dummy $ac_prog; ac_word=$2
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 printf %s "checking for $ac_word... " >&6; }
5659 if test ${ac_cv_prog_ac_ct_CXX+y}
5660 then :
5661 printf %s "(cached) " >&6
5662 else $as_nop
5663 if test -n "$ac_ct_CXX"; then
5664 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5665 else
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 for as_dir in $PATH
5669 IFS=$as_save_IFS
5670 case $as_dir in #(((
5671 '') as_dir=./ ;;
5672 */) ;;
5673 *) as_dir=$as_dir/ ;;
5674 esac
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5677 ac_cv_prog_ac_ct_CXX="$ac_prog"
5678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5688 if test -n "$ac_ct_CXX"; then
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5690 printf "%s\n" "$ac_ct_CXX" >&6; }
5691 else
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 printf "%s\n" "no" >&6; }
5697 test -n "$ac_ct_CXX" && break
5698 done
5700 if test "x$ac_ct_CXX" = x; then
5701 CXX="g++"
5702 else
5703 case $cross_compiling:$ac_tool_warned in
5704 yes:)
5705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5706 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5707 ac_tool_warned=yes ;;
5708 esac
5709 CXX=$ac_ct_CXX
5715 # Provide some information about the compiler.
5716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5717 set X $ac_compile
5718 ac_compiler=$2
5719 for ac_option in --version -v -V -qversion; do
5720 { { ac_try="$ac_compiler $ac_option >&5"
5721 case "(($ac_try" in
5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5723 *) ac_try_echo=$ac_try;;
5724 esac
5725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5726 printf "%s\n" "$ac_try_echo"; } >&5
5727 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5728 ac_status=$?
5729 if test -s conftest.err; then
5730 sed '10a\
5731 ... rest of stderr output deleted ...
5732 10q' conftest.err >conftest.er1
5733 cat conftest.er1 >&5
5735 rm -f conftest.er1 conftest.err
5736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5737 test $ac_status = 0; }
5738 done
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5741 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5742 if test ${ac_cv_cxx_compiler_gnu+y}
5743 then :
5744 printf %s "(cached) " >&6
5745 else $as_nop
5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5750 main (void)
5752 #ifndef __GNUC__
5753 choke me
5754 #endif
5757 return 0;
5759 _ACEOF
5760 if ac_fn_cxx_try_compile "$LINENO"
5761 then :
5762 ac_compiler_gnu=yes
5763 else $as_nop
5764 ac_compiler_gnu=no
5766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5767 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5771 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5774 if test $ac_compiler_gnu = yes; then
5775 GXX=yes
5776 else
5777 GXX=
5779 ac_test_CXXFLAGS=${CXXFLAGS+y}
5780 ac_save_CXXFLAGS=$CXXFLAGS
5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5782 printf %s "checking whether $CXX accepts -g... " >&6; }
5783 if test ${ac_cv_prog_cxx_g+y}
5784 then :
5785 printf %s "(cached) " >&6
5786 else $as_nop
5787 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5788 ac_cxx_werror_flag=yes
5789 ac_cv_prog_cxx_g=no
5790 CXXFLAGS="-g"
5791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5792 /* end confdefs.h. */
5795 main (void)
5799 return 0;
5801 _ACEOF
5802 if ac_fn_cxx_try_compile "$LINENO"
5803 then :
5804 ac_cv_prog_cxx_g=yes
5805 else $as_nop
5806 CXXFLAGS=""
5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5811 main (void)
5815 return 0;
5817 _ACEOF
5818 if ac_fn_cxx_try_compile "$LINENO"
5819 then :
5821 else $as_nop
5822 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5823 CXXFLAGS="-g"
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5828 main (void)
5832 return 0;
5834 _ACEOF
5835 if ac_fn_cxx_try_compile "$LINENO"
5836 then :
5837 ac_cv_prog_cxx_g=yes
5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5844 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5847 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5848 if test $ac_test_CXXFLAGS; then
5849 CXXFLAGS=$ac_save_CXXFLAGS
5850 elif test $ac_cv_prog_cxx_g = yes; then
5851 if test "$GXX" = yes; then
5852 CXXFLAGS="-g -O2"
5853 else
5854 CXXFLAGS="-g"
5856 else
5857 if test "$GXX" = yes; then
5858 CXXFLAGS="-O2"
5859 else
5860 CXXFLAGS=
5863 ac_prog_cxx_stdcxx=no
5864 if test x$ac_prog_cxx_stdcxx = xno
5865 then :
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5867 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5868 if test ${ac_cv_prog_cxx_11+y}
5869 then :
5870 printf %s "(cached) " >&6
5871 else $as_nop
5872 ac_cv_prog_cxx_11=no
5873 ac_save_CXX=$CXX
5874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5876 $ac_cxx_conftest_cxx11_program
5877 _ACEOF
5878 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5880 CXX="$ac_save_CXX $ac_arg"
5881 if ac_fn_cxx_try_compile "$LINENO"
5882 then :
5883 ac_cv_prog_cxx_cxx11=$ac_arg
5885 rm -f core conftest.err conftest.$ac_objext conftest.beam
5886 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5887 done
5888 rm -f conftest.$ac_ext
5889 CXX=$ac_save_CXX
5892 if test "x$ac_cv_prog_cxx_cxx11" = xno
5893 then :
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5895 printf "%s\n" "unsupported" >&6; }
5896 else $as_nop
5897 if test "x$ac_cv_prog_cxx_cxx11" = x
5898 then :
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5900 printf "%s\n" "none needed" >&6; }
5901 else $as_nop
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5903 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5904 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5906 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5907 ac_prog_cxx_stdcxx=cxx11
5910 if test x$ac_prog_cxx_stdcxx = xno
5911 then :
5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5913 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5914 if test ${ac_cv_prog_cxx_98+y}
5915 then :
5916 printf %s "(cached) " >&6
5917 else $as_nop
5918 ac_cv_prog_cxx_98=no
5919 ac_save_CXX=$CXX
5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 $ac_cxx_conftest_cxx98_program
5923 _ACEOF
5924 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5926 CXX="$ac_save_CXX $ac_arg"
5927 if ac_fn_cxx_try_compile "$LINENO"
5928 then :
5929 ac_cv_prog_cxx_cxx98=$ac_arg
5931 rm -f core conftest.err conftest.$ac_objext conftest.beam
5932 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5933 done
5934 rm -f conftest.$ac_ext
5935 CXX=$ac_save_CXX
5938 if test "x$ac_cv_prog_cxx_cxx98" = xno
5939 then :
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5941 printf "%s\n" "unsupported" >&6; }
5942 else $as_nop
5943 if test "x$ac_cv_prog_cxx_cxx98" = x
5944 then :
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5946 printf "%s\n" "none needed" >&6; }
5947 else $as_nop
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5950 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5952 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5953 ac_prog_cxx_stdcxx=cxx98
5957 ac_ext=c
5958 ac_cpp='$CPP $CPPFLAGS'
5959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5963 if test -n "$ac_tool_prefix"; then
5964 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5965 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 printf %s "checking for $ac_word... " >&6; }
5968 if test ${ac_cv_prog_CPPBIN+y}
5969 then :
5970 printf %s "(cached) " >&6
5971 else $as_nop
5972 if test -n "$CPPBIN"; then
5973 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5974 else
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 for as_dir in $PATH
5978 IFS=$as_save_IFS
5979 case $as_dir in #(((
5980 '') as_dir=./ ;;
5981 */) ;;
5982 *) as_dir=$as_dir/ ;;
5983 esac
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 CPPBIN=$ac_cv_prog_CPPBIN
5997 if test -n "$CPPBIN"; then
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5999 printf "%s\n" "$CPPBIN" >&6; }
6000 else
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 printf "%s\n" "no" >&6; }
6007 if test -z "$ac_cv_prog_CPPBIN"; then
6008 ac_ct_CPPBIN=$CPPBIN
6009 # Extract the first word of "cpp", so it can be a program name with args.
6010 set dummy cpp; ac_word=$2
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 printf %s "checking for $ac_word... " >&6; }
6013 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6014 then :
6015 printf %s "(cached) " >&6
6016 else $as_nop
6017 if test -n "$ac_ct_CPPBIN"; then
6018 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 case $as_dir in #(((
6025 '') as_dir=./ ;;
6026 */) ;;
6027 *) as_dir=$as_dir/ ;;
6028 esac
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_ac_ct_CPPBIN="cpp"
6032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6033 break 2
6035 done
6036 done
6037 IFS=$as_save_IFS
6041 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6042 if test -n "$ac_ct_CPPBIN"; then
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6044 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6045 else
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 printf "%s\n" "no" >&6; }
6050 if test "x$ac_ct_CPPBIN" = x; then
6051 CPPBIN="cpp"
6052 else
6053 case $cross_compiling:$ac_tool_warned in
6054 yes:)
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6057 ac_tool_warned=yes ;;
6058 esac
6059 CPPBIN=$ac_ct_CPPBIN
6061 else
6062 CPPBIN="$ac_cv_prog_CPPBIN"
6066 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6068 if test -n "$ac_tool_prefix"; then
6069 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6070 set dummy ${ac_tool_prefix}ld; ac_word=$2
6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 printf %s "checking for $ac_word... " >&6; }
6073 if test ${ac_cv_prog_LD+y}
6074 then :
6075 printf %s "(cached) " >&6
6076 else $as_nop
6077 if test -n "$LD"; then
6078 ac_cv_prog_LD="$LD" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 case $as_dir in #(((
6085 '') as_dir=./ ;;
6086 */) ;;
6087 *) as_dir=$as_dir/ ;;
6088 esac
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_LD="${ac_tool_prefix}ld"
6092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 LD=$ac_cv_prog_LD
6102 if test -n "$LD"; then
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6104 printf "%s\n" "$LD" >&6; }
6105 else
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 printf "%s\n" "no" >&6; }
6112 if test -z "$ac_cv_prog_LD"; then
6113 ac_ct_LD=$LD
6114 # Extract the first word of "ld", so it can be a program name with args.
6115 set dummy ld; ac_word=$2
6116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 printf %s "checking for $ac_word... " >&6; }
6118 if test ${ac_cv_prog_ac_ct_LD+y}
6119 then :
6120 printf %s "(cached) " >&6
6121 else $as_nop
6122 if test -n "$ac_ct_LD"; then
6123 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6124 else
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH
6128 IFS=$as_save_IFS
6129 case $as_dir in #(((
6130 '') as_dir=./ ;;
6131 */) ;;
6132 *) as_dir=$as_dir/ ;;
6133 esac
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_ac_ct_LD="ld"
6137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6138 break 2
6140 done
6141 done
6142 IFS=$as_save_IFS
6146 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6147 if test -n "$ac_ct_LD"; then
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6149 printf "%s\n" "$ac_ct_LD" >&6; }
6150 else
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 printf "%s\n" "no" >&6; }
6155 if test "x$ac_ct_LD" = x; then
6156 LD=""
6157 else
6158 case $cross_compiling:$ac_tool_warned in
6159 yes:)
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6163 esac
6164 LD=$ac_ct_LD
6166 else
6167 LD="$ac_cv_prog_LD"
6171 case $host in
6172 *-darwin*)
6173 with_fontconfig=${with_fontconfig:-no}
6175 *-mingw32*|*-cygwin*)
6176 enable_win16=${enable_win16:-no}
6177 with_mingw=${with_mingw:-no}
6179 esac
6182 case $host in
6183 x86_64*|amd64*)
6184 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6185 then
6186 CC="$CC -m32"
6187 CXX="$CXX -m32"
6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6190 printf %s "checking whether $CC works... " >&6; }
6191 if test ${wine_cv_cc_m32+y}
6192 then :
6193 printf %s "(cached) " >&6
6194 else $as_nop
6195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6199 main (void)
6203 return 0;
6205 _ACEOF
6206 if ac_fn_c_try_link "$LINENO"
6207 then :
6208 wine_cv_cc_m32=yes
6209 else $as_nop
6210 wine_cv_cc_m32=no
6212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6213 conftest$ac_exeext conftest.$ac_ext
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6216 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6217 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
6218 host_cpu="i386"
6219 notice_platform="32-bit "
6220 TARGETFLAGS="$TARGETFLAGS -m32"
6221 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6222 export PKG_CONFIG_PATH
6223 enable_win16=${enable_win16:-yes}
6224 with_unwind=${with_unwind:-no}
6225 else
6226 if test "x${GCC}" = "xyes"
6227 then
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6229 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6230 if test ${wine_cv_builtin_ms_va_list+y}
6231 then :
6232 printf %s "(cached) " >&6
6233 else $as_nop
6234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6236 #include <stdarg.h>
6238 main (void)
6240 void func(__builtin_ms_va_list *args);
6242 return 0;
6244 _ACEOF
6245 if ac_fn_c_try_compile "$LINENO"
6246 then :
6247 wine_cv_builtin_ms_va_list=yes
6248 else $as_nop
6249 wine_cv_builtin_ms_va_list=no
6251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6254 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6255 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
6257 CC="$CC -m64"
6258 CXX="$CXX -m64"
6259 host_cpu="x86_64"
6260 notice_platform="64-bit "
6261 TARGETFLAGS="$TARGETFLAGS -m64"
6262 enable_wow64=${enable_wow64:-yes}
6263 enable_wow64win=${enable_wow64win:-yes}
6264 enable_wow64cpu=${enable_wow64cpu:-yes}
6267 arm*)
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6269 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6270 if test ${wine_cv_thumb2+y}
6271 then :
6272 printf %s "(cached) " >&6
6273 else $as_nop
6274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6278 main (void)
6280 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6282 return 0;
6284 _ACEOF
6285 if ac_fn_c_try_link "$LINENO"
6286 then :
6287 wine_cv_thumb2=yes
6288 else $as_nop
6289 wine_cv_thumb2=no
6291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6292 conftest$ac_exeext conftest.$ac_ext
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6295 printf "%s\n" "$wine_cv_thumb2" >&6; }
6296 if test x"$wine_cv_thumb2" = xyes
6297 then
6298 CFLAGS="$CFLAGS -mthumb"
6299 TARGETFLAGS="$TARGETFLAGS -mthumb"
6300 else
6301 CFLAGS="$CFLAGS -marm"
6302 TARGETFLAGS="$TARGETFLAGS -marm"
6304 case $with_float_abi in
6305 soft|softfp|hard)
6306 float_abi=$with_float_abi ;;
6308 case $host_os in
6309 *eabihf)
6310 float_abi=hard ;;
6312 float_abi=softfp
6313 saved_CFLAGS=$CFLAGS
6314 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6316 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6317 if test ${wine_cv_float_abi+y}
6318 then :
6319 printf %s "(cached) " >&6
6320 else $as_nop
6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6325 main (void)
6327 asm("vmrs r2,fpscr");
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_link "$LINENO"
6333 then :
6334 wine_cv_float_abi=yes
6335 else $as_nop
6336 wine_cv_float_abi=no
6338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6339 conftest$ac_exeext conftest.$ac_ext
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6342 printf "%s\n" "$wine_cv_float_abi" >&6; }
6343 if test $wine_cv_float_abi = no
6344 then
6345 float_abi=soft
6346 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6348 CFLAGS=$saved_CFLAGS
6349 esac
6351 esac
6352 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6353 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6355 aarch64*)
6356 enable_wow64=${enable_wow64:-yes}
6357 enable_wow64win=${enable_wow64win:-yes}
6359 i[3456789]86*)
6360 enable_win16=${enable_win16:-yes}
6361 with_unwind=${with_unwind:-no}
6363 esac
6365 enable_win16=${enable_win16:-no}
6366 enable_win64=${enable_win64:-no}
6367 enable_wow64=${enable_wow64:-no}
6368 enable_wow64win=${enable_wow64win:-no}
6369 enable_wow64cpu=${enable_wow64cpu:-no}
6371 enable_winetest=${enable_winetest:-$enable_tests}
6373 if test "x$enable_win64" = "xyes"
6374 then
6375 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6376 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6379 case $build_os in
6380 cygwin*|mingw32*) toolsext=".exe"
6382 *) toolsext=""
6384 esac
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6387 printf %s "checking for the directory containing the Wine tools... " >&6; }
6388 if test ${wine_cv_toolsdir+y}
6389 then :
6390 printf %s "(cached) " >&6
6391 else $as_nop
6392 wine_cv_toolsdir="$with_wine_tools"
6393 if test -z "$with_wine_tools"; then
6394 if test "$cross_compiling" = "yes"; then
6395 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6396 elif test -n "$with_wine64"; then
6397 wine_cv_toolsdir="$with_wine64"
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6402 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6403 if test -z "$wine_cv_toolsdir"; then
6404 wine_makedep=tools/makedep$toolsext
6405 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6406 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6407 enable_tools=${enable_tools:-no}
6408 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6409 else
6410 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6412 toolsdir=$wine_cv_toolsdir
6414 MAKEDEP=$wine_makedep
6416 RUNTESTFLAGS="-q -P wine"
6418 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'"
6421 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6422 then
6423 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6426 for ac_prog in flex
6428 # Extract the first word of "$ac_prog", so it can be a program name with args.
6429 set dummy $ac_prog; ac_word=$2
6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6431 printf %s "checking for $ac_word... " >&6; }
6432 if test ${ac_cv_prog_FLEX+y}
6433 then :
6434 printf %s "(cached) " >&6
6435 else $as_nop
6436 if test -n "$FLEX"; then
6437 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6438 else
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 for as_dir in $PATH
6442 IFS=$as_save_IFS
6443 case $as_dir in #(((
6444 '') as_dir=./ ;;
6445 */) ;;
6446 *) as_dir=$as_dir/ ;;
6447 esac
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6450 ac_cv_prog_FLEX="$ac_prog"
6451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6452 break 2
6454 done
6455 done
6456 IFS=$as_save_IFS
6460 FLEX=$ac_cv_prog_FLEX
6461 if test -n "$FLEX"; then
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6463 printf "%s\n" "$FLEX" >&6; }
6464 else
6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 printf "%s\n" "no" >&6; }
6470 test -n "$FLEX" && break
6471 done
6472 test -n "$FLEX" || FLEX="none"
6474 if test "$FLEX" = "none"
6475 then
6476 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6479 printf %s "checking whether flex is recent enough... " >&6; }
6480 if test ${wine_cv_recent_flex+y}
6481 then :
6482 printf %s "(cached) " >&6
6483 else $as_nop
6484 cat >conftest.l <<EOF
6485 %top{
6486 #include "prediluvian.h"
6490 if $FLEX -t conftest.l >/dev/null 2>&5
6491 then
6492 wine_cv_recent_flex=yes
6493 else
6494 wine_cv_recent_flex=no
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6498 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6499 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
6501 for ac_prog in bison
6503 # Extract the first word of "$ac_prog", so it can be a program name with args.
6504 set dummy $ac_prog; ac_word=$2
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 printf %s "checking for $ac_word... " >&6; }
6507 if test ${ac_cv_prog_BISON+y}
6508 then :
6509 printf %s "(cached) " >&6
6510 else $as_nop
6511 if test -n "$BISON"; then
6512 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 case $as_dir in #(((
6519 '') as_dir=./ ;;
6520 */) ;;
6521 *) as_dir=$as_dir/ ;;
6522 esac
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_BISON="$ac_prog"
6526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6535 BISON=$ac_cv_prog_BISON
6536 if test -n "$BISON"; then
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6538 printf "%s\n" "$BISON" >&6; }
6539 else
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 printf "%s\n" "no" >&6; }
6545 test -n "$BISON" && break
6546 done
6547 test -n "$BISON" || BISON="none"
6549 if test "$BISON" = "none"
6550 then
6551 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6554 printf %s "checking whether bison is recent enough... " >&6; }
6555 if test ${wine_cv_recent_bison+y}
6556 then :
6557 printf %s "(cached) " >&6
6558 else $as_nop
6559 cat >conftest.y <<EOF
6560 %define parse.error verbose
6562 empty: ;
6564 if $BISON conftest.y >/dev/null 2>&5
6565 then
6566 wine_cv_recent_bison=yes
6567 else
6568 wine_cv_recent_bison=no
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6572 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6573 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
6575 if test -n "$ac_tool_prefix"; then
6576 for ac_prog in ar gar
6578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 printf %s "checking for $ac_word... " >&6; }
6582 if test ${ac_cv_prog_AR+y}
6583 then :
6584 printf %s "(cached) " >&6
6585 else $as_nop
6586 if test -n "$AR"; then
6587 ac_cv_prog_AR="$AR" # Let the user override the test.
6588 else
6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 for as_dir in $PATH
6592 IFS=$as_save_IFS
6593 case $as_dir in #(((
6594 '') as_dir=./ ;;
6595 */) ;;
6596 *) as_dir=$as_dir/ ;;
6597 esac
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6602 break 2
6604 done
6605 done
6606 IFS=$as_save_IFS
6610 AR=$ac_cv_prog_AR
6611 if test -n "$AR"; then
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6613 printf "%s\n" "$AR" >&6; }
6614 else
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 printf "%s\n" "no" >&6; }
6620 test -n "$AR" && break
6621 done
6623 if test -z "$AR"; then
6624 ac_ct_AR=$AR
6625 for ac_prog in ar gar
6627 # Extract the first word of "$ac_prog", so it can be a program name with args.
6628 set dummy $ac_prog; ac_word=$2
6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 printf %s "checking for $ac_word... " >&6; }
6631 if test ${ac_cv_prog_ac_ct_AR+y}
6632 then :
6633 printf %s "(cached) " >&6
6634 else $as_nop
6635 if test -n "$ac_ct_AR"; then
6636 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6641 IFS=$as_save_IFS
6642 case $as_dir in #(((
6643 '') as_dir=./ ;;
6644 */) ;;
6645 *) as_dir=$as_dir/ ;;
6646 esac
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_ac_ct_AR="$ac_prog"
6650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6651 break 2
6653 done
6654 done
6655 IFS=$as_save_IFS
6659 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6660 if test -n "$ac_ct_AR"; then
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6662 printf "%s\n" "$ac_ct_AR" >&6; }
6663 else
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 printf "%s\n" "no" >&6; }
6669 test -n "$ac_ct_AR" && break
6670 done
6672 if test "x$ac_ct_AR" = x; then
6673 AR="ar"
6674 else
6675 case $cross_compiling:$ac_tool_warned in
6676 yes:)
6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6679 ac_tool_warned=yes ;;
6680 esac
6681 AR=$ac_ct_AR
6685 if test -n "$ac_tool_prefix"; then
6686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6687 set dummy ${ac_tool_prefix}strip; ac_word=$2
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 printf %s "checking for $ac_word... " >&6; }
6690 if test ${ac_cv_prog_STRIP+y}
6691 then :
6692 printf %s "(cached) " >&6
6693 else $as_nop
6694 if test -n "$STRIP"; then
6695 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6700 IFS=$as_save_IFS
6701 case $as_dir in #(((
6702 '') as_dir=./ ;;
6703 */) ;;
6704 *) as_dir=$as_dir/ ;;
6705 esac
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6710 break 2
6712 done
6713 done
6714 IFS=$as_save_IFS
6718 STRIP=$ac_cv_prog_STRIP
6719 if test -n "$STRIP"; then
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6721 printf "%s\n" "$STRIP" >&6; }
6722 else
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 printf "%s\n" "no" >&6; }
6729 if test -z "$ac_cv_prog_STRIP"; then
6730 ac_ct_STRIP=$STRIP
6731 # Extract the first word of "strip", so it can be a program name with args.
6732 set dummy strip; ac_word=$2
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 printf %s "checking for $ac_word... " >&6; }
6735 if test ${ac_cv_prog_ac_ct_STRIP+y}
6736 then :
6737 printf %s "(cached) " >&6
6738 else $as_nop
6739 if test -n "$ac_ct_STRIP"; then
6740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6741 else
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 for as_dir in $PATH
6745 IFS=$as_save_IFS
6746 case $as_dir in #(((
6747 '') as_dir=./ ;;
6748 */) ;;
6749 *) as_dir=$as_dir/ ;;
6750 esac
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_ac_ct_STRIP="strip"
6754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6755 break 2
6757 done
6758 done
6759 IFS=$as_save_IFS
6763 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6764 if test -n "$ac_ct_STRIP"; then
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6766 printf "%s\n" "$ac_ct_STRIP" >&6; }
6767 else
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 printf "%s\n" "no" >&6; }
6772 if test "x$ac_ct_STRIP" = x; then
6773 STRIP="strip"
6774 else
6775 case $cross_compiling:$ac_tool_warned in
6776 yes:)
6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6778 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6779 ac_tool_warned=yes ;;
6780 esac
6781 STRIP=$ac_ct_STRIP
6783 else
6784 STRIP="$ac_cv_prog_STRIP"
6787 if test -n "$ac_tool_prefix"; then
6788 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6789 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791 printf %s "checking for $ac_word... " >&6; }
6792 if test ${ac_cv_prog_RANLIB+y}
6793 then :
6794 printf %s "(cached) " >&6
6795 else $as_nop
6796 if test -n "$RANLIB"; then
6797 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6802 IFS=$as_save_IFS
6803 case $as_dir in #(((
6804 '') as_dir=./ ;;
6805 */) ;;
6806 *) as_dir=$as_dir/ ;;
6807 esac
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 RANLIB=$ac_cv_prog_RANLIB
6821 if test -n "$RANLIB"; then
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6823 printf "%s\n" "$RANLIB" >&6; }
6824 else
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 printf "%s\n" "no" >&6; }
6831 if test -z "$ac_cv_prog_RANLIB"; then
6832 ac_ct_RANLIB=$RANLIB
6833 # Extract the first word of "ranlib", so it can be a program name with args.
6834 set dummy ranlib; ac_word=$2
6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836 printf %s "checking for $ac_word... " >&6; }
6837 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6838 then :
6839 printf %s "(cached) " >&6
6840 else $as_nop
6841 if test -n "$ac_ct_RANLIB"; then
6842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6843 else
6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 for as_dir in $PATH
6847 IFS=$as_save_IFS
6848 case $as_dir in #(((
6849 '') as_dir=./ ;;
6850 */) ;;
6851 *) as_dir=$as_dir/ ;;
6852 esac
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_ac_ct_RANLIB="ranlib"
6856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6857 break 2
6859 done
6860 done
6861 IFS=$as_save_IFS
6865 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6866 if test -n "$ac_ct_RANLIB"; then
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6868 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6869 else
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 printf "%s\n" "no" >&6; }
6874 if test "x$ac_ct_RANLIB" = x; then
6875 RANLIB=":"
6876 else
6877 case $cross_compiling:$ac_tool_warned in
6878 yes:)
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6880 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6881 ac_tool_warned=yes ;;
6882 esac
6883 RANLIB=$ac_ct_RANLIB
6885 else
6886 RANLIB="$ac_cv_prog_RANLIB"
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6890 printf %s "checking whether ln -s works... " >&6; }
6891 LN_S=$as_ln_s
6892 if test "$LN_S" = "ln -s"; then
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6894 printf "%s\n" "yes" >&6; }
6895 else
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6897 printf "%s\n" "no, using $LN_S" >&6; }
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6901 printf %s "checking for grep that handles long lines and -e... " >&6; }
6902 if test ${ac_cv_path_GREP+y}
6903 then :
6904 printf %s "(cached) " >&6
6905 else $as_nop
6906 if test -z "$GREP"; then
6907 ac_path_GREP_found=false
6908 # Loop through the user's path and test for each of PROGNAME-LIST
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6912 IFS=$as_save_IFS
6913 case $as_dir in #(((
6914 '') as_dir=./ ;;
6915 */) ;;
6916 *) as_dir=$as_dir/ ;;
6917 esac
6918 for ac_prog in grep ggrep
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6922 as_fn_executable_p "$ac_path_GREP" || continue
6923 # Check for GNU ac_path_GREP and select it if it is found.
6924 # Check for GNU $ac_path_GREP
6925 case `"$ac_path_GREP" --version 2>&1` in
6926 *GNU*)
6927 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6929 ac_count=0
6930 printf %s 0123456789 >"conftest.in"
6931 while :
6933 cat "conftest.in" "conftest.in" >"conftest.tmp"
6934 mv "conftest.tmp" "conftest.in"
6935 cp "conftest.in" "conftest.nl"
6936 printf "%s\n" 'GREP' >> "conftest.nl"
6937 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6938 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6939 as_fn_arith $ac_count + 1 && ac_count=$as_val
6940 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6941 # Best one so far, save it but keep looking for a better one
6942 ac_cv_path_GREP="$ac_path_GREP"
6943 ac_path_GREP_max=$ac_count
6945 # 10*(2^10) chars as input seems more than enough
6946 test $ac_count -gt 10 && break
6947 done
6948 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6949 esac
6951 $ac_path_GREP_found && break 3
6952 done
6953 done
6954 done
6955 IFS=$as_save_IFS
6956 if test -z "$ac_cv_path_GREP"; then
6957 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6959 else
6960 ac_cv_path_GREP=$GREP
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6965 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6966 GREP="$ac_cv_path_GREP"
6969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6970 printf %s "checking for egrep... " >&6; }
6971 if test ${ac_cv_path_EGREP+y}
6972 then :
6973 printf %s "(cached) " >&6
6974 else $as_nop
6975 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6976 then ac_cv_path_EGREP="$GREP -E"
6977 else
6978 if test -z "$EGREP"; then
6979 ac_path_EGREP_found=false
6980 # Loop through the user's path and test for each of PROGNAME-LIST
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6984 IFS=$as_save_IFS
6985 case $as_dir in #(((
6986 '') as_dir=./ ;;
6987 */) ;;
6988 *) as_dir=$as_dir/ ;;
6989 esac
6990 for ac_prog in egrep
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6994 as_fn_executable_p "$ac_path_EGREP" || continue
6995 # Check for GNU ac_path_EGREP and select it if it is found.
6996 # Check for GNU $ac_path_EGREP
6997 case `"$ac_path_EGREP" --version 2>&1` in
6998 *GNU*)
6999 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7001 ac_count=0
7002 printf %s 0123456789 >"conftest.in"
7003 while :
7005 cat "conftest.in" "conftest.in" >"conftest.tmp"
7006 mv "conftest.tmp" "conftest.in"
7007 cp "conftest.in" "conftest.nl"
7008 printf "%s\n" 'EGREP' >> "conftest.nl"
7009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7011 as_fn_arith $ac_count + 1 && ac_count=$as_val
7012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7013 # Best one so far, save it but keep looking for a better one
7014 ac_cv_path_EGREP="$ac_path_EGREP"
7015 ac_path_EGREP_max=$ac_count
7017 # 10*(2^10) chars as input seems more than enough
7018 test $ac_count -gt 10 && break
7019 done
7020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7021 esac
7023 $ac_path_EGREP_found && break 3
7024 done
7025 done
7026 done
7027 IFS=$as_save_IFS
7028 if test -z "$ac_cv_path_EGREP"; then
7029 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7031 else
7032 ac_cv_path_EGREP=$EGREP
7037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7038 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7039 EGREP="$ac_cv_path_EGREP"
7042 # Extract the first word of "ldconfig", so it can be a program name with args.
7043 set dummy ldconfig; ac_word=$2
7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 printf %s "checking for $ac_word... " >&6; }
7046 if test ${ac_cv_path_LDCONFIG+y}
7047 then :
7048 printf %s "(cached) " >&6
7049 else $as_nop
7050 case $LDCONFIG in
7051 [\\/]* | ?:[\\/]*)
7052 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 for as_dir in /sbin /usr/sbin $PATH
7058 IFS=$as_save_IFS
7059 case $as_dir in #(((
7060 '') as_dir=./ ;;
7061 */) ;;
7062 *) as_dir=$as_dir/ ;;
7063 esac
7064 for ac_exec_ext in '' $ac_executable_extensions; do
7065 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7066 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7068 break 2
7070 done
7071 done
7072 IFS=$as_save_IFS
7074 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7076 esac
7078 LDCONFIG=$ac_cv_path_LDCONFIG
7079 if test -n "$LDCONFIG"; then
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7081 printf "%s\n" "$LDCONFIG" >&6; }
7082 else
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 printf "%s\n" "no" >&6; }
7088 for ac_prog in msgfmt
7090 # Extract the first word of "$ac_prog", so it can be a program name with args.
7091 set dummy $ac_prog; ac_word=$2
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 printf %s "checking for $ac_word... " >&6; }
7094 if test ${ac_cv_prog_MSGFMT+y}
7095 then :
7096 printf %s "(cached) " >&6
7097 else $as_nop
7098 if test -n "$MSGFMT"; then
7099 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7104 IFS=$as_save_IFS
7105 case $as_dir in #(((
7106 '') as_dir=./ ;;
7107 */) ;;
7108 *) as_dir=$as_dir/ ;;
7109 esac
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7112 ac_cv_prog_MSGFMT="$ac_prog"
7113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7114 break 2
7116 done
7117 done
7118 IFS=$as_save_IFS
7122 MSGFMT=$ac_cv_prog_MSGFMT
7123 if test -n "$MSGFMT"; then
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7125 printf "%s\n" "$MSGFMT" >&6; }
7126 else
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 printf "%s\n" "no" >&6; }
7132 test -n "$MSGFMT" && break
7133 done
7134 test -n "$MSGFMT" || MSGFMT="false"
7136 if test ${ac_tool_prefix+y}
7137 then :
7138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7139 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 printf %s "checking for $ac_word... " >&6; }
7142 if test ${ac_cv_prog_PKG_CONFIG+y}
7143 then :
7144 printf %s "(cached) " >&6
7145 else $as_nop
7146 if test -n "$PKG_CONFIG"; then
7147 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7148 else
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150 for as_dir in $PATH
7152 IFS=$as_save_IFS
7153 case $as_dir in #(((
7154 '') as_dir=./ ;;
7155 */) ;;
7156 *) as_dir=$as_dir/ ;;
7157 esac
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7162 break 2
7164 done
7165 done
7166 IFS=$as_save_IFS
7170 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7171 if test -n "$PKG_CONFIG"; then
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7173 printf "%s\n" "$PKG_CONFIG" >&6; }
7174 else
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 printf "%s\n" "no" >&6; }
7181 if ${ac_cv_prog_PKG_CONFIG:+false} :
7182 then :
7183 if test "x$cross_compiling" = xyes
7184 then :
7186 else $as_nop
7187 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7188 # Extract the first word of "pkg-config", so it can be a program name with args.
7189 set dummy pkg-config; ac_word=$2
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 printf %s "checking for $ac_word... " >&6; }
7192 if test ${ac_cv_prog_PKG_CONFIG+y}
7193 then :
7194 printf %s "(cached) " >&6
7195 else $as_nop
7196 if test -n "$PKG_CONFIG"; then
7197 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7198 else
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 for as_dir in $PATH
7202 IFS=$as_save_IFS
7203 case $as_dir in #(((
7204 '') as_dir=./ ;;
7205 */) ;;
7206 *) as_dir=$as_dir/ ;;
7207 esac
7208 for ac_exec_ext in '' $ac_executable_extensions; do
7209 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7210 ac_cv_prog_PKG_CONFIG="pkg-config"
7211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7212 break 2
7214 done
7215 done
7216 IFS=$as_save_IFS
7220 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7221 if test -n "$PKG_CONFIG"; then
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7223 printf "%s\n" "$PKG_CONFIG" >&6; }
7224 else
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226 printf "%s\n" "no" >&6; }
7231 else $as_nop
7232 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7235 if test "x$enable_maintainer_mode" != "xyes"
7236 then
7237 FONTFORGE=""
7238 RSVG=""
7239 CONVERT=""
7240 ICOTOOL=""
7241 else
7242 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7243 for ac_prog in fontforge
7245 # Extract the first word of "$ac_prog", so it can be a program name with args.
7246 set dummy $ac_prog; ac_word=$2
7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 printf %s "checking for $ac_word... " >&6; }
7249 if test ${ac_cv_prog_FONTFORGE+y}
7250 then :
7251 printf %s "(cached) " >&6
7252 else $as_nop
7253 if test -n "$FONTFORGE"; then
7254 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7259 IFS=$as_save_IFS
7260 case $as_dir in #(((
7261 '') as_dir=./ ;;
7262 */) ;;
7263 *) as_dir=$as_dir/ ;;
7264 esac
7265 for ac_exec_ext in '' $ac_executable_extensions; do
7266 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7267 ac_cv_prog_FONTFORGE="$ac_prog"
7268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7269 break 2
7271 done
7272 done
7273 IFS=$as_save_IFS
7277 FONTFORGE=$ac_cv_prog_FONTFORGE
7278 if test -n "$FONTFORGE"; then
7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7280 printf "%s\n" "$FONTFORGE" >&6; }
7281 else
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 printf "%s\n" "no" >&6; }
7287 test -n "$FONTFORGE" && break
7288 done
7289 test -n "$FONTFORGE" || FONTFORGE="false"
7291 for ac_prog in rsvg-convert rsvg
7293 # Extract the first word of "$ac_prog", so it can be a program name with args.
7294 set dummy $ac_prog; ac_word=$2
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 printf %s "checking for $ac_word... " >&6; }
7297 if test ${ac_cv_prog_RSVG+y}
7298 then :
7299 printf %s "(cached) " >&6
7300 else $as_nop
7301 if test -n "$RSVG"; then
7302 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7303 else
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 for as_dir in $PATH
7307 IFS=$as_save_IFS
7308 case $as_dir in #(((
7309 '') as_dir=./ ;;
7310 */) ;;
7311 *) as_dir=$as_dir/ ;;
7312 esac
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_RSVG="$ac_prog"
7316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7317 break 2
7319 done
7320 done
7321 IFS=$as_save_IFS
7325 RSVG=$ac_cv_prog_RSVG
7326 if test -n "$RSVG"; then
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7328 printf "%s\n" "$RSVG" >&6; }
7329 else
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 printf "%s\n" "no" >&6; }
7335 test -n "$RSVG" && break
7336 done
7337 test -n "$RSVG" || RSVG="false"
7339 for ac_prog in convert
7341 # Extract the first word of "$ac_prog", so it can be a program name with args.
7342 set dummy $ac_prog; ac_word=$2
7343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 printf %s "checking for $ac_word... " >&6; }
7345 if test ${ac_cv_prog_CONVERT+y}
7346 then :
7347 printf %s "(cached) " >&6
7348 else $as_nop
7349 if test -n "$CONVERT"; then
7350 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7351 else
7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 for as_dir in $PATH
7355 IFS=$as_save_IFS
7356 case $as_dir in #(((
7357 '') as_dir=./ ;;
7358 */) ;;
7359 *) as_dir=$as_dir/ ;;
7360 esac
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_CONVERT="$ac_prog"
7364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7365 break 2
7367 done
7368 done
7369 IFS=$as_save_IFS
7373 CONVERT=$ac_cv_prog_CONVERT
7374 if test -n "$CONVERT"; then
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7376 printf "%s\n" "$CONVERT" >&6; }
7377 else
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 printf "%s\n" "no" >&6; }
7383 test -n "$CONVERT" && break
7384 done
7385 test -n "$CONVERT" || CONVERT="false"
7387 for ac_prog in icotool
7389 # Extract the first word of "$ac_prog", so it can be a program name with args.
7390 set dummy $ac_prog; ac_word=$2
7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 printf %s "checking for $ac_word... " >&6; }
7393 if test ${ac_cv_prog_ICOTOOL+y}
7394 then :
7395 printf %s "(cached) " >&6
7396 else $as_nop
7397 if test -n "$ICOTOOL"; then
7398 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7399 else
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 for as_dir in $PATH
7403 IFS=$as_save_IFS
7404 case $as_dir in #(((
7405 '') as_dir=./ ;;
7406 */) ;;
7407 *) as_dir=$as_dir/ ;;
7408 esac
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7411 ac_cv_prog_ICOTOOL="$ac_prog"
7412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7413 break 2
7415 done
7416 done
7417 IFS=$as_save_IFS
7421 ICOTOOL=$ac_cv_prog_ICOTOOL
7422 if test -n "$ICOTOOL"; then
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7424 printf "%s\n" "$ICOTOOL" >&6; }
7425 else
7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 printf "%s\n" "no" >&6; }
7431 test -n "$ICOTOOL" && break
7432 done
7433 test -n "$ICOTOOL" || ICOTOOL="false"
7435 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7436 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7438 if test "$CONVERT" = false
7439 then
7440 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7441 else
7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7443 printf %s "checking for recent enough imagemagick... " >&6; }
7444 convert_version=`convert --version | head -n1`
7445 if test "x$convert_version" != "x"
7446 then
7447 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7448 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7449 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7450 then
7451 CONVERT=false
7454 if test "$CONVERT" = false
7455 then
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7457 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7458 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7459 else
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7461 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7465 if test "$ICOTOOL" = false
7466 then
7467 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7468 else
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7470 printf %s "checking for recent enough icotool... " >&6; }
7471 icotool_version=`icotool --version | head -n1`
7472 if test "x$icotool_version" != "x"
7473 then
7474 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7475 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7476 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7477 then
7478 ICOTOOL=false
7479 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7482 if test "$ICOTOOL" = false
7483 then
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7485 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7486 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7487 else
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7489 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7493 with_gettext=yes
7494 with_gettextpo=yes
7496 enable_werror=yes
7499 test "x$with_gettext" != xno || MSGFMT=false
7500 if test "$MSGFMT" != "false"
7501 then
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7503 printf %s "checking whether msgfmt supports contexts... " >&6; }
7504 if test ${wine_cv_msgfmt_contexts+y}
7505 then :
7506 printf %s "(cached) " >&6
7507 else $as_nop
7508 cat >conftest.po <<EOF
7509 # comment
7510 msgctxt "ctxt"
7511 msgid "id"
7512 msgstr "str"
7514 if $MSGFMT -o /dev/null conftest.po 2>&5
7515 then
7516 wine_cv_msgfmt_contexts=yes
7517 else
7518 wine_cv_msgfmt_contexts=no
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7522 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7523 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7525 if test "$MSGFMT" = false
7526 then :
7527 case "x$with_gettext" in
7528 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7529 xno) ;;
7530 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7531 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7532 esac
7533 enable_po=${enable_po:-no}
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7538 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7539 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7540 then :
7541 printf %s "(cached) " >&6
7542 else $as_nop
7543 ac_check_lib_save_LIBS=$LIBS
7544 LIBS="-li386 $LIBS"
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7548 /* Override any GCC internal prototype to avoid an error.
7549 Use char because int might match the return type of a GCC
7550 builtin and then its argument prototype would still apply. */
7551 char i386_set_ldt ();
7553 main (void)
7555 return i386_set_ldt ();
7557 return 0;
7559 _ACEOF
7560 if ac_fn_c_try_link "$LINENO"
7561 then :
7562 ac_cv_lib_i386_i386_set_ldt=yes
7563 else $as_nop
7564 ac_cv_lib_i386_i386_set_ldt=no
7566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7567 conftest$ac_exeext conftest.$ac_ext
7568 LIBS=$ac_check_lib_save_LIBS
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7571 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7572 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7573 then :
7574 I386_LIBS="-li386"
7579 OPENGL_LIBS=""
7583 # Check whether --enable-largefile was given.
7584 if test ${enable_largefile+y}
7585 then :
7586 enableval=$enable_largefile;
7589 if test "$enable_largefile" != no; then
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7592 printf %s "checking for special C compiler options needed for large files... " >&6; }
7593 if test ${ac_cv_sys_largefile_CC+y}
7594 then :
7595 printf %s "(cached) " >&6
7596 else $as_nop
7597 ac_cv_sys_largefile_CC=no
7598 if test "$GCC" != yes; then
7599 ac_save_CC=$CC
7600 while :; do
7601 # IRIX 6.2 and later do not support large files by default,
7602 # so use the C compiler's -n32 option if that helps.
7603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h. */
7605 #include <sys/types.h>
7606 /* Check that off_t can represent 2**63 - 1 correctly.
7607 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7608 since some C++ compilers masquerading as C compilers
7609 incorrectly reject 9223372036854775807. */
7610 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7611 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7612 && LARGE_OFF_T % 2147483647 == 1)
7613 ? 1 : -1];
7615 main (void)
7619 return 0;
7621 _ACEOF
7622 if ac_fn_c_try_compile "$LINENO"
7623 then :
7624 break
7626 rm -f core conftest.err conftest.$ac_objext conftest.beam
7627 CC="$CC -n32"
7628 if ac_fn_c_try_compile "$LINENO"
7629 then :
7630 ac_cv_sys_largefile_CC=' -n32'; break
7632 rm -f core conftest.err conftest.$ac_objext conftest.beam
7633 break
7634 done
7635 CC=$ac_save_CC
7636 rm -f conftest.$ac_ext
7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7640 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7641 if test "$ac_cv_sys_largefile_CC" != no; then
7642 CC=$CC$ac_cv_sys_largefile_CC
7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7646 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7647 if test ${ac_cv_sys_file_offset_bits+y}
7648 then :
7649 printf %s "(cached) " >&6
7650 else $as_nop
7651 while :; do
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7654 #include <sys/types.h>
7655 /* Check that off_t can represent 2**63 - 1 correctly.
7656 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7657 since some C++ compilers masquerading as C compilers
7658 incorrectly reject 9223372036854775807. */
7659 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7660 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7661 && LARGE_OFF_T % 2147483647 == 1)
7662 ? 1 : -1];
7664 main (void)
7668 return 0;
7670 _ACEOF
7671 if ac_fn_c_try_compile "$LINENO"
7672 then :
7673 ac_cv_sys_file_offset_bits=no; break
7675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7678 #define _FILE_OFFSET_BITS 64
7679 #include <sys/types.h>
7680 /* Check that off_t can represent 2**63 - 1 correctly.
7681 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7682 since some C++ compilers masquerading as C compilers
7683 incorrectly reject 9223372036854775807. */
7684 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7685 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7686 && LARGE_OFF_T % 2147483647 == 1)
7687 ? 1 : -1];
7689 main (void)
7693 return 0;
7695 _ACEOF
7696 if ac_fn_c_try_compile "$LINENO"
7697 then :
7698 ac_cv_sys_file_offset_bits=64; break
7700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7701 ac_cv_sys_file_offset_bits=unknown
7702 break
7703 done
7705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7706 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7707 case $ac_cv_sys_file_offset_bits in #(
7708 no | unknown) ;;
7710 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7712 esac
7713 rm -rf conftest*
7714 if test $ac_cv_sys_file_offset_bits = unknown; then
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7716 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7717 if test ${ac_cv_sys_large_files+y}
7718 then :
7719 printf %s "(cached) " >&6
7720 else $as_nop
7721 while :; do
7722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7724 #include <sys/types.h>
7725 /* Check that off_t can represent 2**63 - 1 correctly.
7726 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7727 since some C++ compilers masquerading as C compilers
7728 incorrectly reject 9223372036854775807. */
7729 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7730 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7731 && LARGE_OFF_T % 2147483647 == 1)
7732 ? 1 : -1];
7734 main (void)
7738 return 0;
7740 _ACEOF
7741 if ac_fn_c_try_compile "$LINENO"
7742 then :
7743 ac_cv_sys_large_files=no; break
7745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7748 #define _LARGE_FILES 1
7749 #include <sys/types.h>
7750 /* Check that off_t can represent 2**63 - 1 correctly.
7751 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7752 since some C++ compilers masquerading as C compilers
7753 incorrectly reject 9223372036854775807. */
7754 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7755 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7756 && LARGE_OFF_T % 2147483647 == 1)
7757 ? 1 : -1];
7759 main (void)
7763 return 0;
7765 _ACEOF
7766 if ac_fn_c_try_compile "$LINENO"
7767 then :
7768 ac_cv_sys_large_files=1; break
7770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7771 ac_cv_sys_large_files=unknown
7772 break
7773 done
7775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7776 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7777 case $ac_cv_sys_large_files in #(
7778 no | unknown) ;;
7780 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7782 esac
7783 rm -rf conftest*
7788 ac_header= ac_cache=
7789 for ac_item in $ac_header_c_list
7791 if test $ac_cache; then
7792 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7793 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7794 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7796 ac_header= ac_cache=
7797 elif test $ac_header; then
7798 ac_cache=$ac_item
7799 else
7800 ac_header=$ac_item
7802 done
7811 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7812 then :
7814 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7817 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7818 if test "x$ac_cv_header_AL_al_h" = xyes
7819 then :
7820 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7823 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7824 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7825 then :
7826 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7829 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7830 if test "x$ac_cv_header_CL_cl_h" = xyes
7831 then :
7832 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7835 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7836 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7837 then :
7838 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7841 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7843 then :
7844 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7849 then :
7850 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_EGL_egl_h" = xyes
7855 then :
7856 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7861 then :
7862 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_Security_Security_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_arpa_inet_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_asm_types_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_asm_user_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_elf_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_float_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_gettext_po_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_libproc_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_link_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_filter_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_input_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_major_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_param_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_serial_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_types_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_lwp_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_mach_mach_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_machine_cpu_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_mntent_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_netdb_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_netinet_in_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_port_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_pthread_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_pwd_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_sched_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_scsi_sg_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_stdint_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_attr_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_auxv_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_cdio_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_epoll_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_event_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_filio_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_ipc_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_link_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_modem_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_mtio_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_param_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_prctl_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_queue_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_random_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_resource_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_shm_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_signal_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_sockio_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_strtio_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_syscall_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_times_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_uio_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_user_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_utsname_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_vnode_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_xattr_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_syscall_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_utime_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8347 then :
8348 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8358 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8359 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8360 then :
8362 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8366 if test $ac_cv_header_sys_mkdev_h = no; then
8367 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8368 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8369 then :
8371 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8377 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8378 if test ${ac_cv_header_stat_broken+y}
8379 then :
8380 printf %s "(cached) " >&6
8381 else $as_nop
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8384 #include <sys/types.h>
8385 #include <sys/stat.h>
8387 #if defined S_ISBLK && defined S_IFDIR
8388 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8389 #endif
8391 #if defined S_ISBLK && defined S_IFCHR
8392 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8393 #endif
8395 #if defined S_ISLNK && defined S_IFREG
8396 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8397 #endif
8399 #if defined S_ISSOCK && defined S_IFREG
8400 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8401 #endif
8403 _ACEOF
8404 if ac_fn_c_try_compile "$LINENO"
8405 then :
8406 ac_cv_header_stat_broken=no
8407 else $as_nop
8408 ac_cv_header_stat_broken=yes
8410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8413 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8414 if test $ac_cv_header_stat_broken = yes; then
8416 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8425 #endif
8427 if test "x$ac_cv_header_sys_conf_h" = xyes
8428 then :
8429 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8435 #endif
8437 if test "x$ac_cv_header_sys_mount_h" = xyes
8438 then :
8439 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8445 #endif
8447 if test "x$ac_cv_header_sys_statfs_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8453 #ifdef HAVE_SYS_PARAM_H
8454 # include <sys/param.h>
8455 #endif
8457 if test "x$ac_cv_header_sys_user_h" = xyes
8458 then :
8459 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8462 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8463 #ifdef HAVE_SYS_PARAM_H
8464 # include <sys/param.h>
8465 #endif
8467 if test "x$ac_cv_header_sys_vfs_h" = xyes
8468 then :
8469 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8474 saved_sysctl_h_CFLAGS=$CFLAGS
8475 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8476 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8477 #ifdef HAVE_SYS_PARAM_H
8478 # include <sys/param.h>
8479 #endif
8481 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8482 then :
8483 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8487 CFLAGS=$saved_sysctl_h_CFLAGS
8489 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8490 #include <sys/socket.h>
8491 #ifdef HAVE_SYS_SOCKETVAR_H
8492 # include <sys/socketvar.h>
8493 #endif
8494 #ifdef HAVE_NET_ROUTE_H
8495 # include <net/route.h>
8496 #endif
8497 #ifdef HAVE_NETINET_IN_H
8498 # include <netinet/in.h>
8499 #endif
8500 #ifdef HAVE_NETINET_IN_SYSTM_H
8501 # include <netinet/in_systm.h>
8502 #endif
8503 #ifdef HAVE_NET_IF_H
8504 # include <net/if.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IP_H
8507 # include <netinet/ip.h>
8508 #endif
8510 if test "x$ac_cv_header_netinet_ip_h" = xyes
8511 then :
8512 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8515 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8516 #include <sys/socket.h>
8517 #ifdef HAVE_SYS_SOCKETVAR_H
8518 # include <sys/socketvar.h>
8519 #endif
8520 #ifdef HAVE_NET_ROUTE_H
8521 # include <net/route.h>
8522 #endif
8523 #ifdef HAVE_NETINET_IN_H
8524 # include <netinet/in.h>
8525 #endif
8526 #ifdef HAVE_NETINET_IN_SYSTM_H
8527 # include <netinet/in_systm.h>
8528 #endif
8529 #ifdef HAVE_NET_IF_H
8530 # include <net/if.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IP_H
8533 # include <netinet/ip.h>
8534 #endif
8536 if test "x$ac_cv_header_net_if_h" = xyes
8537 then :
8538 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8541 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8542 #include <sys/socket.h>
8543 #ifdef HAVE_SYS_SOCKETVAR_H
8544 # include <sys/socketvar.h>
8545 #endif
8546 #ifdef HAVE_NET_ROUTE_H
8547 # include <net/route.h>
8548 #endif
8549 #ifdef HAVE_NETINET_IN_H
8550 # include <netinet/in.h>
8551 #endif
8552 #ifdef HAVE_NETINET_IN_SYSTM_H
8553 # include <netinet/in_systm.h>
8554 #endif
8555 #ifdef HAVE_NET_IF_H
8556 # include <net/if.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IP_H
8559 # include <netinet/ip.h>
8560 #endif
8562 if test "x$ac_cv_header_net_if_arp_h" = xyes
8563 then :
8564 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8567 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8568 #include <sys/socket.h>
8569 #ifdef HAVE_SYS_SOCKETVAR_H
8570 # include <sys/socketvar.h>
8571 #endif
8572 #ifdef HAVE_NET_ROUTE_H
8573 # include <net/route.h>
8574 #endif
8575 #ifdef HAVE_NETINET_IN_H
8576 # include <netinet/in.h>
8577 #endif
8578 #ifdef HAVE_NETINET_IN_SYSTM_H
8579 # include <netinet/in_systm.h>
8580 #endif
8581 #ifdef HAVE_NET_IF_H
8582 # include <net/if.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IP_H
8585 # include <netinet/ip.h>
8586 #endif
8588 if test "x$ac_cv_header_net_if_dl_h" = xyes
8589 then :
8590 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8593 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8594 #include <sys/socket.h>
8595 #ifdef HAVE_SYS_SOCKETVAR_H
8596 # include <sys/socketvar.h>
8597 #endif
8598 #ifdef HAVE_NET_ROUTE_H
8599 # include <net/route.h>
8600 #endif
8601 #ifdef HAVE_NETINET_IN_H
8602 # include <netinet/in.h>
8603 #endif
8604 #ifdef HAVE_NETINET_IN_SYSTM_H
8605 # include <netinet/in_systm.h>
8606 #endif
8607 #ifdef HAVE_NET_IF_H
8608 # include <net/if.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IP_H
8611 # include <netinet/ip.h>
8612 #endif
8614 if test "x$ac_cv_header_net_if_types_h" = xyes
8615 then :
8616 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8619 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8620 #include <sys/socket.h>
8621 #ifdef HAVE_SYS_SOCKETVAR_H
8622 # include <sys/socketvar.h>
8623 #endif
8624 #ifdef HAVE_NET_ROUTE_H
8625 # include <net/route.h>
8626 #endif
8627 #ifdef HAVE_NETINET_IN_H
8628 # include <netinet/in.h>
8629 #endif
8630 #ifdef HAVE_NETINET_IN_SYSTM_H
8631 # include <netinet/in_systm.h>
8632 #endif
8633 #ifdef HAVE_NET_IF_H
8634 # include <net/if.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IP_H
8637 # include <netinet/ip.h>
8638 #endif
8640 if test "x$ac_cv_header_net_route_h" = xyes
8641 then :
8642 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8645 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8646 #include <sys/socket.h>
8647 #ifdef HAVE_SYS_SOCKETVAR_H
8648 # include <sys/socketvar.h>
8649 #endif
8650 #ifdef HAVE_NET_ROUTE_H
8651 # include <net/route.h>
8652 #endif
8653 #ifdef HAVE_NETINET_IN_H
8654 # include <netinet/in.h>
8655 #endif
8656 #ifdef HAVE_NETINET_IN_SYSTM_H
8657 # include <netinet/in_systm.h>
8658 #endif
8659 #ifdef HAVE_NET_IF_H
8660 # include <net/if.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IP_H
8663 # include <netinet/ip.h>
8664 #endif
8666 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8667 then :
8668 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8671 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8672 #include <sys/socket.h>
8673 #ifdef HAVE_SYS_SOCKETVAR_H
8674 # include <sys/socketvar.h>
8675 #endif
8676 #ifdef HAVE_NET_ROUTE_H
8677 # include <net/route.h>
8678 #endif
8679 #ifdef HAVE_NETINET_IN_H
8680 # include <netinet/in.h>
8681 #endif
8682 #ifdef HAVE_NETINET_IN_SYSTM_H
8683 # include <netinet/in_systm.h>
8684 #endif
8685 #ifdef HAVE_NET_IF_H
8686 # include <net/if.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IP_H
8689 # include <netinet/ip.h>
8690 #endif
8692 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8693 then :
8694 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8697 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8698 #include <sys/socket.h>
8699 #ifdef HAVE_SYS_SOCKETVAR_H
8700 # include <sys/socketvar.h>
8701 #endif
8702 #ifdef HAVE_NET_ROUTE_H
8703 # include <net/route.h>
8704 #endif
8705 #ifdef HAVE_NETINET_IN_H
8706 # include <netinet/in.h>
8707 #endif
8708 #ifdef HAVE_NETINET_IN_SYSTM_H
8709 # include <netinet/in_systm.h>
8710 #endif
8711 #ifdef HAVE_NET_IF_H
8712 # include <net/if.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IP_H
8715 # include <netinet/ip.h>
8716 #endif
8718 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8719 then :
8720 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8723 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8724 #include <sys/socket.h>
8725 #ifdef HAVE_SYS_SOCKETVAR_H
8726 # include <sys/socketvar.h>
8727 #endif
8728 #ifdef HAVE_NET_ROUTE_H
8729 # include <net/route.h>
8730 #endif
8731 #ifdef HAVE_NETINET_IN_H
8732 # include <netinet/in.h>
8733 #endif
8734 #ifdef HAVE_NETINET_IN_SYSTM_H
8735 # include <netinet/in_systm.h>
8736 #endif
8737 #ifdef HAVE_NET_IF_H
8738 # include <net/if.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IP_H
8741 # include <netinet/ip.h>
8742 #endif
8744 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8745 then :
8746 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8749 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8750 #include <sys/socket.h>
8751 #ifdef HAVE_SYS_SOCKETVAR_H
8752 # include <sys/socketvar.h>
8753 #endif
8754 #ifdef HAVE_NET_ROUTE_H
8755 # include <net/route.h>
8756 #endif
8757 #ifdef HAVE_NETINET_IN_H
8758 # include <netinet/in.h>
8759 #endif
8760 #ifdef HAVE_NETINET_IN_SYSTM_H
8761 # include <netinet/in_systm.h>
8762 #endif
8763 #ifdef HAVE_NET_IF_H
8764 # include <net/if.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IP_H
8767 # include <netinet/ip.h>
8768 #endif
8770 if test "x$ac_cv_header_netinet_udp_h" = xyes
8771 then :
8772 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8775 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8776 #include <sys/socket.h>
8777 #ifdef HAVE_SYS_SOCKETVAR_H
8778 # include <sys/socketvar.h>
8779 #endif
8780 #ifdef HAVE_NET_ROUTE_H
8781 # include <net/route.h>
8782 #endif
8783 #ifdef HAVE_NETINET_IN_H
8784 # include <netinet/in.h>
8785 #endif
8786 #ifdef HAVE_NETINET_IN_SYSTM_H
8787 # include <netinet/in_systm.h>
8788 #endif
8789 #ifdef HAVE_NET_IF_H
8790 # include <net/if.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IP_H
8793 # include <netinet/ip.h>
8794 #endif
8796 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8797 then :
8798 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8801 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8802 #include <sys/socket.h>
8803 #ifdef HAVE_SYS_SOCKETVAR_H
8804 # include <sys/socketvar.h>
8805 #endif
8806 #ifdef HAVE_NET_ROUTE_H
8807 # include <net/route.h>
8808 #endif
8809 #ifdef HAVE_NETINET_IN_H
8810 # include <netinet/in.h>
8811 #endif
8812 #ifdef HAVE_NETINET_IN_SYSTM_H
8813 # include <netinet/in_systm.h>
8814 #endif
8815 #ifdef HAVE_NET_IF_H
8816 # include <net/if.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IP_H
8819 # include <netinet/ip.h>
8820 #endif
8822 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8823 then :
8824 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8827 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8828 #include <sys/socket.h>
8829 #ifdef HAVE_SYS_SOCKETVAR_H
8830 # include <sys/socketvar.h>
8831 #endif
8832 #ifdef HAVE_NET_ROUTE_H
8833 # include <net/route.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IN_H
8836 # include <netinet/in.h>
8837 #endif
8838 #ifdef HAVE_NETINET_IN_SYSTM_H
8839 # include <netinet/in_systm.h>
8840 #endif
8841 #ifdef HAVE_NET_IF_H
8842 # include <net/if.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IP_H
8845 # include <netinet/ip.h>
8846 #endif
8848 if test "x$ac_cv_header_sys_un_h" = xyes
8849 then :
8850 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8855 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8856 #include <sys/socket.h>
8857 #ifdef HAVE_SYS_SOCKETVAR_H
8858 # include <sys/socketvar.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IN_H
8861 # include <netinet/in.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IN_SYSTM_H
8864 # include <netinet/in_systm.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_H
8867 # include <netinet/ip.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IP_VAR_H
8870 # include <netinet/ip_var.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IP_ICMP_H
8873 # include <netinet/ip_icmp.h>
8874 #endif
8875 #ifdef HAVE_NETINET_UDP_H
8876 # include <netinet/udp.h>
8877 #endif
8878 #ifdef HAVE_NETINET_TCP_H
8879 # include <netinet/tcp.h>
8880 #endif
8882 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8883 then :
8884 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8887 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8888 #include <sys/socket.h>
8889 #ifdef HAVE_SYS_SOCKETVAR_H
8890 # include <sys/socketvar.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IN_H
8893 # include <netinet/in.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IN_SYSTM_H
8896 # include <netinet/in_systm.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_H
8899 # include <netinet/ip.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_VAR_H
8902 # include <netinet/ip_var.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_ICMP_H
8905 # include <netinet/ip_icmp.h>
8906 #endif
8907 #ifdef HAVE_NETINET_UDP_H
8908 # include <netinet/udp.h>
8909 #endif
8910 #ifdef HAVE_NETINET_TCP_H
8911 # include <netinet/tcp.h>
8912 #endif
8914 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8915 then :
8916 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8919 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8920 #include <sys/socket.h>
8921 #ifdef HAVE_SYS_SOCKETVAR_H
8922 # include <sys/socketvar.h>
8923 #endif
8924 #ifdef HAVE_NETINET_IN_H
8925 # include <netinet/in.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_SYSTM_H
8928 # include <netinet/in_systm.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IP_H
8931 # include <netinet/ip.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IP_VAR_H
8934 # include <netinet/ip_var.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_ICMP_H
8937 # include <netinet/ip_icmp.h>
8938 #endif
8939 #ifdef HAVE_NETINET_UDP_H
8940 # include <netinet/udp.h>
8941 #endif
8942 #ifdef HAVE_NETINET_TCP_H
8943 # include <netinet/tcp.h>
8944 #endif
8946 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8947 then :
8948 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8951 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8952 #include <sys/socket.h>
8953 #ifdef HAVE_SYS_SOCKETVAR_H
8954 # include <sys/socketvar.h>
8955 #endif
8956 #ifdef HAVE_NETINET_IN_H
8957 # include <netinet/in.h>
8958 #endif
8959 #ifdef HAVE_NETINET_IN_SYSTM_H
8960 # include <netinet/in_systm.h>
8961 #endif
8962 #ifdef HAVE_NETINET_IP_H
8963 # include <netinet/ip.h>
8964 #endif
8965 #ifdef HAVE_NETINET_IP_VAR_H
8966 # include <netinet/ip_var.h>
8967 #endif
8968 #ifdef HAVE_NETINET_IP_ICMP_H
8969 # include <netinet/ip_icmp.h>
8970 #endif
8971 #ifdef HAVE_NETINET_UDP_H
8972 # include <netinet/udp.h>
8973 #endif
8974 #ifdef HAVE_NETINET_TCP_H
8975 # include <netinet/tcp.h>
8976 #endif
8978 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8979 then :
8980 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8985 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8986 #include <sys/socket.h>
8987 #ifdef HAVE_ASM_TYPES_H
8988 # include <asm/types.h>
8989 #endif
8990 #ifdef HAVE_LINUX_TYPES_H
8991 # include <linux/types.h>
8992 #endif
8994 if test "x$ac_cv_header_linux_ipx_h" = xyes
8995 then :
8996 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8999 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9000 #include <sys/socket.h>
9001 #ifdef HAVE_ASM_TYPES_H
9002 # include <asm/types.h>
9003 #endif
9004 #ifdef HAVE_LINUX_TYPES_H
9005 # include <linux/types.h>
9006 #endif
9008 if test "x$ac_cv_header_linux_irda_h" = xyes
9009 then :
9010 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9013 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9014 #include <sys/socket.h>
9015 #ifdef HAVE_ASM_TYPES_H
9016 # include <asm/types.h>
9017 #endif
9018 #ifdef HAVE_LINUX_TYPES_H
9019 # include <linux/types.h>
9020 #endif
9022 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9030 #include <sys/socket.h>
9031 #ifdef HAVE_NETINET_IN_H
9032 # include <netinet/in.h>
9033 #endif
9034 #ifdef HAVE_ARPA_NAMESER_H
9035 # include <arpa/nameser.h>
9036 #endif
9038 if test "x$ac_cv_header_resolv_h" = xyes
9039 then :
9040 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9045 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9047 if test "x$ac_cv_header_ifaddrs_h" = xyes
9048 then :
9049 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9056 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9057 then :
9058 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9063 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9064 #ifdef HAVE_SYS_UCONTEXT_H
9065 #include <sys/ucontext.h>
9066 #endif
9068 if test "x$ac_cv_header_sys_thr_h" = xyes
9069 then :
9070 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9075 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9076 #include <pthread.h>
9077 #endif
9079 if test "x$ac_cv_header_pthread_np_h" = xyes
9080 then :
9081 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9086 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9087 #include <sys/types.h>
9088 #ifdef HAVE_ASM_TYPES_H
9089 #include <asm/types.h>
9090 #endif
9092 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9093 then :
9094 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9100 #include <sys/param.h>
9101 #endif
9102 #include <sys/socket.h>
9103 #ifdef HAVE_SYS_QUEUE_H
9104 #include <sys/queue.h>
9105 #endif
9107 if test "x$ac_cv_header_libprocstat_h" = xyes
9108 then :
9109 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9114 if test "x$ac_cv_header_sys_xattr_h" = xyes
9115 then
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9117 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9118 if test ${wine_cv_xattr_extra_args+y}
9119 then :
9120 printf %s "(cached) " >&6
9121 else $as_nop
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9124 #include <sys/xattr.h>
9126 main (void)
9128 getxattr("", "", "", 0, 0, 0);
9130 return 0;
9132 _ACEOF
9133 if ac_fn_c_try_compile "$LINENO"
9134 then :
9135 wine_cv_xattr_extra_args=yes
9136 else $as_nop
9137 wine_cv_xattr_extra_args=no
9139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9142 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9143 test $wine_cv_xattr_extra_args != yes ||
9144 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9149 DLLFLAGS=""
9151 LDDLLFLAGS=""
9153 LDEXECFLAGS=""
9155 EXTRACFLAGS=""
9157 UNIXDLLFLAGS="-fPIC"
9159 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9161 TOP_INSTALL_LIB=""
9163 TOP_INSTALL_DEV=""
9165 WINELOADER_LDFLAGS=""
9167 WINEPRELOADER_LDFLAGS=""
9169 LIBEXT="so"
9170 # Extract the first word of "ldd", so it can be a program name with args.
9171 set dummy ldd; ac_word=$2
9172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9173 printf %s "checking for $ac_word... " >&6; }
9174 if test ${ac_cv_path_LDD+y}
9175 then :
9176 printf %s "(cached) " >&6
9177 else $as_nop
9178 case $LDD in
9179 [\\/]* | ?:[\\/]*)
9180 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9184 as_dummy="/sbin:/usr/sbin:$PATH"
9185 for as_dir in $as_dummy
9187 IFS=$as_save_IFS
9188 case $as_dir in #(((
9189 '') as_dir=./ ;;
9190 */) ;;
9191 *) as_dir=$as_dir/ ;;
9192 esac
9193 for ac_exec_ext in '' $ac_executable_extensions; do
9194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9195 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9197 break 2
9199 done
9200 done
9201 IFS=$as_save_IFS
9203 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9205 esac
9207 LDD=$ac_cv_path_LDD
9208 if test -n "$LDD"; then
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9210 printf "%s\n" "$LDD" >&6; }
9211 else
9212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9213 printf "%s\n" "no" >&6; }
9217 if test -n "$ac_tool_prefix"; then
9218 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9219 set dummy ${ac_tool_prefix}otool; ac_word=$2
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9221 printf %s "checking for $ac_word... " >&6; }
9222 if test ${ac_cv_prog_OTOOL+y}
9223 then :
9224 printf %s "(cached) " >&6
9225 else $as_nop
9226 if test -n "$OTOOL"; then
9227 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9228 else
9229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230 for as_dir in $PATH
9232 IFS=$as_save_IFS
9233 case $as_dir in #(((
9234 '') as_dir=./ ;;
9235 */) ;;
9236 *) as_dir=$as_dir/ ;;
9237 esac
9238 for ac_exec_ext in '' $ac_executable_extensions; do
9239 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9240 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9242 break 2
9244 done
9245 done
9246 IFS=$as_save_IFS
9250 OTOOL=$ac_cv_prog_OTOOL
9251 if test -n "$OTOOL"; then
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9253 printf "%s\n" "$OTOOL" >&6; }
9254 else
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9256 printf "%s\n" "no" >&6; }
9261 if test -z "$ac_cv_prog_OTOOL"; then
9262 ac_ct_OTOOL=$OTOOL
9263 # Extract the first word of "otool", so it can be a program name with args.
9264 set dummy otool; ac_word=$2
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266 printf %s "checking for $ac_word... " >&6; }
9267 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9268 then :
9269 printf %s "(cached) " >&6
9270 else $as_nop
9271 if test -n "$ac_ct_OTOOL"; then
9272 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9273 else
9274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 for as_dir in $PATH
9277 IFS=$as_save_IFS
9278 case $as_dir in #(((
9279 '') as_dir=./ ;;
9280 */) ;;
9281 *) as_dir=$as_dir/ ;;
9282 esac
9283 for ac_exec_ext in '' $ac_executable_extensions; do
9284 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9285 ac_cv_prog_ac_ct_OTOOL="otool"
9286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9287 break 2
9289 done
9290 done
9291 IFS=$as_save_IFS
9295 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9296 if test -n "$ac_ct_OTOOL"; then
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9298 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9299 else
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 printf "%s\n" "no" >&6; }
9304 if test "x$ac_ct_OTOOL" = x; then
9305 OTOOL="otool"
9306 else
9307 case $cross_compiling:$ac_tool_warned in
9308 yes:)
9309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9310 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9311 ac_tool_warned=yes ;;
9312 esac
9313 OTOOL=$ac_ct_OTOOL
9315 else
9316 OTOOL="$ac_cv_prog_OTOOL"
9319 if test -n "$ac_tool_prefix"; then
9320 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9321 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9323 printf %s "checking for $ac_word... " >&6; }
9324 if test ${ac_cv_prog_READELF+y}
9325 then :
9326 printf %s "(cached) " >&6
9327 else $as_nop
9328 if test -n "$READELF"; then
9329 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9330 else
9331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9332 for as_dir in $PATH
9334 IFS=$as_save_IFS
9335 case $as_dir in #(((
9336 '') as_dir=./ ;;
9337 */) ;;
9338 *) as_dir=$as_dir/ ;;
9339 esac
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9342 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9344 break 2
9346 done
9347 done
9348 IFS=$as_save_IFS
9352 READELF=$ac_cv_prog_READELF
9353 if test -n "$READELF"; then
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9355 printf "%s\n" "$READELF" >&6; }
9356 else
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9358 printf "%s\n" "no" >&6; }
9363 if test -z "$ac_cv_prog_READELF"; then
9364 ac_ct_READELF=$READELF
9365 # Extract the first word of "readelf", so it can be a program name with args.
9366 set dummy readelf; ac_word=$2
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9368 printf %s "checking for $ac_word... " >&6; }
9369 if test ${ac_cv_prog_ac_ct_READELF+y}
9370 then :
9371 printf %s "(cached) " >&6
9372 else $as_nop
9373 if test -n "$ac_ct_READELF"; then
9374 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9375 else
9376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9377 for as_dir in $PATH
9379 IFS=$as_save_IFS
9380 case $as_dir in #(((
9381 '') as_dir=./ ;;
9382 */) ;;
9383 *) as_dir=$as_dir/ ;;
9384 esac
9385 for ac_exec_ext in '' $ac_executable_extensions; do
9386 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9387 ac_cv_prog_ac_ct_READELF="readelf"
9388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9389 break 2
9391 done
9392 done
9393 IFS=$as_save_IFS
9397 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9398 if test -n "$ac_ct_READELF"; then
9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9400 printf "%s\n" "$ac_ct_READELF" >&6; }
9401 else
9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9403 printf "%s\n" "no" >&6; }
9406 if test "x$ac_ct_READELF" = x; then
9407 READELF="true"
9408 else
9409 case $cross_compiling:$ac_tool_warned in
9410 yes:)
9411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9412 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9413 ac_tool_warned=yes ;;
9414 esac
9415 READELF=$ac_ct_READELF
9417 else
9418 READELF="$ac_cv_prog_READELF"
9421 wine_rules="all:"
9422 SUBDIRS=""
9424 DISABLED_SUBDIRS=""
9426 CONFIGURE_TARGETS=""
9429 wine_fn_append_file ()
9431 as_fn_append $1 " \\$as_nl $2"
9434 wine_fn_append_rule ()
9436 as_fn_append wine_rules "$as_nl$1"
9439 wine_fn_config_makefile ()
9441 wine_fn_append_file SUBDIRS $1
9442 if eval test \"x\$"$2"\" = x"no"
9443 then :
9444 wine_fn_append_file DISABLED_SUBDIRS $1
9448 wine_fn_config_symlink ()
9450 ac_links=$@
9451 wine_fn_append_rule \
9452 "$ac_links:
9453 @./config.status \$@"
9454 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9457 wine_binary="wine"
9458 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9459 WINELOADER_PROGRAMS="$wine_binary"
9461 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9463 case $host_os in
9464 cygwin*|mingw32*)
9465 if test -n "$ac_tool_prefix"; then
9466 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9467 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9469 printf %s "checking for $ac_word... " >&6; }
9470 if test ${ac_cv_prog_DLLTOOL+y}
9471 then :
9472 printf %s "(cached) " >&6
9473 else $as_nop
9474 if test -n "$DLLTOOL"; then
9475 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9476 else
9477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9478 for as_dir in $PATH
9480 IFS=$as_save_IFS
9481 case $as_dir in #(((
9482 '') as_dir=./ ;;
9483 */) ;;
9484 *) as_dir=$as_dir/ ;;
9485 esac
9486 for ac_exec_ext in '' $ac_executable_extensions; do
9487 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9488 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9490 break 2
9492 done
9493 done
9494 IFS=$as_save_IFS
9498 DLLTOOL=$ac_cv_prog_DLLTOOL
9499 if test -n "$DLLTOOL"; then
9500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9501 printf "%s\n" "$DLLTOOL" >&6; }
9502 else
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9504 printf "%s\n" "no" >&6; }
9509 if test -z "$ac_cv_prog_DLLTOOL"; then
9510 ac_ct_DLLTOOL=$DLLTOOL
9511 # Extract the first word of "dlltool", so it can be a program name with args.
9512 set dummy dlltool; ac_word=$2
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9514 printf %s "checking for $ac_word... " >&6; }
9515 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9516 then :
9517 printf %s "(cached) " >&6
9518 else $as_nop
9519 if test -n "$ac_ct_DLLTOOL"; then
9520 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9521 else
9522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9523 for as_dir in $PATH
9525 IFS=$as_save_IFS
9526 case $as_dir in #(((
9527 '') as_dir=./ ;;
9528 */) ;;
9529 *) as_dir=$as_dir/ ;;
9530 esac
9531 for ac_exec_ext in '' $ac_executable_extensions; do
9532 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9533 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9535 break 2
9537 done
9538 done
9539 IFS=$as_save_IFS
9543 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9544 if test -n "$ac_ct_DLLTOOL"; then
9545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9546 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9547 else
9548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9549 printf "%s\n" "no" >&6; }
9552 if test "x$ac_ct_DLLTOOL" = x; then
9553 DLLTOOL="false"
9554 else
9555 case $cross_compiling:$ac_tool_warned in
9556 yes:)
9557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9558 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9559 ac_tool_warned=yes ;;
9560 esac
9561 DLLTOOL=$ac_ct_DLLTOOL
9563 else
9564 DLLTOOL="$ac_cv_prog_DLLTOOL"
9567 LIBEXT="dll"
9568 EXTRACFLAGS="-D__WINE_PE_BUILD"
9569 case $host_cpu in
9570 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9571 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9572 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9573 then :
9574 printf %s "(cached) " >&6
9575 else $as_nop
9576 ac_wine_try_cflags_saved=$CFLAGS
9577 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9580 int main(int argc, char **argv) { return 0; }
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"
9583 then :
9584 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9585 else $as_nop
9586 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9589 conftest$ac_exeext conftest.$ac_ext
9590 CFLAGS=$ac_wine_try_cflags_saved
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9593 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9594 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9595 then :
9596 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9597 fi ;;
9598 esac
9599 enable_loader=${enable_loader:-no}
9600 enable_server=${enable_server:-no}
9601 with_x=${with_x:-no}
9602 with_pthread=${with_pthread:-no}
9605 darwin*|macosx*)
9606 ac_ext=m
9607 ac_cpp='$OBJCPP $CPPFLAGS'
9608 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9609 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9610 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9612 ac_ext=m
9613 ac_cpp='$OBJCPP $CPPFLAGS'
9614 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9615 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9616 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9617 if test -n "$ac_tool_prefix"; then
9618 for ac_prog in gcc objcc objc cc CC clang
9620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9623 printf %s "checking for $ac_word... " >&6; }
9624 if test ${ac_cv_prog_OBJC+y}
9625 then :
9626 printf %s "(cached) " >&6
9627 else $as_nop
9628 if test -n "$OBJC"; then
9629 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9630 else
9631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9632 for as_dir in $PATH
9634 IFS=$as_save_IFS
9635 case $as_dir in #(((
9636 '') as_dir=./ ;;
9637 */) ;;
9638 *) as_dir=$as_dir/ ;;
9639 esac
9640 for ac_exec_ext in '' $ac_executable_extensions; do
9641 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9642 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9644 break 2
9646 done
9647 done
9648 IFS=$as_save_IFS
9652 OBJC=$ac_cv_prog_OBJC
9653 if test -n "$OBJC"; then
9654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9655 printf "%s\n" "$OBJC" >&6; }
9656 else
9657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9658 printf "%s\n" "no" >&6; }
9662 test -n "$OBJC" && break
9663 done
9665 if test -z "$OBJC"; then
9666 ac_ct_OBJC=$OBJC
9667 for ac_prog in gcc objcc objc cc CC clang
9669 # Extract the first word of "$ac_prog", so it can be a program name with args.
9670 set dummy $ac_prog; ac_word=$2
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9672 printf %s "checking for $ac_word... " >&6; }
9673 if test ${ac_cv_prog_ac_ct_OBJC+y}
9674 then :
9675 printf %s "(cached) " >&6
9676 else $as_nop
9677 if test -n "$ac_ct_OBJC"; then
9678 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9679 else
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9681 for as_dir in $PATH
9683 IFS=$as_save_IFS
9684 case $as_dir in #(((
9685 '') as_dir=./ ;;
9686 */) ;;
9687 *) as_dir=$as_dir/ ;;
9688 esac
9689 for ac_exec_ext in '' $ac_executable_extensions; do
9690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9691 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9693 break 2
9695 done
9696 done
9697 IFS=$as_save_IFS
9701 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9702 if test -n "$ac_ct_OBJC"; then
9703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9704 printf "%s\n" "$ac_ct_OBJC" >&6; }
9705 else
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9707 printf "%s\n" "no" >&6; }
9711 test -n "$ac_ct_OBJC" && break
9712 done
9714 if test "x$ac_ct_OBJC" = x; then
9715 OBJC="gcc"
9716 else
9717 case $cross_compiling:$ac_tool_warned in
9718 yes:)
9719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9720 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9721 ac_tool_warned=yes ;;
9722 esac
9723 OBJC=$ac_ct_OBJC
9727 # Provide some information about the compiler.
9728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9729 set X $ac_compile
9730 ac_compiler=$2
9731 for ac_option in --version -v -V -qversion; do
9732 { { ac_try="$ac_compiler $ac_option >&5"
9733 case "(($ac_try" in
9734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9735 *) ac_try_echo=$ac_try;;
9736 esac
9737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9738 printf "%s\n" "$ac_try_echo"; } >&5
9739 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9740 ac_status=$?
9741 if test -s conftest.err; then
9742 sed '10a\
9743 ... rest of stderr output deleted ...
9744 10q' conftest.err >conftest.er1
9745 cat conftest.er1 >&5
9747 rm -f conftest.er1 conftest.err
9748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9749 test $ac_status = 0; }
9750 done
9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9753 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9754 if test ${ac_cv_objc_compiler_gnu+y}
9755 then :
9756 printf %s "(cached) " >&6
9757 else $as_nop
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9762 main (void)
9764 #ifndef __GNUC__
9765 choke me
9766 #endif
9769 return 0;
9771 _ACEOF
9772 if ac_fn_objc_try_compile "$LINENO"
9773 then :
9774 ac_compiler_gnu=yes
9775 else $as_nop
9776 ac_compiler_gnu=no
9778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9779 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9783 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9784 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9786 if test $ac_compiler_gnu = yes; then
9787 GOBJC=yes
9788 else
9789 GOBJC=
9791 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9792 ac_save_OBJCFLAGS=$OBJCFLAGS
9793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9794 printf %s "checking whether $OBJC accepts -g... " >&6; }
9795 if test ${ac_cv_prog_objc_g+y}
9796 then :
9797 printf %s "(cached) " >&6
9798 else $as_nop
9799 ac_save_objc_werror_flag=$ac_objc_werror_flag
9800 ac_objc_werror_flag=yes
9801 ac_cv_prog_objc_g=no
9802 OBJCFLAGS="-g"
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9807 main (void)
9811 return 0;
9813 _ACEOF
9814 if ac_fn_objc_try_compile "$LINENO"
9815 then :
9816 ac_cv_prog_objc_g=yes
9817 else $as_nop
9818 OBJCFLAGS=""
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9823 main (void)
9827 return 0;
9829 _ACEOF
9830 if ac_fn_objc_try_compile "$LINENO"
9831 then :
9833 else $as_nop
9834 ac_objc_werror_flag=$ac_save_objc_werror_flag
9835 OBJCFLAGS="-g"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9840 main (void)
9844 return 0;
9846 _ACEOF
9847 if ac_fn_objc_try_compile "$LINENO"
9848 then :
9849 ac_cv_prog_objc_g=yes
9851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9856 ac_objc_werror_flag=$ac_save_objc_werror_flag
9858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9859 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9860 if test $ac_test_OBJCFLAGS; then
9861 OBJCFLAGS=$ac_save_OBJCFLAGS
9862 elif test $ac_cv_prog_objc_g = yes; then
9863 if test "$GOBJC" = yes; then
9864 OBJCFLAGS="-g -O2"
9865 else
9866 OBJCFLAGS="-g"
9868 else
9869 if test "$GOBJC" = yes; then
9870 OBJCFLAGS="-O2"
9871 else
9872 OBJCFLAGS=
9875 ac_ext=m
9876 ac_cpp='$OBJCPP $CPPFLAGS'
9877 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9878 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9879 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9882 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9883 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9884 then :
9885 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9889 ac_ext=c
9890 ac_cpp='$CPP $CPPFLAGS'
9891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9895 LIBEXT="dylib"
9896 DLLFLAGS="$DLLFLAGS -fPIC"
9897 LDDLLFLAGS="-fPIC"
9898 COREFOUNDATION_LIBS="-framework CoreFoundation"
9900 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9902 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9904 CORESERVICES_LIBS="-framework CoreServices"
9906 APPKIT_LIBS="-framework AppKit"
9908 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9911 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9913 wine_can_build_preloader=yes
9914 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"
9915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9916 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9917 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9918 then :
9919 printf %s "(cached) " >&6
9920 else $as_nop
9921 ac_wine_try_cflags_saved=$CFLAGS
9922 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925 int main(int argc, char **argv) { return 0; }
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"
9928 then :
9929 ac_cv_cflags__Wl__no_new_main__e__main=yes
9930 else $as_nop
9931 ac_cv_cflags__Wl__no_new_main__e__main=no
9933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9934 conftest$ac_exeext conftest.$ac_ext
9935 CFLAGS=$ac_wine_try_cflags_saved
9937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9938 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9939 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9940 then :
9941 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9942 { 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
9943 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9944 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9945 then :
9946 printf %s "(cached) " >&6
9947 else $as_nop
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int main(int argc, char **argv) { return 0; }
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"
9955 then :
9956 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9957 else $as_nop
9958 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9961 conftest$ac_exeext conftest.$ac_ext
9962 CFLAGS=$ac_wine_try_cflags_saved
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9965 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9966 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9967 then :
9968 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9969 else $as_nop
9970 wine_can_build_preloader=no
9972 else $as_nop
9973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9974 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9975 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9976 then :
9977 printf %s "(cached) " >&6
9978 else $as_nop
9979 ac_wine_try_cflags_saved=$CFLAGS
9980 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9983 int main(int argc, char **argv) { return 0; }
9984 _ACEOF
9985 if ac_fn_c_try_link "$LINENO"
9986 then :
9987 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9988 else $as_nop
9989 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9992 conftest$ac_exeext conftest.$ac_ext
9993 CFLAGS=$ac_wine_try_cflags_saved
9995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9996 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9997 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9998 then :
9999 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10000 else $as_nop
10001 wine_can_build_preloader=no
10004 if test "$wine_can_build_preloader" = "yes"
10005 then
10006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10007 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10008 if test ${ac_cv_cflags__Wl__no_pie+y}
10009 then :
10010 printf %s "(cached) " >&6
10011 else $as_nop
10012 ac_wine_try_cflags_saved=$CFLAGS
10013 CFLAGS="$CFLAGS -Wl,-no_pie"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10016 int main(int argc, char **argv) { return 0; }
10017 _ACEOF
10018 if ac_fn_c_try_link "$LINENO"
10019 then :
10020 ac_cv_cflags__Wl__no_pie=yes
10021 else $as_nop
10022 ac_cv_cflags__Wl__no_pie=no
10024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10025 conftest$ac_exeext conftest.$ac_ext
10026 CFLAGS=$ac_wine_try_cflags_saved
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10029 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10030 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10031 then :
10032 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10034 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10035 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10036 else
10037 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10040 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10041 then
10042 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10045 if test "$ac_cv_header_Security_Security_h" = "yes"
10046 then
10047 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10050 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10051 then
10052 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10054 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10056 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10057 then
10058 OPENAL_LIBS="-framework OpenAL"
10061 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10063 ac_cv_lib_openal=yes
10065 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10066 then
10067 OPENCL_LIBS="-framework OpenCL"
10069 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10071 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10072 then
10073 ac_save_LIBS="$LIBS"
10074 LIBS="$LIBS $IOKIT_LIBS"
10075 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10076 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10077 then :
10078 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10082 LIBS="$ac_save_LIBS"
10085 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10086 then
10087 CARBON_LIBS="-framework Carbon"
10090 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10091 then
10092 METAL_LIBS="-framework Metal"
10096 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10097 then
10098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10099 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10100 ac_ext=m
10101 ac_cpp='$OBJCPP $CPPFLAGS'
10102 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10103 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10104 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10108 #include <Metal/Metal.h>
10110 main (void)
10112 id<MTLDevice> device; device.registryID;
10114 return 0;
10116 _ACEOF
10117 if ac_fn_objc_try_compile "$LINENO"
10118 then :
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10120 printf "%s\n" "yes" >&6; }
10122 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10124 else $as_nop
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10126 printf "%s\n" "no" >&6; }
10128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10129 ac_ext=c
10130 ac_cpp='$CPP $CPPFLAGS'
10131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10137 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10138 then
10139 ac_save_LIBS="$LIBS"
10140 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10141 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10142 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10143 then :
10144 enable_winemac_drv=${enable_winemac_drv:-yes}
10147 LIBS="$ac_save_LIBS"
10150 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10151 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10153 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10155 WINELOADER_DEPENDS="wine_info.plist"
10157 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10160 linux-android*)
10162 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10164 DLLFLAGS="$DLLFLAGS -fPIC"
10165 LDDLLFLAGS="-fPIC"
10166 LDEXECFLAGS="-Wl,-pie"
10167 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10169 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10170 if test ${ac_cv_cflags__Wl__z_defs+y}
10171 then :
10172 printf %s "(cached) " >&6
10173 else $as_nop
10174 ac_wine_try_cflags_saved=$CFLAGS
10175 CFLAGS="$CFLAGS -Wl,-z,defs"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int main(int argc, char **argv) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"
10181 then :
10182 ac_cv_cflags__Wl__z_defs=yes
10183 else $as_nop
10184 ac_cv_cflags__Wl__z_defs=no
10186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10187 conftest$ac_exeext conftest.$ac_ext
10188 CFLAGS=$ac_wine_try_cflags_saved
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10191 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10192 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10193 then :
10194 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10197 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10198 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10199 then :
10200 printf %s "(cached) " >&6
10201 else $as_nop
10202 ac_wine_try_cflags_saved=$CFLAGS
10203 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10206 int main(int argc, char **argv) { return 0; }
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"
10209 then :
10210 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10211 else $as_nop
10212 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10215 conftest$ac_exeext conftest.$ac_ext
10216 CFLAGS=$ac_wine_try_cflags_saved
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10219 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10220 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10221 then :
10222 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10224 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10227 printf %s "checking for -lEGL... " >&6; }
10228 if test ${ac_cv_lib_soname_EGL+y}
10229 then :
10230 printf %s "(cached) " >&6
10231 else $as_nop
10232 ac_check_soname_save_LIBS=$LIBS
10233 LIBS="-lEGL $LIBS"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10240 char eglGetProcAddress ();
10242 main (void)
10244 return eglGetProcAddress ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"
10250 then :
10251 case "$LIBEXT" in
10252 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10253 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'` ;;
10254 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10255 if ${ac_cv_lib_soname_EGL:+false} :
10256 then :
10257 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10258 fi ;;
10259 esac
10260 else $as_nop
10261 ac_cv_lib_soname_EGL=
10263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10264 conftest$ac_exeext conftest.$ac_ext
10265 LIBS=$ac_check_soname_save_LIBS
10267 if ${ac_cv_lib_soname_EGL:+false} :
10268 then :
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10270 printf "%s\n" "not found" >&6; }
10272 else $as_nop
10273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10274 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10276 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10281 printf %s "checking for -lGLESv2... " >&6; }
10282 if test ${ac_cv_lib_soname_GLESv2+y}
10283 then :
10284 printf %s "(cached) " >&6
10285 else $as_nop
10286 ac_check_soname_save_LIBS=$LIBS
10287 LIBS="-lGLESv2 $LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 char glFlush ();
10296 main (void)
10298 return glFlush ();
10300 return 0;
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"
10304 then :
10305 case "$LIBEXT" in
10306 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10307 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'` ;;
10308 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10309 if ${ac_cv_lib_soname_GLESv2:+false} :
10310 then :
10311 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10312 fi ;;
10313 esac
10314 else $as_nop
10315 ac_cv_lib_soname_GLESv2=
10317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10318 conftest$ac_exeext conftest.$ac_ext
10319 LIBS=$ac_check_soname_save_LIBS
10321 if ${ac_cv_lib_soname_GLESv2:+false} :
10322 then :
10323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10324 printf "%s\n" "not found" >&6; }
10326 else $as_nop
10327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10328 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10330 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10335 if test "x$exec_prefix" = xNONE
10336 then
10337 case $host_cpu in
10338 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10339 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10340 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10341 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10342 esac
10348 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10350 test "$ac_cv_sys_file_offset_bits" = 64 &&
10351 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10353 case $host_cpu in
10354 *i[3456789]86*)
10355 DLLFLAGS="$DLLFLAGS -fno-PIC"
10356 LDDLLFLAGS="-fno-PIC"
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10358 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10359 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10360 then :
10361 printf %s "(cached) " >&6
10362 else $as_nop
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
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__fno_PIC__Wl__z_notext=yes
10372 else $as_nop
10373 ac_cv_cflags__fno_PIC__Wl__z_notext=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__fno_PIC__Wl__z_notext" >&5
10380 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10381 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10382 then :
10383 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10387 DLLFLAGS="$DLLFLAGS -fPIC"
10388 LDDLLFLAGS="-fPIC" ;;
10389 esac
10390 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10392 echo '{ global: *; };' >conftest.map
10393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10394 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10395 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10396 then :
10397 printf %s "(cached) " >&6
10398 else $as_nop
10399 ac_wine_try_cflags_saved=$CFLAGS
10400 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 int main(int argc, char **argv) { return 0; }
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"
10406 then :
10407 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10408 else $as_nop
10409 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10412 conftest$ac_exeext conftest.$ac_ext
10413 CFLAGS=$ac_wine_try_cflags_saved
10415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10416 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10417 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10418 then :
10419 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10421 rm -f conftest.map
10423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10424 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10425 if test ${ac_cv_cflags__Wl__z_defs+y}
10426 then :
10427 printf %s "(cached) " >&6
10428 else $as_nop
10429 ac_wine_try_cflags_saved=$CFLAGS
10430 CFLAGS="$CFLAGS -Wl,-z,defs"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 int main(int argc, char **argv) { return 0; }
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"
10436 then :
10437 ac_cv_cflags__Wl__z_defs=yes
10438 else $as_nop
10439 ac_cv_cflags__Wl__z_defs=no
10441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10442 conftest$ac_exeext conftest.$ac_ext
10443 CFLAGS=$ac_wine_try_cflags_saved
10445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10446 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10447 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10448 then :
10449 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10452 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10453 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10454 then :
10455 printf %s "(cached) " >&6
10456 else $as_nop
10457 ac_wine_try_cflags_saved=$CFLAGS
10458 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10461 int main(int argc, char **argv) { return 0; }
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"
10464 then :
10465 ac_cv_cflags__Wl___export_dynamic=yes
10466 else $as_nop
10467 ac_cv_cflags__Wl___export_dynamic=no
10469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10470 conftest$ac_exeext conftest.$ac_ext
10471 CFLAGS=$ac_wine_try_cflags_saved
10473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10474 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10475 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10476 then :
10477 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10479 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10481 case $host_cpu in
10482 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10484 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10485 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10486 then :
10487 printf %s "(cached) " >&6
10488 else $as_nop
10489 ac_wine_try_cflags_saved=$CFLAGS
10490 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10493 int main(int argc, char **argv) { return 0; }
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"
10496 then :
10497 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10498 else $as_nop
10499 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10502 conftest$ac_exeext conftest.$ac_ext
10503 CFLAGS=$ac_wine_try_cflags_saved
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10506 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10507 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10508 then :
10509 case $host_os in
10510 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10511 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10512 esac
10513 else $as_nop
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10515 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10516 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10517 then :
10518 printf %s "(cached) " >&6
10519 else $as_nop
10520 ac_wine_try_cflags_saved=$CFLAGS
10521 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10524 int main(int argc, char **argv) { return 0; }
10525 _ACEOF
10526 if ac_fn_c_try_link "$LINENO"
10527 then :
10528 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10529 else $as_nop
10530 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10533 conftest$ac_exeext conftest.$ac_ext
10534 CFLAGS=$ac_wine_try_cflags_saved
10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10537 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10538 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10539 then :
10540 case $host_os in
10541 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10542 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10543 esac
10545 # Extract the first word of "prelink", so it can be a program name with args.
10546 set dummy prelink; ac_word=$2
10547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10548 printf %s "checking for $ac_word... " >&6; }
10549 if test ${ac_cv_path_PRELINK+y}
10550 then :
10551 printf %s "(cached) " >&6
10552 else $as_nop
10553 case $PRELINK in
10554 [\\/]* | ?:[\\/]*)
10555 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10559 for as_dir in /sbin /usr/sbin $PATH
10561 IFS=$as_save_IFS
10562 case $as_dir in #(((
10563 '') as_dir=./ ;;
10564 */) ;;
10565 *) as_dir=$as_dir/ ;;
10566 esac
10567 for ac_exec_ext in '' $ac_executable_extensions; do
10568 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10569 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10571 break 2
10573 done
10574 done
10575 IFS=$as_save_IFS
10577 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10579 esac
10581 PRELINK=$ac_cv_path_PRELINK
10582 if test -n "$PRELINK"; then
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10584 printf "%s\n" "$PRELINK" >&6; }
10585 else
10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10587 printf "%s\n" "no" >&6; }
10591 if test "x$PRELINK" = xfalse
10592 then
10593 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10597 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10598 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10599 then :
10600 printf %s "(cached) " >&6
10601 else $as_nop
10602 ac_wine_try_cflags_saved=$CFLAGS
10603 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10606 int main(int argc, char **argv) { return 0; }
10607 _ACEOF
10608 if ac_fn_c_try_link "$LINENO"
10609 then :
10610 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10611 else $as_nop
10612 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10615 conftest$ac_exeext conftest.$ac_ext
10616 CFLAGS=$ac_wine_try_cflags_saved
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10619 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10620 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10621 then :
10622 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10625 esac
10626 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10628 LIBWINE_DEPENDS="wine.map"
10630 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10632 esac
10634 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10635 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10636 enable_winemac_drv=${enable_winemac_drv:-no}
10639 if test "x$with_mingw" != xno
10640 then
10641 case "x$with_mingw" in
10642 x|xyes) case "$host_cpu" in
10643 aarch64*)
10644 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10645 arm*)
10646 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10647 i[3456789]86*)
10648 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
10649 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10650 mingw32-gcc clang" ;;
10651 x86_64)
10652 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
10653 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10655 ac_prefix_list="" ;;
10656 esac
10657 for ac_prog in $ac_prefix_list
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_CROSSCC+y}
10664 then :
10665 printf %s "(cached) " >&6
10666 else $as_nop
10667 if test -n "$CROSSCC"; then
10668 ac_cv_prog_CROSSCC="$CROSSCC" # 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_CROSSCC="$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 CROSSCC=$ac_cv_prog_CROSSCC
10692 if test -n "$CROSSCC"; then
10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10694 printf "%s\n" "$CROSSCC" >&6; }
10695 else
10696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10697 printf "%s\n" "no" >&6; }
10701 test -n "$CROSSCC" && break
10702 done
10703 test -n "$CROSSCC" || CROSSCC="false"
10705 *) CROSSCC=$with_mingw ;;
10706 esac
10707 if test "$CROSSCC" != "false"
10708 then
10709 ac_save_CC="$CC"
10710 saved_CFLAGS=$CFLAGS
10711 saved_LDFLAGS=$LDFLAGS
10712 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10714 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10718 CC="$CROSSCC"
10719 CFLAGS=$CROSSCFLAGS
10720 LDFLAGS=$CROSSLDFLAGS
10721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10722 printf %s "checking whether $CROSSCC works... " >&6; }
10723 if test ${wine_cv_crosscc+y}
10724 then :
10725 printf %s "(cached) " >&6
10726 else $as_nop
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10731 main (void)
10735 return 0;
10737 _ACEOF
10738 if ac_fn_c_try_compile "$LINENO"
10739 then :
10740 wine_cv_crosscc=yes
10741 else $as_nop
10742 wine_cv_crosscc=no
10744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10747 printf "%s\n" "$wine_cv_crosscc" >&6; }
10748 if test $wine_cv_crosscc = yes
10749 then
10750 set x $CROSSCC
10751 shift
10752 while test $# -ge 1
10754 case "$1" in
10755 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10756 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10757 esac
10758 shift
10759 done
10761 llvm_target=$CROSSTARGET
10762 llvm_cflags="-fuse-ld=lld"
10763 if test -z "$llvm_target"
10764 then
10765 case $host_cpu in
10766 *i[3456789]86*) llvm_target=i686-windows ;;
10767 *) llvm_target=$host_cpu-windows ;;
10768 esac
10770 case $llvm_target in
10771 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10772 esac
10773 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10775 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10776 if eval test \${$as_ac_var+y}
10777 then :
10778 printf %s "(cached) " >&6
10779 else $as_nop
10780 ac_wine_try_cflags_saved=$CFLAGS
10781 ac_wine_try_cflags_saved_cc=$CC
10782 ac_wine_try_cflags_saved_exeext=$ac_exeext
10783 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10784 CC="$CROSSCC"
10785 ac_exeext=".exe"
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10788 int __cdecl mainCRTStartup(void) { return 0; }
10789 _ACEOF
10790 if ac_fn_c_try_link "$LINENO"
10791 then :
10792 eval "$as_ac_var=yes"
10793 else $as_nop
10794 eval "$as_ac_var=no"
10796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10797 conftest$ac_exeext conftest.$ac_ext
10798 CFLAGS=$ac_wine_try_cflags_saved
10799 CC=$ac_wine_try_cflags_saved_cc
10800 ac_exeext=$ac_wine_try_cflags_saved_exeext
10802 eval ac_res=\$$as_ac_var
10803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10804 printf "%s\n" "$ac_res" >&6; }
10805 if eval test \"x\$"$as_ac_var"\" = x"yes"
10806 then :
10807 CROSSTARGET=$llvm_target
10808 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10809 DELAYLOADFLAG="-Wl,-delayload,"
10811 CFLAGS="$CFLAGS $llvm_cflags"
10814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10815 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10816 if test ${wine_cv_crosscc_c99+y}
10817 then :
10818 printf %s "(cached) " >&6
10819 else $as_nop
10820 wine_cv_crosscc_c99=no
10821 for arg in '' '-std=gnu99'
10823 CC="$CROSSCC $arg"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 $ac_c_conftest_c99_program
10827 _ACEOF
10828 if ac_fn_c_try_compile "$LINENO"
10829 then :
10830 wine_cv_crosscc_c99=$arg
10831 else $as_nop
10832 wine_cv_crosscc_c99=no
10834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10835 test "x$wine_cv_crosscc_c99" != xno && break
10836 done
10839 case "x$wine_cv_crosscc_c99" in
10840 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10841 printf "%s\n" "none needed" >&6; } ;;
10842 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10843 printf "%s\n" "unsupported" >&6; } ;;
10844 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10845 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10846 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10847 esac
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10850 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10851 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10852 then :
10853 printf %s "(cached) " >&6
10854 else $as_nop
10855 ac_wine_try_cflags_saved=$CFLAGS
10856 ac_wine_try_cflags_saved_cc=$CC
10857 ac_wine_try_cflags_saved_exeext=$ac_exeext
10858 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10859 CC="$CROSSCC"
10860 ac_exeext=".exe"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 int __cdecl mainCRTStartup(void) { return 0; }
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"
10866 then :
10867 ac_cv_crosscflags__fno_strict_aliasing=yes
10868 else $as_nop
10869 ac_cv_crosscflags__fno_strict_aliasing=no
10871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10872 conftest$ac_exeext conftest.$ac_ext
10873 CFLAGS=$ac_wine_try_cflags_saved
10874 CC=$ac_wine_try_cflags_saved_cc
10875 ac_exeext=$ac_wine_try_cflags_saved_exeext
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10878 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10879 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10880 then :
10881 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10884 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10885 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+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_cc=$CC
10891 ac_wine_try_cflags_saved_exeext=$ac_exeext
10892 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10893 CC="$CROSSCC"
10894 ac_exeext=".exe"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897 int __cdecl mainCRTStartup(void) { return 0; }
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"
10900 then :
10901 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10902 else $as_nop
10903 ac_cv_crosscflags__Werror_unknown_warning_option=no
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906 conftest$ac_exeext conftest.$ac_ext
10907 CFLAGS=$ac_wine_try_cflags_saved
10908 CC=$ac_wine_try_cflags_saved_cc
10909 ac_exeext=$ac_wine_try_cflags_saved_exeext
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10912 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10913 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10914 then :
10915 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10918 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10919 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10920 then :
10921 printf %s "(cached) " >&6
10922 else $as_nop
10923 ac_wine_try_cflags_saved=$CFLAGS
10924 ac_wine_try_cflags_saved_cc=$CC
10925 ac_wine_try_cflags_saved_exeext=$ac_exeext
10926 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10927 CC="$CROSSCC"
10928 ac_exeext=".exe"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10931 int __cdecl mainCRTStartup(void) { return 0; }
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"
10934 then :
10935 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10936 else $as_nop
10937 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10940 conftest$ac_exeext conftest.$ac_ext
10941 CFLAGS=$ac_wine_try_cflags_saved
10942 CC=$ac_wine_try_cflags_saved_cc
10943 ac_exeext=$ac_wine_try_cflags_saved_exeext
10945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10946 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10947 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10948 then :
10949 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10952 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10953 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10954 then :
10955 printf %s "(cached) " >&6
10956 else $as_nop
10957 ac_wine_try_cflags_saved=$CFLAGS
10958 ac_wine_try_cflags_saved_cc=$CC
10959 ac_wine_try_cflags_saved_exeext=$ac_exeext
10960 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10961 CC="$CROSSCC"
10962 ac_exeext=".exe"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 int __cdecl mainCRTStartup(void) { return 0; }
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"
10968 then :
10969 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10970 else $as_nop
10971 ac_cv_crosscflags__Wdeclaration_after_statement=no
10973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10974 conftest$ac_exeext conftest.$ac_ext
10975 CFLAGS=$ac_wine_try_cflags_saved
10976 CC=$ac_wine_try_cflags_saved_cc
10977 ac_exeext=$ac_wine_try_cflags_saved_exeext
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10980 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10981 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10982 then :
10983 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10986 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10987 if test ${ac_cv_crosscflags__Wempty_body+y}
10988 then :
10989 printf %s "(cached) " >&6
10990 else $as_nop
10991 ac_wine_try_cflags_saved=$CFLAGS
10992 ac_wine_try_cflags_saved_cc=$CC
10993 ac_wine_try_cflags_saved_exeext=$ac_exeext
10994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10995 CC="$CROSSCC"
10996 ac_exeext=".exe"
10997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
10999 int __cdecl mainCRTStartup(void) { return 0; }
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"
11002 then :
11003 ac_cv_crosscflags__Wempty_body=yes
11004 else $as_nop
11005 ac_cv_crosscflags__Wempty_body=no
11007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11008 conftest$ac_exeext conftest.$ac_ext
11009 CFLAGS=$ac_wine_try_cflags_saved
11010 CC=$ac_wine_try_cflags_saved_cc
11011 ac_exeext=$ac_wine_try_cflags_saved_exeext
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11014 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11015 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11016 then :
11017 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11020 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11021 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11022 then :
11023 printf %s "(cached) " >&6
11024 else $as_nop
11025 ac_wine_try_cflags_saved=$CFLAGS
11026 ac_wine_try_cflags_saved_cc=$CC
11027 ac_wine_try_cflags_saved_exeext=$ac_exeext
11028 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11029 CC="$CROSSCC"
11030 ac_exeext=".exe"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11033 int __cdecl mainCRTStartup(void) { return 0; }
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"
11036 then :
11037 ac_cv_crosscflags__Wignored_qualifiers=yes
11038 else $as_nop
11039 ac_cv_crosscflags__Wignored_qualifiers=no
11041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11042 conftest$ac_exeext conftest.$ac_ext
11043 CFLAGS=$ac_wine_try_cflags_saved
11044 CC=$ac_wine_try_cflags_saved_cc
11045 ac_exeext=$ac_wine_try_cflags_saved_exeext
11047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11048 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11049 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11050 then :
11051 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11054 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11055 if test ${ac_cv_crosscflags__Winit_self+y}
11056 then :
11057 printf %s "(cached) " >&6
11058 else $as_nop
11059 ac_wine_try_cflags_saved=$CFLAGS
11060 ac_wine_try_cflags_saved_cc=$CC
11061 ac_wine_try_cflags_saved_exeext=$ac_exeext
11062 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11063 CC="$CROSSCC"
11064 ac_exeext=".exe"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 int __cdecl mainCRTStartup(void) { return 0; }
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"
11070 then :
11071 ac_cv_crosscflags__Winit_self=yes
11072 else $as_nop
11073 ac_cv_crosscflags__Winit_self=no
11075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11076 conftest$ac_exeext conftest.$ac_ext
11077 CFLAGS=$ac_wine_try_cflags_saved
11078 CC=$ac_wine_try_cflags_saved_cc
11079 ac_exeext=$ac_wine_try_cflags_saved_exeext
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11082 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11083 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11084 then :
11085 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11088 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11089 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11090 then :
11091 printf %s "(cached) " >&6
11092 else $as_nop
11093 ac_wine_try_cflags_saved=$CFLAGS
11094 ac_wine_try_cflags_saved_cc=$CC
11095 ac_wine_try_cflags_saved_exeext=$ac_exeext
11096 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11097 CC="$CROSSCC"
11098 ac_exeext=".exe"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11101 int __cdecl mainCRTStartup(void) { return 0; }
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"
11104 then :
11105 ac_cv_crosscflags__Wpacked_not_aligned=yes
11106 else $as_nop
11107 ac_cv_crosscflags__Wpacked_not_aligned=no
11109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11110 conftest$ac_exeext conftest.$ac_ext
11111 CFLAGS=$ac_wine_try_cflags_saved
11112 CC=$ac_wine_try_cflags_saved_cc
11113 ac_exeext=$ac_wine_try_cflags_saved_exeext
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11116 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11117 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11118 then :
11119 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11122 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11123 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11124 then :
11125 printf %s "(cached) " >&6
11126 else $as_nop
11127 ac_wine_try_cflags_saved=$CFLAGS
11128 ac_wine_try_cflags_saved_cc=$CC
11129 ac_wine_try_cflags_saved_exeext=$ac_exeext
11130 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11131 CC="$CROSSCC"
11132 ac_exeext=".exe"
11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11135 int __cdecl mainCRTStartup(void) { return 0; }
11136 _ACEOF
11137 if ac_fn_c_try_link "$LINENO"
11138 then :
11139 ac_cv_crosscflags__Wpragma_pack=yes
11140 else $as_nop
11141 ac_cv_crosscflags__Wpragma_pack=no
11143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11144 conftest$ac_exeext conftest.$ac_ext
11145 CFLAGS=$ac_wine_try_cflags_saved
11146 CC=$ac_wine_try_cflags_saved_cc
11147 ac_exeext=$ac_wine_try_cflags_saved_exeext
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11150 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11151 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11152 then :
11153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11156 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11157 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11158 then :
11159 printf %s "(cached) " >&6
11160 else $as_nop
11161 ac_wine_try_cflags_saved=$CFLAGS
11162 ac_wine_try_cflags_saved_cc=$CC
11163 ac_wine_try_cflags_saved_exeext=$ac_exeext
11164 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11165 CC="$CROSSCC"
11166 ac_exeext=".exe"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11169 int __cdecl mainCRTStartup(void) { return 0; }
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"
11172 then :
11173 ac_cv_crosscflags__Wshift_overflow_2=yes
11174 else $as_nop
11175 ac_cv_crosscflags__Wshift_overflow_2=no
11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11178 conftest$ac_exeext conftest.$ac_ext
11179 CFLAGS=$ac_wine_try_cflags_saved
11180 CC=$ac_wine_try_cflags_saved_cc
11181 ac_exeext=$ac_wine_try_cflags_saved_exeext
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11184 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11185 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11186 then :
11187 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11190 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11191 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11192 then :
11193 printf %s "(cached) " >&6
11194 else $as_nop
11195 ac_wine_try_cflags_saved=$CFLAGS
11196 ac_wine_try_cflags_saved_cc=$CC
11197 ac_wine_try_cflags_saved_exeext=$ac_exeext
11198 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11199 CC="$CROSSCC"
11200 ac_exeext=".exe"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11203 int __cdecl mainCRTStartup(void) { return 0; }
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"
11206 then :
11207 ac_cv_crosscflags__Wstrict_prototypes=yes
11208 else $as_nop
11209 ac_cv_crosscflags__Wstrict_prototypes=no
11211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11212 conftest$ac_exeext conftest.$ac_ext
11213 CFLAGS=$ac_wine_try_cflags_saved
11214 CC=$ac_wine_try_cflags_saved_cc
11215 ac_exeext=$ac_wine_try_cflags_saved_exeext
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11218 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11219 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11220 then :
11221 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11224 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11225 if test ${ac_cv_crosscflags__Wtype_limits+y}
11226 then :
11227 printf %s "(cached) " >&6
11228 else $as_nop
11229 ac_wine_try_cflags_saved=$CFLAGS
11230 ac_wine_try_cflags_saved_cc=$CC
11231 ac_wine_try_cflags_saved_exeext=$ac_exeext
11232 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11233 CC="$CROSSCC"
11234 ac_exeext=".exe"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237 int __cdecl mainCRTStartup(void) { return 0; }
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"
11240 then :
11241 ac_cv_crosscflags__Wtype_limits=yes
11242 else $as_nop
11243 ac_cv_crosscflags__Wtype_limits=no
11245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11246 conftest$ac_exeext conftest.$ac_ext
11247 CFLAGS=$ac_wine_try_cflags_saved
11248 CC=$ac_wine_try_cflags_saved_cc
11249 ac_exeext=$ac_wine_try_cflags_saved_exeext
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11252 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11253 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11254 then :
11255 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11258 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11259 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11260 then :
11261 printf %s "(cached) " >&6
11262 else $as_nop
11263 ac_wine_try_cflags_saved=$CFLAGS
11264 ac_wine_try_cflags_saved_cc=$CC
11265 ac_wine_try_cflags_saved_exeext=$ac_exeext
11266 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11267 CC="$CROSSCC"
11268 ac_exeext=".exe"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11271 int __cdecl mainCRTStartup(void) { return 0; }
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"
11274 then :
11275 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11276 else $as_nop
11277 ac_cv_crosscflags__Wunused_but_set_parameter=no
11279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11280 conftest$ac_exeext conftest.$ac_ext
11281 CFLAGS=$ac_wine_try_cflags_saved
11282 CC=$ac_wine_try_cflags_saved_cc
11283 ac_exeext=$ac_wine_try_cflags_saved_exeext
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11286 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11287 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11288 then :
11289 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11292 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11293 if test ${ac_cv_crosscflags__Wvla+y}
11294 then :
11295 printf %s "(cached) " >&6
11296 else $as_nop
11297 ac_wine_try_cflags_saved=$CFLAGS
11298 ac_wine_try_cflags_saved_cc=$CC
11299 ac_wine_try_cflags_saved_exeext=$ac_exeext
11300 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11301 CC="$CROSSCC"
11302 ac_exeext=".exe"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11305 int __cdecl mainCRTStartup(void) { return 0; }
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"
11308 then :
11309 ac_cv_crosscflags__Wvla=yes
11310 else $as_nop
11311 ac_cv_crosscflags__Wvla=no
11313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11314 conftest$ac_exeext conftest.$ac_ext
11315 CFLAGS=$ac_wine_try_cflags_saved
11316 CC=$ac_wine_try_cflags_saved_cc
11317 ac_exeext=$ac_wine_try_cflags_saved_exeext
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11320 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11321 if test "x$ac_cv_crosscflags__Wvla" = xyes
11322 then :
11323 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11326 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11327 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11328 then :
11329 printf %s "(cached) " >&6
11330 else $as_nop
11331 ac_wine_try_cflags_saved=$CFLAGS
11332 ac_wine_try_cflags_saved_cc=$CC
11333 ac_wine_try_cflags_saved_exeext=$ac_exeext
11334 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11335 CC="$CROSSCC"
11336 ac_exeext=".exe"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339 int __cdecl mainCRTStartup(void) { return 0; }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"
11342 then :
11343 ac_cv_crosscflags__Wwrite_strings=yes
11344 else $as_nop
11345 ac_cv_crosscflags__Wwrite_strings=no
11347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11348 conftest$ac_exeext conftest.$ac_ext
11349 CFLAGS=$ac_wine_try_cflags_saved
11350 CC=$ac_wine_try_cflags_saved_cc
11351 ac_exeext=$ac_wine_try_cflags_saved_exeext
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11354 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11355 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11356 then :
11357 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11360 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11361 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11362 then :
11363 printf %s "(cached) " >&6
11364 else $as_nop
11365 ac_wine_try_cflags_saved=$CFLAGS
11366 ac_wine_try_cflags_saved_cc=$CC
11367 ac_wine_try_cflags_saved_exeext=$ac_exeext
11368 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11369 CC="$CROSSCC"
11370 ac_exeext=".exe"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373 int __cdecl mainCRTStartup(void) { return 0; }
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"
11376 then :
11377 ac_cv_crosscflags__Wpointer_arith=yes
11378 else $as_nop
11379 ac_cv_crosscflags__Wpointer_arith=no
11381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11382 conftest$ac_exeext conftest.$ac_ext
11383 CFLAGS=$ac_wine_try_cflags_saved
11384 CC=$ac_wine_try_cflags_saved_cc
11385 ac_exeext=$ac_wine_try_cflags_saved_exeext
11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11388 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11389 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11390 then :
11391 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11394 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11395 if test ${ac_cv_crosscflags__Wlogical_op+y}
11396 then :
11397 printf %s "(cached) " >&6
11398 else $as_nop
11399 ac_wine_try_cflags_saved=$CFLAGS
11400 ac_wine_try_cflags_saved_cc=$CC
11401 ac_wine_try_cflags_saved_exeext=$ac_exeext
11402 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11403 CC="$CROSSCC"
11404 ac_exeext=".exe"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11407 int __cdecl mainCRTStartup(void) { return 0; }
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"
11410 then :
11411 ac_cv_crosscflags__Wlogical_op=yes
11412 else $as_nop
11413 ac_cv_crosscflags__Wlogical_op=no
11415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11416 conftest$ac_exeext conftest.$ac_ext
11417 CFLAGS=$ac_wine_try_cflags_saved
11418 CC=$ac_wine_try_cflags_saved_cc
11419 ac_exeext=$ac_wine_try_cflags_saved_exeext
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11422 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11423 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11424 then :
11425 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11428 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11429 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11430 then :
11431 printf %s "(cached) " >&6
11432 else $as_nop
11433 ac_wine_try_cflags_saved=$CFLAGS
11434 ac_wine_try_cflags_saved_cc=$CC
11435 ac_wine_try_cflags_saved_exeext=$ac_exeext
11436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11437 CC="$CROSSCC"
11438 ac_exeext=".exe"
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11441 int __cdecl mainCRTStartup(void) { return 0; }
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"
11444 then :
11445 ac_cv_crosscflags__Wabsolute_value=yes
11446 else $as_nop
11447 ac_cv_crosscflags__Wabsolute_value=no
11449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11450 conftest$ac_exeext conftest.$ac_ext
11451 CFLAGS=$ac_wine_try_cflags_saved
11452 CC=$ac_wine_try_cflags_saved_cc
11453 ac_exeext=$ac_wine_try_cflags_saved_exeext
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11456 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11457 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11458 then :
11459 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11462 case $host_cpu in
11463 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11464 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11465 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11466 then :
11467 printf %s "(cached) " >&6
11468 else $as_nop
11469 ac_wine_try_cflags_saved=$CFLAGS
11470 ac_wine_try_cflags_saved_cc=$CC
11471 ac_wine_try_cflags_saved_exeext=$ac_exeext
11472 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11473 CC="$CROSSCC"
11474 ac_exeext=".exe"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11477 int __cdecl mainCRTStartup(void) { return 0; }
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"
11480 then :
11481 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11482 else $as_nop
11483 ac_cv_crosscflags__fno_omit_frame_pointer=no
11485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11486 conftest$ac_exeext conftest.$ac_ext
11487 CFLAGS=$ac_wine_try_cflags_saved
11488 CC=$ac_wine_try_cflags_saved_cc
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11492 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11493 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11494 then :
11495 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup" >&5
11498 printf %s "checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
11499 if test ${ac_cv_crosscflags__Wl___disable_stdcall_fixup+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_cc=$CC
11505 ac_wine_try_cflags_saved_exeext=$ac_exeext
11506 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11507 CC="$CROSSCC"
11508 ac_exeext=".exe"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 int __cdecl mainCRTStartup(void) { return 0; }
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"
11514 then :
11515 ac_cv_crosscflags__Wl___disable_stdcall_fixup=yes
11516 else $as_nop
11517 ac_cv_crosscflags__Wl___disable_stdcall_fixup=no
11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11520 conftest$ac_exeext conftest.$ac_ext
11521 CFLAGS=$ac_wine_try_cflags_saved
11522 CC=$ac_wine_try_cflags_saved_cc
11523 ac_exeext=$ac_wine_try_cflags_saved_exeext
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&5
11526 printf "%s\n" "$ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&6; }
11527 if test "x$ac_cv_crosscflags__Wl___disable_stdcall_fixup" = xyes
11528 then :
11529 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--disable-stdcall-fixup"
11530 fi ;;
11531 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11532 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11533 if test ${ac_cv_crosscflags__Wno_format+y}
11534 then :
11535 printf %s "(cached) " >&6
11536 else $as_nop
11537 ac_wine_try_cflags_saved=$CFLAGS
11538 ac_wine_try_cflags_saved_cc=$CC
11539 ac_wine_try_cflags_saved_exeext=$ac_exeext
11540 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11541 CC="$CROSSCC"
11542 ac_exeext=".exe"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545 int __cdecl mainCRTStartup(void) { return 0; }
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"
11548 then :
11549 ac_cv_crosscflags__Wno_format=yes
11550 else $as_nop
11551 ac_cv_crosscflags__Wno_format=no
11553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11554 conftest$ac_exeext conftest.$ac_ext
11555 CFLAGS=$ac_wine_try_cflags_saved
11556 CC=$ac_wine_try_cflags_saved_cc
11557 ac_exeext=$ac_wine_try_cflags_saved_exeext
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11560 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11561 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11562 then :
11563 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11566 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11567 if test ${ac_cv_crosscflags__Wformat_overflow+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_cc=$CC
11573 ac_wine_try_cflags_saved_exeext=$ac_exeext
11574 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11575 CC="$CROSSCC"
11576 ac_exeext=".exe"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 int __cdecl mainCRTStartup(void) { return 0; }
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"
11582 then :
11583 ac_cv_crosscflags__Wformat_overflow=yes
11584 else $as_nop
11585 ac_cv_crosscflags__Wformat_overflow=no
11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11588 conftest$ac_exeext conftest.$ac_ext
11589 CFLAGS=$ac_wine_try_cflags_saved
11590 CC=$ac_wine_try_cflags_saved_cc
11591 ac_exeext=$ac_wine_try_cflags_saved_exeext
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11594 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11595 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11596 then :
11597 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11600 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11601 if test ${ac_cv_crosscflags__Wnonnull+y}
11602 then :
11603 printf %s "(cached) " >&6
11604 else $as_nop
11605 ac_wine_try_cflags_saved=$CFLAGS
11606 ac_wine_try_cflags_saved_cc=$CC
11607 ac_wine_try_cflags_saved_exeext=$ac_exeext
11608 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11609 CC="$CROSSCC"
11610 ac_exeext=".exe"
11611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11613 int __cdecl mainCRTStartup(void) { return 0; }
11614 _ACEOF
11615 if ac_fn_c_try_link "$LINENO"
11616 then :
11617 ac_cv_crosscflags__Wnonnull=yes
11618 else $as_nop
11619 ac_cv_crosscflags__Wnonnull=no
11621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11622 conftest$ac_exeext conftest.$ac_ext
11623 CFLAGS=$ac_wine_try_cflags_saved
11624 CC=$ac_wine_try_cflags_saved_cc
11625 ac_exeext=$ac_wine_try_cflags_saved_exeext
11627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11628 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11629 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11630 then :
11631 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11634 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11635 if test ${ac_cv_crosscflags__mcx16+y}
11636 then :
11637 printf %s "(cached) " >&6
11638 else $as_nop
11639 ac_wine_try_cflags_saved=$CFLAGS
11640 ac_wine_try_cflags_saved_cc=$CC
11641 ac_wine_try_cflags_saved_exeext=$ac_exeext
11642 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11643 CC="$CROSSCC"
11644 ac_exeext=".exe"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11647 int __cdecl mainCRTStartup(void) { return 0; }
11648 _ACEOF
11649 if ac_fn_c_try_link "$LINENO"
11650 then :
11651 ac_cv_crosscflags__mcx16=yes
11652 else $as_nop
11653 ac_cv_crosscflags__mcx16=no
11655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11656 conftest$ac_exeext conftest.$ac_ext
11657 CFLAGS=$ac_wine_try_cflags_saved
11658 CC=$ac_wine_try_cflags_saved_cc
11659 ac_exeext=$ac_wine_try_cflags_saved_exeext
11661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11662 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11663 if test "x$ac_cv_crosscflags__mcx16" = xyes
11664 then :
11665 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11666 fi ;;
11667 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11668 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11669 if test ${ac_cv_crosscflags__Wno_format+y}
11670 then :
11671 printf %s "(cached) " >&6
11672 else $as_nop
11673 ac_wine_try_cflags_saved=$CFLAGS
11674 ac_wine_try_cflags_saved_cc=$CC
11675 ac_wine_try_cflags_saved_exeext=$ac_exeext
11676 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11677 CC="$CROSSCC"
11678 ac_exeext=".exe"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11681 int __cdecl mainCRTStartup(void) { return 0; }
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"
11684 then :
11685 ac_cv_crosscflags__Wno_format=yes
11686 else $as_nop
11687 ac_cv_crosscflags__Wno_format=no
11689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11690 conftest$ac_exeext conftest.$ac_ext
11691 CFLAGS=$ac_wine_try_cflags_saved
11692 CC=$ac_wine_try_cflags_saved_cc
11693 ac_exeext=$ac_wine_try_cflags_saved_exeext
11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11696 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11697 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11698 then :
11699 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11700 fi ;;
11701 esac
11704 if test -z "$CROSSDEBUG"
11705 then
11706 for ac_flag in $CROSSCFLAGS; do
11707 case $ac_flag in
11708 -gdwarf*) CROSSDEBUG=dwarf ;;
11709 -gcodeview) CROSSDEBUG=pdb ;;
11710 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11711 esac
11712 done
11715 ac_debug_format_seen=""
11716 for ac_flag in $CROSSCFLAGS; do
11717 case $ac_flag in
11718 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11719 esac
11720 done
11721 if test "x$ac_debug_format_seen" = x
11722 then
11723 case $CROSSDEBUG in
11724 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11725 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11726 if test ${ac_cv_crosscflags__gdwarf_4+y}
11727 then :
11728 printf %s "(cached) " >&6
11729 else $as_nop
11730 ac_wine_try_cflags_saved=$CFLAGS
11731 ac_wine_try_cflags_saved_cc=$CC
11732 ac_wine_try_cflags_saved_exeext=$ac_exeext
11733 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11734 CC="$CROSSCC"
11735 ac_exeext=".exe"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11738 int __cdecl mainCRTStartup(void) { return 0; }
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"
11741 then :
11742 ac_cv_crosscflags__gdwarf_4=yes
11743 else $as_nop
11744 ac_cv_crosscflags__gdwarf_4=no
11746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11747 conftest$ac_exeext conftest.$ac_ext
11748 CFLAGS=$ac_wine_try_cflags_saved
11749 CC=$ac_wine_try_cflags_saved_cc
11750 ac_exeext=$ac_wine_try_cflags_saved_exeext
11752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11753 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11754 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11755 then :
11756 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11757 fi ;;
11758 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11759 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11760 if test ${ac_cv_crosscflags__gcodeview+y}
11761 then :
11762 printf %s "(cached) " >&6
11763 else $as_nop
11764 ac_wine_try_cflags_saved=$CFLAGS
11765 ac_wine_try_cflags_saved_cc=$CC
11766 ac_wine_try_cflags_saved_exeext=$ac_exeext
11767 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11768 CC="$CROSSCC"
11769 ac_exeext=".exe"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11772 int __cdecl mainCRTStartup(void) { return 0; }
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"
11775 then :
11776 ac_cv_crosscflags__gcodeview=yes
11777 else $as_nop
11778 ac_cv_crosscflags__gcodeview=no
11780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11781 conftest$ac_exeext conftest.$ac_ext
11782 CFLAGS=$ac_wine_try_cflags_saved
11783 CC=$ac_wine_try_cflags_saved_cc
11784 ac_exeext=$ac_wine_try_cflags_saved_exeext
11786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11787 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11788 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11789 then :
11790 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11791 fi ;;
11792 esac
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11796 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11797 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11798 then :
11799 printf %s "(cached) " >&6
11800 else $as_nop
11801 ac_wine_try_cflags_saved=$CFLAGS
11802 ac_wine_try_cflags_saved_cc=$CC
11803 ac_wine_try_cflags_saved_exeext=$ac_exeext
11804 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11805 CC="$CROSSCC"
11806 ac_exeext=".exe"
11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808 /* end confdefs.h. */
11809 int __cdecl mainCRTStartup(void) { return 0; }
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"
11812 then :
11813 ac_cv_crosscflags__fexcess_precision_standard=yes
11814 else $as_nop
11815 ac_cv_crosscflags__fexcess_precision_standard=no
11817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11818 conftest$ac_exeext conftest.$ac_ext
11819 CFLAGS=$ac_wine_try_cflags_saved
11820 CC=$ac_wine_try_cflags_saved_cc
11821 ac_exeext=$ac_wine_try_cflags_saved_exeext
11823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11824 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11825 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11826 then :
11827 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11831 if test "x$enable_werror" = "xyes"
11832 then
11833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11834 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11835 if test ${ac_cv_crosscflags__Werror+y}
11836 then :
11837 printf %s "(cached) " >&6
11838 else $as_nop
11839 ac_wine_try_cflags_saved=$CFLAGS
11840 ac_wine_try_cflags_saved_cc=$CC
11841 ac_wine_try_cflags_saved_exeext=$ac_exeext
11842 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11843 CC="$CROSSCC"
11844 ac_exeext=".exe"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11847 int __cdecl mainCRTStartup(void) { return 0; }
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"
11850 then :
11851 ac_cv_crosscflags__Werror=yes
11852 else $as_nop
11853 ac_cv_crosscflags__Werror=no
11855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11856 conftest$ac_exeext conftest.$ac_ext
11857 CFLAGS=$ac_wine_try_cflags_saved
11858 CC=$ac_wine_try_cflags_saved_cc
11859 ac_exeext=$ac_wine_try_cflags_saved_exeext
11861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11862 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11863 if test "x$ac_cv_crosscflags__Werror" = xyes
11864 then :
11865 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11868 if test "x$enable_build_id" = "xyes"
11869 then
11870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11871 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11872 if test ${ac_cv_crosscflags__Wl___build_id+y}
11873 then :
11874 printf %s "(cached) " >&6
11875 else $as_nop
11876 ac_wine_try_cflags_saved=$CFLAGS
11877 ac_wine_try_cflags_saved_cc=$CC
11878 ac_wine_try_cflags_saved_exeext=$ac_exeext
11879 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11880 CC="$CROSSCC"
11881 ac_exeext=".exe"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11884 int __cdecl mainCRTStartup(void) { return 0; }
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"
11887 then :
11888 ac_cv_crosscflags__Wl___build_id=yes
11889 else $as_nop
11890 ac_cv_crosscflags__Wl___build_id=no
11892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11893 conftest$ac_exeext conftest.$ac_ext
11894 CFLAGS=$ac_wine_try_cflags_saved
11895 CC=$ac_wine_try_cflags_saved_cc
11896 ac_exeext=$ac_wine_try_cflags_saved_exeext
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11899 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11900 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11901 then :
11902 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11903 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11907 CFLAGS=$saved_CFLAGS
11908 LDFLAGS=$saved_LDFLAGS
11909 CC="$ac_save_CC"
11912 if test "x$CROSSTARGET" = "x"
11913 then :
11914 case "x$with_mingw" in
11915 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11916 xno) ;;
11917 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11918 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11919 esac
11923 case $host_cpu in
11924 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11925 esac
11928 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11929 then
11930 case "$host_cpu" in
11931 i[3456789]86*)
11932 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11934 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11935 esac
11936 for ac_prog in $ac_prefix_list
11938 # Extract the first word of "$ac_prog", so it can be a program name with args.
11939 set dummy $ac_prog; ac_word=$2
11940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11941 printf %s "checking for $ac_word... " >&6; }
11942 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11943 then :
11944 printf %s "(cached) " >&6
11945 else $as_nop
11946 if test -n "$MINGW_PKG_CONFIG"; then
11947 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11948 else
11949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11950 for as_dir in $PATH
11952 IFS=$as_save_IFS
11953 case $as_dir in #(((
11954 '') as_dir=./ ;;
11955 */) ;;
11956 *) as_dir=$as_dir/ ;;
11957 esac
11958 for ac_exec_ext in '' $ac_executable_extensions; do
11959 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11960 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11962 break 2
11964 done
11965 done
11966 IFS=$as_save_IFS
11970 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11971 if test -n "$MINGW_PKG_CONFIG"; then
11972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11973 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11974 else
11975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11976 printf "%s\n" "no" >&6; }
11980 test -n "$MINGW_PKG_CONFIG" && break
11981 done
11982 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11984 if ${FAUDIO_PE_CFLAGS:+false} :
11985 then :
11986 if test ${MINGW_PKG_CONFIG+y}
11987 then :
11988 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11991 if ${FAUDIO_PE_LIBS:+false} :
11992 then :
11993 if test ${MINGW_PKG_CONFIG+y}
11994 then :
11995 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11998 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11999 ac_save_CPPFLAGS=$CPPFLAGS
12000 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12002 printf %s "checking for MinGW FAudio.h... " >&6; }
12003 if test ${ac_cv_mingw_header_FAudio_h+y}
12004 then :
12005 printf %s "(cached) " >&6
12006 else $as_nop
12007 ac_wine_check_headers_saved_cc=$CC
12008 ac_wine_check_headers_saved_exeext=$ac_exeext
12009 CC="$CROSSCC"
12010 ac_exeext=".exe"
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12014 #include <FAudio.h>
12016 main (void)
12020 return 0;
12022 _ACEOF
12023 if ac_fn_c_try_compile "$LINENO"
12024 then :
12025 ac_cv_mingw_header_FAudio_h=yes
12026 else $as_nop
12027 ac_cv_mingw_header_FAudio_h=no
12029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12030 CC=$ac_wine_check_headers_saved_cc
12031 ac_exeext=$ac_wine_check_headers_saved_exeext
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12034 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12035 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12036 then :
12037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12038 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12039 if test ${ac_cv_mingw_lib_FAudio+y}
12040 then :
12041 printf %s "(cached) " >&6
12042 else $as_nop
12043 ac_wine_check_headers_saved_cc=$CC
12044 ac_wine_check_headers_saved_exeext=$ac_exeext
12045 ac_wine_check_headers_saved_libs=$LIBS
12046 CC="$CROSSCC"
12047 ac_exeext=".exe"
12048 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12055 char FAudio_CommitOperationSet ();
12057 main (void)
12059 return FAudio_CommitOperationSet ();
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_link "$LINENO"
12065 then :
12066 ac_cv_mingw_lib_FAudio=yes
12067 else $as_nop
12068 ac_cv_mingw_lib_FAudio=no
12070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12071 conftest$ac_exeext conftest.$ac_ext
12072 CC=$ac_wine_check_headers_saved_cc
12073 ac_exeext=$ac_wine_check_headers_saved_exeext
12074 LIBS=$ac_wine_check_headers_saved_libs
12076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12077 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12078 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12079 then :
12081 else $as_nop
12082 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12084 else $as_nop
12085 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12087 CPPFLAGS=$ac_save_CPPFLAGS
12089 if test "x$FAUDIO_PE_LIBS" = "x"
12090 then
12091 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12094 if ${JPEG_PE_CFLAGS:+false} :
12095 then :
12096 if test ${MINGW_PKG_CONFIG+y}
12097 then :
12098 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12101 if ${JPEG_PE_LIBS:+false} :
12102 then :
12103 if test ${MINGW_PKG_CONFIG+y}
12104 then :
12105 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12109 ac_save_CPPFLAGS=$CPPFLAGS
12110 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12112 printf %s "checking for MinGW jpeglib.h... " >&6; }
12113 if test ${ac_cv_mingw_header_jpeglib_h+y}
12114 then :
12115 printf %s "(cached) " >&6
12116 else $as_nop
12117 ac_wine_check_headers_saved_cc=$CC
12118 ac_wine_check_headers_saved_exeext=$ac_exeext
12119 CC="$CROSSCC"
12120 ac_exeext=".exe"
12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12123 #include <stddef.h>
12124 #include <stdio.h>
12125 #include <jpeglib.h>
12127 main (void)
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_compile "$LINENO"
12135 then :
12136 ac_cv_mingw_header_jpeglib_h=yes
12137 else $as_nop
12138 ac_cv_mingw_header_jpeglib_h=no
12140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12141 CC=$ac_wine_check_headers_saved_cc
12142 ac_exeext=$ac_wine_check_headers_saved_exeext
12144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12145 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12146 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12147 then :
12148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12149 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12150 if test ${ac_cv_mingw_lib_jpeg+y}
12151 then :
12152 printf %s "(cached) " >&6
12153 else $as_nop
12154 ac_wine_check_headers_saved_cc=$CC
12155 ac_wine_check_headers_saved_exeext=$ac_exeext
12156 ac_wine_check_headers_saved_libs=$LIBS
12157 CC="$CROSSCC"
12158 ac_exeext=".exe"
12159 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 char jpeg_start_decompress ();
12168 main (void)
12170 return jpeg_start_decompress ();
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"
12176 then :
12177 ac_cv_mingw_lib_jpeg=yes
12178 else $as_nop
12179 ac_cv_mingw_lib_jpeg=no
12181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12182 conftest$ac_exeext conftest.$ac_ext
12183 CC=$ac_wine_check_headers_saved_cc
12184 ac_exeext=$ac_wine_check_headers_saved_exeext
12185 LIBS=$ac_wine_check_headers_saved_libs
12187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12188 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12189 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12190 then :
12192 else $as_nop
12193 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12195 else $as_nop
12196 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12198 CPPFLAGS=$ac_save_CPPFLAGS
12200 if test "x$JPEG_PE_LIBS" = "x"
12201 then
12202 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12205 if ${LCMS2_PE_CFLAGS:+false} :
12206 then :
12207 if test ${MINGW_PKG_CONFIG+y}
12208 then :
12209 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12212 if ${LCMS2_PE_LIBS:+false} :
12213 then :
12214 if test ${MINGW_PKG_CONFIG+y}
12215 then :
12216 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12219 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12220 ac_save_CPPFLAGS=$CPPFLAGS
12221 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12223 printf %s "checking for MinGW lcms2.h... " >&6; }
12224 if test ${ac_cv_mingw_header_lcms2_h+y}
12225 then :
12226 printf %s "(cached) " >&6
12227 else $as_nop
12228 ac_wine_check_headers_saved_cc=$CC
12229 ac_wine_check_headers_saved_exeext=$ac_exeext
12230 CC="$CROSSCC"
12231 ac_exeext=".exe"
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 #include <lcms2.h>
12237 main (void)
12241 return 0;
12243 _ACEOF
12244 if ac_fn_c_try_compile "$LINENO"
12245 then :
12246 ac_cv_mingw_header_lcms2_h=yes
12247 else $as_nop
12248 ac_cv_mingw_header_lcms2_h=no
12250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12251 CC=$ac_wine_check_headers_saved_cc
12252 ac_exeext=$ac_wine_check_headers_saved_exeext
12254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12255 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12256 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12257 then :
12258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12259 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12260 if test ${ac_cv_mingw_lib_lcms2+y}
12261 then :
12262 printf %s "(cached) " >&6
12263 else $as_nop
12264 ac_wine_check_headers_saved_cc=$CC
12265 ac_wine_check_headers_saved_exeext=$ac_exeext
12266 ac_wine_check_headers_saved_libs=$LIBS
12267 CC="$CROSSCC"
12268 ac_exeext=".exe"
12269 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12276 char cmsOpenProfileFromFile ();
12278 main (void)
12280 return cmsOpenProfileFromFile ();
12282 return 0;
12284 _ACEOF
12285 if ac_fn_c_try_link "$LINENO"
12286 then :
12287 ac_cv_mingw_lib_lcms2=yes
12288 else $as_nop
12289 ac_cv_mingw_lib_lcms2=no
12291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12292 conftest$ac_exeext conftest.$ac_ext
12293 CC=$ac_wine_check_headers_saved_cc
12294 ac_exeext=$ac_wine_check_headers_saved_exeext
12295 LIBS=$ac_wine_check_headers_saved_libs
12297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12298 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12299 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12300 then :
12302 else $as_nop
12303 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12305 else $as_nop
12306 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12308 CPPFLAGS=$ac_save_CPPFLAGS
12310 if test "x$LCMS2_PE_LIBS" = "x"
12311 then
12312 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12315 if ${MPG123_PE_CFLAGS:+false} :
12316 then :
12317 if test ${MINGW_PKG_CONFIG+y}
12318 then :
12319 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12322 if ${MPG123_PE_LIBS:+false} :
12323 then :
12324 if test ${MINGW_PKG_CONFIG+y}
12325 then :
12326 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12329 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12330 ac_save_CPPFLAGS=$CPPFLAGS
12331 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12333 printf %s "checking for MinGW mpg123.h... " >&6; }
12334 if test ${ac_cv_mingw_header_mpg123_h+y}
12335 then :
12336 printf %s "(cached) " >&6
12337 else $as_nop
12338 ac_wine_check_headers_saved_cc=$CC
12339 ac_wine_check_headers_saved_exeext=$ac_exeext
12340 CC="$CROSSCC"
12341 ac_exeext=".exe"
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12345 #include <mpg123.h>
12347 main (void)
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_compile "$LINENO"
12355 then :
12356 ac_cv_mingw_header_mpg123_h=yes
12357 else $as_nop
12358 ac_cv_mingw_header_mpg123_h=no
12360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12361 CC=$ac_wine_check_headers_saved_cc
12362 ac_exeext=$ac_wine_check_headers_saved_exeext
12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12365 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12366 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12367 then :
12368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12369 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12370 if test ${ac_cv_mingw_lib_mpg123+y}
12371 then :
12372 printf %s "(cached) " >&6
12373 else $as_nop
12374 ac_wine_check_headers_saved_cc=$CC
12375 ac_wine_check_headers_saved_exeext=$ac_exeext
12376 ac_wine_check_headers_saved_libs=$LIBS
12377 CC="$CROSSCC"
12378 ac_exeext=".exe"
12379 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12386 char mpg123_feed ();
12388 main (void)
12390 return mpg123_feed ();
12392 return 0;
12394 _ACEOF
12395 if ac_fn_c_try_link "$LINENO"
12396 then :
12397 ac_cv_mingw_lib_mpg123=yes
12398 else $as_nop
12399 ac_cv_mingw_lib_mpg123=no
12401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12402 conftest$ac_exeext conftest.$ac_ext
12403 CC=$ac_wine_check_headers_saved_cc
12404 ac_exeext=$ac_wine_check_headers_saved_exeext
12405 LIBS=$ac_wine_check_headers_saved_libs
12407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12408 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12409 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12410 then :
12412 else $as_nop
12413 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12415 else $as_nop
12416 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12418 CPPFLAGS=$ac_save_CPPFLAGS
12420 if test "x$MPG123_PE_LIBS" = "x"
12421 then
12422 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12425 if ${PNG_PE_CFLAGS:+false} :
12426 then :
12427 if test ${MINGW_PKG_CONFIG+y}
12428 then :
12429 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12432 if ${PNG_PE_LIBS:+false} :
12433 then :
12434 if test ${MINGW_PKG_CONFIG+y}
12435 then :
12436 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12440 ac_save_CPPFLAGS=$CPPFLAGS
12441 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12443 printf %s "checking for MinGW png.h... " >&6; }
12444 if test ${ac_cv_mingw_header_png_h+y}
12445 then :
12446 printf %s "(cached) " >&6
12447 else $as_nop
12448 ac_wine_check_headers_saved_cc=$CC
12449 ac_wine_check_headers_saved_exeext=$ac_exeext
12450 CC="$CROSSCC"
12451 ac_exeext=".exe"
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12455 #include <png.h>
12457 main (void)
12461 return 0;
12463 _ACEOF
12464 if ac_fn_c_try_compile "$LINENO"
12465 then :
12466 ac_cv_mingw_header_png_h=yes
12467 else $as_nop
12468 ac_cv_mingw_header_png_h=no
12470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12471 CC=$ac_wine_check_headers_saved_cc
12472 ac_exeext=$ac_wine_check_headers_saved_exeext
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12475 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12476 if test "x$ac_cv_mingw_header_png_h" = xyes
12477 then :
12478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12479 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12480 if test ${ac_cv_mingw_lib_png+y}
12481 then :
12482 printf %s "(cached) " >&6
12483 else $as_nop
12484 ac_wine_check_headers_saved_cc=$CC
12485 ac_wine_check_headers_saved_exeext=$ac_exeext
12486 ac_wine_check_headers_saved_libs=$LIBS
12487 CC="$CROSSCC"
12488 ac_exeext=".exe"
12489 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12496 char png_create_read_struct ();
12498 main (void)
12500 return png_create_read_struct ();
12502 return 0;
12504 _ACEOF
12505 if ac_fn_c_try_link "$LINENO"
12506 then :
12507 ac_cv_mingw_lib_png=yes
12508 else $as_nop
12509 ac_cv_mingw_lib_png=no
12511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12512 conftest$ac_exeext conftest.$ac_ext
12513 CC=$ac_wine_check_headers_saved_cc
12514 ac_exeext=$ac_wine_check_headers_saved_exeext
12515 LIBS=$ac_wine_check_headers_saved_libs
12517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12518 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12519 if test "x$ac_cv_mingw_lib_png" = xyes
12520 then :
12522 else $as_nop
12523 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12525 else $as_nop
12526 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12528 CPPFLAGS=$ac_save_CPPFLAGS
12530 if test "x$PNG_PE_LIBS" = "x"
12531 then
12532 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12535 if ${TIFF_PE_CFLAGS:+false} :
12536 then :
12537 if test ${MINGW_PKG_CONFIG+y}
12538 then :
12539 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12542 if ${TIFF_PE_LIBS:+false} :
12543 then :
12544 if test ${MINGW_PKG_CONFIG+y}
12545 then :
12546 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12550 ac_save_CPPFLAGS=$CPPFLAGS
12551 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12553 printf %s "checking for MinGW tiffio.h... " >&6; }
12554 if test ${ac_cv_mingw_header_tiffio_h+y}
12555 then :
12556 printf %s "(cached) " >&6
12557 else $as_nop
12558 ac_wine_check_headers_saved_cc=$CC
12559 ac_wine_check_headers_saved_exeext=$ac_exeext
12560 CC="$CROSSCC"
12561 ac_exeext=".exe"
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12565 #include <tiffio.h>
12567 main (void)
12571 return 0;
12573 _ACEOF
12574 if ac_fn_c_try_compile "$LINENO"
12575 then :
12576 ac_cv_mingw_header_tiffio_h=yes
12577 else $as_nop
12578 ac_cv_mingw_header_tiffio_h=no
12580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12581 CC=$ac_wine_check_headers_saved_cc
12582 ac_exeext=$ac_wine_check_headers_saved_exeext
12584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12585 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12586 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12587 then :
12588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12589 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12590 if test ${ac_cv_mingw_lib_tiff+y}
12591 then :
12592 printf %s "(cached) " >&6
12593 else $as_nop
12594 ac_wine_check_headers_saved_cc=$CC
12595 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 ac_wine_check_headers_saved_libs=$LIBS
12597 CC="$CROSSCC"
12598 ac_exeext=".exe"
12599 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12606 char TIFFClientOpen ();
12608 main (void)
12610 return TIFFClientOpen ();
12612 return 0;
12614 _ACEOF
12615 if ac_fn_c_try_link "$LINENO"
12616 then :
12617 ac_cv_mingw_lib_tiff=yes
12618 else $as_nop
12619 ac_cv_mingw_lib_tiff=no
12621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12622 conftest$ac_exeext conftest.$ac_ext
12623 CC=$ac_wine_check_headers_saved_cc
12624 ac_exeext=$ac_wine_check_headers_saved_exeext
12625 LIBS=$ac_wine_check_headers_saved_libs
12627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12628 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12629 if test "x$ac_cv_mingw_lib_tiff" = xyes
12630 then :
12632 else $as_nop
12633 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12635 else $as_nop
12636 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12638 CPPFLAGS=$ac_save_CPPFLAGS
12640 if test "x$TIFF_PE_LIBS" = "x"
12641 then
12642 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12645 if ${XML2_PE_CFLAGS:+false} :
12646 then :
12647 if test ${MINGW_PKG_CONFIG+y}
12648 then :
12649 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12652 if ${XML2_PE_LIBS:+false} :
12653 then :
12654 if test ${MINGW_PKG_CONFIG+y}
12655 then :
12656 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12659 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12660 ac_save_CPPFLAGS=$CPPFLAGS
12661 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12663 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12664 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12665 then :
12666 printf %s "(cached) " >&6
12667 else $as_nop
12668 ac_wine_check_headers_saved_cc=$CC
12669 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 CC="$CROSSCC"
12671 ac_exeext=".exe"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 #include <libxml/parser.h>
12677 main (void)
12681 return 0;
12683 _ACEOF
12684 if ac_fn_c_try_compile "$LINENO"
12685 then :
12686 ac_cv_mingw_header_libxml_parser_h=yes
12687 else $as_nop
12688 ac_cv_mingw_header_libxml_parser_h=no
12690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12691 CC=$ac_wine_check_headers_saved_cc
12692 ac_exeext=$ac_wine_check_headers_saved_exeext
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12695 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12696 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12697 then :
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12701 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12702 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12703 then :
12704 printf %s "(cached) " >&6
12705 else $as_nop
12706 ac_wine_check_headers_saved_cc=$CC
12707 ac_wine_check_headers_saved_exeext=$ac_exeext
12708 CC="$CROSSCC"
12709 ac_exeext=".exe"
12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 #include <libxml/xmlsave.h>
12715 main (void)
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_compile "$LINENO"
12723 then :
12724 ac_cv_mingw_header_libxml_xmlsave_h=yes
12725 else $as_nop
12726 ac_cv_mingw_header_libxml_xmlsave_h=no
12728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12729 CC=$ac_wine_check_headers_saved_cc
12730 ac_exeext=$ac_wine_check_headers_saved_exeext
12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12733 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12734 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12735 then :
12738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12739 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12740 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12741 then :
12742 printf %s "(cached) " >&6
12743 else $as_nop
12744 ac_wine_check_headers_saved_cc=$CC
12745 ac_wine_check_headers_saved_exeext=$ac_exeext
12746 CC="$CROSSCC"
12747 ac_exeext=".exe"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 #include <libxml/SAX2.h>
12753 main (void)
12757 return 0;
12759 _ACEOF
12760 if ac_fn_c_try_compile "$LINENO"
12761 then :
12762 ac_cv_mingw_header_libxml_SAX2_h=yes
12763 else $as_nop
12764 ac_cv_mingw_header_libxml_SAX2_h=no
12766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12767 CC=$ac_wine_check_headers_saved_cc
12768 ac_exeext=$ac_wine_check_headers_saved_exeext
12770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12771 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12772 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12773 then :
12776 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"
12777 then
12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12779 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12780 if test ${ac_cv_mingw_lib_xml2+y}
12781 then :
12782 printf %s "(cached) " >&6
12783 else $as_nop
12784 ac_wine_check_headers_saved_cc=$CC
12785 ac_wine_check_headers_saved_exeext=$ac_exeext
12786 ac_wine_check_headers_saved_libs=$LIBS
12787 CC="$CROSSCC"
12788 ac_exeext=".exe"
12789 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12793 /* Override any GCC internal prototype to avoid an error.
12794 Use char because int might match the return type of a GCC
12795 builtin and then its argument prototype would still apply. */
12796 char xmlFirstElementChild ();
12798 main (void)
12800 return xmlFirstElementChild ();
12802 return 0;
12804 _ACEOF
12805 if ac_fn_c_try_link "$LINENO"
12806 then :
12807 ac_cv_mingw_lib_xml2=yes
12808 else $as_nop
12809 ac_cv_mingw_lib_xml2=no
12811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12812 conftest$ac_exeext conftest.$ac_ext
12813 CC=$ac_wine_check_headers_saved_cc
12814 ac_exeext=$ac_wine_check_headers_saved_exeext
12815 LIBS=$ac_wine_check_headers_saved_libs
12817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12818 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12819 if test "x$ac_cv_mingw_lib_xml2" = xyes
12820 then :
12822 else $as_nop
12823 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12825 else
12826 XML2_PE_CFLAGS=""
12827 XML2_PE_LIBS=""
12829 CPPFLAGS=$ac_save_CPPFLAGS
12831 if test "x$XML2_PE_LIBS" = "x"
12832 then
12833 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12836 if ${XSLT_PE_CFLAGS:+false} :
12837 then :
12838 if test ${MINGW_PKG_CONFIG+y}
12839 then :
12840 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12843 if ${XSLT_PE_LIBS:+false} :
12844 then :
12845 if test ${MINGW_PKG_CONFIG+y}
12846 then :
12847 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12850 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12851 ac_save_CPPFLAGS=$CPPFLAGS
12852 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12854 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12855 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12856 then :
12857 printf %s "(cached) " >&6
12858 else $as_nop
12859 ac_wine_check_headers_saved_cc=$CC
12860 ac_wine_check_headers_saved_exeext=$ac_exeext
12861 CC="$CROSSCC"
12862 ac_exeext=".exe"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 #include <libxslt/pattern.h>
12868 main (void)
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_compile "$LINENO"
12876 then :
12877 ac_cv_mingw_header_libxslt_pattern_h=yes
12878 else $as_nop
12879 ac_cv_mingw_header_libxslt_pattern_h=no
12881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12882 CC=$ac_wine_check_headers_saved_cc
12883 ac_exeext=$ac_wine_check_headers_saved_exeext
12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12886 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12887 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12888 then :
12891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12892 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12893 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12894 then :
12895 printf %s "(cached) " >&6
12896 else $as_nop
12897 ac_wine_check_headers_saved_cc=$CC
12898 ac_wine_check_headers_saved_exeext=$ac_exeext
12899 CC="$CROSSCC"
12900 ac_exeext=".exe"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 #include <libxslt/transform.h>
12906 main (void)
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_compile "$LINENO"
12914 then :
12915 ac_cv_mingw_header_libxslt_transform_h=yes
12916 else $as_nop
12917 ac_cv_mingw_header_libxslt_transform_h=no
12919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12920 CC=$ac_wine_check_headers_saved_cc
12921 ac_exeext=$ac_wine_check_headers_saved_exeext
12923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12924 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12925 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12926 then :
12929 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12930 then
12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12932 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12933 if test ${ac_cv_mingw_lib_xslt+y}
12934 then :
12935 printf %s "(cached) " >&6
12936 else $as_nop
12937 ac_wine_check_headers_saved_cc=$CC
12938 ac_wine_check_headers_saved_exeext=$ac_exeext
12939 ac_wine_check_headers_saved_libs=$LIBS
12940 CC="$CROSSCC"
12941 ac_exeext=".exe"
12942 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 char xsltCompilePattern ();
12951 main (void)
12953 return xsltCompilePattern ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"
12959 then :
12960 ac_cv_mingw_lib_xslt=yes
12961 else $as_nop
12962 ac_cv_mingw_lib_xslt=no
12964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12965 conftest$ac_exeext conftest.$ac_ext
12966 CC=$ac_wine_check_headers_saved_cc
12967 ac_exeext=$ac_wine_check_headers_saved_exeext
12968 LIBS=$ac_wine_check_headers_saved_libs
12970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12971 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12972 if test "x$ac_cv_mingw_lib_xslt" = xyes
12973 then :
12975 else $as_nop
12976 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12978 else
12979 XSLT_PE_CFLAGS=""
12980 XSLT_PE_LIBS=""
12982 CPPFLAGS=$ac_save_CPPFLAGS
12984 if test "x$XSLT_PE_LIBS" = "x"
12985 then
12986 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12989 if ${VKD3D_PE_CFLAGS:+false} :
12990 then :
12991 if test ${MINGW_PKG_CONFIG+y}
12992 then :
12993 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12996 if ${VKD3D_PE_LIBS:+false} :
12997 then :
12998 if test ${MINGW_PKG_CONFIG+y}
12999 then :
13000 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13003 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13004 ac_save_CPPFLAGS=$CPPFLAGS
13005 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13007 printf %s "checking for MinGW vkd3d.h... " >&6; }
13008 if test ${ac_cv_mingw_header_vkd3d_h+y}
13009 then :
13010 printf %s "(cached) " >&6
13011 else $as_nop
13012 ac_wine_check_headers_saved_cc=$CC
13013 ac_wine_check_headers_saved_exeext=$ac_exeext
13014 CC="$CROSSCC"
13015 ac_exeext=".exe"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 #include <vkd3d.h>
13021 main (void)
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_compile "$LINENO"
13029 then :
13030 ac_cv_mingw_header_vkd3d_h=yes
13031 else $as_nop
13032 ac_cv_mingw_header_vkd3d_h=no
13034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13035 CC=$ac_wine_check_headers_saved_cc
13036 ac_exeext=$ac_wine_check_headers_saved_exeext
13038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13039 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13040 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13041 then :
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13045 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13046 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13047 then :
13048 printf %s "(cached) " >&6
13049 else $as_nop
13050 ac_wine_check_headers_saved_cc=$CC
13051 ac_wine_check_headers_saved_exeext=$ac_exeext
13052 CC="$CROSSCC"
13053 ac_exeext=".exe"
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 #include <vkd3d_shader.h>
13059 main (void)
13063 return 0;
13065 _ACEOF
13066 if ac_fn_c_try_compile "$LINENO"
13067 then :
13068 ac_cv_mingw_header_vkd3d_shader_h=yes
13069 else $as_nop
13070 ac_cv_mingw_header_vkd3d_shader_h=no
13072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13073 CC=$ac_wine_check_headers_saved_cc
13074 ac_exeext=$ac_wine_check_headers_saved_exeext
13076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13077 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13078 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13079 then :
13082 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13083 then
13084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13085 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13086 if test ${ac_cv_mingw_lib_vkd3d+y}
13087 then :
13088 printf %s "(cached) " >&6
13089 else $as_nop
13090 ac_wine_check_headers_saved_cc=$CC
13091 ac_wine_check_headers_saved_exeext=$ac_exeext
13092 ac_wine_check_headers_saved_libs=$LIBS
13093 CC="$CROSSCC"
13094 ac_exeext=".exe"
13095 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097 /* end confdefs.h. */
13099 /* Override any GCC internal prototype to avoid an error.
13100 Use char because int might match the return type of a GCC
13101 builtin and then its argument prototype would still apply. */
13102 char vkd3d_set_log_callback ();
13104 main (void)
13106 return vkd3d_set_log_callback ();
13108 return 0;
13110 _ACEOF
13111 if ac_fn_c_try_link "$LINENO"
13112 then :
13113 ac_cv_mingw_lib_vkd3d=yes
13114 else $as_nop
13115 ac_cv_mingw_lib_vkd3d=no
13117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13118 conftest$ac_exeext conftest.$ac_ext
13119 CC=$ac_wine_check_headers_saved_cc
13120 ac_exeext=$ac_wine_check_headers_saved_exeext
13121 LIBS=$ac_wine_check_headers_saved_libs
13123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13124 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13125 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13126 then :
13128 else $as_nop
13131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13132 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13133 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13134 then :
13135 printf %s "(cached) " >&6
13136 else $as_nop
13137 ac_wine_check_headers_saved_cc=$CC
13138 ac_wine_check_headers_saved_exeext=$ac_exeext
13139 ac_wine_check_headers_saved_libs=$LIBS
13140 CC="$CROSSCC"
13141 ac_exeext=".exe"
13142 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 /* Override any GCC internal prototype to avoid an error.
13147 Use char because int might match the return type of a GCC
13148 builtin and then its argument prototype would still apply. */
13149 char vkd3d_shader_compile ();
13151 main (void)
13153 return vkd3d_shader_compile ();
13155 return 0;
13157 _ACEOF
13158 if ac_fn_c_try_link "$LINENO"
13159 then :
13160 ac_cv_mingw_lib_vkd3d_shader=yes
13161 else $as_nop
13162 ac_cv_mingw_lib_vkd3d_shader=no
13164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13165 conftest$ac_exeext conftest.$ac_ext
13166 CC=$ac_wine_check_headers_saved_cc
13167 ac_exeext=$ac_wine_check_headers_saved_exeext
13168 LIBS=$ac_wine_check_headers_saved_libs
13170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13171 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13172 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13173 then :
13175 else $as_nop
13178 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13179 then
13180 VKD3D_PE_CFLAGS=""
13181 VKD3D_PE_LIBS=""
13183 else
13184 VKD3D_PE_CFLAGS=""
13185 VKD3D_PE_LIBS=""
13187 CPPFLAGS=$ac_save_CPPFLAGS
13189 if test "x$VKD3D_PE_LIBS" = "x"
13190 then
13191 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13194 if ${ZLIB_PE_CFLAGS:+false} :
13195 then :
13196 if test ${MINGW_PKG_CONFIG+y}
13197 then :
13198 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13201 if ${ZLIB_PE_LIBS:+false} :
13202 then :
13203 if test ${MINGW_PKG_CONFIG+y}
13204 then :
13205 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13208 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13209 ac_save_CPPFLAGS=$CPPFLAGS
13210 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13212 printf %s "checking for MinGW zlib.h... " >&6; }
13213 if test ${ac_cv_mingw_header_zlib_h+y}
13214 then :
13215 printf %s "(cached) " >&6
13216 else $as_nop
13217 ac_wine_check_headers_saved_cc=$CC
13218 ac_wine_check_headers_saved_exeext=$ac_exeext
13219 CC="$CROSSCC"
13220 ac_exeext=".exe"
13221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13222 /* end confdefs.h. */
13224 #include <zlib.h>
13226 main (void)
13230 return 0;
13232 _ACEOF
13233 if ac_fn_c_try_compile "$LINENO"
13234 then :
13235 ac_cv_mingw_header_zlib_h=yes
13236 else $as_nop
13237 ac_cv_mingw_header_zlib_h=no
13239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13240 CC=$ac_wine_check_headers_saved_cc
13241 ac_exeext=$ac_wine_check_headers_saved_exeext
13243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13244 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13245 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13246 then :
13247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13248 printf %s "checking for inflate in MinGW -lz... " >&6; }
13249 if test ${ac_cv_mingw_lib_z+y}
13250 then :
13251 printf %s "(cached) " >&6
13252 else $as_nop
13253 ac_wine_check_headers_saved_cc=$CC
13254 ac_wine_check_headers_saved_exeext=$ac_exeext
13255 ac_wine_check_headers_saved_libs=$LIBS
13256 CC="$CROSSCC"
13257 ac_exeext=".exe"
13258 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 char inflate ();
13267 main (void)
13269 return inflate ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"
13275 then :
13276 ac_cv_mingw_lib_z=yes
13277 else $as_nop
13278 ac_cv_mingw_lib_z=no
13280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13281 conftest$ac_exeext conftest.$ac_ext
13282 CC=$ac_wine_check_headers_saved_cc
13283 ac_exeext=$ac_wine_check_headers_saved_exeext
13284 LIBS=$ac_wine_check_headers_saved_libs
13286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13287 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13288 if test "x$ac_cv_mingw_lib_z" = xyes
13289 then :
13291 else $as_nop
13292 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13294 else $as_nop
13295 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13297 CPPFLAGS=$ac_save_CPPFLAGS
13299 if test "x$ZLIB_PE_LIBS" = "x"
13300 then
13301 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13305 if ${FAUDIO_PE_LIBS:+false} :
13306 then :
13307 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13308 if ${FAUDIO_PE_CFLAGS:+false} :
13309 then :
13310 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13311 else $as_nop
13312 enable_faudio=no
13314 else $as_nop
13315 enable_faudio=no
13317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13320 if ${GSM_PE_LIBS:+false} :
13321 then :
13322 GSM_PE_LIBS=gsm
13323 if ${GSM_PE_CFLAGS:+false} :
13324 then :
13325 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13326 else $as_nop
13327 enable_gsm=no
13329 else $as_nop
13330 enable_gsm=no
13332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13335 if ${JPEG_PE_LIBS:+false} :
13336 then :
13337 JPEG_PE_LIBS=jpeg
13338 if ${JPEG_PE_CFLAGS:+false} :
13339 then :
13340 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13341 else $as_nop
13342 enable_jpeg=no
13344 else $as_nop
13345 enable_jpeg=no
13347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13350 if ${JXR_PE_LIBS:+false} :
13351 then :
13352 JXR_PE_LIBS=jxr
13353 if ${JXR_PE_CFLAGS:+false} :
13354 then :
13355 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13356 else $as_nop
13357 enable_jxr=no
13359 else $as_nop
13360 enable_jxr=no
13362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13365 if ${LCMS2_PE_LIBS:+false} :
13366 then :
13367 LCMS2_PE_LIBS=lcms2
13368 if ${LCMS2_PE_CFLAGS:+false} :
13369 then :
13370 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13371 else $as_nop
13372 enable_lcms2=no
13374 else $as_nop
13375 enable_lcms2=no
13377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13380 if ${MPG123_PE_LIBS:+false} :
13381 then :
13382 MPG123_PE_LIBS=mpg123
13383 if ${MPG123_PE_CFLAGS:+false} :
13384 then :
13385 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13386 else $as_nop
13387 enable_mpg123=no
13389 else $as_nop
13390 enable_mpg123=no
13392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13395 if ${PNG_PE_LIBS:+false} :
13396 then :
13397 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13398 if ${PNG_PE_CFLAGS:+false} :
13399 then :
13400 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13401 else $as_nop
13402 enable_png=no
13404 else $as_nop
13405 enable_png=no
13407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13410 if ${TIFF_PE_LIBS:+false} :
13411 then :
13412 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13413 if ${TIFF_PE_CFLAGS:+false} :
13414 then :
13415 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13416 else $as_nop
13417 enable_tiff=no
13419 else $as_nop
13420 enable_tiff=no
13422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13425 if ${VKD3D_PE_LIBS:+false} :
13426 then :
13427 VKD3D_PE_LIBS=vkd3d
13428 if ${VKD3D_PE_CFLAGS:+false} :
13429 then :
13430 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13431 else $as_nop
13432 enable_vkd3d=no
13434 else $as_nop
13435 enable_vkd3d=no
13437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13440 if ${XML2_PE_LIBS:+false} :
13441 then :
13442 XML2_PE_LIBS=xml2
13443 if ${XML2_PE_CFLAGS:+false} :
13444 then :
13445 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13446 else $as_nop
13447 enable_xml2=no
13449 else $as_nop
13450 enable_xml2=no
13452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13455 if ${XSLT_PE_LIBS:+false} :
13456 then :
13457 XSLT_PE_LIBS=xslt
13458 if ${XSLT_PE_CFLAGS:+false} :
13459 then :
13460 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13461 else $as_nop
13462 enable_xslt=no
13464 else $as_nop
13465 enable_xslt=no
13467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13470 if ${ZLIB_PE_LIBS:+false} :
13471 then :
13472 ZLIB_PE_LIBS=z
13473 if ${ZLIB_PE_CFLAGS:+false} :
13474 then :
13475 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13476 else $as_nop
13477 enable_zlib=no
13479 else $as_nop
13480 enable_zlib=no
13482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13487 if test "$ac_cv_header_pthread_h" = "yes"
13488 then
13489 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13490 if test "x$ac_cv_func_pthread_create" = xyes
13491 then :
13493 else $as_nop
13494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13495 printf %s "checking for pthread_create in -lpthread... " >&6; }
13496 if test ${ac_cv_lib_pthread_pthread_create+y}
13497 then :
13498 printf %s "(cached) " >&6
13499 else $as_nop
13500 ac_check_lib_save_LIBS=$LIBS
13501 LIBS="-lpthread $LIBS"
13502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13508 char pthread_create ();
13510 main (void)
13512 return pthread_create ();
13514 return 0;
13516 _ACEOF
13517 if ac_fn_c_try_link "$LINENO"
13518 then :
13519 ac_cv_lib_pthread_pthread_create=yes
13520 else $as_nop
13521 ac_cv_lib_pthread_pthread_create=no
13523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13524 conftest$ac_exeext conftest.$ac_ext
13525 LIBS=$ac_check_lib_save_LIBS
13527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13528 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13529 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13530 then :
13531 PTHREAD_LIBS="-lpthread"
13538 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13539 then :
13540 case "x$with_pthread" in
13541 xno) ;;
13542 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13543 Wine cannot support threads without libpthread.
13544 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13545 esac
13550 ac_ext=c
13551 ac_cpp='$CPP $CPPFLAGS'
13552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13556 printf %s "checking how to run the C preprocessor... " >&6; }
13557 # On Suns, sometimes $CPP names a directory.
13558 if test -n "$CPP" && test -d "$CPP"; then
13559 CPP=
13561 if test -z "$CPP"; then
13562 if test ${ac_cv_prog_CPP+y}
13563 then :
13564 printf %s "(cached) " >&6
13565 else $as_nop
13566 # Double quotes because $CC needs to be expanded
13567 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13569 ac_preproc_ok=false
13570 for ac_c_preproc_warn_flag in '' yes
13572 # Use a header file that comes with gcc, so configuring glibc
13573 # with a fresh cross-compiler works.
13574 # On the NeXT, cc -E runs the code through the compiler's parser,
13575 # not just through cpp. "Syntax error" is here to catch this case.
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13578 #include <limits.h>
13579 Syntax error
13580 _ACEOF
13581 if ac_fn_c_try_cpp "$LINENO"
13582 then :
13584 else $as_nop
13585 # Broken: fails on valid input.
13586 continue
13588 rm -f conftest.err conftest.i conftest.$ac_ext
13590 # OK, works on sane cases. Now check whether nonexistent headers
13591 # can be detected and how.
13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13594 #include <ac_nonexistent.h>
13595 _ACEOF
13596 if ac_fn_c_try_cpp "$LINENO"
13597 then :
13598 # Broken: success on invalid input.
13599 continue
13600 else $as_nop
13601 # Passes both tests.
13602 ac_preproc_ok=:
13603 break
13605 rm -f conftest.err conftest.i conftest.$ac_ext
13607 done
13608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13609 rm -f conftest.i conftest.err conftest.$ac_ext
13610 if $ac_preproc_ok
13611 then :
13612 break
13615 done
13616 ac_cv_prog_CPP=$CPP
13619 CPP=$ac_cv_prog_CPP
13620 else
13621 ac_cv_prog_CPP=$CPP
13623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13624 printf "%s\n" "$CPP" >&6; }
13625 ac_preproc_ok=false
13626 for ac_c_preproc_warn_flag in '' yes
13628 # Use a header file that comes with gcc, so configuring glibc
13629 # with a fresh cross-compiler works.
13630 # On the NeXT, cc -E runs the code through the compiler's parser,
13631 # not just through cpp. "Syntax error" is here to catch this case.
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 #include <limits.h>
13635 Syntax error
13636 _ACEOF
13637 if ac_fn_c_try_cpp "$LINENO"
13638 then :
13640 else $as_nop
13641 # Broken: fails on valid input.
13642 continue
13644 rm -f conftest.err conftest.i conftest.$ac_ext
13646 # OK, works on sane cases. Now check whether nonexistent headers
13647 # can be detected and how.
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13650 #include <ac_nonexistent.h>
13651 _ACEOF
13652 if ac_fn_c_try_cpp "$LINENO"
13653 then :
13654 # Broken: success on invalid input.
13655 continue
13656 else $as_nop
13657 # Passes both tests.
13658 ac_preproc_ok=:
13659 break
13661 rm -f conftest.err conftest.i conftest.$ac_ext
13663 done
13664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13665 rm -f conftest.i conftest.err conftest.$ac_ext
13666 if $ac_preproc_ok
13667 then :
13669 else $as_nop
13670 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13671 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13672 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13673 See \`config.log' for more details" "$LINENO" 5; }
13676 ac_ext=c
13677 ac_cpp='$CPP $CPPFLAGS'
13678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13684 printf %s "checking for X... " >&6; }
13687 # Check whether --with-x was given.
13688 if test ${with_x+y}
13689 then :
13690 withval=$with_x;
13693 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13694 if test "x$with_x" = xno; then
13695 # The user explicitly disabled X.
13696 have_x=disabled
13697 else
13698 case $x_includes,$x_libraries in #(
13699 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13700 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13701 then :
13702 printf %s "(cached) " >&6
13703 else $as_nop
13704 # One or both of the vars are not set, and there is no cached value.
13705 ac_x_includes=no
13706 ac_x_libraries=no
13707 # Do we need to do anything special at all?
13708 ac_save_LIBS=$LIBS
13709 LIBS="-lX11 $LIBS"
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 #include <X11/Xlib.h>
13714 main (void)
13716 XrmInitialize ()
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_link "$LINENO"
13722 then :
13723 # We can compile and link X programs with no special options.
13724 ac_x_includes=
13725 ac_x_libraries=
13727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13728 conftest$ac_exeext conftest.$ac_ext
13729 LIBS="$ac_save_LIBS"
13730 # If that didn't work, only try xmkmf and file system searches
13731 # for native compilation.
13732 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13733 then :
13734 rm -f -r conftest.dir
13735 if mkdir conftest.dir; then
13736 cd conftest.dir
13737 cat >Imakefile <<'_ACEOF'
13738 incroot:
13739 @echo incroot='${INCROOT}'
13740 usrlibdir:
13741 @echo usrlibdir='${USRLIBDIR}'
13742 libdir:
13743 @echo libdir='${LIBDIR}'
13744 _ACEOF
13745 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13747 for ac_var in incroot usrlibdir libdir; do
13748 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13749 done
13750 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13751 for ac_extension in a so sl dylib la dll; do
13752 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13753 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13754 ac_im_usrlibdir=$ac_im_libdir; break
13756 done
13757 # Screen out bogus values from the imake configuration. They are
13758 # bogus both because they are the default anyway, and because
13759 # using them would break gcc on systems where it needs fixed includes.
13760 case $ac_im_incroot in
13761 /usr/include) ac_x_includes= ;;
13762 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13763 esac
13764 case $ac_im_usrlibdir in
13765 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13766 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13767 esac
13769 cd ..
13770 rm -f -r conftest.dir
13773 # Standard set of common directories for X headers.
13774 # Check X11 before X11Rn because it is often a symlink to the current release.
13775 ac_x_header_dirs='
13776 /usr/X11/include
13777 /usr/X11R7/include
13778 /usr/X11R6/include
13779 /usr/X11R5/include
13780 /usr/X11R4/include
13782 /usr/include/X11
13783 /usr/include/X11R7
13784 /usr/include/X11R6
13785 /usr/include/X11R5
13786 /usr/include/X11R4
13788 /usr/local/X11/include
13789 /usr/local/X11R7/include
13790 /usr/local/X11R6/include
13791 /usr/local/X11R5/include
13792 /usr/local/X11R4/include
13794 /usr/local/include/X11
13795 /usr/local/include/X11R7
13796 /usr/local/include/X11R6
13797 /usr/local/include/X11R5
13798 /usr/local/include/X11R4
13800 /opt/X11/include
13802 /usr/X386/include
13803 /usr/x386/include
13804 /usr/XFree86/include/X11
13806 /usr/include
13807 /usr/local/include
13808 /usr/unsupported/include
13809 /usr/athena/include
13810 /usr/local/x11r5/include
13811 /usr/lpp/Xamples/include
13813 /usr/openwin/include
13814 /usr/openwin/share/include'
13816 if test "$ac_x_includes" = no; then
13817 # Guess where to find include files, by looking for Xlib.h.
13818 # First, try using that file with no special directory specified.
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 #include <X11/Xlib.h>
13822 _ACEOF
13823 if ac_fn_c_try_cpp "$LINENO"
13824 then :
13825 # We can compile using X headers with no special include directory.
13826 ac_x_includes=
13827 else $as_nop
13828 for ac_dir in $ac_x_header_dirs; do
13829 if test -r "$ac_dir/X11/Xlib.h"; then
13830 ac_x_includes=$ac_dir
13831 break
13833 done
13835 rm -f conftest.err conftest.i conftest.$ac_ext
13836 fi # $ac_x_includes = no
13838 if test "$ac_x_libraries" = no; then
13839 # Check for the libraries.
13840 # See if we find them without any special options.
13841 # Don't add to $LIBS permanently.
13842 ac_save_LIBS=$LIBS
13843 LIBS="-lX11 $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13846 #include <X11/Xlib.h>
13848 main (void)
13850 XrmInitialize ()
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"
13856 then :
13857 LIBS=$ac_save_LIBS
13858 # We can link X programs with no special library path.
13859 ac_x_libraries=
13860 else $as_nop
13861 LIBS=$ac_save_LIBS
13862 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13864 # Don't even attempt the hair of trying to link an X program!
13865 for ac_extension in a so sl dylib la dll; do
13866 if test -r "$ac_dir/libX11.$ac_extension"; then
13867 ac_x_libraries=$ac_dir
13868 break 2
13870 done
13871 done
13873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13874 conftest$ac_exeext conftest.$ac_ext
13875 fi # $ac_x_libraries = no
13878 # Record the results.
13879 case $ac_x_includes,$ac_x_libraries in #(
13880 no,* | *,no | *\'*) :
13881 # Didn't find X, or a directory has "'" in its name.
13882 ac_cv_have_x="have_x=no" ;; #(
13883 *) :
13884 # Record where we found X for the cache.
13885 ac_cv_have_x="have_x=yes\
13886 ac_x_includes='$ac_x_includes'\
13887 ac_x_libraries='$ac_x_libraries'" ;;
13888 esac
13890 ;; #(
13891 *) have_x=yes;;
13892 esac
13893 eval "$ac_cv_have_x"
13894 fi # $with_x != no
13896 if test "$have_x" != yes; then
13897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13898 printf "%s\n" "$have_x" >&6; }
13899 no_x=yes
13900 else
13901 # If each of the values was on the command line, it overrides each guess.
13902 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13903 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13904 # Update the cache value to reflect the command line values.
13905 ac_cv_have_x="have_x=yes\
13906 ac_x_includes='$x_includes'\
13907 ac_x_libraries='$x_libraries'"
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13909 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13912 if test "$no_x" = yes; then
13913 # Not all programs may use this symbol, but it does not hurt to define it.
13915 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13917 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13918 else
13919 if test -n "$x_includes"; then
13920 X_CFLAGS="$X_CFLAGS -I$x_includes"
13923 # It would also be nice to do this for all -L options, not just this one.
13924 if test -n "$x_libraries"; then
13925 X_LIBS="$X_LIBS -L$x_libraries"
13926 # For Solaris; some versions of Sun CC require a space after -R and
13927 # others require no space. Words are not sufficient . . . .
13928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13929 printf %s "checking whether -R must be followed by a space... " >&6; }
13930 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13931 ac_xsave_c_werror_flag=$ac_c_werror_flag
13932 ac_c_werror_flag=yes
13933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13934 /* end confdefs.h. */
13937 main (void)
13941 return 0;
13943 _ACEOF
13944 if ac_fn_c_try_link "$LINENO"
13945 then :
13946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13947 printf "%s\n" "no" >&6; }
13948 X_LIBS="$X_LIBS -R$x_libraries"
13949 else $as_nop
13950 LIBS="$ac_xsave_LIBS -R $x_libraries"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13955 main (void)
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_link "$LINENO"
13963 then :
13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13965 printf "%s\n" "yes" >&6; }
13966 X_LIBS="$X_LIBS -R $x_libraries"
13967 else $as_nop
13968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13969 printf "%s\n" "neither works" >&6; }
13971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13972 conftest$ac_exeext conftest.$ac_ext
13974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13975 conftest$ac_exeext conftest.$ac_ext
13976 ac_c_werror_flag=$ac_xsave_c_werror_flag
13977 LIBS=$ac_xsave_LIBS
13980 # Check for system-dependent libraries X programs must link with.
13981 # Do this before checking for the system-independent R6 libraries
13982 # (-lICE), since we may need -lsocket or whatever for X linking.
13984 if test "$ISC" = yes; then
13985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13986 else
13987 # Martyn Johnson says this is needed for Ultrix, if the X
13988 # libraries were built with DECnet support. And Karl Berry says
13989 # the Alpha needs dnet_stub (dnet does not exist).
13990 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 char XOpenDisplay ();
13999 main (void)
14001 return XOpenDisplay ();
14003 return 0;
14005 _ACEOF
14006 if ac_fn_c_try_link "$LINENO"
14007 then :
14009 else $as_nop
14010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14011 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14012 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14013 then :
14014 printf %s "(cached) " >&6
14015 else $as_nop
14016 ac_check_lib_save_LIBS=$LIBS
14017 LIBS="-ldnet $LIBS"
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14021 /* Override any GCC internal prototype to avoid an error.
14022 Use char because int might match the return type of a GCC
14023 builtin and then its argument prototype would still apply. */
14024 char dnet_ntoa ();
14026 main (void)
14028 return dnet_ntoa ();
14030 return 0;
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"
14034 then :
14035 ac_cv_lib_dnet_dnet_ntoa=yes
14036 else $as_nop
14037 ac_cv_lib_dnet_dnet_ntoa=no
14039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14040 conftest$ac_exeext conftest.$ac_ext
14041 LIBS=$ac_check_lib_save_LIBS
14043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14044 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14045 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14046 then :
14047 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14050 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14052 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14053 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14054 then :
14055 printf %s "(cached) " >&6
14056 else $as_nop
14057 ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-ldnet_stub $LIBS"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14065 char dnet_ntoa ();
14067 main (void)
14069 return dnet_ntoa ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"
14075 then :
14076 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14077 else $as_nop
14078 ac_cv_lib_dnet_stub_dnet_ntoa=no
14080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_lib_save_LIBS
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14085 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14086 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14087 then :
14088 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14094 conftest$ac_exeext conftest.$ac_ext
14095 LIBS="$ac_xsave_LIBS"
14097 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14098 # to get the SysV transport functions.
14099 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14100 # needs -lnsl.
14101 # The nsl library prevents programs from opening the X display
14102 # on Irix 5.2, according to T.E. Dickey.
14103 # The functions gethostbyname, getservbyname, and inet_addr are
14104 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14105 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14106 if test "x$ac_cv_func_gethostbyname" = xyes
14107 then :
14111 if test $ac_cv_func_gethostbyname = no; then
14112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14113 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14114 if test ${ac_cv_lib_nsl_gethostbyname+y}
14115 then :
14116 printf %s "(cached) " >&6
14117 else $as_nop
14118 ac_check_lib_save_LIBS=$LIBS
14119 LIBS="-lnsl $LIBS"
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14123 /* Override any GCC internal prototype to avoid an error.
14124 Use char because int might match the return type of a GCC
14125 builtin and then its argument prototype would still apply. */
14126 char gethostbyname ();
14128 main (void)
14130 return gethostbyname ();
14132 return 0;
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"
14136 then :
14137 ac_cv_lib_nsl_gethostbyname=yes
14138 else $as_nop
14139 ac_cv_lib_nsl_gethostbyname=no
14141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14142 conftest$ac_exeext conftest.$ac_ext
14143 LIBS=$ac_check_lib_save_LIBS
14145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14146 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14147 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14148 then :
14149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14152 if test $ac_cv_lib_nsl_gethostbyname = no; then
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14154 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14155 if test ${ac_cv_lib_bsd_gethostbyname+y}
14156 then :
14157 printf %s "(cached) " >&6
14158 else $as_nop
14159 ac_check_lib_save_LIBS=$LIBS
14160 LIBS="-lbsd $LIBS"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14167 char gethostbyname ();
14169 main (void)
14171 return gethostbyname ();
14173 return 0;
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"
14177 then :
14178 ac_cv_lib_bsd_gethostbyname=yes
14179 else $as_nop
14180 ac_cv_lib_bsd_gethostbyname=no
14182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14183 conftest$ac_exeext conftest.$ac_ext
14184 LIBS=$ac_check_lib_save_LIBS
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14187 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14188 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14189 then :
14190 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14196 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14197 # socket/setsockopt and other routines are undefined under SCO ODT
14198 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14199 # on later versions), says Simon Leinen: it contains gethostby*
14200 # variants that don't use the name server (or something). -lsocket
14201 # must be given before -lnsl if both are needed. We assume that
14202 # if connect needs -lnsl, so does gethostbyname.
14203 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14204 if test "x$ac_cv_func_connect" = xyes
14205 then :
14209 if test $ac_cv_func_connect = no; then
14210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14211 printf %s "checking for connect in -lsocket... " >&6; }
14212 if test ${ac_cv_lib_socket_connect+y}
14213 then :
14214 printf %s "(cached) " >&6
14215 else $as_nop
14216 ac_check_lib_save_LIBS=$LIBS
14217 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14221 /* Override any GCC internal prototype to avoid an error.
14222 Use char because int might match the return type of a GCC
14223 builtin and then its argument prototype would still apply. */
14224 char connect ();
14226 main (void)
14228 return connect ();
14230 return 0;
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"
14234 then :
14235 ac_cv_lib_socket_connect=yes
14236 else $as_nop
14237 ac_cv_lib_socket_connect=no
14239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14240 conftest$ac_exeext conftest.$ac_ext
14241 LIBS=$ac_check_lib_save_LIBS
14243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14244 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14245 if test "x$ac_cv_lib_socket_connect" = xyes
14246 then :
14247 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14252 # Guillermo Gomez says -lposix is necessary on A/UX.
14253 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14254 if test "x$ac_cv_func_remove" = xyes
14255 then :
14259 if test $ac_cv_func_remove = no; then
14260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14261 printf %s "checking for remove in -lposix... " >&6; }
14262 if test ${ac_cv_lib_posix_remove+y}
14263 then :
14264 printf %s "(cached) " >&6
14265 else $as_nop
14266 ac_check_lib_save_LIBS=$LIBS
14267 LIBS="-lposix $LIBS"
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14271 /* Override any GCC internal prototype to avoid an error.
14272 Use char because int might match the return type of a GCC
14273 builtin and then its argument prototype would still apply. */
14274 char remove ();
14276 main (void)
14278 return remove ();
14280 return 0;
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"
14284 then :
14285 ac_cv_lib_posix_remove=yes
14286 else $as_nop
14287 ac_cv_lib_posix_remove=no
14289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14290 conftest$ac_exeext conftest.$ac_ext
14291 LIBS=$ac_check_lib_save_LIBS
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14294 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14295 if test "x$ac_cv_lib_posix_remove" = xyes
14296 then :
14297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14302 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14303 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14304 if test "x$ac_cv_func_shmat" = xyes
14305 then :
14309 if test $ac_cv_func_shmat = no; then
14310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14311 printf %s "checking for shmat in -lipc... " >&6; }
14312 if test ${ac_cv_lib_ipc_shmat+y}
14313 then :
14314 printf %s "(cached) " >&6
14315 else $as_nop
14316 ac_check_lib_save_LIBS=$LIBS
14317 LIBS="-lipc $LIBS"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14321 /* Override any GCC internal prototype to avoid an error.
14322 Use char because int might match the return type of a GCC
14323 builtin and then its argument prototype would still apply. */
14324 char shmat ();
14326 main (void)
14328 return shmat ();
14330 return 0;
14332 _ACEOF
14333 if ac_fn_c_try_link "$LINENO"
14334 then :
14335 ac_cv_lib_ipc_shmat=yes
14336 else $as_nop
14337 ac_cv_lib_ipc_shmat=no
14339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14340 conftest$ac_exeext conftest.$ac_ext
14341 LIBS=$ac_check_lib_save_LIBS
14343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14344 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14345 if test "x$ac_cv_lib_ipc_shmat" = xyes
14346 then :
14347 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14353 # Check for libraries that X11R6 Xt/Xaw programs need.
14354 ac_save_LDFLAGS=$LDFLAGS
14355 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14356 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14357 # check for ICE first), but we must link in the order -lSM -lICE or
14358 # we get undefined symbols. So assume we have SM if we have ICE.
14359 # These have to be linked with before -lX11, unlike the other
14360 # libraries we check for below, so use a different variable.
14361 # John Interrante, Karl Berry
14362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14363 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14364 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14365 then :
14366 printf %s "(cached) " >&6
14367 else $as_nop
14368 ac_check_lib_save_LIBS=$LIBS
14369 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14373 /* Override any GCC internal prototype to avoid an error.
14374 Use char because int might match the return type of a GCC
14375 builtin and then its argument prototype would still apply. */
14376 char IceConnectionNumber ();
14378 main (void)
14380 return IceConnectionNumber ();
14382 return 0;
14384 _ACEOF
14385 if ac_fn_c_try_link "$LINENO"
14386 then :
14387 ac_cv_lib_ICE_IceConnectionNumber=yes
14388 else $as_nop
14389 ac_cv_lib_ICE_IceConnectionNumber=no
14391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14392 conftest$ac_exeext conftest.$ac_ext
14393 LIBS=$ac_check_lib_save_LIBS
14395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14396 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14397 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14398 then :
14399 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14402 LDFLAGS=$ac_save_LDFLAGS
14407 if test "$have_x" = "yes"
14408 then
14409 ac_save_CPPFLAGS="$CPPFLAGS"
14410 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14413 printf %s "checking for -lX11... " >&6; }
14414 if test ${ac_cv_lib_soname_X11+y}
14415 then :
14416 printf %s "(cached) " >&6
14417 else $as_nop
14418 ac_check_soname_save_LIBS=$LIBS
14419 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14423 /* Override any GCC internal prototype to avoid an error.
14424 Use char because int might match the return type of a GCC
14425 builtin and then its argument prototype would still apply. */
14426 char XCreateWindow ();
14428 main (void)
14430 return XCreateWindow ();
14432 return 0;
14434 _ACEOF
14435 if ac_fn_c_try_link "$LINENO"
14436 then :
14437 case "$LIBEXT" in
14438 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14439 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'` ;;
14440 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14441 if ${ac_cv_lib_soname_X11:+false} :
14442 then :
14443 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14444 fi ;;
14445 esac
14446 else $as_nop
14447 ac_cv_lib_soname_X11=
14449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14450 conftest$ac_exeext conftest.$ac_ext
14451 LIBS=$ac_check_soname_save_LIBS
14453 if ${ac_cv_lib_soname_X11:+false} :
14454 then :
14455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14456 printf "%s\n" "not found" >&6; }
14458 else $as_nop
14459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14460 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14462 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14467 printf %s "checking for -lXext... " >&6; }
14468 if test ${ac_cv_lib_soname_Xext+y}
14469 then :
14470 printf %s "(cached) " >&6
14471 else $as_nop
14472 ac_check_soname_save_LIBS=$LIBS
14473 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14477 /* Override any GCC internal prototype to avoid an error.
14478 Use char because int might match the return type of a GCC
14479 builtin and then its argument prototype would still apply. */
14480 char XextCreateExtension ();
14482 main (void)
14484 return XextCreateExtension ();
14486 return 0;
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"
14490 then :
14491 case "$LIBEXT" in
14492 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14493 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'` ;;
14494 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14495 if ${ac_cv_lib_soname_Xext:+false} :
14496 then :
14497 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14498 fi ;;
14499 esac
14500 else $as_nop
14501 ac_cv_lib_soname_Xext=
14503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14504 conftest$ac_exeext conftest.$ac_ext
14505 LIBS=$ac_check_soname_save_LIBS
14507 if ${ac_cv_lib_soname_Xext:+false} :
14508 then :
14509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14510 printf "%s\n" "not found" >&6; }
14512 else $as_nop
14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14514 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14516 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14518 X_LIBS="$X_LIBS -lXext"
14520 X_LIBS="$X_LIBS -lX11"
14522 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14523 # include <X11/Xlib.h>
14524 #endif
14525 #ifdef HAVE_X11_XUTIL_H
14526 # include <X11/Xutil.h>
14527 #endif
14529 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14530 then :
14531 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14534 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14535 # include <X11/Xlib.h>
14536 #endif
14537 #ifdef HAVE_X11_XUTIL_H
14538 # include <X11/Xutil.h>
14539 #endif
14541 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14542 then :
14543 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14546 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14547 # include <X11/Xlib.h>
14548 #endif
14549 #ifdef HAVE_X11_XUTIL_H
14550 # include <X11/Xutil.h>
14551 #endif
14553 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14554 then :
14555 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14558 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14559 # include <X11/Xlib.h>
14560 #endif
14561 #ifdef HAVE_X11_XUTIL_H
14562 # include <X11/Xutil.h>
14563 #endif
14565 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14566 then :
14567 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14570 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14571 # include <X11/Xlib.h>
14572 #endif
14573 #ifdef HAVE_X11_XUTIL_H
14574 # include <X11/Xutil.h>
14575 #endif
14577 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14578 then :
14579 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14582 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14583 # include <X11/Xlib.h>
14584 #endif
14585 #ifdef HAVE_X11_XUTIL_H
14586 # include <X11/Xutil.h>
14587 #endif
14589 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14590 then :
14591 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14594 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14595 # include <X11/Xlib.h>
14596 #endif
14597 #ifdef HAVE_X11_XUTIL_H
14598 # include <X11/Xutil.h>
14599 #endif
14601 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14602 then :
14603 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14606 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14607 # include <X11/Xlib.h>
14608 #endif
14609 #ifdef HAVE_X11_XUTIL_H
14610 # include <X11/Xutil.h>
14611 #endif
14613 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14614 then :
14615 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14618 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14619 # include <X11/Xlib.h>
14620 #endif
14621 #ifdef HAVE_X11_XUTIL_H
14622 # include <X11/Xutil.h>
14623 #endif
14625 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14626 then :
14627 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14630 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14631 # include <X11/Xlib.h>
14632 #endif
14633 #ifdef HAVE_X11_XUTIL_H
14634 # include <X11/Xutil.h>
14635 #endif
14637 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14638 then :
14639 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14642 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14643 # include <X11/Xlib.h>
14644 #endif
14645 #ifdef HAVE_X11_XUTIL_H
14646 # include <X11/Xutil.h>
14647 #endif
14649 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14650 then :
14651 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14654 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14655 # include <X11/Xlib.h>
14656 #endif
14657 #ifdef HAVE_X11_XUTIL_H
14658 # include <X11/Xutil.h>
14659 #endif
14661 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14662 then :
14663 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14666 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14667 # include <X11/Xlib.h>
14668 #endif
14669 #ifdef HAVE_X11_XUTIL_H
14670 # include <X11/Xutil.h>
14671 #endif
14673 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14674 then :
14675 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14678 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14679 # include <X11/Xlib.h>
14680 #endif
14681 #ifdef HAVE_X11_XUTIL_H
14682 # include <X11/Xutil.h>
14683 #endif
14685 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14686 then :
14687 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14690 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14691 # include <X11/Xlib.h>
14692 #endif
14693 #ifdef HAVE_X11_XUTIL_H
14694 # include <X11/Xutil.h>
14695 #endif
14697 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14698 then :
14699 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14704 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14705 then
14706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14707 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14708 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14709 then :
14710 printf %s "(cached) " >&6
14711 else $as_nop
14712 ac_check_lib_save_LIBS=$LIBS
14713 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 char XkbQueryExtension ();
14722 main (void)
14724 return XkbQueryExtension ();
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"
14730 then :
14731 ac_cv_lib_X11_XkbQueryExtension=yes
14732 else $as_nop
14733 ac_cv_lib_X11_XkbQueryExtension=no
14735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14736 conftest$ac_exeext conftest.$ac_ext
14737 LIBS=$ac_check_lib_save_LIBS
14739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14740 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14741 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14742 then :
14744 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14750 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14751 then
14752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14753 printf %s "checking for -lXcursor... " >&6; }
14754 if test ${ac_cv_lib_soname_Xcursor+y}
14755 then :
14756 printf %s "(cached) " >&6
14757 else $as_nop
14758 ac_check_soname_save_LIBS=$LIBS
14759 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14766 char XcursorImageLoadCursor ();
14768 main (void)
14770 return XcursorImageLoadCursor ();
14772 return 0;
14774 _ACEOF
14775 if ac_fn_c_try_link "$LINENO"
14776 then :
14777 case "$LIBEXT" in
14778 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14779 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'` ;;
14780 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14781 if ${ac_cv_lib_soname_Xcursor:+false} :
14782 then :
14783 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14784 fi ;;
14785 esac
14786 else $as_nop
14787 ac_cv_lib_soname_Xcursor=
14789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14790 conftest$ac_exeext conftest.$ac_ext
14791 LIBS=$ac_check_soname_save_LIBS
14793 if ${ac_cv_lib_soname_Xcursor:+false} :
14794 then :
14795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14796 printf "%s\n" "not found" >&6; }
14798 else $as_nop
14799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14800 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14802 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14807 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14808 then :
14809 case "x$with_xcursor" in
14810 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14811 xno) ;;
14812 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14813 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14814 esac
14818 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14819 then
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14821 printf %s "checking for -lXi... " >&6; }
14822 if test ${ac_cv_lib_soname_Xi+y}
14823 then :
14824 printf %s "(cached) " >&6
14825 else $as_nop
14826 ac_check_soname_save_LIBS=$LIBS
14827 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14831 /* Override any GCC internal prototype to avoid an error.
14832 Use char because int might match the return type of a GCC
14833 builtin and then its argument prototype would still apply. */
14834 char XOpenDevice ();
14836 main (void)
14838 return XOpenDevice ();
14840 return 0;
14842 _ACEOF
14843 if ac_fn_c_try_link "$LINENO"
14844 then :
14845 case "$LIBEXT" in
14846 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14847 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'` ;;
14848 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14849 if ${ac_cv_lib_soname_Xi:+false} :
14850 then :
14851 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14852 fi ;;
14853 esac
14854 else $as_nop
14855 ac_cv_lib_soname_Xi=
14857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14858 conftest$ac_exeext conftest.$ac_ext
14859 LIBS=$ac_check_soname_save_LIBS
14861 if ${ac_cv_lib_soname_Xi:+false} :
14862 then :
14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14864 printf "%s\n" "not found" >&6; }
14866 else $as_nop
14867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14868 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14870 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14875 if test "x$ac_cv_lib_soname_Xi" = "x"
14876 then :
14877 case "x$with_xinput" in
14878 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14879 xno) ;;
14880 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14881 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14882 esac
14886 if test "x$ac_cv_lib_soname_Xi" != x
14887 then
14888 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14889 then :
14890 case "x$with_xinput2" in
14891 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14892 xno) ;;
14893 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14894 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14895 esac
14900 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14901 then
14902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14903 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14904 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14905 then :
14906 printf %s "(cached) " >&6
14907 else $as_nop
14908 ac_check_lib_save_LIBS=$LIBS
14909 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14916 char XShmQueryExtension ();
14918 main (void)
14920 return XShmQueryExtension ();
14922 return 0;
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"
14926 then :
14927 ac_cv_lib_Xext_XShmQueryExtension=yes
14928 else $as_nop
14929 ac_cv_lib_Xext_XShmQueryExtension=no
14931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14932 conftest$ac_exeext conftest.$ac_ext
14933 LIBS=$ac_check_lib_save_LIBS
14935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14936 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14937 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14938 then :
14940 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14945 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14946 then :
14947 case "x$with_xshm" in
14948 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14949 xno) ;;
14950 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14951 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14952 esac
14956 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14957 then
14958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14959 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14960 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14961 then :
14962 printf %s "(cached) " >&6
14963 else $as_nop
14964 ac_check_lib_save_LIBS=$LIBS
14965 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14972 char XShapeQueryExtension ();
14974 main (void)
14976 return XShapeQueryExtension ();
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"
14982 then :
14983 ac_cv_lib_Xext_XShapeQueryExtension=yes
14984 else $as_nop
14985 ac_cv_lib_Xext_XShapeQueryExtension=no
14987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14988 conftest$ac_exeext conftest.$ac_ext
14989 LIBS=$ac_check_lib_save_LIBS
14991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14992 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14993 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14994 then :
14996 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15001 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15002 then :
15003 case "x$with_xshape" in
15004 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15005 xno) ;;
15006 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15007 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15008 esac
15012 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15013 then
15014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15015 printf %s "checking for -lXxf86vm... " >&6; }
15016 if test ${ac_cv_lib_soname_Xxf86vm+y}
15017 then :
15018 printf %s "(cached) " >&6
15019 else $as_nop
15020 ac_check_soname_save_LIBS=$LIBS
15021 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 char XF86VidModeQueryExtension ();
15030 main (void)
15032 return XF86VidModeQueryExtension ();
15034 return 0;
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"
15038 then :
15039 case "$LIBEXT" in
15040 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15041 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'` ;;
15042 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15043 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15044 then :
15045 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15046 fi ;;
15047 esac
15048 else $as_nop
15049 ac_cv_lib_soname_Xxf86vm=
15051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15052 conftest$ac_exeext conftest.$ac_ext
15053 LIBS=$ac_check_soname_save_LIBS
15055 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15056 then :
15057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15058 printf "%s\n" "not found" >&6; }
15060 else $as_nop
15061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15062 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15064 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15069 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15070 then :
15071 case "x$with_xxf86vm" in
15072 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15073 xno) ;;
15074 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15075 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15076 esac
15080 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15081 then
15082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15083 printf %s "checking for -lXrender... " >&6; }
15084 if test ${ac_cv_lib_soname_Xrender+y}
15085 then :
15086 printf %s "(cached) " >&6
15087 else $as_nop
15088 ac_check_soname_save_LIBS=$LIBS
15089 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15093 /* Override any GCC internal prototype to avoid an error.
15094 Use char because int might match the return type of a GCC
15095 builtin and then its argument prototype would still apply. */
15096 char XRenderQueryExtension ();
15098 main (void)
15100 return XRenderQueryExtension ();
15102 return 0;
15104 _ACEOF
15105 if ac_fn_c_try_link "$LINENO"
15106 then :
15107 case "$LIBEXT" in
15108 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15109 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'` ;;
15110 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15111 if ${ac_cv_lib_soname_Xrender:+false} :
15112 then :
15113 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15114 fi ;;
15115 esac
15116 else $as_nop
15117 ac_cv_lib_soname_Xrender=
15119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15120 conftest$ac_exeext conftest.$ac_ext
15121 LIBS=$ac_check_soname_save_LIBS
15123 if ${ac_cv_lib_soname_Xrender:+false} :
15124 then :
15125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15126 printf "%s\n" "not found" >&6; }
15128 else $as_nop
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15130 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15132 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15135 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15136 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15137 then :
15138 printf %s "(cached) " >&6
15139 else $as_nop
15140 ac_check_lib_save_LIBS=$LIBS
15141 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 char XRenderSetPictureTransform ();
15150 main (void)
15152 return XRenderSetPictureTransform ();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"
15158 then :
15159 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15160 else $as_nop
15161 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15164 conftest$ac_exeext conftest.$ac_ext
15165 LIBS=$ac_check_lib_save_LIBS
15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15168 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15169 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15170 then :
15172 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15177 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15178 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15179 then :
15180 printf %s "(cached) " >&6
15181 else $as_nop
15182 ac_check_lib_save_LIBS=$LIBS
15183 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 char XRenderCreateLinearGradient ();
15192 main (void)
15194 return XRenderCreateLinearGradient ();
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"
15200 then :
15201 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15202 else $as_nop
15203 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15206 conftest$ac_exeext conftest.$ac_ext
15207 LIBS=$ac_check_lib_save_LIBS
15209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15210 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15211 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15212 then :
15214 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15221 if test "x$ac_cv_lib_soname_Xrender" = "x"
15222 then :
15223 case "x$with_xrender" in
15224 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15225 xno) ;;
15226 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15227 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15228 esac
15232 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15233 then
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15236 #include <X11/Xlib.h>
15237 #include <X11/extensions/Xrandr.h>
15239 main (void)
15241 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15243 return 0;
15245 _ACEOF
15246 if ac_fn_c_try_compile "$LINENO"
15247 then :
15248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15249 printf %s "checking for -lXrandr... " >&6; }
15250 if test ${ac_cv_lib_soname_Xrandr+y}
15251 then :
15252 printf %s "(cached) " >&6
15253 else $as_nop
15254 ac_check_soname_save_LIBS=$LIBS
15255 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15259 /* Override any GCC internal prototype to avoid an error.
15260 Use char because int might match the return type of a GCC
15261 builtin and then its argument prototype would still apply. */
15262 char XRRQueryExtension ();
15264 main (void)
15266 return XRRQueryExtension ();
15268 return 0;
15270 _ACEOF
15271 if ac_fn_c_try_link "$LINENO"
15272 then :
15273 case "$LIBEXT" in
15274 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15275 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'` ;;
15276 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15277 if ${ac_cv_lib_soname_Xrandr:+false} :
15278 then :
15279 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15280 fi ;;
15281 esac
15282 else $as_nop
15283 ac_cv_lib_soname_Xrandr=
15285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15286 conftest$ac_exeext conftest.$ac_ext
15287 LIBS=$ac_check_soname_save_LIBS
15289 if ${ac_cv_lib_soname_Xrandr:+false} :
15290 then :
15291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15292 printf "%s\n" "not found" >&6; }
15294 else $as_nop
15295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15296 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15298 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15302 #include <X11/Xlib.h>
15303 #include <X11/extensions/Xrandr.h>
15305 main (void)
15307 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_compile "$LINENO"
15313 then :
15315 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15317 else $as_nop
15318 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15325 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15326 then :
15327 case "x$with_xrandr" in
15328 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15329 xno) ;;
15330 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15331 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15332 esac
15336 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15337 then
15338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15340 #include <X11/Xlib.h>
15341 #include <X11/extensions/Xfixes.h>
15343 main (void)
15345 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15347 return 0;
15349 _ACEOF
15350 if ac_fn_c_try_compile "$LINENO"
15351 then :
15352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15353 printf %s "checking for -lXfixes... " >&6; }
15354 if test ${ac_cv_lib_soname_Xfixes+y}
15355 then :
15356 printf %s "(cached) " >&6
15357 else $as_nop
15358 ac_check_soname_save_LIBS=$LIBS
15359 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15363 /* Override any GCC internal prototype to avoid an error.
15364 Use char because int might match the return type of a GCC
15365 builtin and then its argument prototype would still apply. */
15366 char XFixesQueryVersion ();
15368 main (void)
15370 return XFixesQueryVersion ();
15372 return 0;
15374 _ACEOF
15375 if ac_fn_c_try_link "$LINENO"
15376 then :
15377 case "$LIBEXT" in
15378 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15379 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'` ;;
15380 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15381 if ${ac_cv_lib_soname_Xfixes:+false} :
15382 then :
15383 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15384 fi ;;
15385 esac
15386 else $as_nop
15387 ac_cv_lib_soname_Xfixes=
15389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15390 conftest$ac_exeext conftest.$ac_ext
15391 LIBS=$ac_check_soname_save_LIBS
15393 if ${ac_cv_lib_soname_Xfixes:+false} :
15394 then :
15395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15396 printf "%s\n" "not found" >&6; }
15398 else $as_nop
15399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15400 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15402 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15409 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15410 then :
15411 case "x$with_xfixes" in
15412 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15413 xno) ;;
15414 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15415 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15416 esac
15420 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15421 then
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15424 #include <X11/Xlib.h>
15425 #include <X11/extensions/Xinerama.h>
15427 main (void)
15429 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15431 return 0;
15433 _ACEOF
15434 if ac_fn_c_try_compile "$LINENO"
15435 then :
15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15437 printf %s "checking for -lXinerama... " >&6; }
15438 if test ${ac_cv_lib_soname_Xinerama+y}
15439 then :
15440 printf %s "(cached) " >&6
15441 else $as_nop
15442 ac_check_soname_save_LIBS=$LIBS
15443 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15445 /* end confdefs.h. */
15447 /* Override any GCC internal prototype to avoid an error.
15448 Use char because int might match the return type of a GCC
15449 builtin and then its argument prototype would still apply. */
15450 char XineramaQueryScreens ();
15452 main (void)
15454 return XineramaQueryScreens ();
15456 return 0;
15458 _ACEOF
15459 if ac_fn_c_try_link "$LINENO"
15460 then :
15461 case "$LIBEXT" in
15462 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15463 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'` ;;
15464 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15465 if ${ac_cv_lib_soname_Xinerama:+false} :
15466 then :
15467 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15468 fi ;;
15469 esac
15470 else $as_nop
15471 ac_cv_lib_soname_Xinerama=
15473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15474 conftest$ac_exeext conftest.$ac_ext
15475 LIBS=$ac_check_soname_save_LIBS
15477 if ${ac_cv_lib_soname_Xinerama:+false} :
15478 then :
15479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15480 printf "%s\n" "not found" >&6; }
15482 else $as_nop
15483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15484 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15486 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15493 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15494 then :
15495 case "x$with_xinerama" in
15496 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15497 xno) ;;
15498 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15499 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15500 esac
15504 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15505 then
15506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15507 printf %s "checking for -lXcomposite... " >&6; }
15508 if test ${ac_cv_lib_soname_Xcomposite+y}
15509 then :
15510 printf %s "(cached) " >&6
15511 else $as_nop
15512 ac_check_soname_save_LIBS=$LIBS
15513 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15517 /* Override any GCC internal prototype to avoid an error.
15518 Use char because int might match the return type of a GCC
15519 builtin and then its argument prototype would still apply. */
15520 char XCompositeRedirectWindow ();
15522 main (void)
15524 return XCompositeRedirectWindow ();
15526 return 0;
15528 _ACEOF
15529 if ac_fn_c_try_link "$LINENO"
15530 then :
15531 case "$LIBEXT" in
15532 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15533 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'` ;;
15534 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15535 if ${ac_cv_lib_soname_Xcomposite:+false} :
15536 then :
15537 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15538 fi ;;
15539 esac
15540 else $as_nop
15541 ac_cv_lib_soname_Xcomposite=
15543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15544 conftest$ac_exeext conftest.$ac_ext
15545 LIBS=$ac_check_soname_save_LIBS
15547 if ${ac_cv_lib_soname_Xcomposite:+false} :
15548 then :
15549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15550 printf "%s\n" "not found" >&6; }
15552 else $as_nop
15553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15554 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15556 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15561 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15562 then :
15563 case "x$with_xcomposite" in
15564 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15565 xno) ;;
15566 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15567 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15568 esac
15572 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15573 #include <X11/Xlib.h>
15574 #endif
15576 if test "x$ac_cv_member_XICCallback_callback" = xyes
15577 then :
15579 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15583 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15584 #include <X11/Xlib.h>
15585 #endif
15587 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15588 then :
15590 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15597 opengl_msg=""
15598 if test "x$with_opengl" != "xno"
15599 then
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15601 printf %s "checking for -lGL... " >&6; }
15602 if test ${ac_cv_lib_soname_GL+y}
15603 then :
15604 printf %s "(cached) " >&6
15605 else $as_nop
15606 ac_check_soname_save_LIBS=$LIBS
15607 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15614 char glXCreateContext ();
15616 main (void)
15618 return glXCreateContext ();
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"
15624 then :
15625 case "$LIBEXT" in
15626 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15627 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'` ;;
15628 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15629 if ${ac_cv_lib_soname_GL:+false} :
15630 then :
15631 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15632 fi ;;
15633 esac
15634 else $as_nop
15635 ac_cv_lib_soname_GL=
15637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15638 conftest$ac_exeext conftest.$ac_ext
15639 LIBS=$ac_check_soname_save_LIBS
15641 if ${ac_cv_lib_soname_GL:+false} :
15642 then :
15643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15644 printf "%s\n" "not found" >&6; }
15645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15646 printf %s "checking for -lGL... " >&6; }
15647 if test ${ac_cv_lib_soname_GL+y}
15648 then :
15649 printf %s "(cached) " >&6
15650 else $as_nop
15651 ac_check_soname_save_LIBS=$LIBS
15652 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"
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15656 /* Override any GCC internal prototype to avoid an error.
15657 Use char because int might match the return type of a GCC
15658 builtin and then its argument prototype would still apply. */
15659 char glXCreateContext ();
15661 main (void)
15663 return glXCreateContext ();
15665 return 0;
15667 _ACEOF
15668 if ac_fn_c_try_link "$LINENO"
15669 then :
15670 case "$LIBEXT" in
15671 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15672 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'` ;;
15673 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15674 if ${ac_cv_lib_soname_GL:+false} :
15675 then :
15676 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15677 fi ;;
15678 esac
15679 else $as_nop
15680 ac_cv_lib_soname_GL=
15682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15683 conftest$ac_exeext conftest.$ac_ext
15684 LIBS=$ac_check_soname_save_LIBS
15686 if ${ac_cv_lib_soname_GL:+false} :
15687 then :
15688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15689 printf "%s\n" "not found" >&6; }
15690 if test -f /usr/X11R6/lib/libGL.a
15691 then
15692 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15693 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15694 else
15695 opengl_msg="No OpenGL library found on this system."
15697 else $as_nop
15698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15699 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15701 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15703 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"
15705 else $as_nop
15706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15707 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15709 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15711 OPENGL_LIBS="-lGL"
15713 if test "x$with_osmesa" != "xno"
15714 then
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15716 printf %s "checking for -lOSMesa... " >&6; }
15717 if test ${ac_cv_lib_soname_OSMesa+y}
15718 then :
15719 printf %s "(cached) " >&6
15720 else $as_nop
15721 ac_check_soname_save_LIBS=$LIBS
15722 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15729 char OSMesaGetProcAddress ();
15731 main (void)
15733 return OSMesaGetProcAddress ();
15735 return 0;
15737 _ACEOF
15738 if ac_fn_c_try_link "$LINENO"
15739 then :
15740 case "$LIBEXT" in
15741 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15742 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'` ;;
15743 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15744 if ${ac_cv_lib_soname_OSMesa:+false} :
15745 then :
15746 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15747 fi ;;
15748 esac
15749 else $as_nop
15750 ac_cv_lib_soname_OSMesa=
15752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15753 conftest$ac_exeext conftest.$ac_ext
15754 LIBS=$ac_check_soname_save_LIBS
15756 if ${ac_cv_lib_soname_OSMesa:+false} :
15757 then :
15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15759 printf "%s\n" "not found" >&6; }
15761 else $as_nop
15762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15763 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15765 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15769 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15770 then :
15771 case "x$with_osmesa" in
15772 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15773 xno) ;;
15774 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15775 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15776 esac
15781 if test -n "$opengl_msg"
15782 then :
15783 case "x$with_opengl" in
15784 x) as_fn_append wine_warnings "|$opengl_msg
15785 OpenGL and Direct3D won't be supported." ;;
15786 xno) ;;
15787 *) as_fn_error $? "$opengl_msg
15788 OpenGL and Direct3D won't be supported.
15789 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15790 esac
15794 CPPFLAGS="$ac_save_CPPFLAGS"
15795 else
15796 X_CFLAGS=""
15797 X_LIBS=""
15800 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15801 then
15802 if test "x$X_LIBS" = "x"
15803 then :
15804 case "x$with_x" in
15805 xno) ;;
15806 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15807 without X support, which probably isn't what you want. You will need
15808 to install ${notice_platform}development packages of Xlib at the very least.
15809 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15810 esac
15811 enable_winex11_drv=${enable_winex11_drv:-no}
15813 else
15814 if test "x$X_LIBS" = "x"
15815 then :
15816 case "x$with_x" in
15817 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15818 xno) ;;
15819 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15820 This is an error since --with-x was requested." "$LINENO" 5 ;;
15821 esac
15822 enable_winex11_drv=${enable_winex11_drv:-no}
15826 if test "$ac_cv_header_CL_cl_h" = "yes"
15827 then
15828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15829 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15830 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15831 then :
15832 printf %s "(cached) " >&6
15833 else $as_nop
15834 ac_check_lib_save_LIBS=$LIBS
15835 LIBS="-lOpenCL $LIBS"
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15842 char clGetPlatformInfo ();
15844 main (void)
15846 return clGetPlatformInfo ();
15848 return 0;
15850 _ACEOF
15851 if ac_fn_c_try_link "$LINENO"
15852 then :
15853 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15854 else $as_nop
15855 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15858 conftest$ac_exeext conftest.$ac_ext
15859 LIBS=$ac_check_lib_save_LIBS
15861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15862 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15863 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15864 then :
15865 OPENCL_LIBS="-lOpenCL"
15870 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15871 then :
15872 case "x$with_opencl" in
15873 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15874 xno) ;;
15875 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15876 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15877 esac
15878 enable_opencl=${enable_opencl:-no}
15881 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15882 then
15883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15884 printf %s "checking for pcap_create in -lpcap... " >&6; }
15885 if test ${ac_cv_lib_pcap_pcap_create+y}
15886 then :
15887 printf %s "(cached) " >&6
15888 else $as_nop
15889 ac_check_lib_save_LIBS=$LIBS
15890 LIBS="-lpcap $LIBS"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15894 /* Override any GCC internal prototype to avoid an error.
15895 Use char because int might match the return type of a GCC
15896 builtin and then its argument prototype would still apply. */
15897 char pcap_create ();
15899 main (void)
15901 return pcap_create ();
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_link "$LINENO"
15907 then :
15908 ac_cv_lib_pcap_pcap_create=yes
15909 else $as_nop
15910 ac_cv_lib_pcap_pcap_create=no
15912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15913 conftest$ac_exeext conftest.$ac_ext
15914 LIBS=$ac_check_lib_save_LIBS
15916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15917 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15918 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15919 then :
15920 PCAP_LIBS="-lpcap"
15925 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15926 then :
15927 case "x$with_pcap" in
15928 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15929 xno) ;;
15930 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15931 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15932 esac
15933 enable_wpcap=${enable_wpcap:-no}
15936 if test "x$with_inotify" != "xno"
15937 then
15938 if ${INOTIFY_CFLAGS:+false} :
15939 then :
15940 if test ${PKG_CONFIG+y}
15941 then :
15942 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15946 if ${INOTIFY_LIBS:+false} :
15947 then :
15948 if test ${PKG_CONFIG+y}
15949 then :
15950 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15957 ac_save_CPPFLAGS=$CPPFLAGS
15958 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15959 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15960 if test "x$ac_cv_header_sys_inotify_h" = xyes
15961 then :
15962 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15967 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15968 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15969 then :
15970 printf %s "(cached) " >&6
15971 else $as_nop
15972 ac_check_lib_save_LIBS=$LIBS
15973 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15977 /* Override any GCC internal prototype to avoid an error.
15978 Use char because int might match the return type of a GCC
15979 builtin and then its argument prototype would still apply. */
15980 char inotify_add_watch ();
15982 main (void)
15984 return inotify_add_watch ();
15986 return 0;
15988 _ACEOF
15989 if ac_fn_c_try_link "$LINENO"
15990 then :
15991 ac_cv_lib_inotify_inotify_add_watch=yes
15992 else $as_nop
15993 ac_cv_lib_inotify_inotify_add_watch=no
15995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15996 conftest$ac_exeext conftest.$ac_ext
15997 LIBS=$ac_check_lib_save_LIBS
15999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16000 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16001 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16002 then :
16004 else $as_nop
16005 INOTIFY_LIBS=""
16008 CPPFLAGS=$ac_save_CPPFLAGS
16011 if test "$ac_cv_header_sys_inotify_h" != "yes"
16012 then :
16013 case "x$with_inotify" in
16014 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16015 xno) ;;
16016 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16017 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16018 esac
16022 if test "x$with_dbus" != "xno"
16023 then
16024 if ${DBUS_CFLAGS:+false} :
16025 then :
16026 if test ${PKG_CONFIG+y}
16027 then :
16028 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16032 if ${DBUS_LIBS:+false} :
16033 then :
16034 if test ${PKG_CONFIG+y}
16035 then :
16036 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16043 ac_save_CPPFLAGS=$CPPFLAGS
16044 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16045 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16046 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16047 then :
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16049 printf %s "checking for -ldbus-1... " >&6; }
16050 if test ${ac_cv_lib_soname_dbus_1+y}
16051 then :
16052 printf %s "(cached) " >&6
16053 else $as_nop
16054 ac_check_soname_save_LIBS=$LIBS
16055 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16057 /* end confdefs.h. */
16059 /* Override any GCC internal prototype to avoid an error.
16060 Use char because int might match the return type of a GCC
16061 builtin and then its argument prototype would still apply. */
16062 char dbus_connection_close ();
16064 main (void)
16066 return dbus_connection_close ();
16068 return 0;
16070 _ACEOF
16071 if ac_fn_c_try_link "$LINENO"
16072 then :
16073 case "$LIBEXT" in
16074 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16075 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'` ;;
16076 *) 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'`
16077 if ${ac_cv_lib_soname_dbus_1:+false} :
16078 then :
16079 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16080 fi ;;
16081 esac
16082 else $as_nop
16083 ac_cv_lib_soname_dbus_1=
16085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16086 conftest$ac_exeext conftest.$ac_ext
16087 LIBS=$ac_check_soname_save_LIBS
16089 if ${ac_cv_lib_soname_dbus_1:+false} :
16090 then :
16091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16092 printf "%s\n" "not found" >&6; }
16093 DBUS_CFLAGS=""
16094 else $as_nop
16095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16096 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16098 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16102 else $as_nop
16103 DBUS_CFLAGS=""
16106 CPPFLAGS=$ac_save_CPPFLAGS
16109 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16110 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16111 then :
16112 case "x$with_dbus" in
16113 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16114 xno) ;;
16115 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16116 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16117 esac
16121 if test "x$with_gnutls" != "xno"
16122 then
16123 if ${GNUTLS_CFLAGS:+false} :
16124 then :
16125 if test ${PKG_CONFIG+y}
16126 then :
16127 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16131 if ${GNUTLS_LIBS:+false} :
16132 then :
16133 if test ${PKG_CONFIG+y}
16134 then :
16135 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16139 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16142 ac_save_CPPFLAGS=$CPPFLAGS
16143 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16144 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16145 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16146 then :
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16149 #include <gnutls/gnutls.h>
16150 #include <gnutls/crypto.h>
16152 main (void)
16154 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_compile "$LINENO"
16160 then :
16161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16162 printf %s "checking for -lgnutls... " >&6; }
16163 if test ${ac_cv_lib_soname_gnutls+y}
16164 then :
16165 printf %s "(cached) " >&6
16166 else $as_nop
16167 ac_check_soname_save_LIBS=$LIBS
16168 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 char gnutls_global_init ();
16177 main (void)
16179 return gnutls_global_init ();
16181 return 0;
16183 _ACEOF
16184 if ac_fn_c_try_link "$LINENO"
16185 then :
16186 case "$LIBEXT" in
16187 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16188 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'` ;;
16189 *) 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'`
16190 if ${ac_cv_lib_soname_gnutls:+false} :
16191 then :
16192 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'`
16193 fi ;;
16194 esac
16195 else $as_nop
16196 ac_cv_lib_soname_gnutls=
16198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16199 conftest$ac_exeext conftest.$ac_ext
16200 LIBS=$ac_check_soname_save_LIBS
16202 if ${ac_cv_lib_soname_gnutls:+false} :
16203 then :
16204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16205 printf "%s\n" "not found" >&6; }
16206 GNUTLS_CFLAGS=""
16207 else $as_nop
16208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16209 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16211 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16215 ac_wine_check_funcs_save_LIBS="$LIBS"
16216 LIBS="$LIBS $GNUTLS_LIBS"
16218 for ac_func in gnutls_cipher_init
16219 do :
16220 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16221 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16222 then :
16223 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16225 else $as_nop
16226 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16229 done
16230 LIBS="$ac_wine_check_funcs_save_LIBS"
16232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16233 else $as_nop
16234 GNUTLS_CFLAGS=""
16237 CPPFLAGS=$ac_save_CPPFLAGS
16240 if test "x$ac_cv_lib_soname_gnutls" = "x"
16241 then :
16242 case "x$with_gnutls" in
16243 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16244 xno) ;;
16245 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16246 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16247 esac
16251 if test "x$with_sane" != "xno"
16252 then
16253 if ${SANE_CFLAGS:+false} :
16254 then :
16255 if test ${PKG_CONFIG+y}
16256 then :
16257 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16260 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16261 if ${SANE_LIBS:+false} :
16262 then :
16263 if test ${PKG_CONFIG+y}
16264 then :
16265 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16268 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16272 ac_save_CPPFLAGS=$CPPFLAGS
16273 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16274 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16275 if test "x$ac_cv_header_sane_sane_h" = xyes
16276 then :
16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16278 printf %s "checking for sane_init in -lsane... " >&6; }
16279 if test ${ac_cv_lib_sane_sane_init+y}
16280 then :
16281 printf %s "(cached) " >&6
16282 else $as_nop
16283 ac_check_lib_save_LIBS=$LIBS
16284 LIBS="-lsane $SANE_LIBS $LIBS"
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 char sane_init ();
16293 main (void)
16295 return sane_init ();
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_link "$LINENO"
16301 then :
16302 ac_cv_lib_sane_sane_init=yes
16303 else $as_nop
16304 ac_cv_lib_sane_sane_init=no
16306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16307 conftest$ac_exeext conftest.$ac_ext
16308 LIBS=$ac_check_lib_save_LIBS
16310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16311 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16312 if test "x$ac_cv_lib_sane_sane_init" = xyes
16313 then :
16319 CPPFLAGS=$ac_save_CPPFLAGS
16322 if test "$ac_cv_lib_sane_sane_init" != "yes"
16323 then :
16324 case "x$with_sane" in
16325 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16326 xno) ;;
16327 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16328 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16329 esac
16330 enable_sane_ds=${enable_sane_ds:-no}
16333 if test "x$with_usb" != "xno"
16334 then
16335 if ${USB_CFLAGS:+false} :
16336 then :
16337 if test ${PKG_CONFIG+y}
16338 then :
16339 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16343 if ${USB_LIBS:+false} :
16344 then :
16345 if test ${PKG_CONFIG+y}
16346 then :
16347 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16351 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16354 ac_save_CPPFLAGS=$CPPFLAGS
16355 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16356 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16357 if test "x$ac_cv_header_libusb_h" = xyes
16358 then :
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16360 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16361 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16362 then :
16363 printf %s "(cached) " >&6
16364 else $as_nop
16365 ac_check_lib_save_LIBS=$LIBS
16366 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16370 /* Override any GCC internal prototype to avoid an error.
16371 Use char because int might match the return type of a GCC
16372 builtin and then its argument prototype would still apply. */
16373 char libusb_interrupt_event_handler ();
16375 main (void)
16377 return libusb_interrupt_event_handler ();
16379 return 0;
16381 _ACEOF
16382 if ac_fn_c_try_link "$LINENO"
16383 then :
16384 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16385 else $as_nop
16386 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16389 conftest$ac_exeext conftest.$ac_ext
16390 LIBS=$ac_check_lib_save_LIBS
16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16393 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16394 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16395 then :
16397 else $as_nop
16398 USB_LIBS=""
16401 else $as_nop
16402 USB_LIBS=""
16405 CPPFLAGS=$ac_save_CPPFLAGS
16408 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16409 then :
16410 case "x$with_usb" in
16411 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16412 xno) ;;
16413 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16414 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16415 esac
16416 enable_wineusb_sys=${enable_wineusb_sys:-no}
16419 if test "x$with_v4l2" != "xno"
16420 then
16421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16422 printf %s "checking for -lv4l2... " >&6; }
16423 if test ${ac_cv_lib_soname_v4l2+y}
16424 then :
16425 printf %s "(cached) " >&6
16426 else $as_nop
16427 ac_check_soname_save_LIBS=$LIBS
16428 LIBS="-lv4l2 $LIBS"
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h. */
16432 /* Override any GCC internal prototype to avoid an error.
16433 Use char because int might match the return type of a GCC
16434 builtin and then its argument prototype would still apply. */
16435 char v4l2_open ();
16437 main (void)
16439 return v4l2_open ();
16441 return 0;
16443 _ACEOF
16444 if ac_fn_c_try_link "$LINENO"
16445 then :
16446 case "$LIBEXT" in
16447 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16448 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'` ;;
16449 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16450 if ${ac_cv_lib_soname_v4l2:+false} :
16451 then :
16452 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16453 fi ;;
16454 esac
16455 else $as_nop
16456 ac_cv_lib_soname_v4l2=
16458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16459 conftest$ac_exeext conftest.$ac_ext
16460 LIBS=$ac_check_soname_save_LIBS
16462 if ${ac_cv_lib_soname_v4l2:+false} :
16463 then :
16464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16465 printf "%s\n" "not found" >&6; }
16467 else $as_nop
16468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16469 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16471 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16476 if test "x$ac_cv_lib_soname_v4l2" = "x"
16477 then :
16478 case "x$with_v4l2" in
16479 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16480 xno) ;;
16481 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16482 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16483 esac
16487 if test "x$with_gphoto" != "xno"
16488 then
16489 if ${GPHOTO2_CFLAGS:+false} :
16490 then :
16491 if test ${PKG_CONFIG+y}
16492 then :
16493 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16496 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16497 if ${GPHOTO2_LIBS:+false} :
16498 then :
16499 if test ${PKG_CONFIG+y}
16500 then :
16501 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16504 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16505 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16508 ac_save_CPPFLAGS=$CPPFLAGS
16509 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16510 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16511 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16512 then :
16513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16514 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16515 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16516 then :
16517 printf %s "(cached) " >&6
16518 else $as_nop
16519 ac_check_lib_save_LIBS=$LIBS
16520 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16524 /* Override any GCC internal prototype to avoid an error.
16525 Use char because int might match the return type of a GCC
16526 builtin and then its argument prototype would still apply. */
16527 char gp_camera_new ();
16529 main (void)
16531 return gp_camera_new ();
16533 return 0;
16535 _ACEOF
16536 if ac_fn_c_try_link "$LINENO"
16537 then :
16538 ac_cv_lib_gphoto2_gp_camera_new=yes
16539 else $as_nop
16540 ac_cv_lib_gphoto2_gp_camera_new=no
16542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16543 conftest$ac_exeext conftest.$ac_ext
16544 LIBS=$ac_check_lib_save_LIBS
16546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16547 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16548 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16549 then :
16555 CPPFLAGS=$ac_save_CPPFLAGS
16557 if ${GPHOTO2_PORT_CFLAGS:+false} :
16558 then :
16559 if test ${PKG_CONFIG+y}
16560 then :
16561 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16564 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16565 if ${GPHOTO2_PORT_LIBS:+false} :
16566 then :
16567 if test ${PKG_CONFIG+y}
16568 then :
16569 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16572 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16573 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16576 ac_save_CPPFLAGS=$CPPFLAGS
16577 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16578 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16579 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16580 then :
16581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16582 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16583 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16584 then :
16585 printf %s "(cached) " >&6
16586 else $as_nop
16587 ac_check_lib_save_LIBS=$LIBS
16588 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16592 /* Override any GCC internal prototype to avoid an error.
16593 Use char because int might match the return type of a GCC
16594 builtin and then its argument prototype would still apply. */
16595 char gp_port_info_list_new ();
16597 main (void)
16599 return gp_port_info_list_new ();
16601 return 0;
16603 _ACEOF
16604 if ac_fn_c_try_link "$LINENO"
16605 then :
16606 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16607 else $as_nop
16608 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16611 conftest$ac_exeext conftest.$ac_ext
16612 LIBS=$ac_check_lib_save_LIBS
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16615 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16616 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16617 then :
16619 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16621 else $as_nop
16622 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16625 else $as_nop
16626 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16629 CPPFLAGS=$ac_save_CPPFLAGS
16632 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16633 then :
16634 case "x$with_gphoto" in
16635 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16636 xno) ;;
16637 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16638 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16639 esac
16640 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16642 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16643 then :
16644 case "x$with_gphoto" in
16645 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16646 xno) ;;
16647 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16648 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16649 esac
16654 if test "$ac_cv_header_resolv_h" = "yes"
16655 then
16656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16657 printf %s "checking for resolver library... " >&6; }
16658 if test ${ac_cv_have_resolv+y}
16659 then :
16660 printf %s "(cached) " >&6
16661 else $as_nop
16662 ac_save_LIBS="$LIBS"
16663 for lib in '' -lresolv
16665 LIBS="$lib $ac_save_LIBS"
16666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16667 /* end confdefs.h. */
16668 #ifdef HAVE_NETINET_IN_H
16669 #include <netinet/in.h>
16670 #endif
16671 #include <resolv.h>
16673 main (void)
16675 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16677 return 0;
16679 _ACEOF
16680 if ac_fn_c_try_link "$LINENO"
16681 then :
16682 ac_cv_have_resolv=${lib:-"none required"}
16683 else $as_nop
16684 ac_cv_have_resolv="not found"
16686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16687 conftest$ac_exeext conftest.$ac_ext
16688 test "x$ac_cv_have_resolv" = "xnot found" || break
16689 done
16690 LIBS="$ac_save_LIBS"
16692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16693 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16695 case "$ac_cv_have_resolv" in
16696 "not found") ;;
16697 "none required")
16699 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16702 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16704 RESOLV_LIBS=$ac_cv_have_resolv
16706 esac
16708 if test "x$ac_cv_have_resolv" != "xnot found"
16709 then
16710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16711 printf %s "checking for res_getservers... " >&6; }
16712 if test ${ac_cv_have_res_getservers+y}
16713 then :
16714 printf %s "(cached) " >&6
16715 else $as_nop
16716 ac_save_LIBS="$LIBS"
16717 LIBS="$RESOLV_LIBS $LIBS"
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <resolv.h>
16722 main (void)
16724 res_getservers(NULL, NULL, 0);
16726 return 0;
16728 _ACEOF
16729 if ac_fn_c_try_link "$LINENO"
16730 then :
16731 ac_cv_have_res_getservers=yes
16732 else $as_nop
16733 ac_cv_have_res_getservers=no
16735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16736 conftest$ac_exeext conftest.$ac_ext
16737 LIBS="$ac_save_LIBS"
16739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16740 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16741 if test "$ac_cv_have_res_getservers" = "yes"
16742 then
16744 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16750 if test "x$with_freetype" != "xno"
16751 then
16752 if ${FREETYPE_CFLAGS:+false} :
16753 then :
16754 if test ${PKG_CONFIG+y}
16755 then :
16756 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16759 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16760 if ${FREETYPE_LIBS:+false} :
16761 then :
16762 if test ${PKG_CONFIG+y}
16763 then :
16764 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16767 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16768 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16771 ac_save_CPPFLAGS=$CPPFLAGS
16772 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16773 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16774 if test "x$ac_cv_header_ft2build_h" = xyes
16775 then :
16776 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16780 if test "$ac_cv_header_ft2build_h" = "yes"
16781 then
16782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16783 printf %s "checking for -lfreetype... " >&6; }
16784 if test ${ac_cv_lib_soname_freetype+y}
16785 then :
16786 printf %s "(cached) " >&6
16787 else $as_nop
16788 ac_check_soname_save_LIBS=$LIBS
16789 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16793 /* Override any GCC internal prototype to avoid an error.
16794 Use char because int might match the return type of a GCC
16795 builtin and then its argument prototype would still apply. */
16796 char FT_Init_FreeType ();
16798 main (void)
16800 return FT_Init_FreeType ();
16802 return 0;
16804 _ACEOF
16805 if ac_fn_c_try_link "$LINENO"
16806 then :
16807 case "$LIBEXT" in
16808 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16809 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'` ;;
16810 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16811 if ${ac_cv_lib_soname_freetype:+false} :
16812 then :
16813 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16814 fi ;;
16815 esac
16816 else $as_nop
16817 ac_cv_lib_soname_freetype=
16819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16820 conftest$ac_exeext conftest.$ac_ext
16821 LIBS=$ac_check_soname_save_LIBS
16823 if ${ac_cv_lib_soname_freetype:+false} :
16824 then :
16825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16826 printf "%s\n" "not found" >&6; }
16827 FREETYPE_LIBS=""
16828 else $as_nop
16829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16830 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16832 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16835 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16837 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16838 #include FT_MODULE_H
16840 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16841 then :
16843 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16849 else
16850 FREETYPE_CFLAGS=""
16851 FREETYPE_LIBS=""
16853 CPPFLAGS=$ac_save_CPPFLAGS
16856 if test "x$ac_cv_lib_soname_freetype" = x
16857 then :
16858 case "x$with_freetype" in
16859 xno) ;;
16860 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16861 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16862 esac
16863 enable_fonts=${enable_fonts:-no}
16866 ac_wine_check_funcs_save_LIBS="$LIBS"
16867 LIBS="$LIBS $PTHREAD_LIBS"
16868 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16869 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16870 then :
16871 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16875 LIBS="$ac_wine_check_funcs_save_LIBS"
16877 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16878 then
16879 if test "$ac_cv_header_gettext_po_h" = "yes"
16880 then
16881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16882 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16883 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16884 then :
16885 printf %s "(cached) " >&6
16886 else $as_nop
16887 ac_check_lib_save_LIBS=$LIBS
16888 LIBS="-lgettextpo $LIBS"
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16892 /* Override any GCC internal prototype to avoid an error.
16893 Use char because int might match the return type of a GCC
16894 builtin and then its argument prototype would still apply. */
16895 char po_message_msgctxt ();
16897 main (void)
16899 return po_message_msgctxt ();
16901 return 0;
16903 _ACEOF
16904 if ac_fn_c_try_link "$LINENO"
16905 then :
16906 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16907 else $as_nop
16908 ac_cv_lib_gettextpo_po_message_msgctxt=no
16910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16911 conftest$ac_exeext conftest.$ac_ext
16912 LIBS=$ac_check_lib_save_LIBS
16914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16915 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16916 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16917 then :
16919 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16921 GETTEXTPO_LIBS="-lgettextpo"
16926 if test "x$GETTEXTPO_LIBS" = "x"
16927 then :
16928 case "x$with_gettextpo" in
16929 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16930 xno) ;;
16931 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16932 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16933 esac
16936 if test "$srcdir" != .
16937 then :
16938 case "x$with_gettextpo" in
16939 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16940 xno) ;;
16941 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16942 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16943 esac
16948 if test "x$with_pulse" != "xno";
16949 then
16950 if ${PULSE_CFLAGS:+false} :
16951 then :
16952 if test ${PKG_CONFIG+y}
16953 then :
16954 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16958 if ${PULSE_LIBS:+false} :
16959 then :
16960 if test ${PKG_CONFIG+y}
16961 then :
16962 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16969 ac_save_CPPFLAGS=$CPPFLAGS
16970 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16971 for ac_header in pulse/pulseaudio.h
16972 do :
16973 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16974 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16975 then :
16976 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16978 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16979 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16980 then :
16981 printf %s "(cached) " >&6
16982 else $as_nop
16983 ac_check_lib_save_LIBS=$LIBS
16984 LIBS="-lpulse $PULSE_LIBS $LIBS"
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16988 /* Override any GCC internal prototype to avoid an error.
16989 Use char because int might match the return type of a GCC
16990 builtin and then its argument prototype would still apply. */
16991 char pa_stream_is_corked ();
16993 main (void)
16995 return pa_stream_is_corked ();
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"
17001 then :
17002 ac_cv_lib_pulse_pa_stream_is_corked=yes
17003 else $as_nop
17004 ac_cv_lib_pulse_pa_stream_is_corked=no
17006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17007 conftest$ac_exeext conftest.$ac_ext
17008 LIBS=$ac_check_lib_save_LIBS
17010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17011 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17012 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17013 then :
17015 else $as_nop
17016 PULSE_LIBS=""
17019 else $as_nop
17020 PULSE_LIBS=""
17023 done
17024 CPPFLAGS=$ac_save_CPPFLAGS
17027 if test -z "$PULSE_LIBS"
17028 then :
17029 case "x$with_pulse" in
17030 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17031 xno) ;;
17032 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17033 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17034 esac
17035 enable_winepulse_drv=${enable_winepulse_drv:-no}
17038 if test "x$with_gstreamer" != "xno"
17039 then
17040 if ${GSTREAMER_CFLAGS:+false} :
17041 then :
17042 if test ${PKG_CONFIG+y}
17043 then :
17044 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17048 if ${GSTREAMER_LIBS:+false} :
17049 then :
17050 if test ${PKG_CONFIG+y}
17051 then :
17052 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17059 ac_save_CPPFLAGS=$CPPFLAGS
17060 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17061 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17062 if test "x$ac_cv_header_gst_gst_h" = xyes
17063 then :
17064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17065 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17068 #include <gst/gst.h>
17070 main (void)
17072 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17074 return 0;
17076 _ACEOF
17077 if ac_fn_c_try_compile "$LINENO"
17078 then :
17079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17080 printf "%s\n" "yes" >&6; }
17081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17082 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17083 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17084 then :
17085 printf %s "(cached) " >&6
17086 else $as_nop
17087 ac_check_lib_save_LIBS=$LIBS
17088 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17092 /* Override any GCC internal prototype to avoid an error.
17093 Use char because int might match the return type of a GCC
17094 builtin and then its argument prototype would still apply. */
17095 char gst_pad_new ();
17097 main (void)
17099 return gst_pad_new ();
17101 return 0;
17103 _ACEOF
17104 if ac_fn_c_try_link "$LINENO"
17105 then :
17106 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17107 else $as_nop
17108 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17111 conftest$ac_exeext conftest.$ac_ext
17112 LIBS=$ac_check_lib_save_LIBS
17114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17115 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17116 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17117 then :
17121 else $as_nop
17122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17123 printf "%s\n" "no" >&6; }
17124 ac_glib2_broken=yes
17125 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17130 CPPFLAGS=$ac_save_CPPFLAGS
17133 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17134 then :
17135 case "x$with_gstreamer" in
17136 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17137 xno) ;;
17138 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17139 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17140 esac
17141 enable_winegstreamer=${enable_winegstreamer:-no}
17144 ALSA_LIBS=""
17146 if test "x$with_alsa" != "xno"
17147 then
17148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17149 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17150 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17151 then :
17152 printf %s "(cached) " >&6
17153 else $as_nop
17154 ac_check_lib_save_LIBS=$LIBS
17155 LIBS="-lasound $LIBS"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17159 /* Override any GCC internal prototype to avoid an error.
17160 Use char because int might match the return type of a GCC
17161 builtin and then its argument prototype would still apply. */
17162 char snd_pcm_hw_params_get_access_mask ();
17164 main (void)
17166 return snd_pcm_hw_params_get_access_mask ();
17168 return 0;
17170 _ACEOF
17171 if ac_fn_c_try_link "$LINENO"
17172 then :
17173 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17174 else $as_nop
17175 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17182 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17183 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17184 then :
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 #include <alsa/asoundlib.h>
17189 main (void)
17191 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_compile "$LINENO"
17197 then :
17198 ALSA_LIBS="-lasound"
17200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17204 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17206 if test "x$with_oss" != xno
17207 then
17208 ac_save_CPPFLAGS="$CPPFLAGS"
17209 if test -f /etc/oss.conf
17210 then
17211 . /etc/oss.conf
17213 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17214 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17215 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17216 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17217 then :
17218 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17220 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17221 then :
17223 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17225 OSS4_CFLAGS="$ac_oss_incl"
17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17228 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17229 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17230 then :
17231 printf %s "(cached) " >&6
17232 else $as_nop
17233 ac_check_lib_save_LIBS=$LIBS
17234 LIBS="-lossaudio $LIBS"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17238 /* Override any GCC internal prototype to avoid an error.
17239 Use char because int might match the return type of a GCC
17240 builtin and then its argument prototype would still apply. */
17241 char _oss_ioctl ();
17243 main (void)
17245 return _oss_ioctl ();
17247 return 0;
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"
17251 then :
17252 ac_cv_lib_ossaudio__oss_ioctl=yes
17253 else $as_nop
17254 ac_cv_lib_ossaudio__oss_ioctl=no
17256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17257 conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_lib_save_LIBS
17260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17261 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17262 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17263 then :
17264 OSS4_LIBS="-lossaudio"
17272 CPPFLAGS="$ac_save_CPPFLAGS"
17274 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17275 then :
17276 case "x$with_oss" in
17277 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17278 xno) ;;
17279 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17280 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17281 esac
17282 enable_wineoss_drv=${enable_wineoss_drv:-no}
17285 if test "x$with_udev" != "xno"
17286 then
17287 if ${UDEV_CFLAGS:+false} :
17288 then :
17289 if test ${PKG_CONFIG+y}
17290 then :
17291 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17295 if ${UDEV_LIBS:+false} :
17296 then :
17297 if test ${PKG_CONFIG+y}
17298 then :
17299 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17303 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17306 ac_save_CPPFLAGS=$CPPFLAGS
17307 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17308 for ac_header in libudev.h
17309 do :
17310 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17311 if test "x$ac_cv_header_libudev_h" = xyes
17312 then :
17313 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17315 printf %s "checking for udev_new in -ludev... " >&6; }
17316 if test ${ac_cv_lib_udev_udev_new+y}
17317 then :
17318 printf %s "(cached) " >&6
17319 else $as_nop
17320 ac_check_lib_save_LIBS=$LIBS
17321 LIBS="-ludev $UDEV_LIBS $LIBS"
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17325 /* Override any GCC internal prototype to avoid an error.
17326 Use char because int might match the return type of a GCC
17327 builtin and then its argument prototype would still apply. */
17328 char udev_new ();
17330 main (void)
17332 return udev_new ();
17334 return 0;
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"
17338 then :
17339 ac_cv_lib_udev_udev_new=yes
17340 else $as_nop
17341 ac_cv_lib_udev_udev_new=no
17343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17344 conftest$ac_exeext conftest.$ac_ext
17345 LIBS=$ac_check_lib_save_LIBS
17347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17348 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17349 if test "x$ac_cv_lib_udev_udev_new" = xyes
17350 then :
17352 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17354 else $as_nop
17355 UDEV_LIBS=""
17358 else $as_nop
17359 UDEV_LIBS=""
17362 done
17363 CPPFLAGS=$ac_save_CPPFLAGS
17366 if test "x$UDEV_LIBS" = "x"
17367 then :
17368 case "x$with_udev" in
17369 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17370 xno) ;;
17371 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17372 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17373 esac
17377 if test "x$with_unwind" != xno
17378 then
17379 if ${UNWIND_CFLAGS:+false} :
17380 then :
17381 if test ${PKG_CONFIG+y}
17382 then :
17383 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17387 if ${UNWIND_LIBS:+false} :
17388 then :
17389 if test ${PKG_CONFIG+y}
17390 then :
17391 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17395 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17398 ac_save_CPPFLAGS=$CPPFLAGS
17399 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17401 printf %s "checking for unw_step... " >&6; }
17402 if test ${wine_cv_have_unw_step+y}
17403 then :
17404 printf %s "(cached) " >&6
17405 else $as_nop
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 #define UNW_LOCAL_ONLY
17409 #include <libunwind.h>
17411 main (void)
17413 unw_cursor_t cursor; unw_step( &cursor );
17415 return 0;
17417 _ACEOF
17418 if ac_fn_c_try_link "$LINENO"
17419 then :
17420 wine_cv_have_unw_step="yes"
17421 else $as_nop
17422 wine_cv_have_unw_step="no"
17424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17425 conftest$ac_exeext conftest.$ac_ext
17427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17428 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17429 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17430 then
17431 save_libs=$LIBS
17432 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17433 LIBS="$UNWIND_LIBS $LIBS"
17434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17435 printf %s "checking for unw_step in libunwind... " >&6; }
17436 if test ${wine_cv_have_libunwind_unw_step+y}
17437 then :
17438 printf %s "(cached) " >&6
17439 else $as_nop
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #define UNW_LOCAL_ONLY
17443 #include <libunwind.h>
17445 main (void)
17447 unw_cursor_t cursor; unw_step( &cursor );
17449 return 0;
17451 _ACEOF
17452 if ac_fn_c_try_link "$LINENO"
17453 then :
17454 wine_cv_have_libunwind_unw_step="yes"
17455 else $as_nop
17456 wine_cv_have_libunwind_unw_step="no"
17458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17459 conftest$ac_exeext conftest.$ac_ext
17461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17462 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17463 LIBS=$save_libs
17465 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17466 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17467 then
17469 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17472 CPPFLAGS=$ac_save_CPPFLAGS
17475 case $host in
17476 aarch64*|*-darwin*)
17477 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17478 then :
17479 case "x$with_unwind" in
17480 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17481 xno) ;;
17482 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17483 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17484 esac
17486 fi ;;
17487 esac
17489 if test "x$with_sdl" != "xno"
17490 then
17491 if ${SDL2_CFLAGS:+false} :
17492 then :
17493 if test ${PKG_CONFIG+y}
17494 then :
17495 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17499 if ${SDL2_LIBS:+false} :
17500 then :
17501 if test ${PKG_CONFIG+y}
17502 then :
17503 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17507 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17510 ac_save_CPPFLAGS=$CPPFLAGS
17511 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17512 for ac_header in SDL.h
17513 do :
17514 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17515 if test "x$ac_cv_header_SDL_h" = xyes
17516 then :
17517 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17519 printf %s "checking for -lSDL2... " >&6; }
17520 if test ${ac_cv_lib_soname_SDL2+y}
17521 then :
17522 printf %s "(cached) " >&6
17523 else $as_nop
17524 ac_check_soname_save_LIBS=$LIBS
17525 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17529 /* Override any GCC internal prototype to avoid an error.
17530 Use char because int might match the return type of a GCC
17531 builtin and then its argument prototype would still apply. */
17532 char SDL_Init ();
17534 main (void)
17536 return SDL_Init ();
17538 return 0;
17540 _ACEOF
17541 if ac_fn_c_try_link "$LINENO"
17542 then :
17543 case "$LIBEXT" in
17544 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17545 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'` ;;
17546 *) 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'`
17547 if ${ac_cv_lib_soname_SDL2:+false} :
17548 then :
17549 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17550 fi ;;
17551 esac
17552 else $as_nop
17553 ac_cv_lib_soname_SDL2=
17555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17556 conftest$ac_exeext conftest.$ac_ext
17557 LIBS=$ac_check_soname_save_LIBS
17559 if ${ac_cv_lib_soname_SDL2:+false} :
17560 then :
17561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17562 printf "%s\n" "not found" >&6; }
17564 else $as_nop
17565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17566 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17568 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17574 done
17575 CPPFLAGS=$ac_save_CPPFLAGS
17578 if test "x$ac_cv_lib_soname_SDL2" = "x"
17579 then :
17580 case "x$with_sdl" in
17581 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17582 xno) ;;
17583 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17584 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17585 esac
17589 if test "x$with_capi" != "xno"
17590 then
17591 if ${CAPI20_CFLAGS:+false} :
17592 then :
17593 if test ${PKG_CONFIG+y}
17594 then :
17595 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17599 if ${CAPI20_LIBS:+false} :
17600 then :
17601 if test ${PKG_CONFIG+y}
17602 then :
17603 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17610 ac_save_CPPFLAGS=$CPPFLAGS
17611 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17612 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17614 if test "x$ac_cv_header_capi20_h" = xyes
17615 then :
17616 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17619 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17621 if test "x$ac_cv_header_linux_capi_h" = xyes
17622 then :
17623 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17627 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17628 then
17629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17630 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17631 if test ${ac_cv_lib_capi20_capi20_register+y}
17632 then :
17633 printf %s "(cached) " >&6
17634 else $as_nop
17635 ac_check_lib_save_LIBS=$LIBS
17636 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 /* Override any GCC internal prototype to avoid an error.
17641 Use char because int might match the return type of a GCC
17642 builtin and then its argument prototype would still apply. */
17643 char capi20_register ();
17645 main (void)
17647 return capi20_register ();
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_link "$LINENO"
17653 then :
17654 ac_cv_lib_capi20_capi20_register=yes
17655 else $as_nop
17656 ac_cv_lib_capi20_capi20_register=no
17658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17659 conftest$ac_exeext conftest.$ac_ext
17660 LIBS=$ac_check_lib_save_LIBS
17662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17663 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17664 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17665 then :
17667 else $as_nop
17668 CAPI20_LIBS=""
17672 CPPFLAGS=$ac_save_CPPFLAGS
17675 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17676 then :
17677 case "x$with_capi" in
17678 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17679 xno) ;;
17680 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17681 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17682 esac
17683 enable_capi2032=${enable_capi2032:-no}
17686 if test "x$with_cups" != "xno"
17687 then
17688 if ${CUPS_CFLAGS:+false} :
17689 then :
17690 if test ${PKG_CONFIG+y}
17691 then :
17692 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17695 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17696 if ${CUPS_LIBS:+false} :
17697 then :
17698 if test ${PKG_CONFIG+y}
17699 then :
17700 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17703 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17704 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17707 ac_save_CPPFLAGS=$CPPFLAGS
17708 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17709 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17710 if test "x$ac_cv_header_cups_cups_h" = xyes
17711 then :
17712 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17715 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17716 if test "x$ac_cv_header_cups_ppd_h" = xyes
17717 then :
17718 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17722 if test "$ac_cv_header_cups_cups_h" = "yes"
17723 then
17724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17725 printf %s "checking for -lcups... " >&6; }
17726 if test ${ac_cv_lib_soname_cups+y}
17727 then :
17728 printf %s "(cached) " >&6
17729 else $as_nop
17730 ac_check_soname_save_LIBS=$LIBS
17731 LIBS="-lcups $CUPS_LIBS $LIBS"
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17735 /* Override any GCC internal prototype to avoid an error.
17736 Use char because int might match the return type of a GCC
17737 builtin and then its argument prototype would still apply. */
17738 char cupsGetDefault ();
17740 main (void)
17742 return cupsGetDefault ();
17744 return 0;
17746 _ACEOF
17747 if ac_fn_c_try_link "$LINENO"
17748 then :
17749 case "$LIBEXT" in
17750 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17751 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'` ;;
17752 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17753 if ${ac_cv_lib_soname_cups:+false} :
17754 then :
17755 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17756 fi ;;
17757 esac
17758 else $as_nop
17759 ac_cv_lib_soname_cups=
17761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17762 conftest$ac_exeext conftest.$ac_ext
17763 LIBS=$ac_check_soname_save_LIBS
17765 if ${ac_cv_lib_soname_cups:+false} :
17766 then :
17767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17768 printf "%s\n" "not found" >&6; }
17769 CUPS_LIBS=""
17770 else $as_nop
17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17772 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17774 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17778 else
17779 CUPS_CFLAGS=""
17780 CUPS_LIBS=""
17782 CPPFLAGS=$ac_save_CPPFLAGS
17785 if test "x$ac_cv_lib_soname_cups" = "x"
17786 then :
17787 case "x$with_cups" in
17788 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17789 xno) ;;
17790 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17791 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17792 esac
17796 if test "x$with_fontconfig" != "xno"
17797 then
17798 if ${FONTCONFIG_CFLAGS:+false} :
17799 then :
17800 if test ${PKG_CONFIG+y}
17801 then :
17802 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17805 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17806 if ${FONTCONFIG_LIBS:+false} :
17807 then :
17808 if test ${PKG_CONFIG+y}
17809 then :
17810 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17813 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17817 ac_save_CPPFLAGS=$CPPFLAGS
17818 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17819 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17820 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17821 then :
17822 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17826 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17827 then
17828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17829 printf %s "checking for -lfontconfig... " >&6; }
17830 if test ${ac_cv_lib_soname_fontconfig+y}
17831 then :
17832 printf %s "(cached) " >&6
17833 else $as_nop
17834 ac_check_soname_save_LIBS=$LIBS
17835 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17839 /* Override any GCC internal prototype to avoid an error.
17840 Use char because int might match the return type of a GCC
17841 builtin and then its argument prototype would still apply. */
17842 char FcInit ();
17844 main (void)
17846 return FcInit ();
17848 return 0;
17850 _ACEOF
17851 if ac_fn_c_try_link "$LINENO"
17852 then :
17853 case "$LIBEXT" in
17854 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17855 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'` ;;
17856 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17857 if ${ac_cv_lib_soname_fontconfig:+false} :
17858 then :
17859 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17860 fi ;;
17861 esac
17862 else $as_nop
17863 ac_cv_lib_soname_fontconfig=
17865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17866 conftest$ac_exeext conftest.$ac_ext
17867 LIBS=$ac_check_soname_save_LIBS
17869 if ${ac_cv_lib_soname_fontconfig:+false} :
17870 then :
17871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17872 printf "%s\n" "not found" >&6; }
17873 FONTCONFIG_CFLAGS=""
17874 else $as_nop
17875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17876 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17878 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17882 else
17883 FONTCONFIG_CFLAGS=""
17885 CPPFLAGS=$ac_save_CPPFLAGS
17888 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17889 then :
17890 case "x$with_fontconfig" in
17891 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17892 xno) ;;
17893 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17894 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17895 esac
17899 if test "x$with_krb5" != "xno"
17900 then
17901 if ${KRB5_CFLAGS:+false} :
17902 then :
17903 if test ${PKG_CONFIG+y}
17904 then :
17905 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17908 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17909 if ${KRB5_LIBS:+false} :
17910 then :
17911 if test ${PKG_CONFIG+y}
17912 then :
17913 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17916 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17918 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17920 ac_save_CPPFLAGS=$CPPFLAGS
17921 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17922 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17923 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17924 then :
17925 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17929 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17930 then
17931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17932 printf %s "checking for -lkrb5... " >&6; }
17933 if test ${ac_cv_lib_soname_krb5+y}
17934 then :
17935 printf %s "(cached) " >&6
17936 else $as_nop
17937 ac_check_soname_save_LIBS=$LIBS
17938 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17942 /* Override any GCC internal prototype to avoid an error.
17943 Use char because int might match the return type of a GCC
17944 builtin and then its argument prototype would still apply. */
17945 char krb5_is_config_principal ();
17947 main (void)
17949 return krb5_is_config_principal ();
17951 return 0;
17953 _ACEOF
17954 if ac_fn_c_try_link "$LINENO"
17955 then :
17956 case "$LIBEXT" in
17957 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17958 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'` ;;
17959 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17960 if ${ac_cv_lib_soname_krb5:+false} :
17961 then :
17962 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17963 fi ;;
17964 esac
17965 else $as_nop
17966 ac_cv_lib_soname_krb5=
17968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17969 conftest$ac_exeext conftest.$ac_ext
17970 LIBS=$ac_check_soname_save_LIBS
17972 if ${ac_cv_lib_soname_krb5:+false} :
17973 then :
17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17975 printf "%s\n" "not found" >&6; }
17976 KRB5_CFLAGS=""
17977 else $as_nop
17978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17979 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17981 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17985 else
17986 KRB5_CFLAGS=""
17988 CPPFLAGS=$ac_save_CPPFLAGS
17991 if test "x$ac_cv_lib_soname_krb5" = "x"
17992 then :
17993 case "x$with_krb5" in
17994 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17995 xno) ;;
17996 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17997 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17998 esac
18001 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18003 if test "x$with_gssapi" != "xno"
18004 then
18005 if ${GSSAPI_CFLAGS:+false} :
18006 then :
18007 if test ${PKG_CONFIG+y}
18008 then :
18009 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18012 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18013 if ${GSSAPI_LIBS:+false} :
18014 then :
18015 if test ${PKG_CONFIG+y}
18016 then :
18017 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18020 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18024 ac_save_CPPFLAGS=$CPPFLAGS
18025 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18026 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18027 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18028 then :
18029 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18032 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18033 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18034 then :
18035 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18039 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18040 then
18041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18042 printf %s "checking for -lgssapi_krb5... " >&6; }
18043 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18044 then :
18045 printf %s "(cached) " >&6
18046 else $as_nop
18047 ac_check_soname_save_LIBS=$LIBS
18048 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18052 /* Override any GCC internal prototype to avoid an error.
18053 Use char because int might match the return type of a GCC
18054 builtin and then its argument prototype would still apply. */
18055 char gss_init_sec_context ();
18057 main (void)
18059 return gss_init_sec_context ();
18061 return 0;
18063 _ACEOF
18064 if ac_fn_c_try_link "$LINENO"
18065 then :
18066 case "$LIBEXT" in
18067 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18068 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'` ;;
18069 *) 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'`
18070 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18071 then :
18072 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18073 fi ;;
18074 esac
18075 else $as_nop
18076 ac_cv_lib_soname_gssapi_krb5=
18078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18079 conftest$ac_exeext conftest.$ac_ext
18080 LIBS=$ac_check_soname_save_LIBS
18082 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18083 then :
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18085 printf "%s\n" "not found" >&6; }
18086 GSSAPI_CFLAGS=""
18087 else $as_nop
18088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18089 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18091 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18095 else
18096 GSSAPI_CFLAGS=""
18098 CPPFLAGS=$ac_save_CPPFLAGS
18101 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18102 then :
18103 case "x$with_gssapi" in
18104 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18105 xno) ;;
18106 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18107 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18108 esac
18112 if test "$ac_cv_header_AL_al_h" = "yes"
18113 then
18114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18115 printf %s "checking for -lopenal... " >&6; }
18116 if test ${ac_cv_lib_soname_openal+y}
18117 then :
18118 printf %s "(cached) " >&6
18119 else $as_nop
18120 ac_check_soname_save_LIBS=$LIBS
18121 LIBS="-lopenal $LIBS"
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18125 /* Override any GCC internal prototype to avoid an error.
18126 Use char because int might match the return type of a GCC
18127 builtin and then its argument prototype would still apply. */
18128 char alGetSource3i ();
18130 main (void)
18132 return alGetSource3i ();
18134 return 0;
18136 _ACEOF
18137 if ac_fn_c_try_link "$LINENO"
18138 then :
18139 case "$LIBEXT" in
18140 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18141 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'` ;;
18142 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18143 if ${ac_cv_lib_soname_openal:+false} :
18144 then :
18145 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18146 fi ;;
18147 esac
18148 else $as_nop
18149 ac_cv_lib_soname_openal=
18151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18152 conftest$ac_exeext conftest.$ac_ext
18153 LIBS=$ac_check_soname_save_LIBS
18155 if ${ac_cv_lib_soname_openal:+false} :
18156 then :
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18158 printf "%s\n" "not found" >&6; }
18160 else $as_nop
18161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18162 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18164 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18166 OPENAL_LIBS="-lopenal"
18168 ac_cv_lib_openal=yes
18170 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18174 if test "x$ac_cv_lib_openal" != xyes
18175 then :
18176 case "x$with_openal" in
18177 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18178 xno) ;;
18179 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18180 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18181 esac
18182 enable_openal32=${enable_openal32:-no}
18185 if test "$ac_cv_header_libprocstat_h" = "yes"
18186 then
18187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18188 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18189 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18190 then :
18191 printf %s "(cached) " >&6
18192 else $as_nop
18193 ac_check_lib_save_LIBS=$LIBS
18194 LIBS="-lprocstat $LIBS"
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 char procstat_open_sysctl ();
18203 main (void)
18205 return procstat_open_sysctl ();
18207 return 0;
18209 _ACEOF
18210 if ac_fn_c_try_link "$LINENO"
18211 then :
18212 ac_cv_lib_procstat_procstat_open_sysctl=yes
18213 else $as_nop
18214 ac_cv_lib_procstat_procstat_open_sysctl=no
18216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18217 conftest$ac_exeext conftest.$ac_ext
18218 LIBS=$ac_check_lib_save_LIBS
18220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18221 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18222 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18223 then :
18225 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18227 PROCSTAT_LIBS="-lprocstat"
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18234 printf %s "checking for -lodbc... " >&6; }
18235 if test ${ac_cv_lib_soname_odbc+y}
18236 then :
18237 printf %s "(cached) " >&6
18238 else $as_nop
18239 ac_check_soname_save_LIBS=$LIBS
18240 LIBS="-lodbc $LIBS"
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18244 /* Override any GCC internal prototype to avoid an error.
18245 Use char because int might match the return type of a GCC
18246 builtin and then its argument prototype would still apply. */
18247 char SQLConnect ();
18249 main (void)
18251 return SQLConnect ();
18253 return 0;
18255 _ACEOF
18256 if ac_fn_c_try_link "$LINENO"
18257 then :
18258 case "$LIBEXT" in
18259 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18260 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'` ;;
18261 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18262 if ${ac_cv_lib_soname_odbc:+false} :
18263 then :
18264 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18265 fi ;;
18266 esac
18267 else $as_nop
18268 ac_cv_lib_soname_odbc=
18270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18271 conftest$ac_exeext conftest.$ac_ext
18272 LIBS=$ac_check_soname_save_LIBS
18274 if ${ac_cv_lib_soname_odbc:+false} :
18275 then :
18276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18277 printf "%s\n" "not found" >&6; }
18278 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18280 else $as_nop
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18282 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18284 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18289 if test "x$with_netapi" != "xno"
18290 then
18291 if ${NETAPI_CFLAGS:+false} :
18292 then :
18293 if test ${PKG_CONFIG+y}
18294 then :
18295 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18299 if ${NETAPI_LIBS:+false} :
18300 then :
18301 if test ${PKG_CONFIG+y}
18302 then :
18303 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18310 ac_save_CPPFLAGS=$CPPFLAGS
18311 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18313 printf %s "checking for -lnetapi... " >&6; }
18314 if test ${ac_cv_lib_soname_netapi+y}
18315 then :
18316 printf %s "(cached) " >&6
18317 else $as_nop
18318 ac_check_soname_save_LIBS=$LIBS
18319 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18323 /* Override any GCC internal prototype to avoid an error.
18324 Use char because int might match the return type of a GCC
18325 builtin and then its argument prototype would still apply. */
18326 char libnetapi_init ();
18328 main (void)
18330 return libnetapi_init ();
18332 return 0;
18334 _ACEOF
18335 if ac_fn_c_try_link "$LINENO"
18336 then :
18337 case "$LIBEXT" in
18338 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18339 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'` ;;
18340 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18341 if ${ac_cv_lib_soname_netapi:+false} :
18342 then :
18343 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18344 fi ;;
18345 esac
18346 else $as_nop
18347 ac_cv_lib_soname_netapi=
18349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18350 conftest$ac_exeext conftest.$ac_ext
18351 LIBS=$ac_check_soname_save_LIBS
18353 if ${ac_cv_lib_soname_netapi:+false} :
18354 then :
18355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18356 printf "%s\n" "not found" >&6; }
18357 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18359 else $as_nop
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18361 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18363 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18367 CPPFLAGS=$ac_save_CPPFLAGS
18370 if test "x$ac_cv_lib_soname_netapi" = "x"
18371 then :
18372 case "x$with_netapi" in
18373 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18374 xno) ;;
18375 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18376 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18377 esac
18378 enable_netapi=${enable_netapi:-no}
18382 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18383 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18384 then
18385 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18388 if test "x$with_vulkan" != "xno"
18389 then
18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18391 printf %s "checking for -lvulkan... " >&6; }
18392 if test ${ac_cv_lib_soname_vulkan+y}
18393 then :
18394 printf %s "(cached) " >&6
18395 else $as_nop
18396 ac_check_soname_save_LIBS=$LIBS
18397 LIBS="-lvulkan $LIBS"
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18404 char vkGetInstanceProcAddr ();
18406 main (void)
18408 return vkGetInstanceProcAddr ();
18410 return 0;
18412 _ACEOF
18413 if ac_fn_c_try_link "$LINENO"
18414 then :
18415 case "$LIBEXT" in
18416 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18417 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'` ;;
18418 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18419 if ${ac_cv_lib_soname_vulkan:+false} :
18420 then :
18421 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18422 fi ;;
18423 esac
18424 else $as_nop
18425 ac_cv_lib_soname_vulkan=
18427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18428 conftest$ac_exeext conftest.$ac_ext
18429 LIBS=$ac_check_soname_save_LIBS
18431 if ${ac_cv_lib_soname_vulkan:+false} :
18432 then :
18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18434 printf "%s\n" "not found" >&6; }
18436 else $as_nop
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18438 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18440 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18444 if test "x$ac_cv_lib_soname_vulkan" = "x"
18445 then
18446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18447 printf %s "checking for -lMoltenVK... " >&6; }
18448 if test ${ac_cv_lib_soname_MoltenVK+y}
18449 then :
18450 printf %s "(cached) " >&6
18451 else $as_nop
18452 ac_check_soname_save_LIBS=$LIBS
18453 LIBS="-lMoltenVK $LIBS"
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18457 /* Override any GCC internal prototype to avoid an error.
18458 Use char because int might match the return type of a GCC
18459 builtin and then its argument prototype would still apply. */
18460 char vkGetInstanceProcAddr ();
18462 main (void)
18464 return vkGetInstanceProcAddr ();
18466 return 0;
18468 _ACEOF
18469 if ac_fn_c_try_link "$LINENO"
18470 then :
18471 case "$LIBEXT" in
18472 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18473 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'` ;;
18474 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18475 if ${ac_cv_lib_soname_MoltenVK:+false} :
18476 then :
18477 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18478 fi ;;
18479 esac
18480 else $as_nop
18481 ac_cv_lib_soname_MoltenVK=
18483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18484 conftest$ac_exeext conftest.$ac_ext
18485 LIBS=$ac_check_soname_save_LIBS
18487 if ${ac_cv_lib_soname_MoltenVK:+false} :
18488 then :
18489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18490 printf "%s\n" "not found" >&6; }
18492 else $as_nop
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18494 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18496 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18502 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18503 then :
18504 case "x$with_vulkan" in
18505 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18506 xno) ;;
18507 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18508 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18509 esac
18514 if test "x${GCC}" = "xyes"
18515 then
18516 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18518 saved_CFLAGS=$CFLAGS
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18520 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18521 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18522 then :
18523 printf %s "(cached) " >&6
18524 else $as_nop
18525 ac_wine_try_cflags_saved=$CFLAGS
18526 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 int main(int argc, char **argv) { return 0; }
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"
18532 then :
18533 ac_cv_cflags__Werror_unknown_warning_option=yes
18534 else $as_nop
18535 ac_cv_cflags__Werror_unknown_warning_option=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18538 conftest$ac_exeext conftest.$ac_ext
18539 CFLAGS=$ac_wine_try_cflags_saved
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18542 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18543 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18544 then :
18545 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18548 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18549 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18550 then :
18551 printf %s "(cached) " >&6
18552 else $as_nop
18553 ac_wine_try_cflags_saved=$CFLAGS
18554 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 int main(int argc, char **argv) { return 0; }
18558 _ACEOF
18559 if ac_fn_c_try_link "$LINENO"
18560 then :
18561 ac_cv_cflags__Werror_unused_command_line_argument=yes
18562 else $as_nop
18563 ac_cv_cflags__Werror_unused_command_line_argument=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18566 conftest$ac_exeext conftest.$ac_ext
18567 CFLAGS=$ac_wine_try_cflags_saved
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18570 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18571 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18572 then :
18573 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18576 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18577 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18578 then :
18579 printf %s "(cached) " >&6
18580 else $as_nop
18581 ac_wine_try_cflags_saved=$CFLAGS
18582 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 int main(int argc, char **argv) { return 0; }
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"
18588 then :
18589 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18590 else $as_nop
18591 ac_cv_cflags__Werror_ignored_optimization_argument=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18594 conftest$ac_exeext conftest.$ac_ext
18595 CFLAGS=$ac_wine_try_cflags_saved
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18598 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18599 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18600 then :
18601 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18604 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18605 if test ${ac_cv_cflags__fcf_protection_none+y}
18606 then :
18607 printf %s "(cached) " >&6
18608 else $as_nop
18609 ac_wine_try_cflags_saved=$CFLAGS
18610 CFLAGS="$CFLAGS -fcf-protection=none"
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 int main(int argc, char **argv) { return 0; }
18614 _ACEOF
18615 if ac_fn_c_try_link "$LINENO"
18616 then :
18617 ac_cv_cflags__fcf_protection_none=yes
18618 else $as_nop
18619 ac_cv_cflags__fcf_protection_none=no
18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18622 conftest$ac_exeext conftest.$ac_ext
18623 CFLAGS=$ac_wine_try_cflags_saved
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18626 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18627 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18628 then :
18629 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18632 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18633 if test ${ac_cv_cflags__fno_stack_protector+y}
18634 then :
18635 printf %s "(cached) " >&6
18636 else $as_nop
18637 ac_wine_try_cflags_saved=$CFLAGS
18638 CFLAGS="$CFLAGS -fno-stack-protector"
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 int main(int argc, char **argv) { return 0; }
18642 _ACEOF
18643 if ac_fn_c_try_link "$LINENO"
18644 then :
18645 ac_cv_cflags__fno_stack_protector=yes
18646 else $as_nop
18647 ac_cv_cflags__fno_stack_protector=no
18649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18650 conftest$ac_exeext conftest.$ac_ext
18651 CFLAGS=$ac_wine_try_cflags_saved
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18654 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18655 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18656 then :
18657 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18660 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18661 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18662 then :
18663 printf %s "(cached) " >&6
18664 else $as_nop
18665 ac_wine_try_cflags_saved=$CFLAGS
18666 CFLAGS="$CFLAGS -fno-strict-aliasing"
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 int main(int argc, char **argv) { return 0; }
18670 _ACEOF
18671 if ac_fn_c_try_link "$LINENO"
18672 then :
18673 ac_cv_cflags__fno_strict_aliasing=yes
18674 else $as_nop
18675 ac_cv_cflags__fno_strict_aliasing=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18678 conftest$ac_exeext conftest.$ac_ext
18679 CFLAGS=$ac_wine_try_cflags_saved
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18682 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18683 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18684 then :
18685 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18688 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18689 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18690 then :
18691 printf %s "(cached) " >&6
18692 else $as_nop
18693 ac_wine_try_cflags_saved=$CFLAGS
18694 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 int main(int argc, char **argv) { return 0; }
18698 _ACEOF
18699 if ac_fn_c_try_link "$LINENO"
18700 then :
18701 ac_cv_cflags__Wdeclaration_after_statement=yes
18702 else $as_nop
18703 ac_cv_cflags__Wdeclaration_after_statement=no
18705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18706 conftest$ac_exeext conftest.$ac_ext
18707 CFLAGS=$ac_wine_try_cflags_saved
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18710 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18711 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18712 then :
18713 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18716 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18717 if test ${ac_cv_cflags__Wempty_body+y}
18718 then :
18719 printf %s "(cached) " >&6
18720 else $as_nop
18721 ac_wine_try_cflags_saved=$CFLAGS
18722 CFLAGS="$CFLAGS -Wempty-body"
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 int main(int argc, char **argv) { return 0; }
18726 _ACEOF
18727 if ac_fn_c_try_link "$LINENO"
18728 then :
18729 ac_cv_cflags__Wempty_body=yes
18730 else $as_nop
18731 ac_cv_cflags__Wempty_body=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18734 conftest$ac_exeext conftest.$ac_ext
18735 CFLAGS=$ac_wine_try_cflags_saved
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18738 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18739 if test "x$ac_cv_cflags__Wempty_body" = xyes
18740 then :
18741 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18744 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18745 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18746 then :
18747 printf %s "(cached) " >&6
18748 else $as_nop
18749 ac_wine_try_cflags_saved=$CFLAGS
18750 CFLAGS="$CFLAGS -Wignored-qualifiers"
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 int main(int argc, char **argv) { return 0; }
18754 _ACEOF
18755 if ac_fn_c_try_link "$LINENO"
18756 then :
18757 ac_cv_cflags__Wignored_qualifiers=yes
18758 else $as_nop
18759 ac_cv_cflags__Wignored_qualifiers=no
18761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18762 conftest$ac_exeext conftest.$ac_ext
18763 CFLAGS=$ac_wine_try_cflags_saved
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18766 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18767 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18768 then :
18769 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18772 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18773 if test ${ac_cv_cflags__Winit_self+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_wine_try_cflags_saved=$CFLAGS
18778 CFLAGS="$CFLAGS -Winit-self"
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18782 _ACEOF
18783 if ac_fn_c_try_link "$LINENO"
18784 then :
18785 ac_cv_cflags__Winit_self=yes
18786 else $as_nop
18787 ac_cv_cflags__Winit_self=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18790 conftest$ac_exeext conftest.$ac_ext
18791 CFLAGS=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18794 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18795 if test "x$ac_cv_cflags__Winit_self" = xyes
18796 then :
18797 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18800 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18801 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18802 then :
18803 printf %s "(cached) " >&6
18804 else $as_nop
18805 ac_wine_try_cflags_saved=$CFLAGS
18806 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"
18812 then :
18813 ac_cv_cflags__Wpacked_not_aligned=yes
18814 else $as_nop
18815 ac_cv_cflags__Wpacked_not_aligned=no
18817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18818 conftest$ac_exeext conftest.$ac_ext
18819 CFLAGS=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18822 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18823 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18824 then :
18825 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18828 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18829 if test ${ac_cv_cflags__Wpragma_pack+y}
18830 then :
18831 printf %s "(cached) " >&6
18832 else $as_nop
18833 ac_wine_try_cflags_saved=$CFLAGS
18834 CFLAGS="$CFLAGS -Wpragma-pack"
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 int main(int argc, char **argv) { return 0; }
18838 _ACEOF
18839 if ac_fn_c_try_link "$LINENO"
18840 then :
18841 ac_cv_cflags__Wpragma_pack=yes
18842 else $as_nop
18843 ac_cv_cflags__Wpragma_pack=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18846 conftest$ac_exeext conftest.$ac_ext
18847 CFLAGS=$ac_wine_try_cflags_saved
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18850 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18851 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18852 then :
18853 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18856 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18857 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18858 then :
18859 printf %s "(cached) " >&6
18860 else $as_nop
18861 ac_wine_try_cflags_saved=$CFLAGS
18862 CFLAGS="$CFLAGS -Wshift-overflow=2"
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 int main(int argc, char **argv) { return 0; }
18866 _ACEOF
18867 if ac_fn_c_try_link "$LINENO"
18868 then :
18869 ac_cv_cflags__Wshift_overflow_2=yes
18870 else $as_nop
18871 ac_cv_cflags__Wshift_overflow_2=no
18873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18874 conftest$ac_exeext conftest.$ac_ext
18875 CFLAGS=$ac_wine_try_cflags_saved
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18878 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18879 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18880 then :
18881 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18884 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18885 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18886 then :
18887 printf %s "(cached) " >&6
18888 else $as_nop
18889 ac_wine_try_cflags_saved=$CFLAGS
18890 CFLAGS="$CFLAGS -Wstrict-prototypes"
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"
18896 then :
18897 ac_cv_cflags__Wstrict_prototypes=yes
18898 else $as_nop
18899 ac_cv_cflags__Wstrict_prototypes=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18902 conftest$ac_exeext conftest.$ac_ext
18903 CFLAGS=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18907 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18908 then :
18909 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18912 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18913 if test ${ac_cv_cflags__Wtype_limits+y}
18914 then :
18915 printf %s "(cached) " >&6
18916 else $as_nop
18917 ac_wine_try_cflags_saved=$CFLAGS
18918 CFLAGS="$CFLAGS -Wtype-limits"
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18921 int main(int argc, char **argv) { return 0; }
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"
18924 then :
18925 ac_cv_cflags__Wtype_limits=yes
18926 else $as_nop
18927 ac_cv_cflags__Wtype_limits=no
18929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18930 conftest$ac_exeext conftest.$ac_ext
18931 CFLAGS=$ac_wine_try_cflags_saved
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18934 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18935 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18936 then :
18937 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18940 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18941 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18942 then :
18943 printf %s "(cached) " >&6
18944 else $as_nop
18945 ac_wine_try_cflags_saved=$CFLAGS
18946 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 int main(int argc, char **argv) { return 0; }
18950 _ACEOF
18951 if ac_fn_c_try_link "$LINENO"
18952 then :
18953 ac_cv_cflags__Wunused_but_set_parameter=yes
18954 else $as_nop
18955 ac_cv_cflags__Wunused_but_set_parameter=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18958 conftest$ac_exeext conftest.$ac_ext
18959 CFLAGS=$ac_wine_try_cflags_saved
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18962 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18963 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18964 then :
18965 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18968 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18969 if test ${ac_cv_cflags__Wvla+y}
18970 then :
18971 printf %s "(cached) " >&6
18972 else $as_nop
18973 ac_wine_try_cflags_saved=$CFLAGS
18974 CFLAGS="$CFLAGS -Wvla"
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18977 int main(int argc, char **argv) { return 0; }
18978 _ACEOF
18979 if ac_fn_c_try_link "$LINENO"
18980 then :
18981 ac_cv_cflags__Wvla=yes
18982 else $as_nop
18983 ac_cv_cflags__Wvla=no
18985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18986 conftest$ac_exeext conftest.$ac_ext
18987 CFLAGS=$ac_wine_try_cflags_saved
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18990 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18991 if test "x$ac_cv_cflags__Wvla" = xyes
18992 then :
18993 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18996 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18997 if test ${ac_cv_cflags__Wwrite_strings+y}
18998 then :
18999 printf %s "(cached) " >&6
19000 else $as_nop
19001 ac_wine_try_cflags_saved=$CFLAGS
19002 CFLAGS="$CFLAGS -Wwrite-strings"
19003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19005 int main(int argc, char **argv) { return 0; }
19006 _ACEOF
19007 if ac_fn_c_try_link "$LINENO"
19008 then :
19009 ac_cv_cflags__Wwrite_strings=yes
19010 else $as_nop
19011 ac_cv_cflags__Wwrite_strings=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19014 conftest$ac_exeext conftest.$ac_ext
19015 CFLAGS=$ac_wine_try_cflags_saved
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19018 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19019 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19020 then :
19021 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19024 if test -z "$CROSSTARGET"
19025 then
19026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19027 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19028 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19029 then :
19030 printf %s "(cached) " >&6
19031 else $as_nop
19032 ac_wine_try_cflags_saved=$CFLAGS
19033 CFLAGS="$CFLAGS -fexcess-precision=standard"
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19036 int main(int argc, char **argv) { return 0; }
19037 _ACEOF
19038 if ac_fn_c_try_link "$LINENO"
19039 then :
19040 ac_cv_cflags__fexcess_precision_standard=yes
19041 else $as_nop
19042 ac_cv_cflags__fexcess_precision_standard=no
19044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19045 conftest$ac_exeext conftest.$ac_ext
19046 CFLAGS=$ac_wine_try_cflags_saved
19048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19049 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19050 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19051 then :
19052 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19058 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19059 if test ${ac_cv_cflags__Wpointer_arith+y}
19060 then :
19061 printf %s "(cached) " >&6
19062 else $as_nop
19063 ac_wine_try_cflags_saved=$CFLAGS
19064 CFLAGS="$CFLAGS -Wpointer-arith"
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 int main(int argc, char **argv) { return 0; }
19068 _ACEOF
19069 if ac_fn_c_try_link "$LINENO"
19070 then :
19071 ac_cv_cflags__Wpointer_arith=yes
19072 else $as_nop
19073 ac_cv_cflags__Wpointer_arith=no
19075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19076 conftest$ac_exeext conftest.$ac_ext
19077 CFLAGS=$ac_wine_try_cflags_saved
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19080 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19081 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19082 then :
19083 saved_string_h_CFLAGS=$CFLAGS
19084 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19086 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19087 if test ${ac_cv_c_string_h_warnings+y}
19088 then :
19089 printf %s "(cached) " >&6
19090 else $as_nop
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 #include <string.h>
19095 main (void)
19099 return 0;
19101 _ACEOF
19102 if ac_fn_c_try_compile "$LINENO"
19103 then :
19104 ac_cv_c_string_h_warnings=no
19105 else $as_nop
19106 ac_cv_c_string_h_warnings=yes
19108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19111 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19112 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19113 CFLAGS=$saved_string_h_CFLAGS
19116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19117 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19118 if test ${ac_cv_cflags__Wlogical_op+y}
19119 then :
19120 printf %s "(cached) " >&6
19121 else $as_nop
19122 ac_wine_try_cflags_saved=$CFLAGS
19123 CFLAGS="$CFLAGS -Wlogical-op"
19124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19126 int main(int argc, char **argv) { return 0; }
19127 _ACEOF
19128 if ac_fn_c_try_link "$LINENO"
19129 then :
19130 ac_cv_cflags__Wlogical_op=yes
19131 else $as_nop
19132 ac_cv_cflags__Wlogical_op=no
19134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19135 conftest$ac_exeext conftest.$ac_ext
19136 CFLAGS=$ac_wine_try_cflags_saved
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19139 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19140 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19141 then :
19142 saved_string_h_CFLAGS=$CFLAGS
19143 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19145 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19146 if test ${ac_cv_c_logicalop_noisy+y}
19147 then :
19148 printf %s "(cached) " >&6
19149 else $as_nop
19150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19151 /* end confdefs.h. */
19152 #include <string.h>
19153 char*f(const char *h,char n) {return strchr(h,n);}
19155 main (void)
19159 return 0;
19161 _ACEOF
19162 if ac_fn_c_try_compile "$LINENO"
19163 then :
19164 ac_cv_c_logicalop_noisy=no
19165 else $as_nop
19166 ac_cv_c_logicalop_noisy=yes
19168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19171 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19172 CFLAGS=$saved_string_h_CFLAGS
19173 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19177 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19178 if test ${wine_cv_64bit_compare_swap+y}
19179 then :
19180 printf %s "(cached) " >&6
19181 else $as_nop
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19185 #error no
19186 #endif
19188 main (void)
19192 return 0;
19194 _ACEOF
19195 if ac_fn_c_try_compile "$LINENO"
19196 then :
19197 wine_cv_64bit_compare_swap="none needed"
19198 else $as_nop
19199 case $host_cpu in
19200 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19201 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19202 *) wine_cv_64bit_compare_swap="unknown" ;;
19203 esac
19204 if test "x$wine_cv_64bit_compare_swap" != xunknown
19205 then
19206 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19210 #error no
19211 #endif
19213 main (void)
19217 return 0;
19219 _ACEOF
19220 if ac_fn_c_try_compile "$LINENO"
19221 then :
19223 else $as_nop
19224 wine_cv_64bit_compare_swap="unknown"
19226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19227 CFLAGS=$saved_CFLAGS
19230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19233 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19234 case "$wine_cv_64bit_compare_swap" in
19235 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19236 "none needed") ;;
19237 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19238 esac
19240 ac_debug_format_seen=""
19241 for ac_flag in $CFLAGS; do
19242 case $ac_flag in
19243 -gdwarf*) ac_debug_format_seen=yes ;;
19244 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19245 esac
19246 done
19247 if test "x$ac_debug_format_seen" = xdefault
19248 then
19249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19250 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19251 if test ${ac_cv_cflags__gdwarf_4+y}
19252 then :
19253 printf %s "(cached) " >&6
19254 else $as_nop
19255 ac_wine_try_cflags_saved=$CFLAGS
19256 CFLAGS="$CFLAGS -gdwarf-4"
19257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19258 /* end confdefs.h. */
19259 int main(int argc, char **argv) { return 0; }
19260 _ACEOF
19261 if ac_fn_c_try_link "$LINENO"
19262 then :
19263 ac_cv_cflags__gdwarf_4=yes
19264 else $as_nop
19265 ac_cv_cflags__gdwarf_4=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19268 conftest$ac_exeext conftest.$ac_ext
19269 CFLAGS=$ac_wine_try_cflags_saved
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19272 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19273 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19274 then :
19275 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19279 MSVCRTFLAGS=""
19281 case $host_os in
19282 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19283 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19284 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19285 then :
19286 printf %s "(cached) " >&6
19287 else $as_nop
19288 ac_wine_try_cflags_saved=$CFLAGS
19289 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 int main(int argc, char **argv) { return 0; }
19293 _ACEOF
19294 if ac_fn_c_try_link "$LINENO"
19295 then :
19296 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19297 else $as_nop
19298 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19301 conftest$ac_exeext conftest.$ac_ext
19302 CFLAGS=$ac_wine_try_cflags_saved
19304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19305 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19306 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19307 then :
19308 DELAYLOADFLAG="-Wl,-delayload,"
19310 fi ;;
19311 *) MSVCRTFLAGS="-D_WIN32"
19312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19313 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19314 if test ${ac_cv_cflags__fno_builtin+y}
19315 then :
19316 printf %s "(cached) " >&6
19317 else $as_nop
19318 ac_wine_try_cflags_saved=$CFLAGS
19319 CFLAGS="$CFLAGS -fno-builtin"
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 int main(int argc, char **argv) { return 0; }
19323 _ACEOF
19324 if ac_fn_c_try_link "$LINENO"
19325 then :
19326 ac_cv_cflags__fno_builtin=yes
19327 else $as_nop
19328 ac_cv_cflags__fno_builtin=no
19330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19331 conftest$ac_exeext conftest.$ac_ext
19332 CFLAGS=$ac_wine_try_cflags_saved
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19335 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19336 if test "x$ac_cv_cflags__fno_builtin" = xyes
19337 then :
19338 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19341 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19342 if test ${ac_cv_cflags__fshort_wchar+y}
19343 then :
19344 printf %s "(cached) " >&6
19345 else $as_nop
19346 ac_wine_try_cflags_saved=$CFLAGS
19347 CFLAGS="$CFLAGS -fshort-wchar"
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19350 int main(int argc, char **argv) { return 0; }
19351 _ACEOF
19352 if ac_fn_c_try_link "$LINENO"
19353 then :
19354 ac_cv_cflags__fshort_wchar=yes
19355 else $as_nop
19356 ac_cv_cflags__fshort_wchar=no
19358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19359 conftest$ac_exeext conftest.$ac_ext
19360 CFLAGS=$ac_wine_try_cflags_saved
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19363 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19364 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19365 then :
19366 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19369 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19370 if test ${ac_cv_cflags__Wno_format+y}
19371 then :
19372 printf %s "(cached) " >&6
19373 else $as_nop
19374 ac_wine_try_cflags_saved=$CFLAGS
19375 CFLAGS="$CFLAGS -Wno-format"
19376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19377 /* end confdefs.h. */
19378 int main(int argc, char **argv) { return 0; }
19379 _ACEOF
19380 if ac_fn_c_try_link "$LINENO"
19381 then :
19382 ac_cv_cflags__Wno_format=yes
19383 else $as_nop
19384 ac_cv_cflags__Wno_format=no
19386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19387 conftest$ac_exeext conftest.$ac_ext
19388 CFLAGS=$ac_wine_try_cflags_saved
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19391 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19392 if test "x$ac_cv_cflags__Wno_format" = xyes
19393 then :
19394 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19395 fi ;;
19396 esac
19398 case $host_cpu in
19399 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19400 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19401 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19402 then :
19403 printf %s "(cached) " >&6
19404 else $as_nop
19405 ac_wine_try_cflags_saved=$CFLAGS
19406 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19409 int main(int argc, char **argv) { return 0; }
19410 _ACEOF
19411 if ac_fn_c_try_link "$LINENO"
19412 then :
19413 ac_cv_cflags__fno_omit_frame_pointer=yes
19414 else $as_nop
19415 ac_cv_cflags__fno_omit_frame_pointer=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19418 conftest$ac_exeext conftest.$ac_ext
19419 CFLAGS=$ac_wine_try_cflags_saved
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19422 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19423 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19424 then :
19425 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19426 fi ;;
19427 *x86_64*)
19428 case $host_os in
19429 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19430 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19431 if test ${ac_cv_cflags__Wno_format+y}
19432 then :
19433 printf %s "(cached) " >&6
19434 else $as_nop
19435 ac_wine_try_cflags_saved=$CFLAGS
19436 CFLAGS="$CFLAGS -Wno-format"
19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 int main(int argc, char **argv) { return 0; }
19440 _ACEOF
19441 if ac_fn_c_try_link "$LINENO"
19442 then :
19443 ac_cv_cflags__Wno_format=yes
19444 else $as_nop
19445 ac_cv_cflags__Wno_format=no
19447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19448 conftest$ac_exeext conftest.$ac_ext
19449 CFLAGS=$ac_wine_try_cflags_saved
19451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19452 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19453 if test "x$ac_cv_cflags__Wno_format" = xyes
19454 then :
19455 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19456 fi ;;
19457 *) if test -z "$CROSSTARGET"
19458 then
19459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19460 printf %s "checking for working -mabi=ms... " >&6; }
19461 if test ${ac_cv_mabi_ms+y}
19462 then :
19463 printf %s "(cached) " >&6
19464 else $as_nop
19465 CFLAGS="$CFLAGS -mabi=ms"
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 #include <stdarg.h>
19469 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19471 main (void)
19475 return 0;
19477 _ACEOF
19478 if ac_fn_c_try_compile "$LINENO"
19479 then :
19480 ac_cv_mabi_ms=yes
19481 else $as_nop
19482 ac_cv_mabi_ms=no
19484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19485 CFLAGS=$saved_CFLAGS
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19488 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19489 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
19491 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19492 esac ;;
19493 arm*)
19494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19495 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19496 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19497 then :
19498 printf %s "(cached) " >&6
19499 else $as_nop
19500 ac_wine_try_cflags_saved=$CFLAGS
19501 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504 int main(int argc, char **argv) { return 0; }
19505 _ACEOF
19506 if ac_fn_c_try_link "$LINENO"
19507 then :
19508 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19509 else $as_nop
19510 ac_cv_cflags__Wincompatible_function_pointer_types=no
19512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19513 conftest$ac_exeext conftest.$ac_ext
19514 CFLAGS=$ac_wine_try_cflags_saved
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19517 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19518 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19519 then :
19520 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19521 fi ;;
19522 esac
19524 CFLAGS=$saved_CFLAGS
19526 if test "x$enable_werror" = "xyes"
19527 then
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19529 printf %s "checking whether the compiler supports -Werror... " >&6; }
19530 if test ${ac_cv_cflags__Werror+y}
19531 then :
19532 printf %s "(cached) " >&6
19533 else $as_nop
19534 ac_wine_try_cflags_saved=$CFLAGS
19535 CFLAGS="$CFLAGS -Werror"
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538 int main(int argc, char **argv) { return 0; }
19539 _ACEOF
19540 if ac_fn_c_try_link "$LINENO"
19541 then :
19542 ac_cv_cflags__Werror=yes
19543 else $as_nop
19544 ac_cv_cflags__Werror=no
19546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19547 conftest$ac_exeext conftest.$ac_ext
19548 CFLAGS=$ac_wine_try_cflags_saved
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19551 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19552 if test "x$ac_cv_cflags__Werror" = xyes
19553 then :
19554 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19557 if test "x$enable_build_id" = "xyes"
19558 then
19559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19560 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19561 if test ${ac_cv_cflags__Wl___build_id+y}
19562 then :
19563 printf %s "(cached) " >&6
19564 else $as_nop
19565 ac_wine_try_cflags_saved=$CFLAGS
19566 CFLAGS="$CFLAGS -Wl,--build-id"
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 int main(int argc, char **argv) { return 0; }
19570 _ACEOF
19571 if ac_fn_c_try_link "$LINENO"
19572 then :
19573 ac_cv_cflags__Wl___build_id=yes
19574 else $as_nop
19575 ac_cv_cflags__Wl___build_id=no
19577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19578 conftest$ac_exeext conftest.$ac_ext
19579 CFLAGS=$ac_wine_try_cflags_saved
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19582 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19583 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19584 then :
19585 CFLAGS="$CFLAGS -Wl,--build-id"
19586 LDFLAGS="$LDFLAGS -Wl,--build-id"
19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19593 printf %s "checking for the need to disable Fortify... " >&6; }
19594 if test ${ac_cv_c_fortify_enabled+y}
19595 then :
19596 printf %s "(cached) " >&6
19597 else $as_nop
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 #include <string.h>
19602 main (void)
19604 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19605 #error Fortify enabled
19606 #endif
19608 return 0;
19610 _ACEOF
19611 if ac_fn_c_try_compile "$LINENO"
19612 then :
19613 ac_cv_c_fortify_enabled=no
19614 else $as_nop
19615 ac_cv_c_fortify_enabled=yes
19617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19620 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19621 if test "$ac_cv_c_fortify_enabled" = yes
19622 then
19623 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19628 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19629 if test ${ac_cv_c_cfi_support+y}
19630 then :
19631 printf %s "(cached) " >&6
19632 else $as_nop
19633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19634 /* end confdefs.h. */
19635 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19637 main (void)
19641 return 0;
19643 _ACEOF
19644 if ac_fn_c_try_compile "$LINENO"
19645 then :
19646 ac_cv_c_cfi_support="yes"
19647 else $as_nop
19648 ac_cv_c_cfi_support="no"
19650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19653 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19654 if test "$ac_cv_c_cfi_support" = "yes"
19655 then
19656 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19657 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19658 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19659 else
19660 if test "x$enable_win64" = "xyes"
19661 then
19662 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19667 case $host_os in
19668 linux*)
19669 case $host_cpu in
19670 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19671 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19672 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19674 esac
19676 esac
19679 ac_save_CFLAGS="$CFLAGS"
19680 CFLAGS="$CFLAGS $BUILTINFLAG"
19681 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19682 if test "x$ac_cv_func_epoll_create" = xyes
19683 then :
19684 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19687 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19688 if test "x$ac_cv_func_fstatfs" = xyes
19689 then :
19690 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19693 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19694 if test "x$ac_cv_func_futimens" = xyes
19695 then :
19696 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19699 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19700 if test "x$ac_cv_func_futimes" = xyes
19701 then :
19702 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19705 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19706 if test "x$ac_cv_func_futimesat" = xyes
19707 then :
19708 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19711 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19712 if test "x$ac_cv_func_getattrlist" = xyes
19713 then :
19714 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19717 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19718 if test "x$ac_cv_func_getauxval" = xyes
19719 then :
19720 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19723 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19724 if test "x$ac_cv_func_getifaddrs" = xyes
19725 then :
19726 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19729 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19730 if test "x$ac_cv_func_getrandom" = xyes
19731 then :
19732 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19735 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19736 if test "x$ac_cv_func_kqueue" = xyes
19737 then :
19738 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19741 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19742 if test "x$ac_cv_func_mach_continuous_time" = xyes
19743 then :
19744 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19747 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19748 if test "x$ac_cv_func_pipe2" = xyes
19749 then :
19750 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19753 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19754 if test "x$ac_cv_func_port_create" = xyes
19755 then :
19756 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19759 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19760 if test "x$ac_cv_func_posix_fadvise" = xyes
19761 then :
19762 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19765 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19766 if test "x$ac_cv_func_posix_fallocate" = xyes
19767 then :
19768 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19771 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19772 if test "x$ac_cv_func_prctl" = xyes
19773 then :
19774 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19777 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19778 if test "x$ac_cv_func_proc_pidinfo" = xyes
19779 then :
19780 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19783 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19784 if test "x$ac_cv_func_sched_yield" = xyes
19785 then :
19786 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19789 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19790 if test "x$ac_cv_func_setproctitle" = xyes
19791 then :
19792 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19795 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19796 if test "x$ac_cv_func_setprogname" = xyes
19797 then :
19798 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19801 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19802 if test "x$ac_cv_func_sigprocmask" = xyes
19803 then :
19804 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19807 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19808 if test "x$ac_cv_func_sysinfo" = xyes
19809 then :
19810 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19813 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19814 if test "x$ac_cv_func_tcdrain" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19819 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19820 if test "x$ac_cv_func_thr_kill2" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19826 CFLAGS="$ac_save_CFLAGS"
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19829 printf %s "checking for library containing dlopen... " >&6; }
19830 if test ${ac_cv_search_dlopen+y}
19831 then :
19832 printf %s "(cached) " >&6
19833 else $as_nop
19834 ac_func_search_save_LIBS=$LIBS
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19838 /* Override any GCC internal prototype to avoid an error.
19839 Use char because int might match the return type of a GCC
19840 builtin and then its argument prototype would still apply. */
19841 char dlopen ();
19843 main (void)
19845 return dlopen ();
19847 return 0;
19849 _ACEOF
19850 for ac_lib in '' dl
19852 if test -z "$ac_lib"; then
19853 ac_res="none required"
19854 else
19855 ac_res=-l$ac_lib
19856 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19858 if ac_fn_c_try_link "$LINENO"
19859 then :
19860 ac_cv_search_dlopen=$ac_res
19862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19863 conftest$ac_exeext
19864 if test ${ac_cv_search_dlopen+y}
19865 then :
19866 break
19868 done
19869 if test ${ac_cv_search_dlopen+y}
19870 then :
19872 else $as_nop
19873 ac_cv_search_dlopen=no
19875 rm conftest.$ac_ext
19876 LIBS=$ac_func_search_save_LIBS
19878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19879 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19880 ac_res=$ac_cv_search_dlopen
19881 if test "$ac_res" != no
19882 then :
19883 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19887 ac_wine_check_funcs_save_LIBS="$LIBS"
19888 LIBS="$LIBS $DL_LIBS"
19889 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19890 if test "x$ac_cv_func_dlinfo" = xyes
19891 then :
19892 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19896 LIBS="$ac_wine_check_funcs_save_LIBS"
19898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19899 printf %s "checking for library containing gethostbyname... " >&6; }
19900 if test ${ac_cv_search_gethostbyname+y}
19901 then :
19902 printf %s "(cached) " >&6
19903 else $as_nop
19904 ac_func_search_save_LIBS=$LIBS
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19908 /* Override any GCC internal prototype to avoid an error.
19909 Use char because int might match the return type of a GCC
19910 builtin and then its argument prototype would still apply. */
19911 char gethostbyname ();
19913 main (void)
19915 return gethostbyname ();
19917 return 0;
19919 _ACEOF
19920 for ac_lib in '' nsl
19922 if test -z "$ac_lib"; then
19923 ac_res="none required"
19924 else
19925 ac_res=-l$ac_lib
19926 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19928 if ac_fn_c_try_link "$LINENO"
19929 then :
19930 ac_cv_search_gethostbyname=$ac_res
19932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19933 conftest$ac_exeext
19934 if test ${ac_cv_search_gethostbyname+y}
19935 then :
19936 break
19938 done
19939 if test ${ac_cv_search_gethostbyname+y}
19940 then :
19942 else $as_nop
19943 ac_cv_search_gethostbyname=no
19945 rm conftest.$ac_ext
19946 LIBS=$ac_func_search_save_LIBS
19948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19949 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19950 ac_res=$ac_cv_search_gethostbyname
19951 if test "$ac_res" != no
19952 then :
19953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19959 printf %s "checking for library containing connect... " >&6; }
19960 if test ${ac_cv_search_connect+y}
19961 then :
19962 printf %s "(cached) " >&6
19963 else $as_nop
19964 ac_func_search_save_LIBS=$LIBS
19965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19968 /* Override any GCC internal prototype to avoid an error.
19969 Use char because int might match the return type of a GCC
19970 builtin and then its argument prototype would still apply. */
19971 char connect ();
19973 main (void)
19975 return connect ();
19977 return 0;
19979 _ACEOF
19980 for ac_lib in '' socket
19982 if test -z "$ac_lib"; then
19983 ac_res="none required"
19984 else
19985 ac_res=-l$ac_lib
19986 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19988 if ac_fn_c_try_link "$LINENO"
19989 then :
19990 ac_cv_search_connect=$ac_res
19992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19993 conftest$ac_exeext
19994 if test ${ac_cv_search_connect+y}
19995 then :
19996 break
19998 done
19999 if test ${ac_cv_search_connect+y}
20000 then :
20002 else $as_nop
20003 ac_cv_search_connect=no
20005 rm conftest.$ac_ext
20006 LIBS=$ac_func_search_save_LIBS
20008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20009 printf "%s\n" "$ac_cv_search_connect" >&6; }
20010 ac_res=$ac_cv_search_connect
20011 if test "$ac_res" != no
20012 then :
20013 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20019 printf %s "checking for library containing inet_aton... " >&6; }
20020 if test ${ac_cv_search_inet_aton+y}
20021 then :
20022 printf %s "(cached) " >&6
20023 else $as_nop
20024 ac_func_search_save_LIBS=$LIBS
20025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20026 /* end confdefs.h. */
20028 /* Override any GCC internal prototype to avoid an error.
20029 Use char because int might match the return type of a GCC
20030 builtin and then its argument prototype would still apply. */
20031 char inet_aton ();
20033 main (void)
20035 return inet_aton ();
20037 return 0;
20039 _ACEOF
20040 for ac_lib in '' resolv
20042 if test -z "$ac_lib"; then
20043 ac_res="none required"
20044 else
20045 ac_res=-l$ac_lib
20046 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20048 if ac_fn_c_try_link "$LINENO"
20049 then :
20050 ac_cv_search_inet_aton=$ac_res
20052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20053 conftest$ac_exeext
20054 if test ${ac_cv_search_inet_aton+y}
20055 then :
20056 break
20058 done
20059 if test ${ac_cv_search_inet_aton+y}
20060 then :
20062 else $as_nop
20063 ac_cv_search_inet_aton=no
20065 rm conftest.$ac_ext
20066 LIBS=$ac_func_search_save_LIBS
20068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20069 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20070 ac_res=$ac_cv_search_inet_aton
20071 if test "$ac_res" != no
20072 then :
20073 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20078 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20079 if test "x$ac_cv_func_getaddrinfo" = xyes
20080 then :
20081 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20086 case $host_os in
20087 darwin*|macosx*) ;;
20088 *) ac_save_LIBS=$LIBS
20089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20090 printf %s "checking for library containing clock_gettime... " >&6; }
20091 if test ${ac_cv_search_clock_gettime+y}
20092 then :
20093 printf %s "(cached) " >&6
20094 else $as_nop
20095 ac_func_search_save_LIBS=$LIBS
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20099 /* Override any GCC internal prototype to avoid an error.
20100 Use char because int might match the return type of a GCC
20101 builtin and then its argument prototype would still apply. */
20102 char clock_gettime ();
20104 main (void)
20106 return clock_gettime ();
20108 return 0;
20110 _ACEOF
20111 for ac_lib in '' rt
20113 if test -z "$ac_lib"; then
20114 ac_res="none required"
20115 else
20116 ac_res=-l$ac_lib
20117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20119 if ac_fn_c_try_link "$LINENO"
20120 then :
20121 ac_cv_search_clock_gettime=$ac_res
20123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20124 conftest$ac_exeext
20125 if test ${ac_cv_search_clock_gettime+y}
20126 then :
20127 break
20129 done
20130 if test ${ac_cv_search_clock_gettime+y}
20131 then :
20133 else $as_nop
20134 ac_cv_search_clock_gettime=no
20136 rm conftest.$ac_ext
20137 LIBS=$ac_func_search_save_LIBS
20139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20140 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20141 ac_res=$ac_cv_search_clock_gettime
20142 if test "$ac_res" != no
20143 then :
20144 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20146 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20148 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20152 LIBS=$ac_save_LIBS
20154 esac
20156 if test "x$with_ldap" != "xno"
20157 then
20158 if ${LDAP_CFLAGS:+false} :
20159 then :
20160 if test ${PKG_CONFIG+y}
20161 then :
20162 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20166 if ${LDAP_LIBS:+false} :
20167 then :
20168 if test ${PKG_CONFIG+y}
20169 then :
20170 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20174 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20177 ac_save_CPPFLAGS=$CPPFLAGS
20178 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20179 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20180 if test "x$ac_cv_header_ldap_h" = xyes
20181 then :
20182 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20185 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20186 if test "x$ac_cv_header_lber_h" = xyes
20187 then :
20188 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20192 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20193 then
20194 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20196 if test "x$ac_cv_type_LDAPSortKey" = xyes
20197 then :
20198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20199 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20200 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20201 then :
20202 printf %s "(cached) " >&6
20203 else $as_nop
20204 ac_check_lib_save_LIBS=$LIBS
20205 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20207 /* end confdefs.h. */
20209 /* Override any GCC internal prototype to avoid an error.
20210 Use char because int might match the return type of a GCC
20211 builtin and then its argument prototype would still apply. */
20212 char ldap_initialize ();
20214 main (void)
20216 return ldap_initialize ();
20218 return 0;
20220 _ACEOF
20221 if ac_fn_c_try_link "$LINENO"
20222 then :
20223 ac_cv_lib_ldap_ldap_initialize=yes
20224 else $as_nop
20225 ac_cv_lib_ldap_ldap_initialize=no
20227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20228 conftest$ac_exeext conftest.$ac_ext
20229 LIBS=$ac_check_lib_save_LIBS
20231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20232 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20233 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20234 then :
20235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20236 printf %s "checking for ber_init in -llber... " >&6; }
20237 if test ${ac_cv_lib_lber_ber_init+y}
20238 then :
20239 printf %s "(cached) " >&6
20240 else $as_nop
20241 ac_check_lib_save_LIBS=$LIBS
20242 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20246 /* Override any GCC internal prototype to avoid an error.
20247 Use char because int might match the return type of a GCC
20248 builtin and then its argument prototype would still apply. */
20249 char ber_init ();
20251 main (void)
20253 return ber_init ();
20255 return 0;
20257 _ACEOF
20258 if ac_fn_c_try_link "$LINENO"
20259 then :
20260 ac_cv_lib_lber_ber_init=yes
20261 else $as_nop
20262 ac_cv_lib_lber_ber_init=no
20264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20265 conftest$ac_exeext conftest.$ac_ext
20266 LIBS=$ac_check_lib_save_LIBS
20268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20269 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20270 if test "x$ac_cv_lib_lber_ber_init" = xyes
20271 then :
20273 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20275 else $as_nop
20276 LDAP_LIBS=""
20279 else $as_nop
20280 LDAP_LIBS=""
20283 else $as_nop
20284 LDAP_LIBS=""
20287 else
20288 LDAP_LIBS=""
20290 CPPFLAGS=$ac_save_CPPFLAGS
20293 if test "x$LDAP_LIBS" = "x"
20294 then :
20295 case "x$with_ldap" in
20296 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20297 xno) ;;
20298 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20299 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20300 esac
20304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20305 printf %s "checking for sched_setaffinity... " >&6; }
20306 if test ${wine_cv_have_sched_setaffinity+y}
20307 then :
20308 printf %s "(cached) " >&6
20309 else $as_nop
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20312 #include <sched.h>
20314 main (void)
20316 sched_setaffinity(0, 0, 0);
20318 return 0;
20320 _ACEOF
20321 if ac_fn_c_try_link "$LINENO"
20322 then :
20323 wine_cv_have_sched_setaffinity=yes
20324 else $as_nop
20325 wine_cv_have_sched_setaffinity=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20328 conftest$ac_exeext conftest.$ac_ext
20330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20331 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20332 if test "$wine_cv_have_sched_setaffinity" = "yes"
20333 then
20335 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20341 printf %s "checking for inline... " >&6; }
20342 if test ${ac_cv_c_inline+y}
20343 then :
20344 printf %s "(cached) " >&6
20345 else $as_nop
20346 ac_cv_c_inline=no
20347 for ac_kw in inline __inline__ __inline; do
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 #ifndef __cplusplus
20351 typedef int foo_t;
20352 static $ac_kw foo_t static_foo (void) {return 0; }
20353 $ac_kw foo_t foo (void) {return 0; }
20354 #endif
20356 _ACEOF
20357 if ac_fn_c_try_compile "$LINENO"
20358 then :
20359 ac_cv_c_inline=$ac_kw
20361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20362 test "$ac_cv_c_inline" != no && break
20363 done
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20367 printf "%s\n" "$ac_cv_c_inline" >&6; }
20369 case $ac_cv_c_inline in
20370 inline | yes) ;;
20372 case $ac_cv_c_inline in
20373 no) ac_val=;;
20374 *) ac_val=$ac_cv_c_inline;;
20375 esac
20376 cat >>confdefs.h <<_ACEOF
20377 #ifndef __cplusplus
20378 #define inline $ac_val
20379 #endif
20380 _ACEOF
20382 esac
20384 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20385 #include <signal.h>
20387 if test "x$ac_cv_type_sigset_t" = xyes
20388 then :
20390 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20395 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20397 if test "x$ac_cv_type_request_sense" = xyes
20398 then :
20400 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20406 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20407 #include <sys/socket.h>
20408 #ifdef HAVE_SYS_SOCKETVAR_H
20409 #include <sys/socketvar.h>
20410 #endif
20411 #ifdef HAVE_NET_ROUTE_H
20412 #include <net/route.h>
20413 #endif
20414 #ifdef HAVE_NETINET_IN_H
20415 #include <netinet/in.h>
20416 #endif
20417 #ifdef HAVE_NETINET_IN_SYSTM_H
20418 #include <netinet/in_systm.h>
20419 #endif
20420 #ifdef HAVE_NETINET_IP_H
20421 #include <netinet/ip.h>
20422 #endif
20423 #ifdef HAVE_NETINET_IN_PCB_H
20424 #include <netinet/in_pcb.h>
20425 #endif
20427 if test "x$ac_cv_type_struct_xinpgen" = xyes
20428 then :
20430 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20437 printf %s "checking for sigaddset... " >&6; }
20438 if test ${wine_cv_have_sigaddset+y}
20439 then :
20440 printf %s "(cached) " >&6
20441 else $as_nop
20442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20444 #include <signal.h>
20446 main (void)
20448 sigset_t set; sigaddset(&set,SIGTERM);
20450 return 0;
20452 _ACEOF
20453 if ac_fn_c_try_link "$LINENO"
20454 then :
20455 wine_cv_have_sigaddset=yes
20456 else $as_nop
20457 wine_cv_have_sigaddset=no
20459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20460 conftest$ac_exeext conftest.$ac_ext
20462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20463 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20464 if test "$wine_cv_have_sigaddset" = "yes"
20465 then
20467 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20473 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20474 if test ${wine_cv_linux_gethostbyname_r_6+y}
20475 then :
20476 printf %s "(cached) " >&6
20477 else $as_nop
20478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20479 /* end confdefs.h. */
20480 #include <netdb.h>
20482 main (void)
20485 char *name=0;
20486 struct hostent he;
20487 struct hostent *result;
20488 char *buf=0;
20489 int bufsize=0;
20490 int errnr;
20491 char *addr=0;
20492 int addrlen=0;
20493 int addrtype=0;
20494 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20495 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20498 return 0;
20500 _ACEOF
20501 if ac_fn_c_try_link "$LINENO"
20502 then :
20503 wine_cv_linux_gethostbyname_r_6=yes
20504 else $as_nop
20505 wine_cv_linux_gethostbyname_r_6=no
20508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20509 conftest$ac_exeext conftest.$ac_ext
20512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20513 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20514 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20515 then
20517 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20521 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20522 #include <sys/socket.h>
20523 #ifdef HAVE_SYS_UN_H
20524 # include <sys/un.h>
20525 #endif
20527 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20528 then :
20530 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20534 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20535 #include <sys/socket.h>
20536 #ifdef HAVE_SYS_UN_H
20537 # include <sys/un.h>
20538 #endif
20540 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20541 then :
20543 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20549 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20550 #ifdef HAVE_SCSI_SG_H
20551 #include <scsi/sg.h>
20552 #endif
20554 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20555 then :
20557 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20561 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>
20562 #ifdef HAVE_SCSI_SG_H
20563 #include <scsi/sg.h>
20564 #endif
20566 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20567 then :
20569 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20575 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20577 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20578 then :
20580 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20586 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20587 #ifdef HAVE_SYS_MTIO_H
20588 #include <sys/mtio.h>
20589 #endif
20591 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20592 then :
20594 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20598 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20599 #ifdef HAVE_SYS_MTIO_H
20600 #include <sys/mtio.h>
20601 #endif
20603 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20604 then :
20606 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20610 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20611 #ifdef HAVE_SYS_MTIO_H
20612 #include <sys/mtio.h>
20613 #endif
20615 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20624 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20625 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20626 then :
20628 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20632 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20633 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20634 then :
20636 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20640 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20641 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20642 then :
20644 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20648 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20649 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20656 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20657 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20658 then :
20660 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20664 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20665 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20672 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20673 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20674 then :
20676 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20680 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20681 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20682 then :
20684 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20688 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20689 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20690 then :
20692 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20696 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20697 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20698 then :
20700 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20705 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20706 then :
20708 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20714 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>
20715 #ifdef HAVE_NETINET_IN_H
20716 #include <netinet/in.h>
20717 #endif
20719 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20720 then :
20722 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20728 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
20729 #include <resolv.h>
20730 #endif
20732 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20733 then :
20735 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20741 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20742 #include <netinet/in.h>
20743 #endif
20745 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20746 then :
20748 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20754 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20755 #ifdef HAVE_SYS_SOCKETVAR_H
20756 #include <sys/socketvar.h>
20757 #endif
20758 #ifdef HAVE_NETINET_IN_H
20759 #include <netinet/in.h>
20760 #endif
20761 #ifdef HAVE_NETINET_IP_VAR_H
20762 #include <netinet/ip_var.h>
20763 #endif
20765 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20766 then :
20768 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20774 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
20775 #include <netinet/ip_var.h>
20776 #endif
20778 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20779 then :
20781 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20787 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20788 #ifdef HAVE_SYS_SOCKETVAR_H
20789 #include <sys/socketvar.h>
20790 #endif
20791 #ifdef HAVE_NETINET_IN_H
20792 #include <netinet/in.h>
20793 #endif
20794 #ifdef HAVE_NETINET6_IP6_VAR_H
20795 #include <netinet6/ip6_var.h>
20796 #endif
20798 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20799 then :
20801 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20807 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20808 #ifdef HAVE_SYS_SOCKETVAR_H
20809 #include <sys/socketvar.h>
20810 #endif
20811 #ifdef HAVE_NETINET_IN_H
20812 #include <netinet/in.h>
20813 #endif
20814 #ifdef HAVE_NETINET_IP_H
20815 #include <netinet/ip.h>
20816 #endif
20817 #ifdef HAVE_NETINET_IP_ICMP_H
20818 #include <netinet/ip_icmp.h>
20819 #endif
20820 #ifdef HAVE_NETINET_ICMP_VAR_H
20821 #include <netinet/icmp_var.h>
20822 #endif
20824 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20825 then :
20827 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20833 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20834 #ifdef HAVE_SYS_SOCKETVAR_H
20835 #include <sys/socketvar.h>
20836 #endif
20837 #ifdef HAVE_NETINET_IN_H
20838 #include <netinet/in.h>
20839 #endif
20840 #ifdef HAVE_NETINET_ICMP6_H
20841 #include <netinet/icmp6.h>
20842 #endif
20844 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20845 then :
20847 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20853 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20854 #ifdef HAVE_SYS_SOCKETVAR_H
20855 #include <sys/socketvar.h>
20856 #endif
20857 #ifdef HAVE_NETINET_IN_H
20858 #include <netinet/in.h>
20859 #endif
20860 #ifdef HAVE_NETINET_TCP_H
20861 #include <netinet/tcp.h>
20862 #endif
20863 #ifdef HAVE_NETINET_TCP_VAR_H
20864 #include <netinet/tcp_var.h>
20865 #endif
20867 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20868 then :
20870 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20876 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
20877 #include <netinet/tcp_var.h>
20878 #endif
20880 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20881 then :
20883 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20889 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20890 #ifdef HAVE_NETINET_IN_H
20891 #include <netinet/in.h>
20892 #endif
20893 #ifdef HAVE_NETINET_IP_VAR_H
20894 #include <netinet/ip_var.h>
20895 #endif
20896 #ifdef HAVE_NETINET_UDP_H
20897 #include <netinet/udp.h>
20898 #endif
20899 #ifdef HAVE_NETINET_UDP_VAR_H
20900 #include <netinet/udp_var.h>
20901 #endif
20903 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20904 then :
20906 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20912 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20913 #ifdef HAVE_NET_IF_H
20914 # include <net/if.h>
20915 #endif
20917 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20918 then :
20920 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20926 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20927 # include <sys/sysinfo.h>
20928 #endif
20930 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20931 then :
20933 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20937 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20938 # include <sys/sysinfo.h>
20939 #endif
20941 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20942 then :
20944 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20950 LIBS="$ac_save_LIBS"
20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20953 printf %s "checking for __builtin_popcount... " >&6; }
20954 if test ${ac_cv_have___builtin_popcount+y}
20955 then :
20956 printf %s "(cached) " >&6
20957 else $as_nop
20958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20962 main (void)
20964 return __builtin_popcount(1)
20966 return 0;
20968 _ACEOF
20969 if ac_fn_c_try_link "$LINENO"
20970 then :
20971 ac_cv_have___builtin_popcount="yes"
20972 else $as_nop
20973 ac_cv_have___builtin_popcount="no"
20975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20976 conftest$ac_exeext conftest.$ac_ext
20978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20979 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20980 if test "$ac_cv_have___builtin_popcount" = "yes"
20981 then
20983 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20988 printf %s "checking for __clear_cache... " >&6; }
20989 if test ${ac_cv_have___clear_cache+y}
20990 then :
20991 printf %s "(cached) " >&6
20992 else $as_nop
20993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20994 /* end confdefs.h. */
20997 main (void)
20999 __clear_cache((void*)0, (void*)0); return 0;
21001 return 0;
21003 _ACEOF
21004 if ac_fn_c_try_link "$LINENO"
21005 then :
21006 ac_cv_have___clear_cache="yes"
21007 else $as_nop
21008 ac_cv_have___clear_cache="no"
21010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21011 conftest$ac_exeext conftest.$ac_ext
21013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21014 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21015 if test "$ac_cv_have___clear_cache" = "yes"
21016 then
21018 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21023 case $host_cpu in
21024 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21025 printf %s "checking whether we need to define __i386__... " >&6; }
21026 if test ${ac_cv_cpp_def___i386__+y}
21027 then :
21028 printf %s "(cached) " >&6
21029 else $as_nop
21030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h. */
21032 #ifndef __i386__
21034 #endif
21035 _ACEOF
21036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21037 $EGREP "yes" >/dev/null 2>&1
21038 then :
21039 ac_cv_cpp_def___i386__=yes
21040 else $as_nop
21041 ac_cv_cpp_def___i386__=no
21043 rm -rf conftest*
21046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21047 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21048 if test "x$ac_cv_cpp_def___i386__" = xyes
21049 then :
21050 CFLAGS="$CFLAGS -D__i386__"
21051 LINTFLAGS="$LINTFLAGS -D__i386__"
21052 fi ;;
21053 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21054 printf %s "checking whether we need to define __x86_64__... " >&6; }
21055 if test ${ac_cv_cpp_def___x86_64__+y}
21056 then :
21057 printf %s "(cached) " >&6
21058 else $as_nop
21059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h. */
21061 #ifndef __x86_64__
21063 #endif
21064 _ACEOF
21065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21066 $EGREP "yes" >/dev/null 2>&1
21067 then :
21068 ac_cv_cpp_def___x86_64__=yes
21069 else $as_nop
21070 ac_cv_cpp_def___x86_64__=no
21072 rm -rf conftest*
21075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21076 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21077 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21078 then :
21079 CFLAGS="$CFLAGS -D__x86_64__"
21080 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21081 fi ;;
21082 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21083 printf %s "checking whether we need to define __sparc64__... " >&6; }
21084 if test ${ac_cv_cpp_def___sparc64__+y}
21085 then :
21086 printf %s "(cached) " >&6
21087 else $as_nop
21088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21089 /* end confdefs.h. */
21090 #ifndef __sparc64__
21092 #endif
21093 _ACEOF
21094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21095 $EGREP "yes" >/dev/null 2>&1
21096 then :
21097 ac_cv_cpp_def___sparc64__=yes
21098 else $as_nop
21099 ac_cv_cpp_def___sparc64__=no
21101 rm -rf conftest*
21104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21105 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21106 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21107 then :
21108 CFLAGS="$CFLAGS -D__sparc64__"
21109 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21110 fi ;;
21111 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21112 printf %s "checking whether we need to define __sparc__... " >&6; }
21113 if test ${ac_cv_cpp_def___sparc__+y}
21114 then :
21115 printf %s "(cached) " >&6
21116 else $as_nop
21117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 /* end confdefs.h. */
21119 #ifndef __sparc__
21121 #endif
21122 _ACEOF
21123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21124 $EGREP "yes" >/dev/null 2>&1
21125 then :
21126 ac_cv_cpp_def___sparc__=yes
21127 else $as_nop
21128 ac_cv_cpp_def___sparc__=no
21130 rm -rf conftest*
21133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21134 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21135 if test "x$ac_cv_cpp_def___sparc__" = xyes
21136 then :
21137 CFLAGS="$CFLAGS -D__sparc__"
21138 LINTFLAGS="$LINTFLAGS -D__sparc__"
21139 fi ;;
21140 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21141 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21142 if test ${ac_cv_cpp_def___powerpc64__+y}
21143 then :
21144 printf %s "(cached) " >&6
21145 else $as_nop
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21148 #ifndef __powerpc64__
21150 #endif
21151 _ACEOF
21152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21153 $EGREP "yes" >/dev/null 2>&1
21154 then :
21155 ac_cv_cpp_def___powerpc64__=yes
21156 else $as_nop
21157 ac_cv_cpp_def___powerpc64__=no
21159 rm -rf conftest*
21162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21163 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21164 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21165 then :
21166 CFLAGS="$CFLAGS -D__powerpc64__"
21167 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21168 fi ;;
21169 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21170 printf %s "checking whether we need to define __powerpc__... " >&6; }
21171 if test ${ac_cv_cpp_def___powerpc__+y}
21172 then :
21173 printf %s "(cached) " >&6
21174 else $as_nop
21175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21176 /* end confdefs.h. */
21177 #ifndef __powerpc__
21179 #endif
21180 _ACEOF
21181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21182 $EGREP "yes" >/dev/null 2>&1
21183 then :
21184 ac_cv_cpp_def___powerpc__=yes
21185 else $as_nop
21186 ac_cv_cpp_def___powerpc__=no
21188 rm -rf conftest*
21191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21192 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21193 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21194 then :
21195 CFLAGS="$CFLAGS -D__powerpc__"
21196 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21197 fi ;;
21198 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21199 printf %s "checking whether we need to define __aarch64__... " >&6; }
21200 if test ${ac_cv_cpp_def___aarch64__+y}
21201 then :
21202 printf %s "(cached) " >&6
21203 else $as_nop
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21206 #ifndef __aarch64__
21208 #endif
21209 _ACEOF
21210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21211 $EGREP "yes" >/dev/null 2>&1
21212 then :
21213 ac_cv_cpp_def___aarch64__=yes
21214 else $as_nop
21215 ac_cv_cpp_def___aarch64__=no
21217 rm -rf conftest*
21220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21221 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21222 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21223 then :
21224 CFLAGS="$CFLAGS -D__aarch64__"
21225 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21226 fi ;;
21227 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21228 printf %s "checking whether we need to define __arm__... " >&6; }
21229 if test ${ac_cv_cpp_def___arm__+y}
21230 then :
21231 printf %s "(cached) " >&6
21232 else $as_nop
21233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h. */
21235 #ifndef __arm__
21237 #endif
21238 _ACEOF
21239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21240 $EGREP "yes" >/dev/null 2>&1
21241 then :
21242 ac_cv_cpp_def___arm__=yes
21243 else $as_nop
21244 ac_cv_cpp_def___arm__=no
21246 rm -rf conftest*
21249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21250 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21251 if test "x$ac_cv_cpp_def___arm__" = xyes
21252 then :
21253 CFLAGS="$CFLAGS -D__arm__"
21254 LINTFLAGS="$LINTFLAGS -D__arm__"
21255 fi ;;
21256 esac
21258 case $host_vendor in
21259 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21260 printf %s "checking whether we need to define __sun__... " >&6; }
21261 if test ${ac_cv_cpp_def___sun__+y}
21262 then :
21263 printf %s "(cached) " >&6
21264 else $as_nop
21265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21266 /* end confdefs.h. */
21267 #ifndef __sun__
21269 #endif
21270 _ACEOF
21271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21272 $EGREP "yes" >/dev/null 2>&1
21273 then :
21274 ac_cv_cpp_def___sun__=yes
21275 else $as_nop
21276 ac_cv_cpp_def___sun__=no
21278 rm -rf conftest*
21281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21282 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21283 if test "x$ac_cv_cpp_def___sun__" = xyes
21284 then :
21285 CFLAGS="$CFLAGS -D__sun__"
21286 LINTFLAGS="$LINTFLAGS -D__sun__"
21287 fi ;;
21288 esac
21294 ac_config_commands="$ac_config_commands include/stamp-h"
21296 printf %s "creating Makefile rules..." >&6
21298 makedep_flags=""
21299 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21301 wine_srcdir=
21302 test "$srcdir" = . || wine_srcdir="$srcdir/"
21304 ac_config_links="$ac_config_links wine:tools/winewrapper"
21305 wine_fn_config_symlink wine
21306 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21307 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21308 wine_fn_config_symlink wine64
21311 wine_fn_config_makefile dlls/acledit enable_acledit
21312 wine_fn_config_makefile dlls/aclui enable_aclui
21313 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21314 wine_fn_config_makefile dlls/activeds enable_activeds
21315 wine_fn_config_makefile dlls/activeds/tests enable_tests
21316 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21317 wine_fn_config_makefile dlls/adsldp enable_adsldp
21318 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21319 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21320 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21321 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21322 wine_fn_config_makefile dlls/advpack enable_advpack
21323 wine_fn_config_makefile dlls/advpack/tests enable_tests
21324 wine_fn_config_makefile dlls/amsi enable_amsi
21325 wine_fn_config_makefile dlls/amstream enable_amstream
21326 wine_fn_config_makefile dlls/amstream/tests enable_tests
21327 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21328 wine_fn_config_makefile dlls/apphelp enable_apphelp
21329 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21330 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21331 wine_fn_config_makefile dlls/atl enable_atl
21332 wine_fn_config_makefile dlls/atl/tests enable_tests
21333 wine_fn_config_makefile dlls/atl100 enable_atl100
21334 wine_fn_config_makefile dlls/atl100/tests enable_tests
21335 wine_fn_config_makefile dlls/atl110 enable_atl110
21336 wine_fn_config_makefile dlls/atl110/tests enable_tests
21337 wine_fn_config_makefile dlls/atl80 enable_atl80
21338 wine_fn_config_makefile dlls/atl80/tests enable_tests
21339 wine_fn_config_makefile dlls/atl90 enable_atl90
21340 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21341 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21342 wine_fn_config_makefile dlls/atmlib enable_atmlib
21343 wine_fn_config_makefile dlls/authz enable_authz
21344 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21345 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21346 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21347 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21348 wine_fn_config_makefile dlls/avrt enable_avrt
21349 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21350 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21351 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21352 wine_fn_config_makefile dlls/browseui enable_browseui
21353 wine_fn_config_makefile dlls/browseui/tests enable_tests
21354 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21355 wine_fn_config_makefile dlls/cabinet enable_cabinet
21356 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21357 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21358 wine_fn_config_makefile dlls/cards enable_cards
21359 wine_fn_config_makefile dlls/cdosys enable_cdosys
21360 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21361 wine_fn_config_makefile dlls/clusapi enable_clusapi
21362 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21363 wine_fn_config_makefile dlls/combase enable_combase
21364 wine_fn_config_makefile dlls/combase/tests enable_tests
21365 wine_fn_config_makefile dlls/comcat enable_comcat
21366 wine_fn_config_makefile dlls/comcat/tests enable_tests
21367 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21368 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21369 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21370 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21371 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21372 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21373 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21374 wine_fn_config_makefile dlls/compstui enable_compstui
21375 wine_fn_config_makefile dlls/compstui/tests enable_tests
21376 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21377 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21378 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21379 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21380 wine_fn_config_makefile dlls/connect enable_connect
21381 wine_fn_config_makefile dlls/credui enable_credui
21382 wine_fn_config_makefile dlls/credui/tests enable_tests
21383 wine_fn_config_makefile dlls/crtdll enable_crtdll
21384 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21385 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21386 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21387 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21388 wine_fn_config_makefile dlls/cryptext enable_cryptext
21389 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21390 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21391 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21392 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21393 wine_fn_config_makefile dlls/cryptui enable_cryptui
21394 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21395 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21396 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21397 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21398 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21399 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21400 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21401 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21402 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21403 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21404 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21405 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21406 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21407 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21408 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21409 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21410 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21411 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21412 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21413 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21414 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21415 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21416 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21417 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21418 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21419 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21420 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21421 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21422 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21423 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21424 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21425 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21426 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21427 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21428 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21429 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21430 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21431 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21432 wine_fn_config_makefile dlls/d3dim enable_d3dim
21433 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21434 wine_fn_config_makefile dlls/d3drm enable_d3drm
21435 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21436 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21437 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21438 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21439 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21440 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21441 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21442 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21443 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21444 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21445 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21446 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21447 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21448 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21449 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21450 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21451 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21452 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21453 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21454 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21455 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21456 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21457 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21458 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21459 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21460 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21461 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21462 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21463 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21464 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21465 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21466 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21467 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21468 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21469 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21470 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21471 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21472 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21473 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21474 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21475 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21476 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21477 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21478 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21479 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21480 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21481 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21482 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21483 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21484 wine_fn_config_makefile dlls/davclnt enable_davclnt
21485 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21486 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21487 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21488 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21489 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21490 wine_fn_config_makefile dlls/dcomp enable_dcomp
21491 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21492 wine_fn_config_makefile dlls/ddraw enable_ddraw
21493 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21494 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21495 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21496 wine_fn_config_makefile dlls/devenum enable_devenum
21497 wine_fn_config_makefile dlls/devenum/tests enable_tests
21498 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21499 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21500 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21501 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21502 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21503 wine_fn_config_makefile dlls/difxapi enable_difxapi
21504 wine_fn_config_makefile dlls/dinput enable_dinput
21505 wine_fn_config_makefile dlls/dinput/tests enable_tests
21506 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21507 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21508 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21509 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21510 wine_fn_config_makefile dlls/dispex enable_dispex
21511 wine_fn_config_makefile dlls/dispex/tests enable_tests
21512 wine_fn_config_makefile dlls/display.drv16 enable_win16
21513 wine_fn_config_makefile dlls/dmband enable_dmband
21514 wine_fn_config_makefile dlls/dmband/tests enable_tests
21515 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21516 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21517 wine_fn_config_makefile dlls/dmime enable_dmime
21518 wine_fn_config_makefile dlls/dmime/tests enable_tests
21519 wine_fn_config_makefile dlls/dmloader enable_dmloader
21520 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21521 wine_fn_config_makefile dlls/dmscript enable_dmscript
21522 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21523 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21524 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21525 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21526 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21527 wine_fn_config_makefile dlls/dmusic enable_dmusic
21528 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21529 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21530 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21531 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21532 wine_fn_config_makefile dlls/dplay enable_dplay
21533 wine_fn_config_makefile dlls/dplayx enable_dplayx
21534 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21535 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21536 wine_fn_config_makefile dlls/dpnet enable_dpnet
21537 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21538 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21539 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21540 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21541 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21542 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21543 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21544 wine_fn_config_makefile dlls/drmclien enable_drmclien
21545 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21546 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21547 wine_fn_config_makefile dlls/dsound enable_dsound
21548 wine_fn_config_makefile dlls/dsound/tests enable_tests
21549 wine_fn_config_makefile dlls/dsquery enable_dsquery
21550 wine_fn_config_makefile dlls/dssenh enable_dssenh
21551 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21552 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21553 wine_fn_config_makefile dlls/dswave enable_dswave
21554 wine_fn_config_makefile dlls/dswave/tests enable_tests
21555 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21556 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21557 wine_fn_config_makefile dlls/dwrite enable_dwrite
21558 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21559 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21560 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21561 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21562 wine_fn_config_makefile dlls/dxgi enable_dxgi
21563 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21564 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21565 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21566 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21567 wine_fn_config_makefile dlls/esent enable_esent
21568 wine_fn_config_makefile dlls/evr enable_evr
21569 wine_fn_config_makefile dlls/evr/tests enable_tests
21570 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21571 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21572 wine_fn_config_makefile dlls/faultrep enable_faultrep
21573 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21574 wine_fn_config_makefile dlls/feclient enable_feclient
21575 wine_fn_config_makefile dlls/fltlib enable_fltlib
21576 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21577 wine_fn_config_makefile dlls/fntcache enable_fntcache
21578 wine_fn_config_makefile dlls/fontsub enable_fontsub
21579 wine_fn_config_makefile dlls/fusion enable_fusion
21580 wine_fn_config_makefile dlls/fusion/tests enable_tests
21581 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21582 wine_fn_config_makefile dlls/gameux enable_gameux
21583 wine_fn_config_makefile dlls/gameux/tests enable_tests
21584 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21585 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21586 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21587 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21588 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21589 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21590 wine_fn_config_makefile dlls/glu32 enable_glu32
21591 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21592 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21593 wine_fn_config_makefile dlls/hal enable_hal
21594 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21595 wine_fn_config_makefile dlls/hid enable_hid
21596 wine_fn_config_makefile dlls/hid/tests enable_tests
21597 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21598 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21599 wine_fn_config_makefile dlls/hlink enable_hlink
21600 wine_fn_config_makefile dlls/hlink/tests enable_tests
21601 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21602 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21603 wine_fn_config_makefile dlls/http.sys enable_http_sys
21604 wine_fn_config_makefile dlls/httpapi enable_httpapi
21605 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21606 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21607 wine_fn_config_makefile dlls/iccvid enable_iccvid
21608 wine_fn_config_makefile dlls/icmp enable_icmp
21609 wine_fn_config_makefile dlls/ieframe enable_ieframe
21610 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21611 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21612 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21613 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21614 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21615 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21616 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21617 wine_fn_config_makefile dlls/imm32 enable_imm32
21618 wine_fn_config_makefile dlls/imm32/tests enable_tests
21619 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21620 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21621 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21622 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21623 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21624 wine_fn_config_makefile dlls/infosoft enable_infosoft
21625 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21626 wine_fn_config_makefile dlls/initpki enable_initpki
21627 wine_fn_config_makefile dlls/inkobj enable_inkobj
21628 wine_fn_config_makefile dlls/inseng enable_inseng
21629 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21630 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21631 wine_fn_config_makefile dlls/iprop enable_iprop
21632 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21633 wine_fn_config_makefile dlls/itircl enable_itircl
21634 wine_fn_config_makefile dlls/itss enable_itss
21635 wine_fn_config_makefile dlls/itss/tests enable_tests
21636 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21637 wine_fn_config_makefile dlls/jscript enable_jscript
21638 wine_fn_config_makefile dlls/jscript/tests enable_tests
21639 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21640 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21641 wine_fn_config_makefile dlls/kerberos enable_kerberos
21642 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21643 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21644 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21645 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21646 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21647 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21648 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21649 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21650 wine_fn_config_makefile dlls/ksuser enable_ksuser
21651 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21652 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21653 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21654 wine_fn_config_makefile dlls/loadperf enable_loadperf
21655 wine_fn_config_makefile dlls/localspl enable_localspl
21656 wine_fn_config_makefile dlls/localspl/tests enable_tests
21657 wine_fn_config_makefile dlls/localui enable_localui
21658 wine_fn_config_makefile dlls/localui/tests enable_tests
21659 wine_fn_config_makefile dlls/lz32 enable_lz32
21660 wine_fn_config_makefile dlls/lz32/tests enable_tests
21661 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21662 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21663 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21664 wine_fn_config_makefile dlls/mapistub enable_mapistub
21665 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21666 wine_fn_config_makefile dlls/mcicda enable_mcicda
21667 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21668 wine_fn_config_makefile dlls/mciseq enable_mciseq
21669 wine_fn_config_makefile dlls/mciwave enable_mciwave
21670 wine_fn_config_makefile dlls/mf enable_mf
21671 wine_fn_config_makefile dlls/mf/tests enable_tests
21672 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21673 wine_fn_config_makefile dlls/mferror enable_mferror
21674 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21675 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21676 wine_fn_config_makefile dlls/mfplat enable_mfplat
21677 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21678 wine_fn_config_makefile dlls/mfplay enable_mfplay
21679 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21680 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21681 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21682 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21683 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21684 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21685 wine_fn_config_makefile dlls/midimap enable_midimap
21686 wine_fn_config_makefile dlls/mlang enable_mlang
21687 wine_fn_config_makefile dlls/mlang/tests enable_tests
21688 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21689 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21690 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21691 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21692 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21693 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21694 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21695 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21696 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21697 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21698 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21699 wine_fn_config_makefile dlls/mpr enable_mpr
21700 wine_fn_config_makefile dlls/mpr/tests enable_tests
21701 wine_fn_config_makefile dlls/mprapi enable_mprapi
21702 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21703 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21704 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21705 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21706 wine_fn_config_makefile dlls/msado15 enable_msado15
21707 wine_fn_config_makefile dlls/msado15/tests enable_tests
21708 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21709 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21710 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21711 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21712 wine_fn_config_makefile dlls/mscms enable_mscms
21713 wine_fn_config_makefile dlls/mscms/tests enable_tests
21714 wine_fn_config_makefile dlls/mscoree enable_mscoree
21715 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21716 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21717 wine_fn_config_makefile dlls/msctf enable_msctf
21718 wine_fn_config_makefile dlls/msctf/tests enable_tests
21719 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21720 wine_fn_config_makefile dlls/msctfp enable_msctfp
21721 wine_fn_config_makefile dlls/msdaps enable_msdaps
21722 wine_fn_config_makefile dlls/msdasql enable_msdasql
21723 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21724 wine_fn_config_makefile dlls/msdelta enable_msdelta
21725 wine_fn_config_makefile dlls/msdmo enable_msdmo
21726 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21727 wine_fn_config_makefile dlls/msdrm enable_msdrm
21728 wine_fn_config_makefile dlls/msftedit enable_msftedit
21729 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21730 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21731 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21732 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21733 wine_fn_config_makefile dlls/mshtml enable_mshtml
21734 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21735 wine_fn_config_makefile dlls/msi enable_msi
21736 wine_fn_config_makefile dlls/msi/tests enable_tests
21737 wine_fn_config_makefile dlls/msident enable_msident
21738 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21739 wine_fn_config_makefile dlls/msimsg enable_msimsg
21740 wine_fn_config_makefile dlls/msimtf enable_msimtf
21741 wine_fn_config_makefile dlls/msisip enable_msisip
21742 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21743 wine_fn_config_makefile dlls/msls31 enable_msls31
21744 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21745 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21746 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21747 wine_fn_config_makefile dlls/msports enable_msports
21748 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21749 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21750 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21751 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21752 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21753 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21754 wine_fn_config_makefile dlls/mstask enable_mstask
21755 wine_fn_config_makefile dlls/mstask/tests enable_tests
21756 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21757 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21758 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21759 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21760 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21761 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21762 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21763 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21764 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21765 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21766 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21767 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21768 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21769 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21770 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21771 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21772 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21773 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21774 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21775 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21776 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21777 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21778 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21779 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21780 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21781 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21782 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21783 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21784 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21785 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21786 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21787 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21788 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21789 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21790 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21791 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21792 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21793 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21794 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21795 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21796 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21797 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21798 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21799 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21800 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21801 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21802 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21803 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21804 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21805 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21806 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21807 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21808 wine_fn_config_makefile dlls/mswsock enable_mswsock
21809 wine_fn_config_makefile dlls/msxml enable_msxml
21810 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21811 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21812 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21813 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21814 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21815 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21816 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21817 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21818 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21819 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21820 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21821 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21822 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21823 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21824 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21825 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21826 wine_fn_config_makefile dlls/netprofm enable_netprofm
21827 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21828 wine_fn_config_makefile dlls/netutils enable_netutils
21829 wine_fn_config_makefile dlls/newdev enable_newdev
21830 wine_fn_config_makefile dlls/ninput enable_ninput
21831 wine_fn_config_makefile dlls/ninput/tests enable_tests
21832 wine_fn_config_makefile dlls/normaliz enable_normaliz
21833 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21834 wine_fn_config_makefile dlls/npptools enable_npptools
21835 wine_fn_config_makefile dlls/nsi enable_nsi
21836 wine_fn_config_makefile dlls/nsi/tests enable_tests
21837 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21838 wine_fn_config_makefile dlls/ntdll enable_ntdll
21839 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21840 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21841 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21842 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21843 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21844 wine_fn_config_makefile dlls/ntprint enable_ntprint
21845 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21846 wine_fn_config_makefile dlls/objsel enable_objsel
21847 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21848 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21849 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21850 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21851 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21852 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21853 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21854 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21855 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21856 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21857 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21858 wine_fn_config_makefile dlls/ole32 enable_ole32
21859 wine_fn_config_makefile dlls/ole32/tests enable_tests
21860 wine_fn_config_makefile dlls/oleacc enable_oleacc
21861 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21862 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21863 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21864 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21865 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21866 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21867 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21868 wine_fn_config_makefile dlls/oledlg enable_oledlg
21869 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21870 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21871 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21872 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21873 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21874 wine_fn_config_makefile dlls/opcservices enable_opcservices
21875 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21876 wine_fn_config_makefile dlls/openal32 enable_openal32
21877 wine_fn_config_makefile dlls/opencl enable_opencl
21878 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21879 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21880 wine_fn_config_makefile dlls/packager enable_packager
21881 wine_fn_config_makefile dlls/packager/tests enable_tests
21882 wine_fn_config_makefile dlls/pdh enable_pdh
21883 wine_fn_config_makefile dlls/pdh/tests enable_tests
21884 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21885 wine_fn_config_makefile dlls/pidgen enable_pidgen
21886 wine_fn_config_makefile dlls/powrprof enable_powrprof
21887 wine_fn_config_makefile dlls/printui enable_printui
21888 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21889 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21890 wine_fn_config_makefile dlls/propsys enable_propsys
21891 wine_fn_config_makefile dlls/propsys/tests enable_tests
21892 wine_fn_config_makefile dlls/psapi enable_psapi
21893 wine_fn_config_makefile dlls/psapi/tests enable_tests
21894 wine_fn_config_makefile dlls/pstorec enable_pstorec
21895 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21896 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21897 wine_fn_config_makefile dlls/qasf enable_qasf
21898 wine_fn_config_makefile dlls/qasf/tests enable_tests
21899 wine_fn_config_makefile dlls/qcap enable_qcap
21900 wine_fn_config_makefile dlls/qcap/tests enable_tests
21901 wine_fn_config_makefile dlls/qdvd enable_qdvd
21902 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21903 wine_fn_config_makefile dlls/qedit enable_qedit
21904 wine_fn_config_makefile dlls/qedit/tests enable_tests
21905 wine_fn_config_makefile dlls/qmgr enable_qmgr
21906 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21907 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21908 wine_fn_config_makefile dlls/quartz enable_quartz
21909 wine_fn_config_makefile dlls/quartz/tests enable_tests
21910 wine_fn_config_makefile dlls/query enable_query
21911 wine_fn_config_makefile dlls/qwave enable_qwave
21912 wine_fn_config_makefile dlls/qwave/tests enable_tests
21913 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21914 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21915 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21916 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21917 wine_fn_config_makefile dlls/regapi enable_regapi
21918 wine_fn_config_makefile dlls/resutils enable_resutils
21919 wine_fn_config_makefile dlls/riched20 enable_riched20
21920 wine_fn_config_makefile dlls/riched20/tests enable_tests
21921 wine_fn_config_makefile dlls/riched32 enable_riched32
21922 wine_fn_config_makefile dlls/riched32/tests enable_tests
21923 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21924 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21925 wine_fn_config_makefile dlls/rsabase enable_rsabase
21926 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21927 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21928 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21929 wine_fn_config_makefile dlls/rtutils enable_rtutils
21930 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21931 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21932 wine_fn_config_makefile dlls/samlib enable_samlib
21933 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21934 wine_fn_config_makefile dlls/sapi enable_sapi
21935 wine_fn_config_makefile dlls/sapi/tests enable_tests
21936 wine_fn_config_makefile dlls/sas enable_sas
21937 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21938 wine_fn_config_makefile dlls/sccbase enable_sccbase
21939 wine_fn_config_makefile dlls/schannel enable_schannel
21940 wine_fn_config_makefile dlls/schannel/tests enable_tests
21941 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21942 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21943 wine_fn_config_makefile dlls/scrobj enable_scrobj
21944 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21945 wine_fn_config_makefile dlls/scrrun enable_scrrun
21946 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21947 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21948 wine_fn_config_makefile dlls/sechost enable_sechost
21949 wine_fn_config_makefile dlls/secur32 enable_secur32
21950 wine_fn_config_makefile dlls/secur32/tests enable_tests
21951 wine_fn_config_makefile dlls/security enable_security
21952 wine_fn_config_makefile dlls/sensapi enable_sensapi
21953 wine_fn_config_makefile dlls/serialui enable_serialui
21954 wine_fn_config_makefile dlls/serialui/tests enable_tests
21955 wine_fn_config_makefile dlls/setupapi enable_setupapi
21956 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21957 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21958 wine_fn_config_makefile dlls/sfc enable_sfc
21959 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21960 wine_fn_config_makefile dlls/shcore enable_shcore
21961 wine_fn_config_makefile dlls/shcore/tests enable_tests
21962 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21963 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21964 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21965 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21966 wine_fn_config_makefile dlls/shell32 enable_shell32
21967 wine_fn_config_makefile dlls/shell32/tests enable_tests
21968 wine_fn_config_makefile dlls/shfolder enable_shfolder
21969 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21970 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21971 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21972 wine_fn_config_makefile dlls/slc enable_slc
21973 wine_fn_config_makefile dlls/slc/tests enable_tests
21974 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21975 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21976 wine_fn_config_makefile dlls/softpub enable_softpub
21977 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21978 wine_fn_config_makefile dlls/spoolss enable_spoolss
21979 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21980 wine_fn_config_makefile dlls/sppc enable_sppc
21981 wine_fn_config_makefile dlls/srclient enable_srclient
21982 wine_fn_config_makefile dlls/srvcli enable_srvcli
21983 wine_fn_config_makefile dlls/sspicli enable_sspicli
21984 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21985 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21986 wine_fn_config_makefile dlls/sti enable_sti
21987 wine_fn_config_makefile dlls/sti/tests enable_tests
21988 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21989 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21990 wine_fn_config_makefile dlls/strmdll enable_strmdll
21991 wine_fn_config_makefile dlls/svrapi enable_svrapi
21992 wine_fn_config_makefile dlls/sxs enable_sxs
21993 wine_fn_config_makefile dlls/sxs/tests enable_tests
21994 wine_fn_config_makefile dlls/system.drv16 enable_win16
21995 wine_fn_config_makefile dlls/t2embed enable_t2embed
21996 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21997 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21998 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21999 wine_fn_config_makefile dlls/taskschd enable_taskschd
22000 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22001 wine_fn_config_makefile dlls/tbs enable_tbs
22002 wine_fn_config_makefile dlls/tdh enable_tdh
22003 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22004 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22005 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22006 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22007 wine_fn_config_makefile dlls/traffic enable_traffic
22008 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22009 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22010 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22011 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22012 wine_fn_config_makefile dlls/tzres enable_tzres
22013 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22014 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22015 wine_fn_config_makefile dlls/uianimation enable_uianimation
22016 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22017 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22018 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22019 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22020 wine_fn_config_makefile dlls/unicows enable_unicows
22021 wine_fn_config_makefile dlls/updspapi enable_updspapi
22022 wine_fn_config_makefile dlls/url enable_url
22023 wine_fn_config_makefile dlls/urlmon enable_urlmon
22024 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22025 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22026 wine_fn_config_makefile dlls/user.exe16 enable_win16
22027 wine_fn_config_makefile dlls/user32 enable_user32
22028 wine_fn_config_makefile dlls/user32/tests enable_tests
22029 wine_fn_config_makefile dlls/userenv enable_userenv
22030 wine_fn_config_makefile dlls/userenv/tests enable_tests
22031 wine_fn_config_makefile dlls/usp10 enable_usp10
22032 wine_fn_config_makefile dlls/usp10/tests enable_tests
22033 wine_fn_config_makefile dlls/utildll enable_utildll
22034 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22035 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22036 wine_fn_config_makefile dlls/vbscript enable_vbscript
22037 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22038 wine_fn_config_makefile dlls/vcomp enable_vcomp
22039 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22040 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22041 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22042 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22043 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22044 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22045 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22046 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22047 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22048 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22049 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22050 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22051 wine_fn_config_makefile dlls/version enable_version
22052 wine_fn_config_makefile dlls/version/tests enable_tests
22053 wine_fn_config_makefile dlls/vga enable_vga
22054 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22055 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22056 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22057 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22058 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22059 wine_fn_config_makefile dlls/vssapi enable_vssapi
22060 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22061 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22062 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22063 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22064 wine_fn_config_makefile dlls/w32skrnl enable_win16
22065 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22066 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22067 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22068 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22069 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22070 wine_fn_config_makefile dlls/wdscore enable_wdscore
22071 wine_fn_config_makefile dlls/webservices enable_webservices
22072 wine_fn_config_makefile dlls/webservices/tests enable_tests
22073 wine_fn_config_makefile dlls/websocket enable_websocket
22074 wine_fn_config_makefile dlls/wer enable_wer
22075 wine_fn_config_makefile dlls/wer/tests enable_tests
22076 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22077 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22078 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22079 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22080 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22081 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22082 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22083 wine_fn_config_makefile dlls/win32u enable_win32u
22084 wine_fn_config_makefile dlls/win32u/tests enable_tests
22085 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22086 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22087 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22088 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22089 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22090 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22091 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22092 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22093 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22094 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22095 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22096 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22097 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22098 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22099 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22100 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22101 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22102 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22103 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22104 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22105 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22106 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22107 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22108 wine_fn_config_makefile dlls/wined3d enable_wined3d
22109 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22110 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22111 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22112 wine_fn_config_makefile dlls/winemapi enable_winemapi
22113 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22114 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22115 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22116 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22117 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22118 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22119 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22120 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22121 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22122 wine_fn_config_makefile dlls/wing32 enable_wing32
22123 wine_fn_config_makefile dlls/winhttp enable_winhttp
22124 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22125 wine_fn_config_makefile dlls/wininet enable_wininet
22126 wine_fn_config_makefile dlls/wininet/tests enable_tests
22127 wine_fn_config_makefile dlls/winmm enable_winmm
22128 wine_fn_config_makefile dlls/winmm/tests enable_tests
22129 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22130 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22131 wine_fn_config_makefile dlls/winscard enable_winscard
22132 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22133 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22134 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22135 wine_fn_config_makefile dlls/winsta enable_winsta
22136 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22137 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22138 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22139 wine_fn_config_makefile dlls/wintrust enable_wintrust
22140 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22141 wine_fn_config_makefile dlls/wintypes enable_wintypes
22142 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22143 wine_fn_config_makefile dlls/winusb enable_winusb
22144 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22145 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22146 wine_fn_config_makefile dlls/wlanui enable_wlanui
22147 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22148 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22149 wine_fn_config_makefile dlls/wmasf enable_wmasf
22150 wine_fn_config_makefile dlls/wmi enable_wmi
22151 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22152 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22153 wine_fn_config_makefile dlls/wmp enable_wmp
22154 wine_fn_config_makefile dlls/wmp/tests enable_tests
22155 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22156 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22157 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22158 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22159 wine_fn_config_makefile dlls/wow32 enable_win16
22160 wine_fn_config_makefile dlls/wow64 enable_wow64
22161 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22162 wine_fn_config_makefile dlls/wow64win enable_wow64win
22163 wine_fn_config_makefile dlls/wpc enable_wpc
22164 wine_fn_config_makefile dlls/wpc/tests enable_tests
22165 wine_fn_config_makefile dlls/wpcap enable_wpcap
22166 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22167 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22168 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22169 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22170 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22171 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22172 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22173 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22174 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22175 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22176 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22177 wine_fn_config_makefile dlls/wuapi enable_wuapi
22178 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22179 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22180 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22181 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22182 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22183 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22184 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22185 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22186 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22187 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22188 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22189 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22190 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22191 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22192 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22193 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22194 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22195 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22196 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22197 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22198 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22199 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22200 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22201 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22202 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22203 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22204 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22205 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22206 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22207 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22208 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22209 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22210 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22211 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22212 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22213 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22214 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22215 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22216 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22217 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22218 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22219 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22220 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22221 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22222 wine_fn_config_makefile dlls/xmllite enable_xmllite
22223 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22224 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22225 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22226 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22227 wine_fn_config_makefile fonts enable_fonts
22228 wine_fn_config_makefile include enable_include
22229 wine_fn_config_makefile libs/adsiid enable_adsiid
22230 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22231 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22232 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22233 wine_fn_config_makefile libs/dxguid enable_dxguid
22234 wine_fn_config_makefile libs/faudio enable_faudio
22235 wine_fn_config_makefile libs/gsm enable_gsm
22236 wine_fn_config_makefile libs/jpeg enable_jpeg
22237 wine_fn_config_makefile libs/jxr enable_jxr
22238 wine_fn_config_makefile libs/lcms2 enable_lcms2
22239 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22240 wine_fn_config_makefile libs/mpg123 enable_mpg123
22241 wine_fn_config_makefile libs/png enable_png
22242 wine_fn_config_makefile libs/strmbase enable_strmbase
22243 wine_fn_config_makefile libs/strmiids enable_strmiids
22244 wine_fn_config_makefile libs/tiff enable_tiff
22245 wine_fn_config_makefile libs/uuid enable_uuid
22246 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22247 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22248 wine_fn_config_makefile libs/wine enable_wine
22249 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22250 wine_fn_config_makefile libs/xml2 enable_xml2
22251 wine_fn_config_makefile libs/xslt enable_xslt
22252 wine_fn_config_makefile libs/zlib enable_zlib
22253 wine_fn_config_makefile loader enable_loader
22254 wine_fn_config_makefile nls enable_nls
22255 wine_fn_config_makefile po enable_po
22256 wine_fn_config_makefile programs/arp enable_arp
22257 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22258 wine_fn_config_makefile programs/attrib enable_attrib
22259 wine_fn_config_makefile programs/cabarc enable_cabarc
22260 wine_fn_config_makefile programs/cacls enable_cacls
22261 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22262 wine_fn_config_makefile programs/clock enable_clock
22263 wine_fn_config_makefile programs/cmd enable_cmd
22264 wine_fn_config_makefile programs/cmd/tests enable_tests
22265 wine_fn_config_makefile programs/conhost enable_conhost
22266 wine_fn_config_makefile programs/conhost/tests enable_tests
22267 wine_fn_config_makefile programs/control enable_control
22268 wine_fn_config_makefile programs/cscript enable_cscript
22269 wine_fn_config_makefile programs/dism enable_dism
22270 wine_fn_config_makefile programs/dllhost enable_dllhost
22271 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22272 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22273 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22274 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22275 wine_fn_config_makefile programs/eject enable_eject
22276 wine_fn_config_makefile programs/expand enable_expand
22277 wine_fn_config_makefile programs/explorer enable_explorer
22278 wine_fn_config_makefile programs/extrac32 enable_extrac32
22279 wine_fn_config_makefile programs/fc enable_fc
22280 wine_fn_config_makefile programs/find enable_find
22281 wine_fn_config_makefile programs/find/tests enable_tests
22282 wine_fn_config_makefile programs/findstr enable_findstr
22283 wine_fn_config_makefile programs/fsutil enable_fsutil
22284 wine_fn_config_makefile programs/fsutil/tests enable_tests
22285 wine_fn_config_makefile programs/hh enable_hh
22286 wine_fn_config_makefile programs/hostname enable_hostname
22287 wine_fn_config_makefile programs/icacls enable_icacls
22288 wine_fn_config_makefile programs/icinfo enable_icinfo
22289 wine_fn_config_makefile programs/iexplore enable_iexplore
22290 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22291 wine_fn_config_makefile programs/lodctr enable_lodctr
22292 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22293 wine_fn_config_makefile programs/mshta enable_mshta
22294 wine_fn_config_makefile programs/msidb enable_msidb
22295 wine_fn_config_makefile programs/msiexec enable_msiexec
22296 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22297 wine_fn_config_makefile programs/net enable_net
22298 wine_fn_config_makefile programs/netsh enable_netsh
22299 wine_fn_config_makefile programs/netstat enable_netstat
22300 wine_fn_config_makefile programs/ngen enable_ngen
22301 wine_fn_config_makefile programs/notepad enable_notepad
22302 wine_fn_config_makefile programs/oleview enable_oleview
22303 wine_fn_config_makefile programs/ping enable_ping
22304 wine_fn_config_makefile programs/plugplay enable_plugplay
22305 wine_fn_config_makefile programs/powershell enable_powershell
22306 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22307 wine_fn_config_makefile programs/progman enable_progman
22308 wine_fn_config_makefile programs/reg enable_reg
22309 wine_fn_config_makefile programs/reg/tests enable_tests
22310 wine_fn_config_makefile programs/regasm enable_regasm
22311 wine_fn_config_makefile programs/regedit enable_regedit
22312 wine_fn_config_makefile programs/regedit/tests enable_tests
22313 wine_fn_config_makefile programs/regini enable_regini
22314 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22315 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22316 wine_fn_config_makefile programs/robocopy enable_robocopy
22317 wine_fn_config_makefile programs/rpcss enable_rpcss
22318 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22319 wine_fn_config_makefile programs/rundll32 enable_rundll32
22320 wine_fn_config_makefile programs/sc enable_sc
22321 wine_fn_config_makefile programs/sc/tests enable_tests
22322 wine_fn_config_makefile programs/schtasks enable_schtasks
22323 wine_fn_config_makefile programs/schtasks/tests enable_tests
22324 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22325 wine_fn_config_makefile programs/secedit enable_secedit
22326 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22327 wine_fn_config_makefile programs/services enable_services
22328 wine_fn_config_makefile programs/services/tests enable_tests
22329 wine_fn_config_makefile programs/shutdown enable_shutdown
22330 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22331 wine_fn_config_makefile programs/start enable_start
22332 wine_fn_config_makefile programs/subst enable_subst
22333 wine_fn_config_makefile programs/svchost enable_svchost
22334 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22335 wine_fn_config_makefile programs/taskkill enable_taskkill
22336 wine_fn_config_makefile programs/tasklist enable_tasklist
22337 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22338 wine_fn_config_makefile programs/termsv enable_termsv
22339 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22340 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22341 wine_fn_config_makefile programs/view enable_view
22342 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22343 wine_fn_config_makefile programs/where enable_where
22344 wine_fn_config_makefile programs/whoami enable_whoami
22345 wine_fn_config_makefile programs/wineboot enable_wineboot
22346 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22347 wine_fn_config_makefile programs/winecfg enable_winecfg
22348 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22349 wine_fn_config_makefile programs/winedbg enable_winedbg
22350 wine_fn_config_makefile programs/winedevice enable_winedevice
22351 wine_fn_config_makefile programs/winefile enable_winefile
22352 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22353 wine_fn_config_makefile programs/winemine enable_winemine
22354 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22355 wine_fn_config_makefile programs/winepath enable_winepath
22356 wine_fn_config_makefile programs/winetest enable_winetest
22357 wine_fn_config_makefile programs/winevdm enable_win16
22358 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22359 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22360 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22361 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22362 wine_fn_config_makefile programs/winver enable_winver
22363 wine_fn_config_makefile programs/wmic enable_wmic
22364 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22365 wine_fn_config_makefile programs/wordpad enable_wordpad
22366 wine_fn_config_makefile programs/write enable_write
22367 wine_fn_config_makefile programs/wscript enable_wscript
22368 wine_fn_config_makefile programs/wscript/tests enable_tests
22369 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22370 wine_fn_config_makefile programs/wusa enable_wusa
22371 wine_fn_config_makefile programs/xcopy enable_xcopy
22372 wine_fn_config_makefile programs/xcopy/tests enable_tests
22373 wine_fn_config_makefile server enable_server
22374 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22375 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22376 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22377 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22378 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22379 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22380 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22381 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22385 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22386 wine_fn_append_file CONFIGURE_TARGETS "tags"
22387 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22388 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22389 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22390 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22391 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22392 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22394 if test "x$enable_tools" != xno
22395 then
22396 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22397 ac_config_commands="$ac_config_commands tools/makedep"
22401 ac_config_commands="$ac_config_commands Makefile"
22405 SHELL=/bin/sh
22408 wine_fn_append_rule "all: wine
22409 @echo \"Wine build complete.\"
22410 .INIT: Makefile
22411 .MAKEFILEDEPS:
22412 all: Makefile
22413 Makefile: config.status \$(MAKEDEP)
22414 @./config.status Makefile
22415 depend: \$(MAKEDEP)
22416 \$(MAKEDEP)$makedep_flags"
22419 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22420 @./config.status --recheck
22421 include/config.h: include/stamp-h
22422 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22423 @./config.status include/config.h include/stamp-h"
22425 if test "x$enable_maintainer_mode" = xyes
22426 then
22427 wine_fn_append_rule "configure: configure.ac aclocal.m4
22428 autoconf --warnings=all
22429 include/config.h.in: include/stamp-h.in
22430 include/stamp-h.in: configure.ac aclocal.m4
22431 autoheader --warnings=all
22432 @echo timestamp > \$@"
22435 if test "x$enable_tools" != xno
22436 then
22437 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22438 @./config.status tools/makedep
22439 Makefile: tools/makedep$ac_exeext"
22440 else
22441 wine_fn_append_rule "\$(MAKEDEP):
22442 @echo \"You need to run make in $toolsdir first\" && false"
22446 if test -n "$with_wine64"
22447 then
22448 case "$with_wine64" in
22449 /*) reldir="" ;;
22450 *) reldir="../" ;;
22451 esac
22452 rm -f fonts server 2>/dev/null
22453 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22454 loader/wine64 loader/wine64-preloader:
22455 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22456 $with_wine64/loader/wine:
22457 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22458 $with_wine64/loader/wine-preloader:
22459 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22460 clean::
22461 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22462 else
22463 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22464 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22465 fonts \
22466 loader/wine.inf \
22467 nls \
22468 programs/msidb/msidb \
22469 programs/msiexec/msiexec \
22470 programs/notepad/notepad \
22471 programs/regedit/regedit \
22472 programs/regsvr32/regsvr32 \
22473 programs/wineboot/wineboot \
22474 programs/winecfg/winecfg \
22475 programs/wineconsole/wineconsole \
22476 programs/winedbg/winedbg \
22477 programs/winefile/winefile \
22478 programs/winemine/winemine \
22479 programs/winepath/winepath \
22480 server/wineserver"
22482 case $host_os in
22483 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22484 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22485 esac
22489 wine_fn_append_rule "distclean:: clean
22490 rm -rf autom4te.cache
22491 maintainer-clean::
22492 rm -f configure include/config.h.in"
22495 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22496 @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)
22497 programs/winetest/build.rc: dummy
22498 @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)
22499 programs/winetest/build.nfo:
22500 @-\$(CC) -v 2>\$@
22501 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
22502 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22503 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22506 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22508 wine_fn_append_rule "TAGS etags:
22509 rm -f TAGS
22510 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22511 tags ctags:
22512 rm -f tags
22513 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22514 dummy:
22515 .PHONY: depend dummy install-manpages"
22517 printf "%s\n" " done" >&6
22518 cat >confcache <<\_ACEOF
22519 # This file is a shell script that caches the results of configure
22520 # tests run on this system so they can be shared between configure
22521 # scripts and configure runs, see configure's option --config-cache.
22522 # It is not useful on other systems. If it contains results you don't
22523 # want to keep, you may remove or edit it.
22525 # config.status only pays attention to the cache file if you give it
22526 # the --recheck option to rerun configure.
22528 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22529 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22530 # following values.
22532 _ACEOF
22534 # The following way of writing the cache mishandles newlines in values,
22535 # but we know of no workaround that is simple, portable, and efficient.
22536 # So, we kill variables containing newlines.
22537 # Ultrix sh set writes to stderr and can't be redirected directly,
22538 # and sets the high bit in the cache file unless we assign to the vars.
22540 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22541 eval ac_val=\$$ac_var
22542 case $ac_val in #(
22543 *${as_nl}*)
22544 case $ac_var in #(
22545 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22546 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22547 esac
22548 case $ac_var in #(
22549 _ | IFS | as_nl) ;; #(
22550 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22551 *) { eval $ac_var=; unset $ac_var;} ;;
22552 esac ;;
22553 esac
22554 done
22556 (set) 2>&1 |
22557 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22558 *${as_nl}ac_space=\ *)
22559 # `set' does not quote correctly, so add quotes: double-quote
22560 # substitution turns \\\\ into \\, and sed turns \\ into \.
22561 sed -n \
22562 "s/'/'\\\\''/g;
22563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22564 ;; #(
22566 # `set' quotes correctly as required by POSIX, so do not add quotes.
22567 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22569 esac |
22570 sort
22572 sed '
22573 /^ac_cv_env_/b end
22574 t clear
22575 :clear
22576 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22577 t end
22578 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22579 :end' >>confcache
22580 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22581 if test -w "$cache_file"; then
22582 if test "x$cache_file" != "x/dev/null"; then
22583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22584 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22585 if test ! -f "$cache_file" || test -h "$cache_file"; then
22586 cat confcache >"$cache_file"
22587 else
22588 case $cache_file in #(
22589 */* | ?:*)
22590 mv -f confcache "$cache_file"$$ &&
22591 mv -f "$cache_file"$$ "$cache_file" ;; #(
22593 mv -f confcache "$cache_file" ;;
22594 esac
22597 else
22598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22599 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22602 rm -f confcache
22604 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22605 # Let make expand exec_prefix.
22606 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22608 DEFS=-DHAVE_CONFIG_H
22610 ac_libobjs=
22611 ac_ltlibobjs=
22613 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22614 # 1. Remove the extension, and $U if already installed.
22615 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22616 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22617 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22618 # will be set to the directory where LIBOBJS objects are built.
22619 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22620 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22621 done
22622 LIBOBJS=$ac_libobjs
22624 LTLIBOBJS=$ac_ltlibobjs
22628 : "${CONFIG_STATUS=./config.status}"
22629 ac_write_fail=0
22630 ac_clean_files_save=$ac_clean_files
22631 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22633 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22634 as_write_fail=0
22635 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22636 #! $SHELL
22637 # Generated by $as_me.
22638 # Run this file to recreate the current configuration.
22639 # Compiler output produced by configure, useful for debugging
22640 # configure, is in config.log if it exists.
22642 debug=false
22643 ac_cs_recheck=false
22644 ac_cs_silent=false
22646 SHELL=\${CONFIG_SHELL-$SHELL}
22647 export SHELL
22648 _ASEOF
22649 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22650 ## -------------------- ##
22651 ## M4sh Initialization. ##
22652 ## -------------------- ##
22654 # Be more Bourne compatible
22655 DUALCASE=1; export DUALCASE # for MKS sh
22656 as_nop=:
22657 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22658 then :
22659 emulate sh
22660 NULLCMD=:
22661 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22662 # is contrary to our usage. Disable this feature.
22663 alias -g '${1+"$@"}'='"$@"'
22664 setopt NO_GLOB_SUBST
22665 else $as_nop
22666 case `(set -o) 2>/dev/null` in #(
22667 *posix*) :
22668 set -o posix ;; #(
22669 *) :
22671 esac
22676 # Reset variables that may have inherited troublesome values from
22677 # the environment.
22679 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22680 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22681 # side effect of setting IFS to empty, thus disabling word splitting.)
22682 # Quoting is to prevent editors from complaining about space-tab.
22683 as_nl='
22685 export as_nl
22686 IFS=" "" $as_nl"
22688 PS1='$ '
22689 PS2='> '
22690 PS4='+ '
22692 # Ensure predictable behavior from utilities with locale-dependent output.
22693 LC_ALL=C
22694 export LC_ALL
22695 LANGUAGE=C
22696 export LANGUAGE
22698 # We cannot yet rely on "unset" to work, but we need these variables
22699 # to be unset--not just set to an empty or harmless value--now, to
22700 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22701 # also avoids known problems related to "unset" and subshell syntax
22702 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22703 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22704 do eval test \${$as_var+y} \
22705 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22706 done
22708 # Ensure that fds 0, 1, and 2 are open.
22709 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22710 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22711 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22713 # The user is always right.
22714 if ${PATH_SEPARATOR+false} :; then
22715 PATH_SEPARATOR=:
22716 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22717 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22718 PATH_SEPARATOR=';'
22723 # Find who we are. Look in the path if we contain no directory separator.
22724 as_myself=
22725 case $0 in #((
22726 *[\\/]* ) as_myself=$0 ;;
22727 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22728 for as_dir in $PATH
22730 IFS=$as_save_IFS
22731 case $as_dir in #(((
22732 '') as_dir=./ ;;
22733 */) ;;
22734 *) as_dir=$as_dir/ ;;
22735 esac
22736 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22737 done
22738 IFS=$as_save_IFS
22741 esac
22742 # We did not find ourselves, most probably we were run as `sh COMMAND'
22743 # in which case we are not to be found in the path.
22744 if test "x$as_myself" = x; then
22745 as_myself=$0
22747 if test ! -f "$as_myself"; then
22748 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22749 exit 1
22754 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22755 # ----------------------------------------
22756 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22757 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22758 # script with STATUS, using 1 if that was 0.
22759 as_fn_error ()
22761 as_status=$1; test $as_status -eq 0 && as_status=1
22762 if test "$4"; then
22763 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22766 printf "%s\n" "$as_me: error: $2" >&2
22767 as_fn_exit $as_status
22768 } # as_fn_error
22772 # as_fn_set_status STATUS
22773 # -----------------------
22774 # Set $? to STATUS, without forking.
22775 as_fn_set_status ()
22777 return $1
22778 } # as_fn_set_status
22780 # as_fn_exit STATUS
22781 # -----------------
22782 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22783 as_fn_exit ()
22785 set +e
22786 as_fn_set_status $1
22787 exit $1
22788 } # as_fn_exit
22790 # as_fn_unset VAR
22791 # ---------------
22792 # Portably unset VAR.
22793 as_fn_unset ()
22795 { eval $1=; unset $1;}
22797 as_unset=as_fn_unset
22799 # as_fn_append VAR VALUE
22800 # ----------------------
22801 # Append the text in VALUE to the end of the definition contained in VAR. Take
22802 # advantage of any shell optimizations that allow amortized linear growth over
22803 # repeated appends, instead of the typical quadratic growth present in naive
22804 # implementations.
22805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22806 then :
22807 eval 'as_fn_append ()
22809 eval $1+=\$2
22811 else $as_nop
22812 as_fn_append ()
22814 eval $1=\$$1\$2
22816 fi # as_fn_append
22818 # as_fn_arith ARG...
22819 # ------------------
22820 # Perform arithmetic evaluation on the ARGs, and store the result in the
22821 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22822 # must be portable across $(()) and expr.
22823 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22824 then :
22825 eval 'as_fn_arith ()
22827 as_val=$(( $* ))
22829 else $as_nop
22830 as_fn_arith ()
22832 as_val=`expr "$@" || test $? -eq 1`
22834 fi # as_fn_arith
22837 if expr a : '\(a\)' >/dev/null 2>&1 &&
22838 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22839 as_expr=expr
22840 else
22841 as_expr=false
22844 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22845 as_basename=basename
22846 else
22847 as_basename=false
22850 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22851 as_dirname=dirname
22852 else
22853 as_dirname=false
22856 as_me=`$as_basename -- "$0" ||
22857 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22858 X"$0" : 'X\(//\)$' \| \
22859 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22860 printf "%s\n" X/"$0" |
22861 sed '/^.*\/\([^/][^/]*\)\/*$/{
22862 s//\1/
22865 /^X\/\(\/\/\)$/{
22866 s//\1/
22869 /^X\/\(\/\).*/{
22870 s//\1/
22873 s/.*/./; q'`
22875 # Avoid depending upon Character Ranges.
22876 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22877 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22878 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22879 as_cr_digits='0123456789'
22880 as_cr_alnum=$as_cr_Letters$as_cr_digits
22883 # Determine whether it's possible to make 'echo' print without a newline.
22884 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22885 # for compatibility with existing Makefiles.
22886 ECHO_C= ECHO_N= ECHO_T=
22887 case `echo -n x` in #(((((
22888 -n*)
22889 case `echo 'xy\c'` in
22890 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22891 xy) ECHO_C='\c';;
22892 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22893 ECHO_T=' ';;
22894 esac;;
22896 ECHO_N='-n';;
22897 esac
22899 # For backward compatibility with old third-party macros, we provide
22900 # the shell variables $as_echo and $as_echo_n. New code should use
22901 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22902 as_echo='printf %s\n'
22903 as_echo_n='printf %s'
22905 rm -f conf$$ conf$$.exe conf$$.file
22906 if test -d conf$$.dir; then
22907 rm -f conf$$.dir/conf$$.file
22908 else
22909 rm -f conf$$.dir
22910 mkdir conf$$.dir 2>/dev/null
22912 if (echo >conf$$.file) 2>/dev/null; then
22913 if ln -s conf$$.file conf$$ 2>/dev/null; then
22914 as_ln_s='ln -s'
22915 # ... but there are two gotchas:
22916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22918 # In both cases, we have to default to `cp -pR'.
22919 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22920 as_ln_s='cp -pR'
22921 elif ln conf$$.file conf$$ 2>/dev/null; then
22922 as_ln_s=ln
22923 else
22924 as_ln_s='cp -pR'
22926 else
22927 as_ln_s='cp -pR'
22929 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22930 rmdir conf$$.dir 2>/dev/null
22933 # as_fn_mkdir_p
22934 # -------------
22935 # Create "$as_dir" as a directory, including parents if necessary.
22936 as_fn_mkdir_p ()
22939 case $as_dir in #(
22940 -*) as_dir=./$as_dir;;
22941 esac
22942 test -d "$as_dir" || eval $as_mkdir_p || {
22943 as_dirs=
22944 while :; do
22945 case $as_dir in #(
22946 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22947 *) as_qdir=$as_dir;;
22948 esac
22949 as_dirs="'$as_qdir' $as_dirs"
22950 as_dir=`$as_dirname -- "$as_dir" ||
22951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22952 X"$as_dir" : 'X\(//\)[^/]' \| \
22953 X"$as_dir" : 'X\(//\)$' \| \
22954 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22955 printf "%s\n" X"$as_dir" |
22956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22957 s//\1/
22960 /^X\(\/\/\)[^/].*/{
22961 s//\1/
22964 /^X\(\/\/\)$/{
22965 s//\1/
22968 /^X\(\/\).*/{
22969 s//\1/
22972 s/.*/./; q'`
22973 test -d "$as_dir" && break
22974 done
22975 test -z "$as_dirs" || eval "mkdir $as_dirs"
22976 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22979 } # as_fn_mkdir_p
22980 if mkdir -p . 2>/dev/null; then
22981 as_mkdir_p='mkdir -p "$as_dir"'
22982 else
22983 test -d ./-p && rmdir ./-p
22984 as_mkdir_p=false
22988 # as_fn_executable_p FILE
22989 # -----------------------
22990 # Test if FILE is an executable regular file.
22991 as_fn_executable_p ()
22993 test -f "$1" && test -x "$1"
22994 } # as_fn_executable_p
22995 as_test_x='test -x'
22996 as_executable_p=as_fn_executable_p
22998 # Sed expression to map a string onto a valid CPP name.
22999 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23001 # Sed expression to map a string onto a valid variable name.
23002 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23005 exec 6>&1
23006 ## ----------------------------------- ##
23007 ## Main body of $CONFIG_STATUS script. ##
23008 ## ----------------------------------- ##
23009 _ASEOF
23010 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23013 # Save the log message, to keep $0 and so on meaningful, and to
23014 # report actual input values of CONFIG_FILES etc. instead of their
23015 # values after options handling.
23016 ac_log="
23017 This file was extended by Wine $as_me 7.18, which was
23018 generated by GNU Autoconf 2.71. Invocation command line was
23020 CONFIG_FILES = $CONFIG_FILES
23021 CONFIG_HEADERS = $CONFIG_HEADERS
23022 CONFIG_LINKS = $CONFIG_LINKS
23023 CONFIG_COMMANDS = $CONFIG_COMMANDS
23024 $ $0 $@
23026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23029 _ACEOF
23032 case $ac_config_headers in *"
23033 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23034 esac
23037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23038 # Files that config.status was made for.
23039 config_headers="$ac_config_headers"
23040 config_links="$ac_config_links"
23041 config_commands="$ac_config_commands"
23043 _ACEOF
23045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23046 ac_cs_usage="\
23047 \`$as_me' instantiates files and other configuration actions
23048 from templates according to the current configuration. Unless the files
23049 and actions are specified as TAGs, all are instantiated by default.
23051 Usage: $0 [OPTION]... [TAG]...
23053 -h, --help print this help, then exit
23054 -V, --version print version number and configuration settings, then exit
23055 --config print configuration, then exit
23056 -q, --quiet, --silent
23057 do not print progress messages
23058 -d, --debug don't remove temporary files
23059 --recheck update $as_me by reconfiguring in the same conditions
23060 --header=FILE[:TEMPLATE]
23061 instantiate the configuration header FILE
23063 Configuration headers:
23064 $config_headers
23066 Configuration links:
23067 $config_links
23069 Configuration commands:
23070 $config_commands
23072 Report bugs to <wine-devel@winehq.org>.
23073 Wine home page: <https://www.winehq.org>."
23075 _ACEOF
23076 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23077 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23079 ac_cs_config='$ac_cs_config_escaped'
23080 ac_cs_version="\\
23081 Wine config.status 7.18
23082 configured by $0, generated by GNU Autoconf 2.71,
23083 with options \\"\$ac_cs_config\\"
23085 Copyright (C) 2021 Free Software Foundation, Inc.
23086 This config.status script is free software; the Free Software Foundation
23087 gives unlimited permission to copy, distribute and modify it."
23089 ac_pwd='$ac_pwd'
23090 srcdir='$srcdir'
23091 test -n "\$AWK" || AWK=awk
23092 _ACEOF
23094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23095 # The default lists apply if the user does not specify any file.
23096 ac_need_defaults=:
23097 while test $# != 0
23099 case $1 in
23100 --*=?*)
23101 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23102 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23103 ac_shift=:
23105 --*=)
23106 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23107 ac_optarg=
23108 ac_shift=:
23111 ac_option=$1
23112 ac_optarg=$2
23113 ac_shift=shift
23115 esac
23117 case $ac_option in
23118 # Handling of the options.
23119 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23120 ac_cs_recheck=: ;;
23121 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23122 printf "%s\n" "$ac_cs_version"; exit ;;
23123 --config | --confi | --conf | --con | --co | --c )
23124 printf "%s\n" "$ac_cs_config"; exit ;;
23125 --debug | --debu | --deb | --de | --d | -d )
23126 debug=: ;;
23127 --header | --heade | --head | --hea )
23128 $ac_shift
23129 case $ac_optarg in
23130 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23131 esac
23132 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23133 ac_need_defaults=false;;
23134 --he | --h)
23135 # Conflict between --help and --header
23136 as_fn_error $? "ambiguous option: \`$1'
23137 Try \`$0 --help' for more information.";;
23138 --help | --hel | -h )
23139 printf "%s\n" "$ac_cs_usage"; exit ;;
23140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23141 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23142 ac_cs_silent=: ;;
23144 # This is an error.
23145 -*) as_fn_error $? "unrecognized option: \`$1'
23146 Try \`$0 --help' for more information." ;;
23148 *) as_fn_append ac_config_targets " $1"
23149 ac_need_defaults=false ;;
23151 esac
23152 shift
23153 done
23155 ac_configure_extra_args=
23157 if $ac_cs_silent; then
23158 exec 6>/dev/null
23159 ac_configure_extra_args="$ac_configure_extra_args --silent"
23162 _ACEOF
23163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23164 if \$ac_cs_recheck; then
23165 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23166 shift
23167 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23168 CONFIG_SHELL='$SHELL'
23169 export CONFIG_SHELL
23170 exec "\$@"
23173 _ACEOF
23174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23175 exec 5>>config.log
23177 echo
23178 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23179 ## Running $as_me. ##
23180 _ASBOX
23181 printf "%s\n" "$ac_log"
23182 } >&5
23184 _ACEOF
23185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23187 # INIT-COMMANDS
23189 wine_fn_output_makedep ()
23191 as_dir=tools; as_fn_mkdir_p
23192 $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
23194 wine_fn_output_makefile ()
23196 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23197 # This Makefile understands the following targets:
23199 # all (default): build wine
23200 # clean: remove all intermediate files
23201 # distclean: also remove all files created by configure
23202 # test: run tests
23203 # testclean: clean test results to force running all tests again
23204 # install-lib: install libraries needed to run applications
23205 # install-dev: install development environment
23206 # install: install everything
23207 # uninstall: uninstall everything
23208 # ctags: create a tags file for vim and others.
23209 # etags: create a TAGS file for Emacs.
23211 SHELL = $SHELL
23212 PATH_SEPARATOR = $PATH_SEPARATOR
23213 PACKAGE_NAME = $PACKAGE_NAME
23214 PACKAGE_TARNAME = $PACKAGE_TARNAME
23215 PACKAGE_VERSION = $PACKAGE_VERSION
23216 PACKAGE_STRING = $PACKAGE_STRING
23217 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23218 PACKAGE_URL = $PACKAGE_URL
23219 exec_prefix = $exec_prefix
23220 prefix = $prefix
23221 program_transform_name = $program_transform_name
23222 bindir = $bindir
23223 sbindir = $sbindir
23224 libexecdir = $libexecdir
23225 datarootdir = $datarootdir
23226 datadir = $datadir
23227 sysconfdir = $sysconfdir
23228 sharedstatedir = $sharedstatedir
23229 localstatedir = $localstatedir
23230 runstatedir = $runstatedir
23231 includedir = $includedir
23232 oldincludedir = $oldincludedir
23233 docdir = $docdir
23234 infodir = $infodir
23235 htmldir = $htmldir
23236 dvidir = $dvidir
23237 pdfdir = $pdfdir
23238 psdir = $psdir
23239 libdir = $libdir
23240 localedir = $localedir
23241 mandir = $mandir
23242 DEFS = $DEFS
23243 ECHO_C = $ECHO_C
23244 ECHO_N = $ECHO_N
23245 ECHO_T = $ECHO_T
23246 LIBS = $LIBS
23247 build_alias = $build_alias
23248 host_alias = $host_alias
23249 target_alias = $target_alias
23250 system_dllpath = $system_dllpath
23251 build = $build
23252 build_cpu = $build_cpu
23253 build_vendor = $build_vendor
23254 build_os = $build_os
23255 host = $host
23256 host_cpu = $host_cpu
23257 host_vendor = $host_vendor
23258 host_os = $host_os
23259 dlldir = $dlldir
23260 fontdir = $fontdir
23261 nlsdir = $nlsdir
23262 srcdir = $srcdir
23263 SET_MAKE = $SET_MAKE
23264 CC = $CC
23265 CFLAGS = $CFLAGS
23266 LDFLAGS = $LDFLAGS
23267 CPPFLAGS = $CPPFLAGS
23268 ac_ct_CC = $ac_ct_CC
23269 EXEEXT = $EXEEXT
23270 OBJEXT = $OBJEXT
23271 CXX = $CXX
23272 CXXFLAGS = $CXXFLAGS
23273 ac_ct_CXX = $ac_ct_CXX
23274 CPPBIN = $CPPBIN
23275 LD = $LD
23276 TARGETFLAGS = $TARGETFLAGS
23277 toolsext = $toolsext
23278 toolsdir = $toolsdir
23279 MAKEDEP = $MAKEDEP
23280 RUNTESTFLAGS = $RUNTESTFLAGS
23281 SED_CMD = $SED_CMD
23282 FLEX = $FLEX
23283 BISON = $BISON
23284 AR = $AR
23285 ac_ct_AR = $ac_ct_AR
23286 STRIP = $STRIP
23287 RANLIB = $RANLIB
23288 LN_S = $LN_S
23289 GREP = $GREP
23290 EGREP = $EGREP
23291 LDCONFIG = $LDCONFIG
23292 MSGFMT = $MSGFMT
23293 PKG_CONFIG = $PKG_CONFIG
23294 FONTFORGE = $FONTFORGE
23295 RSVG = $RSVG
23296 CONVERT = $CONVERT
23297 ICOTOOL = $ICOTOOL
23298 I386_LIBS = $I386_LIBS
23299 OPENGL_LIBS = $OPENGL_LIBS
23300 DLLFLAGS = $DLLFLAGS
23301 LDDLLFLAGS = $LDDLLFLAGS
23302 LDEXECFLAGS = $LDEXECFLAGS
23303 EXTRACFLAGS = $EXTRACFLAGS
23304 UNIXDLLFLAGS = $UNIXDLLFLAGS
23305 UNIXLDFLAGS = $UNIXLDFLAGS
23306 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23307 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23308 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23309 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23310 LDD = $LDD
23311 OTOOL = $OTOOL
23312 READELF = $READELF
23313 SUBDIRS = $SUBDIRS
23314 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23315 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23316 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23317 DLLTOOL = $DLLTOOL
23318 OBJC = $OBJC
23319 OBJCFLAGS = $OBJCFLAGS
23320 ac_ct_OBJC = $ac_ct_OBJC
23321 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23322 IOKIT_LIBS = $IOKIT_LIBS
23323 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23324 CORESERVICES_LIBS = $CORESERVICES_LIBS
23325 APPKIT_LIBS = $APPKIT_LIBS
23326 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23327 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23328 SECURITY_LIBS = $SECURITY_LIBS
23329 COREAUDIO_LIBS = $COREAUDIO_LIBS
23330 OPENAL_LIBS = $OPENAL_LIBS
23331 OPENCL_LIBS = $OPENCL_LIBS
23332 CARBON_LIBS = $CARBON_LIBS
23333 METAL_LIBS = $METAL_LIBS
23334 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23335 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23336 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23337 PRELINK = $PRELINK
23338 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23339 CROSSTARGET = $CROSSTARGET
23340 CROSSCC = $CROSSCC
23341 CROSSCFLAGS = $CROSSCFLAGS
23342 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23343 CROSSLDFLAGS = $CROSSLDFLAGS
23344 DELAYLOADFLAG = $DELAYLOADFLAG
23345 CROSSDEBUG = $CROSSDEBUG
23346 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23347 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23348 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23349 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23350 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23351 GSM_PE_LIBS = $GSM_PE_LIBS
23352 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23353 JPEG_PE_LIBS = $JPEG_PE_LIBS
23354 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23355 JXR_PE_LIBS = $JXR_PE_LIBS
23356 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23357 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23358 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23359 MPG123_PE_LIBS = $MPG123_PE_LIBS
23360 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23361 PNG_PE_LIBS = $PNG_PE_LIBS
23362 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23363 TIFF_PE_LIBS = $TIFF_PE_LIBS
23364 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23365 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23366 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23367 XML2_PE_LIBS = $XML2_PE_LIBS
23368 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23369 XSLT_PE_LIBS = $XSLT_PE_LIBS
23370 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23371 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23372 PTHREAD_LIBS = $PTHREAD_LIBS
23373 XMKMF = $XMKMF
23374 CPP = $CPP
23375 X_CFLAGS = $X_CFLAGS
23376 X_PRE_LIBS = $X_PRE_LIBS
23377 X_LIBS = $X_LIBS
23378 X_EXTRA_LIBS = $X_EXTRA_LIBS
23379 PCAP_LIBS = $PCAP_LIBS
23380 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23381 INOTIFY_LIBS = $INOTIFY_LIBS
23382 DBUS_CFLAGS = $DBUS_CFLAGS
23383 DBUS_LIBS = $DBUS_LIBS
23384 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23385 GNUTLS_LIBS = $GNUTLS_LIBS
23386 SANE_CFLAGS = $SANE_CFLAGS
23387 SANE_LIBS = $SANE_LIBS
23388 USB_CFLAGS = $USB_CFLAGS
23389 USB_LIBS = $USB_LIBS
23390 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23391 GPHOTO2_LIBS = $GPHOTO2_LIBS
23392 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23393 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23394 RESOLV_LIBS = $RESOLV_LIBS
23395 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23396 FREETYPE_LIBS = $FREETYPE_LIBS
23397 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23398 PULSE_CFLAGS = $PULSE_CFLAGS
23399 PULSE_LIBS = $PULSE_LIBS
23400 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23401 GSTREAMER_LIBS = $GSTREAMER_LIBS
23402 ALSA_LIBS = $ALSA_LIBS
23403 OSS4_CFLAGS = $OSS4_CFLAGS
23404 OSS4_LIBS = $OSS4_LIBS
23405 UDEV_CFLAGS = $UDEV_CFLAGS
23406 UDEV_LIBS = $UDEV_LIBS
23407 UNWIND_CFLAGS = $UNWIND_CFLAGS
23408 UNWIND_LIBS = $UNWIND_LIBS
23409 SDL2_CFLAGS = $SDL2_CFLAGS
23410 SDL2_LIBS = $SDL2_LIBS
23411 CAPI20_CFLAGS = $CAPI20_CFLAGS
23412 CAPI20_LIBS = $CAPI20_LIBS
23413 CUPS_CFLAGS = $CUPS_CFLAGS
23414 CUPS_LIBS = $CUPS_LIBS
23415 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23416 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23417 KRB5_CFLAGS = $KRB5_CFLAGS
23418 KRB5_LIBS = $KRB5_LIBS
23419 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23420 GSSAPI_LIBS = $GSSAPI_LIBS
23421 PROCSTAT_LIBS = $PROCSTAT_LIBS
23422 NETAPI_CFLAGS = $NETAPI_CFLAGS
23423 NETAPI_LIBS = $NETAPI_LIBS
23424 MSVCRTFLAGS = $MSVCRTFLAGS
23425 RT_LIBS = $RT_LIBS
23426 LDAP_CFLAGS = $LDAP_CFLAGS
23427 LDAP_LIBS = $LDAP_LIBS
23428 TAGSFLAGS = $TAGSFLAGS
23429 LIBOBJS = $LIBOBJS
23430 LTLIBOBJS = $LTLIBOBJS
23431 $SET_MAKE
23432 $wine_rules
23433 _WINE_EOF
23434 as_fn_error $? "could not create Makefile" "$LINENO" 5
23437 _ACEOF
23439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23441 # Handling of arguments.
23442 for ac_config_target in $ac_config_targets
23444 case $ac_config_target in
23445 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23446 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23447 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23448 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23449 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23450 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23452 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23453 esac
23454 done
23457 # If the user did not use the arguments to specify the items to instantiate,
23458 # then the envvar interface is used. Set only those that are not.
23459 # We use the long form for the default assignment because of an extremely
23460 # bizarre bug on SunOS 4.1.3.
23461 if $ac_need_defaults; then
23462 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23463 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23464 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23467 # Have a temporary directory for convenience. Make it in the build tree
23468 # simply because there is no reason against having it here, and in addition,
23469 # creating and moving files from /tmp can sometimes cause problems.
23470 # Hook for its removal unless debugging.
23471 # Note that there is a small window in which the directory will not be cleaned:
23472 # after its creation but before its name has been assigned to `$tmp'.
23473 $debug ||
23475 tmp= ac_tmp=
23476 trap 'exit_status=$?
23477 : "${ac_tmp:=$tmp}"
23478 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23480 trap 'as_fn_exit 1' 1 2 13 15
23482 # Create a (secure) tmp directory for tmp files.
23485 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23486 test -d "$tmp"
23487 } ||
23489 tmp=./conf$$-$RANDOM
23490 (umask 077 && mkdir "$tmp")
23491 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23492 ac_tmp=$tmp
23494 # Set up the scripts for CONFIG_HEADERS section.
23495 # No need to generate them if there are no CONFIG_HEADERS.
23496 # This happens for instance with `./config.status Makefile'.
23497 if test -n "$CONFIG_HEADERS"; then
23498 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23499 BEGIN {
23500 _ACEOF
23502 # Transform confdefs.h into an awk script `defines.awk', embedded as
23503 # here-document in config.status, that substitutes the proper values into
23504 # config.h.in to produce config.h.
23506 # Create a delimiter string that does not exist in confdefs.h, to ease
23507 # handling of long lines.
23508 ac_delim='%!_!# '
23509 for ac_last_try in false false :; do
23510 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23511 if test -z "$ac_tt"; then
23512 break
23513 elif $ac_last_try; then
23514 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23515 else
23516 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23518 done
23520 # For the awk script, D is an array of macro values keyed by name,
23521 # likewise P contains macro parameters if any. Preserve backslash
23522 # newline sequences.
23524 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23525 sed -n '
23526 s/.\{148\}/&'"$ac_delim"'/g
23527 t rset
23528 :rset
23529 s/^[ ]*#[ ]*define[ ][ ]*/ /
23530 t def
23532 :def
23533 s/\\$//
23534 t bsnl
23535 s/["\\]/\\&/g
23536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23537 D["\1"]=" \3"/p
23538 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23540 :bsnl
23541 s/["\\]/\\&/g
23542 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23543 D["\1"]=" \3\\\\\\n"\\/p
23544 t cont
23545 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23546 t cont
23548 :cont
23550 s/.\{148\}/&'"$ac_delim"'/g
23551 t clear
23552 :clear
23553 s/\\$//
23554 t bsnlc
23555 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23557 :bsnlc
23558 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23559 b cont
23560 ' <confdefs.h | sed '
23561 s/'"$ac_delim"'/"\\\
23562 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23565 for (key in D) D_is_set[key] = 1
23566 FS = "\a"
23568 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23569 line = \$ 0
23570 split(line, arg, " ")
23571 if (arg[1] == "#") {
23572 defundef = arg[2]
23573 mac1 = arg[3]
23574 } else {
23575 defundef = substr(arg[1], 2)
23576 mac1 = arg[2]
23578 split(mac1, mac2, "(") #)
23579 macro = mac2[1]
23580 prefix = substr(line, 1, index(line, defundef) - 1)
23581 if (D_is_set[macro]) {
23582 # Preserve the white space surrounding the "#".
23583 print prefix "define", macro P[macro] D[macro]
23584 next
23585 } else {
23586 # Replace #undef with comments. This is necessary, for example,
23587 # in the case of _POSIX_SOURCE, which is predefined and required
23588 # on some systems where configure will not decide to define it.
23589 if (defundef == "undef") {
23590 print "/*", prefix defundef, macro, "*/"
23591 next
23595 { print }
23596 _ACAWK
23597 _ACEOF
23598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23599 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23600 fi # test -n "$CONFIG_HEADERS"
23603 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23604 shift
23605 for ac_tag
23607 case $ac_tag in
23608 :[FHLC]) ac_mode=$ac_tag; continue;;
23609 esac
23610 case $ac_mode$ac_tag in
23611 :[FHL]*:*);;
23612 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23613 :[FH]-) ac_tag=-:-;;
23614 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23615 esac
23616 ac_save_IFS=$IFS
23617 IFS=:
23618 set x $ac_tag
23619 IFS=$ac_save_IFS
23620 shift
23621 ac_file=$1
23622 shift
23624 case $ac_mode in
23625 :L) ac_source=$1;;
23626 :[FH])
23627 ac_file_inputs=
23628 for ac_f
23630 case $ac_f in
23631 -) ac_f="$ac_tmp/stdin";;
23632 *) # Look for the file first in the build tree, then in the source tree
23633 # (if the path is not absolute). The absolute path cannot be DOS-style,
23634 # because $ac_f cannot contain `:'.
23635 test -f "$ac_f" ||
23636 case $ac_f in
23637 [\\/$]*) false;;
23638 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23639 esac ||
23640 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23641 esac
23642 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23643 as_fn_append ac_file_inputs " '$ac_f'"
23644 done
23646 # Let's still pretend it is `configure' which instantiates (i.e., don't
23647 # use $as_me), people would be surprised to read:
23648 # /* config.h. Generated by config.status. */
23649 configure_input='Generated from '`
23650 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23651 `' by configure.'
23652 if test x"$ac_file" != x-; then
23653 configure_input="$ac_file. $configure_input"
23654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23655 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23657 # Neutralize special characters interpreted by sed in replacement strings.
23658 case $configure_input in #(
23659 *\&* | *\|* | *\\* )
23660 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23661 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23662 *) ac_sed_conf_input=$configure_input;;
23663 esac
23665 case $ac_tag in
23666 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23668 esac
23670 esac
23672 ac_dir=`$as_dirname -- "$ac_file" ||
23673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23674 X"$ac_file" : 'X\(//\)[^/]' \| \
23675 X"$ac_file" : 'X\(//\)$' \| \
23676 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23677 printf "%s\n" X"$ac_file" |
23678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23679 s//\1/
23682 /^X\(\/\/\)[^/].*/{
23683 s//\1/
23686 /^X\(\/\/\)$/{
23687 s//\1/
23690 /^X\(\/\).*/{
23691 s//\1/
23694 s/.*/./; q'`
23695 as_dir="$ac_dir"; as_fn_mkdir_p
23696 ac_builddir=.
23698 case "$ac_dir" in
23699 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23701 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23702 # A ".." for each directory in $ac_dir_suffix.
23703 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23704 case $ac_top_builddir_sub in
23705 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23706 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23707 esac ;;
23708 esac
23709 ac_abs_top_builddir=$ac_pwd
23710 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23711 # for backward compatibility:
23712 ac_top_builddir=$ac_top_build_prefix
23714 case $srcdir in
23715 .) # We are building in place.
23716 ac_srcdir=.
23717 ac_top_srcdir=$ac_top_builddir_sub
23718 ac_abs_top_srcdir=$ac_pwd ;;
23719 [\\/]* | ?:[\\/]* ) # Absolute name.
23720 ac_srcdir=$srcdir$ac_dir_suffix;
23721 ac_top_srcdir=$srcdir
23722 ac_abs_top_srcdir=$srcdir ;;
23723 *) # Relative name.
23724 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23725 ac_top_srcdir=$ac_top_build_prefix$srcdir
23726 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23727 esac
23728 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23731 case $ac_mode in
23735 # CONFIG_HEADER
23737 if test x"$ac_file" != x-; then
23739 printf "%s\n" "/* $configure_input */" >&1 \
23740 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23741 } >"$ac_tmp/config.h" \
23742 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23743 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23745 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23746 else
23747 rm -f "$ac_file"
23748 mv "$ac_tmp/config.h" "$ac_file" \
23749 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23751 else
23752 printf "%s\n" "/* $configure_input */" >&1 \
23753 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23754 || as_fn_error $? "could not create -" "$LINENO" 5
23759 # CONFIG_LINK
23762 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23764 else
23765 # Prefer the file from the source tree if names are identical.
23766 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23767 ac_source=$srcdir/$ac_source
23770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23771 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23773 if test ! -r "$ac_source"; then
23774 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23776 rm -f "$ac_file"
23778 # Try a relative symlink, then a hard link, then a copy.
23779 case $ac_source in
23780 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23781 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23782 esac
23783 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23784 ln "$ac_source" "$ac_file" 2>/dev/null ||
23785 cp -p "$ac_source" "$ac_file" ||
23786 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23789 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23790 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23792 esac
23795 case $ac_file$ac_mode in
23796 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23797 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23798 "Makefile":C) wine_fn_output_makefile Makefile ;;
23800 esac
23801 done # for ac_tag
23804 as_fn_exit 0
23805 _ACEOF
23806 ac_clean_files=$ac_clean_files_save
23808 test $ac_write_fail = 0 ||
23809 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23812 # configure is writing to config.log, and then calls config.status.
23813 # config.status does its own redirection, appending to config.log.
23814 # Unfortunately, on DOS this fails, as config.log is still kept open
23815 # by configure, so config.status won't be able to write to it; its
23816 # output is simply discarded. So we exec the FD to /dev/null,
23817 # effectively closing config.log, so it can be properly (re)opened and
23818 # appended to by config.status. When coming back to configure, we
23819 # need to make the FD available again.
23820 if test "$no_create" != yes; then
23821 ac_cs_success=:
23822 ac_config_status_args=
23823 test "$silent" = yes &&
23824 ac_config_status_args="$ac_config_status_args --quiet"
23825 exec 5>/dev/null
23826 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23827 exec 5>>config.log
23828 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23829 # would make configure fail if this is the last instruction.
23830 $ac_cs_success || as_fn_exit 1
23832 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23834 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23838 if test "$no_create" = "yes"
23839 then
23840 exit 0
23843 ac_save_IFS="$IFS"
23844 if test "x$wine_notices" != x; then
23845 echo >&6
23846 IFS="|"
23847 for msg in $wine_notices; do
23848 IFS="$ac_save_IFS"
23849 if ${msg:+false} :
23850 then :
23852 else $as_nop
23853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23854 printf "%s\n" "$as_me: $msg" >&6;}
23856 done
23858 IFS="|"
23859 for msg in $wine_warnings; do
23860 IFS="$ac_save_IFS"
23861 if ${msg:+false} :
23862 then :
23864 else $as_nop
23865 echo >&2
23866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23867 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23869 done
23870 IFS="$ac_save_IFS"
23872 printf "%s\n" "
23873 $as_me: Finished. Do '${ac_make}' to compile Wine.
23874 " >&6