win32u: Move NtUserGetClipboardOwner implementation from user32.
[wine.git] / configure
blob39c96a4e504848d03248235036344660f065d4b5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 6.21.
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='6.21'
615 PACKAGE_STRING='Wine 6.21'
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 VKD3D_SHADER_LIBS
660 VKD3D_SHADER_CFLAGS
661 VKD3D_LIBS
662 VKD3D_CFLAGS
663 NETAPI_LIBS
664 NETAPI_CFLAGS
665 PROCSTAT_LIBS
666 GSSAPI_LIBS
667 GSSAPI_CFLAGS
668 KRB5_LIBS
669 KRB5_CFLAGS
670 FONTCONFIG_LIBS
671 FONTCONFIG_CFLAGS
672 CUPS_LIBS
673 CUPS_CFLAGS
674 CAPI20_LIBS
675 CAPI20_CFLAGS
676 SDL2_LIBS
677 SDL2_CFLAGS
678 UNWIND_LIBS
679 UNWIND_CFLAGS
680 UDEV_LIBS
681 UDEV_CFLAGS
682 OSS4_LIBS
683 OSS4_CFLAGS
684 ALSA_LIBS
685 GSTREAMER_LIBS
686 GSTREAMER_CFLAGS
687 PULSE_LIBS
688 PULSE_CFLAGS
689 GETTEXTPO_LIBS
690 FREETYPE_LIBS
691 FREETYPE_CFLAGS
692 RESOLV_LIBS
693 GPHOTO2_PORT_LIBS
694 GPHOTO2_PORT_CFLAGS
695 GPHOTO2_LIBS
696 GPHOTO2_CFLAGS
697 USB_LIBS
698 USB_CFLAGS
699 SANE_LIBS
700 SANE_CFLAGS
701 GNUTLS_LIBS
702 GNUTLS_CFLAGS
703 HAL_LIBS
704 HAL_CFLAGS
705 DBUS_LIBS
706 DBUS_CFLAGS
707 INOTIFY_LIBS
708 INOTIFY_CFLAGS
709 PCAP_LIBS
710 X_EXTRA_LIBS
711 X_LIBS
712 X_PRE_LIBS
713 X_CFLAGS
715 XMKMF
716 PTHREAD_LIBS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 TIFF_PE_LIBS
724 TIFF_PE_CFLAGS
725 PNG_PE_LIBS
726 PNG_PE_CFLAGS
727 MPG123_PE_LIBS
728 MPG123_PE_CFLAGS
729 LCMS2_PE_LIBS
730 LCMS2_PE_CFLAGS
731 JXR_PE_LIBS
732 JXR_PE_CFLAGS
733 JPEG_PE_LIBS
734 JPEG_PE_CFLAGS
735 GSM_PE_LIBS
736 GSM_PE_CFLAGS
737 FAUDIO_PE_LIBS
738 FAUDIO_PE_CFLAGS
739 EXCESS_PRECISION_CFLAGS
740 CROSSDEBUG
741 DELAYLOADFLAG
742 CROSSLDFLAGS
743 EXTRACROSSCFLAGS
744 CROSSCFLAGS
745 CROSSCC
746 CROSSTARGET
747 LIBWINE_DEPENDS
748 PRELINK
749 WINELOADER_DEPENDS
750 LIBWINE_LDFLAGS
751 LIBWINE_SHAREDLIB
752 METAL_LIBS
753 CARBON_LIBS
754 QUICKTIME_LIBS
755 OPENCL_LIBS
756 OPENAL_LIBS
757 COREAUDIO_LIBS
758 SECURITY_LIBS
759 DISKARBITRATION_LIBS
760 SYSTEMCONFIGURATION_LIBS
761 APPKIT_LIBS
762 CORESERVICES_LIBS
763 APPLICATIONSERVICES_LIBS
764 IOKIT_LIBS
765 COREFOUNDATION_LIBS
766 ac_ct_OBJC
767 OBJCFLAGS
768 OBJC
769 DLLTOOL
770 WINELOADER_PROGRAMS
771 CONFIGURE_TARGETS
772 DISABLED_SUBDIRS
773 SUBDIRS
774 READELF
775 OTOOL
777 WINEPRELOADER_LDFLAGS
778 WINELOADER_LDFLAGS
779 TOP_INSTALL_DEV
780 TOP_INSTALL_LIB
781 UNIXLDFLAGS
782 UNIXDLLFLAGS
783 EXTRACFLAGS
784 LDEXECFLAGS
785 LDDLLFLAGS
786 DLLFLAGS
787 OPENGL_LIBS
788 I386_LIBS
789 ICOTOOL
790 CONVERT
791 RSVG
792 FONTFORGE
793 PKG_CONFIG
794 MSGFMT
795 LDCONFIG
796 EGREP
797 GREP
798 LN_S
799 RANLIB
800 STRIP
801 ac_ct_AR
803 BISON
804 FLEX
805 api_manext
806 SED_CMD
807 RUNTESTFLAGS
808 MAKEDEP
809 toolsdir
810 toolsext
811 TARGETFLAGS
813 CPPBIN
814 ac_ct_CXX
815 CXXFLAGS
817 OBJEXT
818 EXEEXT
819 ac_ct_CC
820 CPPFLAGS
821 LDFLAGS
822 CFLAGS
824 SET_MAKE
825 srcdir
826 nlsdir
827 fontdir
828 dlldir
829 host_os
830 host_vendor
831 host_cpu
832 host
833 build_os
834 build_vendor
835 build_cpu
836 build
837 target_alias
838 host_alias
839 build_alias
840 LIBS
841 ECHO_T
842 ECHO_N
843 ECHO_C
844 DEFS
845 mandir
846 localedir
847 libdir
848 psdir
849 pdfdir
850 dvidir
851 htmldir
852 infodir
853 docdir
854 oldincludedir
855 includedir
856 runstatedir
857 localstatedir
858 sharedstatedir
859 sysconfdir
860 datadir
861 datarootdir
862 libexecdir
863 sbindir
864 bindir
865 program_transform_name
866 prefix
867 exec_prefix
868 PACKAGE_URL
869 PACKAGE_BUGREPORT
870 PACKAGE_STRING
871 PACKAGE_VERSION
872 PACKAGE_TARNAME
873 PACKAGE_NAME
874 PATH_SEPARATOR
875 SHELL'
876 ac_subst_files=''
877 ac_user_opts='
878 enable_option_checking
879 enable_win16
880 enable_win64
881 enable_tests
882 enable_build_id
883 enable_maintainer_mode
884 enable_silent_rules
885 enable_werror
886 with_alsa
887 with_capi
888 with_coreaudio
889 with_cups
890 with_dbus
891 with_float_abi
892 with_fontconfig
893 with_freetype
894 with_gettext
895 with_gettextpo
896 with_gphoto
897 with_gnutls
898 with_gssapi
899 with_gstreamer
900 with_hal
901 with_inotify
902 with_krb5
903 with_ldap
904 with_mingw
905 with_netapi
906 with_openal
907 with_opencl
908 with_opengl
909 with_osmesa
910 with_oss
911 with_pcap
912 with_pthread
913 with_pulse
914 with_quicktime
915 with_sane
916 with_sdl
917 with_udev
918 with_unwind
919 with_usb
920 with_v4l2
921 with_vkd3d
922 with_vulkan
923 with_xcomposite
924 with_xcursor
925 with_xfixes
926 with_xinerama
927 with_xinput
928 with_xinput2
929 with_xrandr
930 with_xrender
931 with_xshape
932 with_xshm
933 with_xxf86vm
934 with_wine_tools
935 with_wine64
936 enable_largefile
937 with_x
938 enable_acledit
939 enable_aclui
940 enable_activeds_tlb
941 enable_activeds
942 enable_actxprxy
943 enable_adsldp
944 enable_adsldpc
945 enable_advapi32
946 enable_advpack
947 enable_amsi
948 enable_amstream
949 enable_api_ms_win_appmodel_identity_l1_1_0
950 enable_api_ms_win_appmodel_runtime_l1_1_1
951 enable_api_ms_win_appmodel_runtime_l1_1_2
952 enable_api_ms_win_core_apiquery_l1_1_0
953 enable_api_ms_win_core_appcompat_l1_1_1
954 enable_api_ms_win_core_appinit_l1_1_0
955 enable_api_ms_win_core_atoms_l1_1_0
956 enable_api_ms_win_core_bem_l1_1_0
957 enable_api_ms_win_core_com_l1_1_0
958 enable_api_ms_win_core_com_l1_1_1
959 enable_api_ms_win_core_com_private_l1_1_0
960 enable_api_ms_win_core_comm_l1_1_0
961 enable_api_ms_win_core_console_l1_1_0
962 enable_api_ms_win_core_console_l1_2_0
963 enable_api_ms_win_core_console_l2_1_0
964 enable_api_ms_win_core_console_l3_2_0
965 enable_api_ms_win_core_crt_l1_1_0
966 enable_api_ms_win_core_crt_l2_1_0
967 enable_api_ms_win_core_datetime_l1_1_0
968 enable_api_ms_win_core_datetime_l1_1_1
969 enable_api_ms_win_core_debug_l1_1_0
970 enable_api_ms_win_core_debug_l1_1_1
971 enable_api_ms_win_core_delayload_l1_1_0
972 enable_api_ms_win_core_delayload_l1_1_1
973 enable_api_ms_win_core_errorhandling_l1_1_0
974 enable_api_ms_win_core_errorhandling_l1_1_1
975 enable_api_ms_win_core_errorhandling_l1_1_2
976 enable_api_ms_win_core_errorhandling_l1_1_3
977 enable_api_ms_win_core_featurestaging_l1_1_0
978 enable_api_ms_win_core_fibers_l1_1_0
979 enable_api_ms_win_core_fibers_l1_1_1
980 enable_api_ms_win_core_file_ansi_l2_1_0
981 enable_api_ms_win_core_file_fromapp_l1_1_0
982 enable_api_ms_win_core_file_l1_1_0
983 enable_api_ms_win_core_file_l1_2_0
984 enable_api_ms_win_core_file_l1_2_1
985 enable_api_ms_win_core_file_l1_2_2
986 enable_api_ms_win_core_file_l2_1_0
987 enable_api_ms_win_core_file_l2_1_1
988 enable_api_ms_win_core_file_l2_1_2
989 enable_api_ms_win_core_handle_l1_1_0
990 enable_api_ms_win_core_heap_l1_1_0
991 enable_api_ms_win_core_heap_l1_2_0
992 enable_api_ms_win_core_heap_l2_1_0
993 enable_api_ms_win_core_heap_obsolete_l1_1_0
994 enable_api_ms_win_core_interlocked_l1_1_0
995 enable_api_ms_win_core_interlocked_l1_2_0
996 enable_api_ms_win_core_io_l1_1_0
997 enable_api_ms_win_core_io_l1_1_1
998 enable_api_ms_win_core_job_l1_1_0
999 enable_api_ms_win_core_job_l2_1_0
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_0
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1002 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1003 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1004 enable_api_ms_win_core_kernel32_private_l1_1_1
1005 enable_api_ms_win_core_largeinteger_l1_1_0
1006 enable_api_ms_win_core_libraryloader_l1_1_0
1007 enable_api_ms_win_core_libraryloader_l1_1_1
1008 enable_api_ms_win_core_libraryloader_l1_2_0
1009 enable_api_ms_win_core_libraryloader_l1_2_1
1010 enable_api_ms_win_core_libraryloader_l1_2_2
1011 enable_api_ms_win_core_libraryloader_l2_1_0
1012 enable_api_ms_win_core_localization_l1_1_0
1013 enable_api_ms_win_core_localization_l1_2_0
1014 enable_api_ms_win_core_localization_l1_2_1
1015 enable_api_ms_win_core_localization_l1_2_2
1016 enable_api_ms_win_core_localization_l2_1_0
1017 enable_api_ms_win_core_localization_obsolete_l1_1_0
1018 enable_api_ms_win_core_localization_obsolete_l1_2_0
1019 enable_api_ms_win_core_localization_obsolete_l1_3_0
1020 enable_api_ms_win_core_localization_private_l1_1_0
1021 enable_api_ms_win_core_localregistry_l1_1_0
1022 enable_api_ms_win_core_memory_l1_1_0
1023 enable_api_ms_win_core_memory_l1_1_1
1024 enable_api_ms_win_core_memory_l1_1_2
1025 enable_api_ms_win_core_memory_l1_1_3
1026 enable_api_ms_win_core_memory_l1_1_4
1027 enable_api_ms_win_core_misc_l1_1_0
1028 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1029 enable_api_ms_win_core_namedpipe_l1_1_0
1030 enable_api_ms_win_core_namedpipe_l1_2_0
1031 enable_api_ms_win_core_namespace_l1_1_0
1032 enable_api_ms_win_core_normalization_l1_1_0
1033 enable_api_ms_win_core_path_l1_1_0
1034 enable_api_ms_win_core_privateprofile_l1_1_1
1035 enable_api_ms_win_core_processenvironment_l1_1_0
1036 enable_api_ms_win_core_processenvironment_l1_2_0
1037 enable_api_ms_win_core_processthreads_l1_1_0
1038 enable_api_ms_win_core_processthreads_l1_1_1
1039 enable_api_ms_win_core_processthreads_l1_1_2
1040 enable_api_ms_win_core_processthreads_l1_1_3
1041 enable_api_ms_win_core_processtopology_l1_1_0
1042 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1043 enable_api_ms_win_core_profile_l1_1_0
1044 enable_api_ms_win_core_psapi_ansi_l1_1_0
1045 enable_api_ms_win_core_psapi_l1_1_0
1046 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1047 enable_api_ms_win_core_psm_appnotify_l1_1_0
1048 enable_api_ms_win_core_quirks_l1_1_0
1049 enable_api_ms_win_core_realtime_l1_1_0
1050 enable_api_ms_win_core_realtime_l1_1_1
1051 enable_api_ms_win_core_registry_l1_1_0
1052 enable_api_ms_win_core_registry_l2_1_0
1053 enable_api_ms_win_core_registry_l2_2_0
1054 enable_api_ms_win_core_registryuserspecific_l1_1_0
1055 enable_api_ms_win_core_rtlsupport_l1_1_0
1056 enable_api_ms_win_core_rtlsupport_l1_2_0
1057 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1058 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1059 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1060 enable_api_ms_win_core_shutdown_l1_1_0
1061 enable_api_ms_win_core_sidebyside_l1_1_0
1062 enable_api_ms_win_core_string_l1_1_0
1063 enable_api_ms_win_core_string_l2_1_0
1064 enable_api_ms_win_core_string_obsolete_l1_1_0
1065 enable_api_ms_win_core_stringansi_l1_1_0
1066 enable_api_ms_win_core_stringloader_l1_1_1
1067 enable_api_ms_win_core_synch_ansi_l1_1_0
1068 enable_api_ms_win_core_synch_l1_1_0
1069 enable_api_ms_win_core_synch_l1_2_0
1070 enable_api_ms_win_core_synch_l1_2_1
1071 enable_api_ms_win_core_sysinfo_l1_1_0
1072 enable_api_ms_win_core_sysinfo_l1_2_0
1073 enable_api_ms_win_core_sysinfo_l1_2_1
1074 enable_api_ms_win_core_systemtopology_l1_1_0
1075 enable_api_ms_win_core_threadpool_l1_1_0
1076 enable_api_ms_win_core_threadpool_l1_2_0
1077 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1078 enable_api_ms_win_core_threadpool_private_l1_1_0
1079 enable_api_ms_win_core_timezone_l1_1_0
1080 enable_api_ms_win_core_toolhelp_l1_1_0
1081 enable_api_ms_win_core_url_l1_1_0
1082 enable_api_ms_win_core_util_l1_1_0
1083 enable_api_ms_win_core_version_l1_1_0
1084 enable_api_ms_win_core_version_l1_1_1
1085 enable_api_ms_win_core_version_private_l1_1_0
1086 enable_api_ms_win_core_versionansi_l1_1_0
1087 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1088 enable_api_ms_win_core_winrt_error_l1_1_0
1089 enable_api_ms_win_core_winrt_error_l1_1_1
1090 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1091 enable_api_ms_win_core_winrt_l1_1_0
1092 enable_api_ms_win_core_winrt_registration_l1_1_0
1093 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1094 enable_api_ms_win_core_winrt_string_l1_1_0
1095 enable_api_ms_win_core_winrt_string_l1_1_1
1096 enable_api_ms_win_core_wow64_l1_1_0
1097 enable_api_ms_win_core_wow64_l1_1_1
1098 enable_api_ms_win_core_xstate_l1_1_0
1099 enable_api_ms_win_core_xstate_l2_1_0
1100 enable_api_ms_win_crt_conio_l1_1_0
1101 enable_api_ms_win_crt_convert_l1_1_0
1102 enable_api_ms_win_crt_environment_l1_1_0
1103 enable_api_ms_win_crt_filesystem_l1_1_0
1104 enable_api_ms_win_crt_heap_l1_1_0
1105 enable_api_ms_win_crt_locale_l1_1_0
1106 enable_api_ms_win_crt_math_l1_1_0
1107 enable_api_ms_win_crt_multibyte_l1_1_0
1108 enable_api_ms_win_crt_private_l1_1_0
1109 enable_api_ms_win_crt_process_l1_1_0
1110 enable_api_ms_win_crt_runtime_l1_1_0
1111 enable_api_ms_win_crt_stdio_l1_1_0
1112 enable_api_ms_win_crt_string_l1_1_0
1113 enable_api_ms_win_crt_time_l1_1_0
1114 enable_api_ms_win_crt_utility_l1_1_0
1115 enable_api_ms_win_devices_config_l1_1_0
1116 enable_api_ms_win_devices_config_l1_1_1
1117 enable_api_ms_win_devices_query_l1_1_1
1118 enable_api_ms_win_downlevel_advapi32_l1_1_0
1119 enable_api_ms_win_downlevel_advapi32_l2_1_0
1120 enable_api_ms_win_downlevel_kernel32_l2_1_0
1121 enable_api_ms_win_downlevel_normaliz_l1_1_0
1122 enable_api_ms_win_downlevel_ole32_l1_1_0
1123 enable_api_ms_win_downlevel_shell32_l1_1_0
1124 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1125 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1126 enable_api_ms_win_downlevel_user32_l1_1_0
1127 enable_api_ms_win_downlevel_version_l1_1_0
1128 enable_api_ms_win_dx_d3dkmt_l1_1_0
1129 enable_api_ms_win_eventing_classicprovider_l1_1_0
1130 enable_api_ms_win_eventing_consumer_l1_1_0
1131 enable_api_ms_win_eventing_controller_l1_1_0
1132 enable_api_ms_win_eventing_legacy_l1_1_0
1133 enable_api_ms_win_eventing_provider_l1_1_0
1134 enable_api_ms_win_eventlog_legacy_l1_1_0
1135 enable_api_ms_win_gaming_tcui_l1_1_0
1136 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1137 enable_api_ms_win_mm_joystick_l1_1_0
1138 enable_api_ms_win_mm_misc_l1_1_1
1139 enable_api_ms_win_mm_mme_l1_1_0
1140 enable_api_ms_win_mm_time_l1_1_0
1141 enable_api_ms_win_ntuser_dc_access_l1_1_0
1142 enable_api_ms_win_ntuser_rectangle_l1_1_0
1143 enable_api_ms_win_ntuser_sysparams_l1_1_0
1144 enable_api_ms_win_perf_legacy_l1_1_0
1145 enable_api_ms_win_power_base_l1_1_0
1146 enable_api_ms_win_power_setting_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1148 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1149 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1150 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1152 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1153 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1154 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1155 enable_api_ms_win_security_audit_l1_1_1
1156 enable_api_ms_win_security_base_l1_1_0
1157 enable_api_ms_win_security_base_l1_2_0
1158 enable_api_ms_win_security_base_private_l1_1_1
1159 enable_api_ms_win_security_credentials_l1_1_0
1160 enable_api_ms_win_security_cryptoapi_l1_1_0
1161 enable_api_ms_win_security_grouppolicy_l1_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_0
1163 enable_api_ms_win_security_lsalookup_l1_1_1
1164 enable_api_ms_win_security_lsalookup_l2_1_0
1165 enable_api_ms_win_security_lsalookup_l2_1_1
1166 enable_api_ms_win_security_lsapolicy_l1_1_0
1167 enable_api_ms_win_security_provider_l1_1_0
1168 enable_api_ms_win_security_sddl_l1_1_0
1169 enable_api_ms_win_security_systemfunctions_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_0
1171 enable_api_ms_win_service_core_l1_1_1
1172 enable_api_ms_win_service_management_l1_1_0
1173 enable_api_ms_win_service_management_l2_1_0
1174 enable_api_ms_win_service_private_l1_1_1
1175 enable_api_ms_win_service_winsvc_l1_1_0
1176 enable_api_ms_win_service_winsvc_l1_2_0
1177 enable_api_ms_win_shcore_obsolete_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_0
1179 enable_api_ms_win_shcore_scaling_l1_1_1
1180 enable_api_ms_win_shcore_stream_l1_1_0
1181 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1182 enable_api_ms_win_shcore_thread_l1_1_0
1183 enable_api_ms_win_shell_shellcom_l1_1_0
1184 enable_api_ms_win_shell_shellfolders_l1_1_0
1185 enable_apphelp
1186 enable_appwiz_cpl
1187 enable_atl
1188 enable_atl100
1189 enable_atl110
1190 enable_atl80
1191 enable_atl90
1192 enable_atlthunk
1193 enable_atmlib
1194 enable_authz
1195 enable_avicap32
1196 enable_avifil32
1197 enable_avrt
1198 enable_bcrypt
1199 enable_bluetoothapis
1200 enable_browseui
1201 enable_bthprops_cpl
1202 enable_cabinet
1203 enable_capi2032
1204 enable_cards
1205 enable_cdosys
1206 enable_cfgmgr32
1207 enable_clusapi
1208 enable_cng_sys
1209 enable_combase
1210 enable_comcat
1211 enable_comctl32
1212 enable_comdlg32
1213 enable_compstui
1214 enable_comsvcs
1215 enable_concrt140
1216 enable_connect
1217 enable_credui
1218 enable_crtdll
1219 enable_crypt32
1220 enable_cryptdlg
1221 enable_cryptdll
1222 enable_cryptext
1223 enable_cryptnet
1224 enable_cryptsp
1225 enable_cryptui
1226 enable_ctapi32
1227 enable_ctl3d32
1228 enable_d2d1
1229 enable_d3d10
1230 enable_d3d10_1
1231 enable_d3d10core
1232 enable_d3d11
1233 enable_d3d12
1234 enable_d3d8
1235 enable_d3d8thk
1236 enable_d3d9
1237 enable_d3dcompiler_33
1238 enable_d3dcompiler_34
1239 enable_d3dcompiler_35
1240 enable_d3dcompiler_36
1241 enable_d3dcompiler_37
1242 enable_d3dcompiler_38
1243 enable_d3dcompiler_39
1244 enable_d3dcompiler_40
1245 enable_d3dcompiler_41
1246 enable_d3dcompiler_42
1247 enable_d3dcompiler_43
1248 enable_d3dcompiler_46
1249 enable_d3dcompiler_47
1250 enable_d3dim
1251 enable_d3dim700
1252 enable_d3drm
1253 enable_d3dx10_33
1254 enable_d3dx10_34
1255 enable_d3dx10_35
1256 enable_d3dx10_36
1257 enable_d3dx10_37
1258 enable_d3dx10_38
1259 enable_d3dx10_39
1260 enable_d3dx10_40
1261 enable_d3dx10_41
1262 enable_d3dx10_42
1263 enable_d3dx10_43
1264 enable_d3dx11_42
1265 enable_d3dx11_43
1266 enable_d3dx9_24
1267 enable_d3dx9_25
1268 enable_d3dx9_26
1269 enable_d3dx9_27
1270 enable_d3dx9_28
1271 enable_d3dx9_29
1272 enable_d3dx9_30
1273 enable_d3dx9_31
1274 enable_d3dx9_32
1275 enable_d3dx9_33
1276 enable_d3dx9_34
1277 enable_d3dx9_35
1278 enable_d3dx9_36
1279 enable_d3dx9_37
1280 enable_d3dx9_38
1281 enable_d3dx9_39
1282 enable_d3dx9_40
1283 enable_d3dx9_41
1284 enable_d3dx9_42
1285 enable_d3dx9_43
1286 enable_d3dxof
1287 enable_davclnt
1288 enable_dbgeng
1289 enable_dbghelp
1290 enable_dciman32
1291 enable_dcomp
1292 enable_ddraw
1293 enable_ddrawex
1294 enable_devenum
1295 enable_dhcpcsvc
1296 enable_dhcpcsvc6
1297 enable_dhtmled_ocx
1298 enable_difxapi
1299 enable_dinput
1300 enable_dinput8
1301 enable_directmanipulation
1302 enable_dispex
1303 enable_dmband
1304 enable_dmcompos
1305 enable_dmime
1306 enable_dmloader
1307 enable_dmscript
1308 enable_dmstyle
1309 enable_dmsynth
1310 enable_dmusic
1311 enable_dmusic32
1312 enable_dnsapi
1313 enable_dplay
1314 enable_dplayx
1315 enable_dpnaddr
1316 enable_dpnet
1317 enable_dpnhpast
1318 enable_dpnhupnp
1319 enable_dpnlobby
1320 enable_dpvoice
1321 enable_dpwsockx
1322 enable_drmclien
1323 enable_dsdmo
1324 enable_dsound
1325 enable_dsquery
1326 enable_dssenh
1327 enable_dsuiext
1328 enable_dswave
1329 enable_dwmapi
1330 enable_dwrite
1331 enable_dx8vb
1332 enable_dxdiagn
1333 enable_dxgi
1334 enable_dxtrans
1335 enable_dxva2
1336 enable_esent
1337 enable_evr
1338 enable_explorerframe
1339 enable_ext_ms_win_authz_context_l1_1_0
1340 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1341 enable_ext_ms_win_dwmapi_ext_l1_1_0
1342 enable_ext_ms_win_gdi_dc_create_l1_1_0
1343 enable_ext_ms_win_gdi_dc_create_l1_1_1
1344 enable_ext_ms_win_gdi_dc_l1_2_0
1345 enable_ext_ms_win_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_gdi_draw_l1_1_0
1347 enable_ext_ms_win_gdi_draw_l1_1_1
1348 enable_ext_ms_win_gdi_font_l1_1_0
1349 enable_ext_ms_win_gdi_font_l1_1_1
1350 enable_ext_ms_win_gdi_render_l1_1_0
1351 enable_ext_ms_win_kernel32_package_current_l1_1_0
1352 enable_ext_ms_win_kernel32_package_l1_1_1
1353 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1354 enable_ext_ms_win_ntuser_draw_l1_1_0
1355 enable_ext_ms_win_ntuser_gui_l1_1_0
1356 enable_ext_ms_win_ntuser_gui_l1_3_0
1357 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1358 enable_ext_ms_win_ntuser_message_l1_1_0
1359 enable_ext_ms_win_ntuser_message_l1_1_1
1360 enable_ext_ms_win_ntuser_misc_l1_1_0
1361 enable_ext_ms_win_ntuser_misc_l1_2_0
1362 enable_ext_ms_win_ntuser_misc_l1_5_1
1363 enable_ext_ms_win_ntuser_mouse_l1_1_0
1364 enable_ext_ms_win_ntuser_private_l1_1_1
1365 enable_ext_ms_win_ntuser_private_l1_3_1
1366 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1367 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1368 enable_ext_ms_win_ntuser_window_l1_1_0
1369 enable_ext_ms_win_ntuser_window_l1_1_1
1370 enable_ext_ms_win_ntuser_window_l1_1_4
1371 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1372 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1373 enable_ext_ms_win_oleacc_l1_1_0
1374 enable_ext_ms_win_ras_rasapi32_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1377 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1381 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1382 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1384 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1385 enable_ext_ms_win_security_credui_l1_1_0
1386 enable_ext_ms_win_security_cryptui_l1_1_0
1387 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1388 enable_ext_ms_win_shell_comdlg32_l1_1_0
1389 enable_ext_ms_win_shell_shell32_l1_2_0
1390 enable_ext_ms_win_uxtheme_themes_l1_1_0
1391 enable_faultrep
1392 enable_feclient
1393 enable_fltlib
1394 enable_fltmgr_sys
1395 enable_fntcache
1396 enable_fontsub
1397 enable_fusion
1398 enable_fwpuclnt
1399 enable_gameux
1400 enable_gamingtcui
1401 enable_gdi32
1402 enable_gdiplus
1403 enable_glu32
1404 enable_gphoto2_ds
1405 enable_gpkcsp
1406 enable_hal
1407 enable_hhctrl_ocx
1408 enable_hid
1409 enable_hidclass_sys
1410 enable_hidparse_sys
1411 enable_hlink
1412 enable_hnetcfg
1413 enable_http_sys
1414 enable_httpapi
1415 enable_iccvid
1416 enable_icmp
1417 enable_ieframe
1418 enable_ieproxy
1419 enable_imaadp32_acm
1420 enable_imagehlp
1421 enable_imm32
1422 enable_inetcomm
1423 enable_inetcpl_cpl
1424 enable_inetmib1
1425 enable_infosoft
1426 enable_initpki
1427 enable_inkobj
1428 enable_inseng
1429 enable_iphlpapi
1430 enable_iprop
1431 enable_irprops_cpl
1432 enable_itircl
1433 enable_itss
1434 enable_joy_cpl
1435 enable_jscript
1436 enable_jsproxy
1437 enable_kerberos
1438 enable_kernel32
1439 enable_kernelbase
1440 enable_ksecdd_sys
1441 enable_ksproxy_ax
1442 enable_ksuser
1443 enable_ktmw32
1444 enable_l3codeca_acm
1445 enable_light_msstyles
1446 enable_loadperf
1447 enable_localspl
1448 enable_localui
1449 enable_lz32
1450 enable_mapi32
1451 enable_mapistub
1452 enable_mciavi32
1453 enable_mcicda
1454 enable_mciqtz32
1455 enable_mciseq
1456 enable_mciwave
1457 enable_mf
1458 enable_mf3216
1459 enable_mferror
1460 enable_mfmediaengine
1461 enable_mfplat
1462 enable_mfplay
1463 enable_mfreadwrite
1464 enable_mgmtapi
1465 enable_midimap
1466 enable_mlang
1467 enable_mmcndmgr
1468 enable_mmdevapi
1469 enable_mountmgr_sys
1470 enable_mp3dmod
1471 enable_mpr
1472 enable_mprapi
1473 enable_msacm32_drv
1474 enable_msacm32
1475 enable_msado15
1476 enable_msadp32_acm
1477 enable_msasn1
1478 enable_mscat32
1479 enable_mscms
1480 enable_mscoree
1481 enable_mscorwks
1482 enable_msctf
1483 enable_msctfp
1484 enable_msdaps
1485 enable_msdasql
1486 enable_msdelta
1487 enable_msdmo
1488 enable_msdrm
1489 enable_msftedit
1490 enable_msg711_acm
1491 enable_msgsm32_acm
1492 enable_mshtml_tlb
1493 enable_mshtml
1494 enable_msi
1495 enable_msident
1496 enable_msimg32
1497 enable_msimsg
1498 enable_msimtf
1499 enable_msisip
1500 enable_msisys_ocx
1501 enable_msls31
1502 enable_msnet32
1503 enable_mspatcha
1504 enable_msports
1505 enable_msrle32
1506 enable_msscript_ocx
1507 enable_mssign32
1508 enable_mssip32
1509 enable_mstask
1510 enable_msv1_0
1511 enable_msvcirt
1512 enable_msvcm80
1513 enable_msvcm90
1514 enable_msvcp100
1515 enable_msvcp110
1516 enable_msvcp120
1517 enable_msvcp120_app
1518 enable_msvcp140
1519 enable_msvcp140_1
1520 enable_msvcp60
1521 enable_msvcp70
1522 enable_msvcp71
1523 enable_msvcp80
1524 enable_msvcp90
1525 enable_msvcr100
1526 enable_msvcr110
1527 enable_msvcr120
1528 enable_msvcr120_app
1529 enable_msvcr70
1530 enable_msvcr71
1531 enable_msvcr80
1532 enable_msvcr90
1533 enable_msvcrt
1534 enable_msvcrt20
1535 enable_msvcrt40
1536 enable_msvcrtd
1537 enable_msvfw32
1538 enable_msvidc32
1539 enable_mswsock
1540 enable_msxml
1541 enable_msxml2
1542 enable_msxml3
1543 enable_msxml4
1544 enable_msxml6
1545 enable_mtxdm
1546 enable_ncrypt
1547 enable_nddeapi
1548 enable_ndis_sys
1549 enable_netapi32
1550 enable_netcfgx
1551 enable_netio_sys
1552 enable_netprofm
1553 enable_netutils
1554 enable_newdev
1555 enable_ninput
1556 enable_normaliz
1557 enable_npmshtml
1558 enable_npptools
1559 enable_nsi
1560 enable_nsiproxy_sys
1561 enable_ntdll
1562 enable_ntdsapi
1563 enable_ntoskrnl_exe
1564 enable_ntprint
1565 enable_objsel
1566 enable_odbc32
1567 enable_odbcbcp
1568 enable_odbccp32
1569 enable_odbccu32
1570 enable_ole32
1571 enable_oleacc
1572 enable_oleaut32
1573 enable_olecli32
1574 enable_oledb32
1575 enable_oledlg
1576 enable_olepro32
1577 enable_olesvr32
1578 enable_olethk32
1579 enable_opcservices
1580 enable_openal32
1581 enable_opencl
1582 enable_opengl32
1583 enable_packager
1584 enable_pdh
1585 enable_photometadatahandler
1586 enable_pidgen
1587 enable_powrprof
1588 enable_printui
1589 enable_prntvpt
1590 enable_propsys
1591 enable_psapi
1592 enable_pstorec
1593 enable_pwrshplugin
1594 enable_qasf
1595 enable_qcap
1596 enable_qdvd
1597 enable_qedit
1598 enable_qmgr
1599 enable_qmgrprxy
1600 enable_quartz
1601 enable_query
1602 enable_qwave
1603 enable_rasapi32
1604 enable_rasdlg
1605 enable_regapi
1606 enable_resutils
1607 enable_riched20
1608 enable_riched32
1609 enable_rpcrt4
1610 enable_rsabase
1611 enable_rsaenh
1612 enable_rstrtmgr
1613 enable_rtutils
1614 enable_rtworkq
1615 enable_samlib
1616 enable_sane_ds
1617 enable_sapi
1618 enable_sas
1619 enable_scarddlg
1620 enable_sccbase
1621 enable_schannel
1622 enable_schedsvc
1623 enable_scrobj
1624 enable_scrrun
1625 enable_scsiport_sys
1626 enable_sechost
1627 enable_secur32
1628 enable_security
1629 enable_sensapi
1630 enable_serialui
1631 enable_setupapi
1632 enable_sfc
1633 enable_sfc_os
1634 enable_shcore
1635 enable_shdoclc
1636 enable_shdocvw
1637 enable_shell32
1638 enable_shfolder
1639 enable_shlwapi
1640 enable_slbcsp
1641 enable_slc
1642 enable_snmpapi
1643 enable_softpub
1644 enable_spoolss
1645 enable_sppc
1646 enable_srclient
1647 enable_srvcli
1648 enable_sspicli
1649 enable_stdole2_tlb
1650 enable_stdole32_tlb
1651 enable_sti
1652 enable_strmbase
1653 enable_strmdll
1654 enable_svrapi
1655 enable_sxs
1656 enable_t2embed
1657 enable_tapi32
1658 enable_taskschd
1659 enable_tbs
1660 enable_tdh
1661 enable_tdi_sys
1662 enable_traffic
1663 enable_twain_32
1664 enable_tzres
1665 enable_ucrtbase
1666 enable_uianimation
1667 enable_uiautomationcore
1668 enable_uiribbon
1669 enable_unicows
1670 enable_updspapi
1671 enable_url
1672 enable_urlmon
1673 enable_usbd_sys
1674 enable_user32
1675 enable_userenv
1676 enable_usp10
1677 enable_utildll
1678 enable_uxtheme
1679 enable_vbscript
1680 enable_vcomp
1681 enable_vcomp100
1682 enable_vcomp110
1683 enable_vcomp120
1684 enable_vcomp140
1685 enable_vcomp90
1686 enable_vcruntime140
1687 enable_vcruntime140_1
1688 enable_vdmdbg
1689 enable_version
1690 enable_vga
1691 enable_virtdisk
1692 enable_vssapi
1693 enable_vulkan_1
1694 enable_wbemdisp
1695 enable_wbemprox
1696 enable_wdscore
1697 enable_webservices
1698 enable_websocket
1699 enable_wer
1700 enable_wevtapi
1701 enable_wevtsvc
1702 enable_wiaservc
1703 enable_wimgapi
1704 enable_win32u
1705 enable_windows_devices_enumeration
1706 enable_windows_gaming_input
1707 enable_windows_globalization
1708 enable_windows_media_devices
1709 enable_windows_media_speech
1710 enable_windowscodecs
1711 enable_windowscodecsext
1712 enable_winealsa_drv
1713 enable_wineandroid_drv
1714 enable_winebus_sys
1715 enable_winecoreaudio_drv
1716 enable_winecrt0
1717 enable_wined3d
1718 enable_winegstreamer
1719 enable_winehid_sys
1720 enable_winejoystick_drv
1721 enable_winemac_drv
1722 enable_winemapi
1723 enable_wineoss_drv
1724 enable_wineps_drv
1725 enable_winepulse_drv
1726 enable_wineqtdecoder
1727 enable_wineusb_sys
1728 enable_winevulkan
1729 enable_winex11_drv
1730 enable_winexinput_sys
1731 enable_wing32
1732 enable_winhttp
1733 enable_wininet
1734 enable_winmm
1735 enable_winnls32
1736 enable_winscard
1737 enable_winspool_drv
1738 enable_winsta
1739 enable_wintab32
1740 enable_wintrust
1741 enable_winusb
1742 enable_wlanapi
1743 enable_wlanui
1744 enable_wldap32
1745 enable_wmasf
1746 enable_wmi
1747 enable_wmiutils
1748 enable_wmp
1749 enable_wmphoto
1750 enable_wmvcore
1751 enable_wnaspi32
1752 enable_wow64
1753 enable_wow64cpu
1754 enable_wow64win
1755 enable_wpc
1756 enable_wpcap
1757 enable_ws2_32
1758 enable_wsdapi
1759 enable_wshom_ocx
1760 enable_wsnmp32
1761 enable_wsock32
1762 enable_wtsapi32
1763 enable_wuapi
1764 enable_wuaueng
1765 enable_x3daudio1_0
1766 enable_x3daudio1_1
1767 enable_x3daudio1_2
1768 enable_x3daudio1_3
1769 enable_x3daudio1_4
1770 enable_x3daudio1_5
1771 enable_x3daudio1_6
1772 enable_x3daudio1_7
1773 enable_xactengine2_0
1774 enable_xactengine2_4
1775 enable_xactengine2_7
1776 enable_xactengine2_9
1777 enable_xactengine3_0
1778 enable_xactengine3_1
1779 enable_xactengine3_2
1780 enable_xactengine3_3
1781 enable_xactengine3_4
1782 enable_xactengine3_5
1783 enable_xactengine3_6
1784 enable_xactengine3_7
1785 enable_xapofx1_1
1786 enable_xapofx1_2
1787 enable_xapofx1_3
1788 enable_xapofx1_4
1789 enable_xapofx1_5
1790 enable_xaudio2_0
1791 enable_xaudio2_1
1792 enable_xaudio2_2
1793 enable_xaudio2_3
1794 enable_xaudio2_4
1795 enable_xaudio2_5
1796 enable_xaudio2_6
1797 enable_xaudio2_7
1798 enable_xaudio2_8
1799 enable_xaudio2_9
1800 enable_xinput1_1
1801 enable_xinput1_2
1802 enable_xinput1_3
1803 enable_xinput1_4
1804 enable_xinput9_1_0
1805 enable_xmllite
1806 enable_xolehlp
1807 enable_xpsprint
1808 enable_xpssvcs
1809 enable_fonts
1810 enable_include
1811 enable_adsiid
1812 enable_dmoguids
1813 enable_dxerr8
1814 enable_dxerr9
1815 enable_dxguid
1816 enable_faudio
1817 enable_gsm
1818 enable_jpeg
1819 enable_jxr
1820 enable_lcms2
1821 enable_mfuuid
1822 enable_mpg123
1823 enable_png
1824 enable_strmiids
1825 enable_tiff
1826 enable_uuid
1827 enable_wbemuuid
1828 enable_wine
1829 enable_wmcodecdspuuid
1830 enable_xml2
1831 enable_xslt
1832 enable_zlib
1833 enable_loader
1834 enable_nls
1835 enable_po
1836 enable_arp
1837 enable_aspnet_regiis
1838 enable_attrib
1839 enable_cabarc
1840 enable_cacls
1841 enable_chcp_com
1842 enable_clock
1843 enable_cmd
1844 enable_conhost
1845 enable_control
1846 enable_cscript
1847 enable_dism
1848 enable_dplaysvr
1849 enable_dpnsvr
1850 enable_dpvsetup
1851 enable_dxdiag
1852 enable_eject
1853 enable_expand
1854 enable_explorer
1855 enable_extrac32
1856 enable_fc
1857 enable_find
1858 enable_findstr
1859 enable_fsutil
1860 enable_hh
1861 enable_hostname
1862 enable_icacls
1863 enable_icinfo
1864 enable_iexplore
1865 enable_ipconfig
1866 enable_lodctr
1867 enable_mofcomp
1868 enable_mshta
1869 enable_msidb
1870 enable_msiexec
1871 enable_msinfo32
1872 enable_net
1873 enable_netsh
1874 enable_netstat
1875 enable_ngen
1876 enable_notepad
1877 enable_oleview
1878 enable_ping
1879 enable_plugplay
1880 enable_powershell
1881 enable_presentationfontcache
1882 enable_progman
1883 enable_reg
1884 enable_regasm
1885 enable_regedit
1886 enable_regini
1887 enable_regsvcs
1888 enable_regsvr32
1889 enable_robocopy
1890 enable_rpcss
1891 enable_rundll32
1892 enable_sc
1893 enable_schtasks
1894 enable_sdbinst
1895 enable_secedit
1896 enable_servicemodelreg
1897 enable_services
1898 enable_shutdown
1899 enable_spoolsv
1900 enable_start
1901 enable_subst
1902 enable_svchost
1903 enable_systeminfo
1904 enable_taskkill
1905 enable_tasklist
1906 enable_taskmgr
1907 enable_termsv
1908 enable_uninstaller
1909 enable_unlodctr
1910 enable_view
1911 enable_wevtutil
1912 enable_where
1913 enable_whoami
1914 enable_wineboot
1915 enable_winebrowser
1916 enable_winecfg
1917 enable_wineconsole
1918 enable_winedbg
1919 enable_winedevice
1920 enable_winefile
1921 enable_winemenubuilder
1922 enable_winemine
1923 enable_winemsibuilder
1924 enable_winepath
1925 enable_winetest
1926 enable_winhlp32
1927 enable_winmgmt
1928 enable_winver
1929 enable_wmic
1930 enable_wmplayer
1931 enable_wordpad
1932 enable_write
1933 enable_wscript
1934 enable_wuauserv
1935 enable_wusa
1936 enable_xcopy
1937 enable_server
1938 enable_tools
1939 enable_sfnt2fon
1940 enable_widl
1941 enable_winebuild
1942 enable_winedump
1943 enable_winegcc
1944 enable_winemaker
1945 enable_wmc
1946 enable_wrc
1948 ac_precious_vars='build_alias
1949 host_alias
1950 target_alias
1952 CFLAGS
1953 LDFLAGS
1954 LIBS
1955 CPPFLAGS
1957 CXXFLAGS
1959 OBJC
1960 OBJCFLAGS
1961 FAUDIO_PE_CFLAGS
1962 FAUDIO_PE_LIBS
1963 GSM_PE_CFLAGS
1964 GSM_PE_LIBS
1965 JPEG_PE_CFLAGS
1966 JPEG_PE_LIBS
1967 JXR_PE_CFLAGS
1968 JXR_PE_LIBS
1969 LCMS2_PE_CFLAGS
1970 LCMS2_PE_LIBS
1971 MPG123_PE_CFLAGS
1972 MPG123_PE_LIBS
1973 PNG_PE_CFLAGS
1974 PNG_PE_LIBS
1975 TIFF_PE_CFLAGS
1976 TIFF_PE_LIBS
1977 XML2_PE_CFLAGS
1978 XML2_PE_LIBS
1979 XSLT_PE_CFLAGS
1980 XSLT_PE_LIBS
1981 ZLIB_PE_CFLAGS
1982 ZLIB_PE_LIBS
1983 XMKMF
1985 INOTIFY_CFLAGS
1986 INOTIFY_LIBS
1987 DBUS_CFLAGS
1988 DBUS_LIBS
1989 HAL_CFLAGS
1990 HAL_LIBS
1991 GNUTLS_CFLAGS
1992 GNUTLS_LIBS
1993 SANE_CFLAGS
1994 SANE_LIBS
1995 USB_CFLAGS
1996 USB_LIBS
1997 GPHOTO2_CFLAGS
1998 GPHOTO2_LIBS
1999 GPHOTO2_PORT_CFLAGS
2000 GPHOTO2_PORT_LIBS
2001 FREETYPE_CFLAGS
2002 FREETYPE_LIBS
2003 PULSE_CFLAGS
2004 PULSE_LIBS
2005 GSTREAMER_CFLAGS
2006 GSTREAMER_LIBS
2007 UDEV_CFLAGS
2008 UDEV_LIBS
2009 UNWIND_CFLAGS
2010 UNWIND_LIBS
2011 SDL2_CFLAGS
2012 SDL2_LIBS
2013 CAPI20_CFLAGS
2014 CAPI20_LIBS
2015 CUPS_CFLAGS
2016 CUPS_LIBS
2017 FONTCONFIG_CFLAGS
2018 FONTCONFIG_LIBS
2019 KRB5_CFLAGS
2020 KRB5_LIBS
2021 GSSAPI_CFLAGS
2022 GSSAPI_LIBS
2023 NETAPI_CFLAGS
2024 NETAPI_LIBS
2025 VKD3D_CFLAGS
2026 VKD3D_LIBS
2027 VKD3D_SHADER_CFLAGS
2028 VKD3D_SHADER_LIBS
2029 LDAP_CFLAGS
2030 LDAP_LIBS'
2033 # Initialize some variables set by options.
2034 ac_init_help=
2035 ac_init_version=false
2036 ac_unrecognized_opts=
2037 ac_unrecognized_sep=
2038 # The variables have the same names as the options, with
2039 # dashes changed to underlines.
2040 cache_file=/dev/null
2041 exec_prefix=NONE
2042 no_create=
2043 no_recursion=
2044 prefix=NONE
2045 program_prefix=NONE
2046 program_suffix=NONE
2047 program_transform_name=s,x,x,
2048 silent=
2049 site=
2050 srcdir=
2051 verbose=
2052 x_includes=NONE
2053 x_libraries=NONE
2055 # Installation directory options.
2056 # These are left unexpanded so users can "make install exec_prefix=/foo"
2057 # and all the variables that are supposed to be based on exec_prefix
2058 # by default will actually change.
2059 # Use braces instead of parens because sh, perl, etc. also accept them.
2060 # (The list follows the same order as the GNU Coding Standards.)
2061 bindir='${exec_prefix}/bin'
2062 sbindir='${exec_prefix}/sbin'
2063 libexecdir='${exec_prefix}/libexec'
2064 datarootdir='${prefix}/share'
2065 datadir='${datarootdir}'
2066 sysconfdir='${prefix}/etc'
2067 sharedstatedir='${prefix}/com'
2068 localstatedir='${prefix}/var'
2069 runstatedir='${localstatedir}/run'
2070 includedir='${prefix}/include'
2071 oldincludedir='/usr/include'
2072 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2073 infodir='${datarootdir}/info'
2074 htmldir='${docdir}'
2075 dvidir='${docdir}'
2076 pdfdir='${docdir}'
2077 psdir='${docdir}'
2078 libdir='${exec_prefix}/lib'
2079 localedir='${datarootdir}/locale'
2080 mandir='${datarootdir}/man'
2082 ac_prev=
2083 ac_dashdash=
2084 for ac_option
2086 # If the previous option needs an argument, assign it.
2087 if test -n "$ac_prev"; then
2088 eval $ac_prev=\$ac_option
2089 ac_prev=
2090 continue
2093 case $ac_option in
2094 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2095 *=) ac_optarg= ;;
2096 *) ac_optarg=yes ;;
2097 esac
2099 case $ac_dashdash$ac_option in
2101 ac_dashdash=yes ;;
2103 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2104 ac_prev=bindir ;;
2105 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2106 bindir=$ac_optarg ;;
2108 -build | --build | --buil | --bui | --bu)
2109 ac_prev=build_alias ;;
2110 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2111 build_alias=$ac_optarg ;;
2113 -cache-file | --cache-file | --cache-fil | --cache-fi \
2114 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2115 ac_prev=cache_file ;;
2116 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2117 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2118 cache_file=$ac_optarg ;;
2120 --config-cache | -C)
2121 cache_file=config.cache ;;
2123 -datadir | --datadir | --datadi | --datad)
2124 ac_prev=datadir ;;
2125 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2126 datadir=$ac_optarg ;;
2128 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2129 | --dataroo | --dataro | --datar)
2130 ac_prev=datarootdir ;;
2131 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2132 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2133 datarootdir=$ac_optarg ;;
2135 -disable-* | --disable-*)
2136 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2137 # Reject names that are not valid shell variable names.
2138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2139 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2140 ac_useropt_orig=$ac_useropt
2141 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2142 case $ac_user_opts in
2144 "enable_$ac_useropt"
2145 "*) ;;
2146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2147 ac_unrecognized_sep=', ';;
2148 esac
2149 eval enable_$ac_useropt=no ;;
2151 -docdir | --docdir | --docdi | --doc | --do)
2152 ac_prev=docdir ;;
2153 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2154 docdir=$ac_optarg ;;
2156 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2157 ac_prev=dvidir ;;
2158 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2159 dvidir=$ac_optarg ;;
2161 -enable-* | --enable-*)
2162 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2163 # Reject names that are not valid shell variable names.
2164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2165 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2166 ac_useropt_orig=$ac_useropt
2167 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2168 case $ac_user_opts in
2170 "enable_$ac_useropt"
2171 "*) ;;
2172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2173 ac_unrecognized_sep=', ';;
2174 esac
2175 eval enable_$ac_useropt=\$ac_optarg ;;
2177 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2178 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2179 | --exec | --exe | --ex)
2180 ac_prev=exec_prefix ;;
2181 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2182 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2183 | --exec=* | --exe=* | --ex=*)
2184 exec_prefix=$ac_optarg ;;
2186 -gas | --gas | --ga | --g)
2187 # Obsolete; use --with-gas.
2188 with_gas=yes ;;
2190 -help | --help | --hel | --he | -h)
2191 ac_init_help=long ;;
2192 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2193 ac_init_help=recursive ;;
2194 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2195 ac_init_help=short ;;
2197 -host | --host | --hos | --ho)
2198 ac_prev=host_alias ;;
2199 -host=* | --host=* | --hos=* | --ho=*)
2200 host_alias=$ac_optarg ;;
2202 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2203 ac_prev=htmldir ;;
2204 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2205 | --ht=*)
2206 htmldir=$ac_optarg ;;
2208 -includedir | --includedir | --includedi | --included | --include \
2209 | --includ | --inclu | --incl | --inc)
2210 ac_prev=includedir ;;
2211 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2212 | --includ=* | --inclu=* | --incl=* | --inc=*)
2213 includedir=$ac_optarg ;;
2215 -infodir | --infodir | --infodi | --infod | --info | --inf)
2216 ac_prev=infodir ;;
2217 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2218 infodir=$ac_optarg ;;
2220 -libdir | --libdir | --libdi | --libd)
2221 ac_prev=libdir ;;
2222 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2223 libdir=$ac_optarg ;;
2225 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2226 | --libexe | --libex | --libe)
2227 ac_prev=libexecdir ;;
2228 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2229 | --libexe=* | --libex=* | --libe=*)
2230 libexecdir=$ac_optarg ;;
2232 -localedir | --localedir | --localedi | --localed | --locale)
2233 ac_prev=localedir ;;
2234 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2235 localedir=$ac_optarg ;;
2237 -localstatedir | --localstatedir | --localstatedi | --localstated \
2238 | --localstate | --localstat | --localsta | --localst | --locals)
2239 ac_prev=localstatedir ;;
2240 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2241 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2242 localstatedir=$ac_optarg ;;
2244 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2245 ac_prev=mandir ;;
2246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2247 mandir=$ac_optarg ;;
2249 -nfp | --nfp | --nf)
2250 # Obsolete; use --without-fp.
2251 with_fp=no ;;
2253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2254 | --no-cr | --no-c | -n)
2255 no_create=yes ;;
2257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2259 no_recursion=yes ;;
2261 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2262 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2263 | --oldin | --oldi | --old | --ol | --o)
2264 ac_prev=oldincludedir ;;
2265 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2266 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2267 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2268 oldincludedir=$ac_optarg ;;
2270 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2271 ac_prev=prefix ;;
2272 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2273 prefix=$ac_optarg ;;
2275 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2276 | --program-pre | --program-pr | --program-p)
2277 ac_prev=program_prefix ;;
2278 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2279 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2280 program_prefix=$ac_optarg ;;
2282 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2283 | --program-suf | --program-su | --program-s)
2284 ac_prev=program_suffix ;;
2285 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2286 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2287 program_suffix=$ac_optarg ;;
2289 -program-transform-name | --program-transform-name \
2290 | --program-transform-nam | --program-transform-na \
2291 | --program-transform-n | --program-transform- \
2292 | --program-transform | --program-transfor \
2293 | --program-transfo | --program-transf \
2294 | --program-trans | --program-tran \
2295 | --progr-tra | --program-tr | --program-t)
2296 ac_prev=program_transform_name ;;
2297 -program-transform-name=* | --program-transform-name=* \
2298 | --program-transform-nam=* | --program-transform-na=* \
2299 | --program-transform-n=* | --program-transform-=* \
2300 | --program-transform=* | --program-transfor=* \
2301 | --program-transfo=* | --program-transf=* \
2302 | --program-trans=* | --program-tran=* \
2303 | --progr-tra=* | --program-tr=* | --program-t=*)
2304 program_transform_name=$ac_optarg ;;
2306 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2307 ac_prev=pdfdir ;;
2308 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2309 pdfdir=$ac_optarg ;;
2311 -psdir | --psdir | --psdi | --psd | --ps)
2312 ac_prev=psdir ;;
2313 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2314 psdir=$ac_optarg ;;
2316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2317 | -silent | --silent | --silen | --sile | --sil)
2318 silent=yes ;;
2320 -runstatedir | --runstatedir | --runstatedi | --runstated \
2321 | --runstate | --runstat | --runsta | --runst | --runs \
2322 | --run | --ru | --r)
2323 ac_prev=runstatedir ;;
2324 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2325 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2326 | --run=* | --ru=* | --r=*)
2327 runstatedir=$ac_optarg ;;
2329 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2330 ac_prev=sbindir ;;
2331 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2332 | --sbi=* | --sb=*)
2333 sbindir=$ac_optarg ;;
2335 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2336 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2337 | --sharedst | --shareds | --shared | --share | --shar \
2338 | --sha | --sh)
2339 ac_prev=sharedstatedir ;;
2340 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2341 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2342 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2343 | --sha=* | --sh=*)
2344 sharedstatedir=$ac_optarg ;;
2346 -site | --site | --sit)
2347 ac_prev=site ;;
2348 -site=* | --site=* | --sit=*)
2349 site=$ac_optarg ;;
2351 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2352 ac_prev=srcdir ;;
2353 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2354 srcdir=$ac_optarg ;;
2356 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2357 | --syscon | --sysco | --sysc | --sys | --sy)
2358 ac_prev=sysconfdir ;;
2359 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2360 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2361 sysconfdir=$ac_optarg ;;
2363 -target | --target | --targe | --targ | --tar | --ta | --t)
2364 ac_prev=target_alias ;;
2365 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2366 target_alias=$ac_optarg ;;
2368 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2369 verbose=yes ;;
2371 -version | --version | --versio | --versi | --vers | -V)
2372 ac_init_version=: ;;
2374 -with-* | --with-*)
2375 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2376 # Reject names that are not valid shell variable names.
2377 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2378 as_fn_error $? "invalid package name: \`$ac_useropt'"
2379 ac_useropt_orig=$ac_useropt
2380 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2381 case $ac_user_opts in
2383 "with_$ac_useropt"
2384 "*) ;;
2385 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2386 ac_unrecognized_sep=', ';;
2387 esac
2388 eval with_$ac_useropt=\$ac_optarg ;;
2390 -without-* | --without-*)
2391 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2392 # Reject names that are not valid shell variable names.
2393 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2394 as_fn_error $? "invalid package name: \`$ac_useropt'"
2395 ac_useropt_orig=$ac_useropt
2396 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2397 case $ac_user_opts in
2399 "with_$ac_useropt"
2400 "*) ;;
2401 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2402 ac_unrecognized_sep=', ';;
2403 esac
2404 eval with_$ac_useropt=no ;;
2406 --x)
2407 # Obsolete; use --with-x.
2408 with_x=yes ;;
2410 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2411 | --x-incl | --x-inc | --x-in | --x-i)
2412 ac_prev=x_includes ;;
2413 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2414 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2415 x_includes=$ac_optarg ;;
2417 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2418 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2419 ac_prev=x_libraries ;;
2420 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2421 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2422 x_libraries=$ac_optarg ;;
2424 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2425 Try \`$0 --help' for more information"
2428 *=*)
2429 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2430 # Reject names that are not valid shell variable names.
2431 case $ac_envvar in #(
2432 '' | [0-9]* | *[!_$as_cr_alnum]* )
2433 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2434 esac
2435 eval $ac_envvar=\$ac_optarg
2436 export $ac_envvar ;;
2439 # FIXME: should be removed in autoconf 3.0.
2440 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2441 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2442 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2443 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2446 esac
2447 done
2449 if test -n "$ac_prev"; then
2450 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2451 as_fn_error $? "missing argument to $ac_option"
2454 if test -n "$ac_unrecognized_opts"; then
2455 case $enable_option_checking in
2456 no) ;;
2457 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2458 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2459 esac
2462 # Check all directory arguments for consistency.
2463 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2464 datadir sysconfdir sharedstatedir localstatedir includedir \
2465 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2466 libdir localedir mandir runstatedir
2468 eval ac_val=\$$ac_var
2469 # Remove trailing slashes.
2470 case $ac_val in
2471 */ )
2472 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2473 eval $ac_var=\$ac_val;;
2474 esac
2475 # Be sure to have absolute directory names.
2476 case $ac_val in
2477 [\\/$]* | ?:[\\/]* ) continue;;
2478 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2479 esac
2480 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2481 done
2483 # There might be people who depend on the old broken behavior: `$host'
2484 # used to hold the argument of --host etc.
2485 # FIXME: To remove some day.
2486 build=$build_alias
2487 host=$host_alias
2488 target=$target_alias
2490 # FIXME: To remove some day.
2491 if test "x$host_alias" != x; then
2492 if test "x$build_alias" = x; then
2493 cross_compiling=maybe
2494 elif test "x$build_alias" != "x$host_alias"; then
2495 cross_compiling=yes
2499 ac_tool_prefix=
2500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2502 test "$silent" = yes && exec 6>/dev/null
2505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2506 ac_ls_di=`ls -di .` &&
2507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2508 as_fn_error $? "working directory cannot be determined"
2509 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2510 as_fn_error $? "pwd does not report name of working directory"
2513 # Find the source files, if location was not specified.
2514 if test -z "$srcdir"; then
2515 ac_srcdir_defaulted=yes
2516 # Try the directory containing this script, then the parent directory.
2517 ac_confdir=`$as_dirname -- "$as_myself" ||
2518 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2519 X"$as_myself" : 'X\(//\)[^/]' \| \
2520 X"$as_myself" : 'X\(//\)$' \| \
2521 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2522 printf "%s\n" X"$as_myself" |
2523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2524 s//\1/
2527 /^X\(\/\/\)[^/].*/{
2528 s//\1/
2531 /^X\(\/\/\)$/{
2532 s//\1/
2535 /^X\(\/\).*/{
2536 s//\1/
2539 s/.*/./; q'`
2540 srcdir=$ac_confdir
2541 if test ! -r "$srcdir/$ac_unique_file"; then
2542 srcdir=..
2544 else
2545 ac_srcdir_defaulted=no
2547 if test ! -r "$srcdir/$ac_unique_file"; then
2548 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2549 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2552 ac_abs_confdir=`(
2553 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2554 pwd)`
2555 # When building in place, set srcdir=.
2556 if test "$ac_abs_confdir" = "$ac_pwd"; then
2557 srcdir=.
2559 # Remove unnecessary trailing slashes from srcdir.
2560 # Double slashes in file names in object file debugging info
2561 # mess up M-x gdb in Emacs.
2562 case $srcdir in
2563 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2564 esac
2565 for ac_var in $ac_precious_vars; do
2566 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2567 eval ac_env_${ac_var}_value=\$${ac_var}
2568 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2569 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2570 done
2573 # Report the --help message.
2575 if test "$ac_init_help" = "long"; then
2576 # Omit some internal or obsolete options to make the list less imposing.
2577 # This message is too long to be a string in the A/UX 3.1 sh.
2578 cat <<_ACEOF
2579 \`configure' configures Wine 6.21 to adapt to many kinds of systems.
2581 Usage: $0 [OPTION]... [VAR=VALUE]...
2583 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2584 VAR=VALUE. See below for descriptions of some of the useful variables.
2586 Defaults for the options are specified in brackets.
2588 Configuration:
2589 -h, --help display this help and exit
2590 --help=short display options specific to this package
2591 --help=recursive display the short help of all the included packages
2592 -V, --version display version information and exit
2593 -q, --quiet, --silent do not print \`checking ...' messages
2594 --cache-file=FILE cache test results in FILE [disabled]
2595 -C, --config-cache alias for \`--cache-file=config.cache'
2596 -n, --no-create do not create output files
2597 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2599 Installation directories:
2600 --prefix=PREFIX install architecture-independent files in PREFIX
2601 [$ac_default_prefix]
2602 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2603 [PREFIX]
2605 By default, \`make install' will install all the files in
2606 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2607 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2608 for instance \`--prefix=\$HOME'.
2610 For better control, use the options below.
2612 Fine tuning of the installation directories:
2613 --bindir=DIR user executables [EPREFIX/bin]
2614 --sbindir=DIR system admin executables [EPREFIX/sbin]
2615 --libexecdir=DIR program executables [EPREFIX/libexec]
2616 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2617 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2618 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2619 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2620 --libdir=DIR object code libraries [EPREFIX/lib]
2621 --includedir=DIR C header files [PREFIX/include]
2622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2625 --infodir=DIR info documentation [DATAROOTDIR/info]
2626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2627 --mandir=DIR man documentation [DATAROOTDIR/man]
2628 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2629 --htmldir=DIR html documentation [DOCDIR]
2630 --dvidir=DIR dvi documentation [DOCDIR]
2631 --pdfdir=DIR pdf documentation [DOCDIR]
2632 --psdir=DIR ps documentation [DOCDIR]
2633 _ACEOF
2635 cat <<\_ACEOF
2637 X features:
2638 --x-includes=DIR X include files are in DIR
2639 --x-libraries=DIR X library files are in DIR
2641 System types:
2642 --build=BUILD configure for building on BUILD [guessed]
2643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2644 _ACEOF
2647 if test -n "$ac_init_help"; then
2648 case $ac_init_help in
2649 short | recursive ) echo "Configuration of Wine 6.21:";;
2650 esac
2651 cat <<\_ACEOF
2653 Optional Features:
2654 --disable-option-checking ignore unrecognized --enable/--with options
2655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2657 --disable-win16 do not include Win16 support
2658 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2659 binaries)
2660 --disable-tests do not build the regression tests
2661 --enable-build-id include .buildid section in output objects
2662 --enable-maintainer-mode
2663 enable maintainer-specific build rules
2664 --enable-silent-rules use silent build rules (override: "make V=1")
2665 --enable-werror treat compilation warnings as errors
2666 --disable-largefile omit support for large files
2668 Optional Packages:
2669 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2670 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2671 --without-alsa do not use the Alsa sound support
2672 --without-capi do not use CAPI (ISDN support)
2673 --without-coreaudio do not use the CoreAudio sound support
2674 --without-cups do not use CUPS
2675 --without-dbus do not use DBus (dynamic device support)
2676 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2677 --without-fontconfig do not use fontconfig
2678 --without-freetype do not use the FreeType library
2679 --without-gettext do not use gettext
2680 --with-gettextpo use the GetTextPO library to rebuild po files
2681 --without-gphoto do not use gphoto (Digital Camera support)
2682 --without-gnutls do not use GnuTLS (schannel support)
2683 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2684 --without-gstreamer do not use GStreamer (codecs support)
2685 --without-hal do not use HAL (dynamic device support)
2686 --without-inotify do not use inotify (filesystem change notifications)
2687 --without-krb5 do not use krb5 (Kerberos)
2688 --without-ldap do not use LDAP
2689 --without-mingw do not use the MinGW cross-compiler
2690 --without-netapi do not use the Samba NetAPI library
2691 --without-openal do not use OpenAL
2692 --without-opencl do not use OpenCL
2693 --without-opengl do not use OpenGL
2694 --without-osmesa do not use the OSMesa library
2695 --without-oss do not use the OSS sound support
2696 --without-pcap do not use the Packet Capture library
2697 --without-pthread do not use the pthread library
2698 --without-pulse do not use PulseAudio sound support
2699 --without-quicktime do not use QuickTime support
2700 --without-sane do not use SANE (scanner support)
2701 --without-sdl do not use SDL
2702 --without-udev do not use udev (plug and play support)
2703 --without-unwind do not use the libunwind library (exception
2704 handling)
2705 --without-usb do not use the libusb library
2706 --without-v4l2 do not use v4l2 (video capture)
2707 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2708 --without-vulkan do not use Vulkan
2709 --without-xcomposite do not use the Xcomposite extension
2710 --without-xcursor do not use the Xcursor extension
2711 --without-xfixes do not use Xfixes for clipboard change notifications
2712 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2713 --without-xinput do not use the Xinput extension
2714 --without-xinput2 do not use the Xinput 2 extension
2715 --without-xrandr do not use Xrandr (multi-monitor support)
2716 --without-xrender do not use the Xrender extension
2717 --without-xshape do not use the Xshape extension
2718 --without-xshm do not use XShm (shared memory extension)
2719 --without-xxf86vm do not use XFree video mode extension
2720 --with-wine-tools=DIR use Wine tools from directory DIR
2721 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2722 --with-x use the X Window System
2724 Some influential environment variables:
2725 CC C compiler command
2726 CFLAGS C compiler flags
2727 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2728 nonstandard directory <lib dir>
2729 LIBS libraries to pass to the linker, e.g. -l<library>
2730 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2731 you have headers in a nonstandard directory <include dir>
2732 CXX C++ compiler command
2733 CXXFLAGS C++ compiler flags
2734 OBJC Objective C compiler command
2735 OBJCFLAGS Objective C compiler flags
2736 FAUDIO_PE_CFLAGS
2737 C compiler flags for the PE faudio, overriding the bundled
2738 version
2739 FAUDIO_PE_LIBS
2740 Linker flags for the PE faudio, overriding the bundled version
2741 GSM_PE_CFLAGS
2742 C compiler flags for the PE gsm, overriding the bundled version
2743 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2744 JPEG_PE_CFLAGS
2745 C compiler flags for the PE jpeg, overriding the bundled version
2746 JPEG_PE_LIBS
2747 Linker flags for the PE jpeg, overriding the bundled version
2748 JXR_PE_CFLAGS
2749 C compiler flags for the PE jxr, overriding the bundled version
2750 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2751 LCMS2_PE_CFLAGS
2752 C compiler flags for the PE lcms2, overriding the bundled
2753 version
2754 LCMS2_PE_LIBS
2755 Linker flags for the PE lcms2, overriding the bundled version
2756 MPG123_PE_CFLAGS
2757 C compiler flags for the PE mpg123, overriding the bundled
2758 version
2759 MPG123_PE_LIBS
2760 Linker flags for the PE mpg123, overriding the bundled version
2761 PNG_PE_CFLAGS
2762 C compiler flags for the PE png, overriding the bundled version
2763 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2764 TIFF_PE_CFLAGS
2765 C compiler flags for the PE tiff, overriding the bundled version
2766 TIFF_PE_LIBS
2767 Linker flags for the PE tiff, overriding the bundled version
2768 XML2_PE_CFLAGS
2769 C compiler flags for the PE libxml2, overriding the bundled
2770 version
2771 XML2_PE_LIBS
2772 Linker flags for the PE libxml2, overriding the bundled version
2773 XSLT_PE_CFLAGS
2774 C compiler flags for the PE libxslt, overriding the bundled
2775 version
2776 XSLT_PE_LIBS
2777 Linker flags for the PE libxslt, overriding the bundled version
2778 ZLIB_PE_CFLAGS
2779 C compiler flags for the PE zlib, overriding the bundled version
2780 ZLIB_PE_LIBS
2781 Linker flags for the PE zlib, overriding the bundled version
2782 XMKMF Path to xmkmf, Makefile generator for X Window System
2783 CPP C preprocessor
2784 INOTIFY_CFLAGS
2785 C compiler flags for libinotify, overriding pkg-config
2786 INOTIFY_LIBS
2787 Linker flags for libinotify, overriding pkg-config
2788 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2789 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2790 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2791 HAL_LIBS Linker flags for hal, overriding pkg-config
2792 GNUTLS_CFLAGS
2793 C compiler flags for gnutls, overriding pkg-config
2794 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2795 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2796 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2797 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2798 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2799 GPHOTO2_CFLAGS
2800 C compiler flags for libgphoto2, overriding pkg-config
2801 GPHOTO2_LIBS
2802 Linker flags for libgphoto2, overriding pkg-config
2803 GPHOTO2_PORT_CFLAGS
2804 C compiler flags for libgphoto2_port, overriding pkg-config
2805 GPHOTO2_PORT_LIBS
2806 Linker flags for libgphoto2_port, overriding pkg-config
2807 FREETYPE_CFLAGS
2808 C compiler flags for freetype2, overriding pkg-config
2809 FREETYPE_LIBS
2810 Linker flags for freetype2, overriding pkg-config
2811 PULSE_CFLAGS
2812 C compiler flags for libpulse, overriding pkg-config
2813 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2814 GSTREAMER_CFLAGS
2815 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2816 gstreamer-audio-1.0, overriding pkg-config
2817 GSTREAMER_LIBS
2818 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2819 gstreamer-audio-1.0, overriding pkg-config
2820 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2821 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2822 UNWIND_CFLAGS
2823 C compiler flags for libunwind, overriding pkg-config
2824 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2825 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2826 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2827 CAPI20_CFLAGS
2828 C compiler flags for capi20, overriding pkg-config
2829 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2830 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2831 CUPS_LIBS Linker flags for cups, overriding pkg-config
2832 FONTCONFIG_CFLAGS
2833 C compiler flags for fontconfig, overriding pkg-config
2834 FONTCONFIG_LIBS
2835 Linker flags for fontconfig, overriding pkg-config
2836 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2837 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2838 GSSAPI_CFLAGS
2839 C compiler flags for krb5-gssapi, overriding pkg-config
2840 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2841 NETAPI_CFLAGS
2842 C compiler flags for netapi, overriding pkg-config
2843 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2844 VKD3D_CFLAGS
2845 C compiler flags for libvkd3d, overriding pkg-config
2846 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2847 VKD3D_SHADER_CFLAGS
2848 C compiler flags for libvkd3d-shader, overriding pkg-config
2849 VKD3D_SHADER_LIBS
2850 Linker flags for libvkd3d-shader, overriding pkg-config
2851 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2852 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2854 Use these variables to override the choices made by `configure' or to help
2855 it to find libraries and programs with nonstandard names/locations.
2857 Report bugs to <wine-devel@winehq.org>.
2858 Wine home page: <https://www.winehq.org>.
2859 _ACEOF
2860 ac_status=$?
2863 if test "$ac_init_help" = "recursive"; then
2864 # If there are subdirs, report their specific --help.
2865 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2866 test -d "$ac_dir" ||
2867 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2868 continue
2869 ac_builddir=.
2871 case "$ac_dir" in
2872 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2874 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2875 # A ".." for each directory in $ac_dir_suffix.
2876 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2877 case $ac_top_builddir_sub in
2878 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2879 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2880 esac ;;
2881 esac
2882 ac_abs_top_builddir=$ac_pwd
2883 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2884 # for backward compatibility:
2885 ac_top_builddir=$ac_top_build_prefix
2887 case $srcdir in
2888 .) # We are building in place.
2889 ac_srcdir=.
2890 ac_top_srcdir=$ac_top_builddir_sub
2891 ac_abs_top_srcdir=$ac_pwd ;;
2892 [\\/]* | ?:[\\/]* ) # Absolute name.
2893 ac_srcdir=$srcdir$ac_dir_suffix;
2894 ac_top_srcdir=$srcdir
2895 ac_abs_top_srcdir=$srcdir ;;
2896 *) # Relative name.
2897 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2898 ac_top_srcdir=$ac_top_build_prefix$srcdir
2899 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2900 esac
2901 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2903 cd "$ac_dir" || { ac_status=$?; continue; }
2904 # Check for configure.gnu first; this name is used for a wrapper for
2905 # Metaconfig's "Configure" on case-insensitive file systems.
2906 if test -f "$ac_srcdir/configure.gnu"; then
2907 echo &&
2908 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2909 elif test -f "$ac_srcdir/configure"; then
2910 echo &&
2911 $SHELL "$ac_srcdir/configure" --help=recursive
2912 else
2913 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2914 fi || ac_status=$?
2915 cd "$ac_pwd" || { ac_status=$?; break; }
2916 done
2919 test -n "$ac_init_help" && exit $ac_status
2920 if $ac_init_version; then
2921 cat <<\_ACEOF
2922 Wine configure 6.21
2923 generated by GNU Autoconf 2.71
2925 Copyright (C) 2021 Free Software Foundation, Inc.
2926 This configure script is free software; the Free Software Foundation
2927 gives unlimited permission to copy, distribute and modify it.
2928 _ACEOF
2929 exit
2932 ## ------------------------ ##
2933 ## Autoconf initialization. ##
2934 ## ------------------------ ##
2936 # ac_fn_c_try_compile LINENO
2937 # --------------------------
2938 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2939 ac_fn_c_try_compile ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 rm -f conftest.$ac_objext conftest.beam
2943 if { { ac_try="$ac_compile"
2944 case "(($ac_try" in
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2947 esac
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 printf "%s\n" "$ac_try_echo"; } >&5
2950 (eval "$ac_compile") 2>conftest.err
2951 ac_status=$?
2952 if test -s conftest.err; then
2953 grep -v '^ *+' conftest.err >conftest.er1
2954 cat conftest.er1 >&5
2955 mv -f conftest.er1 conftest.err
2957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958 test $ac_status = 0; } && {
2959 test -z "$ac_c_werror_flag" ||
2960 test ! -s conftest.err
2961 } && test -s conftest.$ac_objext
2962 then :
2963 ac_retval=0
2964 else $as_nop
2965 printf "%s\n" "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2968 ac_retval=1
2970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2971 as_fn_set_status $ac_retval
2973 } # ac_fn_c_try_compile
2975 # ac_fn_cxx_try_compile LINENO
2976 # ----------------------------
2977 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2978 ac_fn_cxx_try_compile ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 rm -f conftest.$ac_objext conftest.beam
2982 if { { ac_try="$ac_compile"
2983 case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2986 esac
2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 printf "%s\n" "$ac_try_echo"; } >&5
2989 (eval "$ac_compile") 2>conftest.err
2990 ac_status=$?
2991 if test -s conftest.err; then
2992 grep -v '^ *+' conftest.err >conftest.er1
2993 cat conftest.er1 >&5
2994 mv -f conftest.er1 conftest.err
2996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; } && {
2998 test -z "$ac_cxx_werror_flag" ||
2999 test ! -s conftest.err
3000 } && test -s conftest.$ac_objext
3001 then :
3002 ac_retval=0
3003 else $as_nop
3004 printf "%s\n" "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 ac_retval=1
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010 as_fn_set_status $ac_retval
3012 } # ac_fn_cxx_try_compile
3014 # ac_fn_c_try_link LINENO
3015 # -----------------------
3016 # Try to link conftest.$ac_ext, and return whether this succeeded.
3017 ac_fn_c_try_link ()
3019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3021 if { { ac_try="$ac_link"
3022 case "(($ac_try" in
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3025 esac
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 printf "%s\n" "$ac_try_echo"; } >&5
3028 (eval "$ac_link") 2>conftest.err
3029 ac_status=$?
3030 if test -s conftest.err; then
3031 grep -v '^ *+' conftest.err >conftest.er1
3032 cat conftest.er1 >&5
3033 mv -f conftest.er1 conftest.err
3035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036 test $ac_status = 0; } && {
3037 test -z "$ac_c_werror_flag" ||
3038 test ! -s conftest.err
3039 } && test -s conftest$ac_exeext && {
3040 test "$cross_compiling" = yes ||
3041 test -x conftest$ac_exeext
3043 then :
3044 ac_retval=0
3045 else $as_nop
3046 printf "%s\n" "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.$ac_ext >&5
3049 ac_retval=1
3051 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3052 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3053 # interfere with the next link command; also delete a directory that is
3054 # left behind by Apple's compiler. We do this before executing the actions.
3055 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3057 as_fn_set_status $ac_retval
3059 } # ac_fn_c_try_link
3061 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3062 # -------------------------------------------------------
3063 # Tests whether HEADER exists and can be compiled using the include files in
3064 # INCLUDES, setting the cache variable VAR accordingly.
3065 ac_fn_c_check_header_compile ()
3067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3069 printf %s "checking for $2... " >&6; }
3070 if eval test \${$3+y}
3071 then :
3072 printf %s "(cached) " >&6
3073 else $as_nop
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3077 #include <$2>
3078 _ACEOF
3079 if ac_fn_c_try_compile "$LINENO"
3080 then :
3081 eval "$3=yes"
3082 else $as_nop
3083 eval "$3=no"
3085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3087 eval ac_res=\$$3
3088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3089 printf "%s\n" "$ac_res" >&6; }
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3092 } # ac_fn_c_check_header_compile
3094 # ac_fn_objc_try_compile LINENO
3095 # -----------------------------
3096 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3097 ac_fn_objc_try_compile ()
3099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3100 rm -f conftest.$ac_objext conftest.beam
3101 if { { ac_try="$ac_compile"
3102 case "(($ac_try" in
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3105 esac
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 printf "%s\n" "$ac_try_echo"; } >&5
3108 (eval "$ac_compile") 2>conftest.err
3109 ac_status=$?
3110 if test -s conftest.err; then
3111 grep -v '^ *+' conftest.err >conftest.er1
3112 cat conftest.er1 >&5
3113 mv -f conftest.er1 conftest.err
3115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; } && {
3117 test -z "$ac_objc_werror_flag" ||
3118 test ! -s conftest.err
3119 } && test -s conftest.$ac_objext
3120 then :
3121 ac_retval=0
3122 else $as_nop
3123 printf "%s\n" "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 ac_retval=1
3128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3129 as_fn_set_status $ac_retval
3131 } # ac_fn_objc_try_compile
3133 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3134 # ----------------------------------------------------------
3135 # Tests whether HEADER exists and can be compiled using the include files in
3136 # INCLUDES, setting the cache variable VAR accordingly.
3137 ac_fn_objc_check_header_compile ()
3139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3141 printf %s "checking for $2... " >&6; }
3142 if eval test \${$3+y}
3143 then :
3144 printf %s "(cached) " >&6
3145 else $as_nop
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3149 #include <$2>
3150 _ACEOF
3151 if ac_fn_objc_try_compile "$LINENO"
3152 then :
3153 eval "$3=yes"
3154 else $as_nop
3155 eval "$3=no"
3157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3159 eval ac_res=\$$3
3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3161 printf "%s\n" "$ac_res" >&6; }
3162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3164 } # ac_fn_objc_check_header_compile
3166 # ac_fn_c_check_func LINENO FUNC VAR
3167 # ----------------------------------
3168 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3169 ac_fn_c_check_func ()
3171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3173 printf %s "checking for $2... " >&6; }
3174 if eval test \${$3+y}
3175 then :
3176 printf %s "(cached) " >&6
3177 else $as_nop
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3180 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3182 #define $2 innocuous_$2
3184 /* System header to define __stub macros and hopefully few prototypes,
3185 which can conflict with char $2 (); below. */
3187 #include <limits.h>
3188 #undef $2
3190 /* Override any GCC internal prototype to avoid an error.
3191 Use char because int might match the return type of a GCC
3192 builtin and then its argument prototype would still apply. */
3193 #ifdef __cplusplus
3194 extern "C"
3195 #endif
3196 char $2 ();
3197 /* The GNU C library defines this for functions which it implements
3198 to always fail with ENOSYS. Some functions are actually named
3199 something starting with __ and the normal name is an alias. */
3200 #if defined __stub_$2 || defined __stub___$2
3201 choke me
3202 #endif
3205 main (void)
3207 return $2 ();
3209 return 0;
3211 _ACEOF
3212 if ac_fn_c_try_link "$LINENO"
3213 then :
3214 eval "$3=yes"
3215 else $as_nop
3216 eval "$3=no"
3218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3219 conftest$ac_exeext conftest.$ac_ext
3221 eval ac_res=\$$3
3222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3223 printf "%s\n" "$ac_res" >&6; }
3224 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3226 } # ac_fn_c_check_func
3228 # ac_fn_c_try_cpp LINENO
3229 # ----------------------
3230 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3231 ac_fn_c_try_cpp ()
3233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3234 if { { ac_try="$ac_cpp conftest.$ac_ext"
3235 case "(($ac_try" in
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3238 esac
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 printf "%s\n" "$ac_try_echo"; } >&5
3241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3242 ac_status=$?
3243 if test -s conftest.err; then
3244 grep -v '^ *+' conftest.err >conftest.er1
3245 cat conftest.er1 >&5
3246 mv -f conftest.er1 conftest.err
3248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; } > conftest.i && {
3250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3251 test ! -s conftest.err
3253 then :
3254 ac_retval=0
3255 else $as_nop
3256 printf "%s\n" "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3259 ac_retval=1
3261 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262 as_fn_set_status $ac_retval
3264 } # ac_fn_c_try_cpp
3266 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3267 # ----------------------------------------------------
3268 # Tries to find if the field MEMBER exists in type AGGR, after including
3269 # INCLUDES, setting cache variable VAR accordingly.
3270 ac_fn_c_check_member ()
3272 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3274 printf %s "checking for $2.$3... " >&6; }
3275 if eval test \${$4+y}
3276 then :
3277 printf %s "(cached) " >&6
3278 else $as_nop
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3283 main (void)
3285 static $2 ac_aggr;
3286 if (ac_aggr.$3)
3287 return 0;
3289 return 0;
3291 _ACEOF
3292 if ac_fn_c_try_compile "$LINENO"
3293 then :
3294 eval "$4=yes"
3295 else $as_nop
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3300 main (void)
3302 static $2 ac_aggr;
3303 if (sizeof ac_aggr.$3)
3304 return 0;
3306 return 0;
3308 _ACEOF
3309 if ac_fn_c_try_compile "$LINENO"
3310 then :
3311 eval "$4=yes"
3312 else $as_nop
3313 eval "$4=no"
3315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3319 eval ac_res=\$$4
3320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3321 printf "%s\n" "$ac_res" >&6; }
3322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3324 } # ac_fn_c_check_member
3326 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3327 # -------------------------------------------
3328 # Tests whether TYPE exists after having included INCLUDES, setting cache
3329 # variable VAR accordingly.
3330 ac_fn_c_check_type ()
3332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3334 printf %s "checking for $2... " >&6; }
3335 if eval test \${$3+y}
3336 then :
3337 printf %s "(cached) " >&6
3338 else $as_nop
3339 eval "$3=no"
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3344 main (void)
3346 if (sizeof ($2))
3347 return 0;
3349 return 0;
3351 _ACEOF
3352 if ac_fn_c_try_compile "$LINENO"
3353 then :
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3358 main (void)
3360 if (sizeof (($2)))
3361 return 0;
3363 return 0;
3365 _ACEOF
3366 if ac_fn_c_try_compile "$LINENO"
3367 then :
3369 else $as_nop
3370 eval "$3=yes"
3372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3376 eval ac_res=\$$3
3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3378 printf "%s\n" "$ac_res" >&6; }
3379 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3381 } # ac_fn_c_check_type
3382 ac_configure_args_raw=
3383 for ac_arg
3385 case $ac_arg in
3386 *\'*)
3387 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3388 esac
3389 as_fn_append ac_configure_args_raw " '$ac_arg'"
3390 done
3392 case $ac_configure_args_raw in
3393 *$as_nl*)
3394 ac_safe_unquote= ;;
3396 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3397 ac_unsafe_a="$ac_unsafe_z#~"
3398 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3399 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3400 esac
3402 cat >config.log <<_ACEOF
3403 This file contains any messages produced by compilers while
3404 running configure, to aid debugging if configure makes a mistake.
3406 It was created by Wine $as_me 6.21, which was
3407 generated by GNU Autoconf 2.71. Invocation command line was
3409 $ $0$ac_configure_args_raw
3411 _ACEOF
3412 exec 5>>config.log
3414 cat <<_ASUNAME
3415 ## --------- ##
3416 ## Platform. ##
3417 ## --------- ##
3419 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3420 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3421 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3422 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3423 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3425 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3426 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3428 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3429 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3430 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3431 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3432 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3433 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3434 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3436 _ASUNAME
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH
3441 IFS=$as_save_IFS
3442 case $as_dir in #(((
3443 '') as_dir=./ ;;
3444 */) ;;
3445 *) as_dir=$as_dir/ ;;
3446 esac
3447 printf "%s\n" "PATH: $as_dir"
3448 done
3449 IFS=$as_save_IFS
3451 } >&5
3453 cat >&5 <<_ACEOF
3456 ## ----------- ##
3457 ## Core tests. ##
3458 ## ----------- ##
3460 _ACEOF
3463 # Keep a trace of the command line.
3464 # Strip out --no-create and --no-recursion so they do not pile up.
3465 # Strip out --silent because we don't want to record it for future runs.
3466 # Also quote any args containing shell meta-characters.
3467 # Make two passes to allow for proper duplicate-argument suppression.
3468 ac_configure_args=
3469 ac_configure_args0=
3470 ac_configure_args1=
3471 ac_must_keep_next=false
3472 for ac_pass in 1 2
3474 for ac_arg
3476 case $ac_arg in
3477 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3479 | -silent | --silent | --silen | --sile | --sil)
3480 continue ;;
3481 *\'*)
3482 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3483 esac
3484 case $ac_pass in
3485 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3487 as_fn_append ac_configure_args1 " '$ac_arg'"
3488 if test $ac_must_keep_next = true; then
3489 ac_must_keep_next=false # Got value, back to normal.
3490 else
3491 case $ac_arg in
3492 *=* | --config-cache | -C | -disable-* | --disable-* \
3493 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3494 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3495 | -with-* | --with-* | -without-* | --without-* | --x)
3496 case "$ac_configure_args0 " in
3497 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3498 esac
3500 -* ) ac_must_keep_next=true ;;
3501 esac
3503 as_fn_append ac_configure_args " '$ac_arg'"
3505 esac
3506 done
3507 done
3508 { ac_configure_args0=; unset ac_configure_args0;}
3509 { ac_configure_args1=; unset ac_configure_args1;}
3511 # When interrupted or exit'd, cleanup temporary files, and complete
3512 # config.log. We remove comments because anyway the quotes in there
3513 # would cause problems or look ugly.
3514 # WARNING: Use '\'' to represent an apostrophe within the trap.
3515 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3516 trap 'exit_status=$?
3517 # Sanitize IFS.
3518 IFS=" "" $as_nl"
3519 # Save into config.log some information that might help in debugging.
3521 echo
3523 printf "%s\n" "## ---------------- ##
3524 ## Cache variables. ##
3525 ## ---------------- ##"
3526 echo
3527 # The following way of writing the cache mishandles newlines in values,
3529 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3530 eval ac_val=\$$ac_var
3531 case $ac_val in #(
3532 *${as_nl}*)
3533 case $ac_var in #(
3534 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3535 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3536 esac
3537 case $ac_var in #(
3538 _ | IFS | as_nl) ;; #(
3539 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3540 *) { eval $ac_var=; unset $ac_var;} ;;
3541 esac ;;
3542 esac
3543 done
3544 (set) 2>&1 |
3545 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3546 *${as_nl}ac_space=\ *)
3547 sed -n \
3548 "s/'\''/'\''\\\\'\'''\''/g;
3549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3550 ;; #(
3552 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3554 esac |
3555 sort
3557 echo
3559 printf "%s\n" "## ----------------- ##
3560 ## Output variables. ##
3561 ## ----------------- ##"
3562 echo
3563 for ac_var in $ac_subst_vars
3565 eval ac_val=\$$ac_var
3566 case $ac_val in
3567 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3568 esac
3569 printf "%s\n" "$ac_var='\''$ac_val'\''"
3570 done | sort
3571 echo
3573 if test -n "$ac_subst_files"; then
3574 printf "%s\n" "## ------------------- ##
3575 ## File substitutions. ##
3576 ## ------------------- ##"
3577 echo
3578 for ac_var in $ac_subst_files
3580 eval ac_val=\$$ac_var
3581 case $ac_val in
3582 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3583 esac
3584 printf "%s\n" "$ac_var='\''$ac_val'\''"
3585 done | sort
3586 echo
3589 if test -s confdefs.h; then
3590 printf "%s\n" "## ----------- ##
3591 ## confdefs.h. ##
3592 ## ----------- ##"
3593 echo
3594 cat confdefs.h
3595 echo
3597 test "$ac_signal" != 0 &&
3598 printf "%s\n" "$as_me: caught signal $ac_signal"
3599 printf "%s\n" "$as_me: exit $exit_status"
3600 } >&5
3601 rm -f core *.core core.conftest.* &&
3602 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3603 exit $exit_status
3605 for ac_signal in 1 2 13 15; do
3606 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3607 done
3608 ac_signal=0
3610 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3611 rm -f -r conftest* confdefs.h
3613 printf "%s\n" "/* confdefs.h */" > confdefs.h
3615 # Predefined preprocessor variables.
3617 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3619 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3621 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3623 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3625 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3627 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3630 # Let the site file select an alternate cache file if it wants to.
3631 # Prefer an explicitly selected file to automatically selected ones.
3632 if test -n "$CONFIG_SITE"; then
3633 ac_site_files="$CONFIG_SITE"
3634 elif test "x$prefix" != xNONE; then
3635 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3636 else
3637 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3640 for ac_site_file in $ac_site_files
3642 case $ac_site_file in #(
3643 */*) :
3644 ;; #(
3645 *) :
3646 ac_site_file=./$ac_site_file ;;
3647 esac
3648 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3650 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3651 sed 's/^/| /' "$ac_site_file" >&5
3652 . "$ac_site_file" \
3653 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3654 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3655 as_fn_error $? "failed to load site script $ac_site_file
3656 See \`config.log' for more details" "$LINENO" 5; }
3658 done
3660 if test -r "$cache_file"; then
3661 # Some versions of bash will fail to source /dev/null (special files
3662 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3663 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3665 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3666 case $cache_file in
3667 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3668 *) . "./$cache_file";;
3669 esac
3671 else
3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3673 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3674 >$cache_file
3677 # Test code for whether the C compiler supports C89 (global declarations)
3678 ac_c_conftest_c89_globals='
3679 /* Does the compiler advertise C89 conformance?
3680 Do not test the value of __STDC__, because some compilers set it to 0
3681 while being otherwise adequately conformant. */
3682 #if !defined __STDC__
3683 # error "Compiler does not advertise C89 conformance"
3684 #endif
3686 #include <stddef.h>
3687 #include <stdarg.h>
3688 struct stat;
3689 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3690 struct buf { int x; };
3691 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3692 static char *e (p, i)
3693 char **p;
3694 int i;
3696 return p[i];
3698 static char *f (char * (*g) (char **, int), char **p, ...)
3700 char *s;
3701 va_list v;
3702 va_start (v,p);
3703 s = g (p, va_arg (v,int));
3704 va_end (v);
3705 return s;
3708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3709 function prototypes and stuff, but not \xHH hex character constants.
3710 These do not provoke an error unfortunately, instead are silently treated
3711 as an "x". The following induces an error, until -std is added to get
3712 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3713 array size at least. It is necessary to write \x00 == 0 to get something
3714 that is true only with -std. */
3715 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3718 inside strings and character constants. */
3719 #define FOO(x) '\''x'\''
3720 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3722 int test (int i, double x);
3723 struct s1 {int (*f) (int a);};
3724 struct s2 {int (*f) (double a);};
3725 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3726 int, int);'
3728 # Test code for whether the C compiler supports C89 (body of main).
3729 ac_c_conftest_c89_main='
3730 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3733 # Test code for whether the C compiler supports C99 (global declarations)
3734 ac_c_conftest_c99_globals='
3735 // Does the compiler advertise C99 conformance?
3736 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3737 # error "Compiler does not advertise C99 conformance"
3738 #endif
3740 #include <stdbool.h>
3741 extern int puts (const char *);
3742 extern int printf (const char *, ...);
3743 extern int dprintf (int, const char *, ...);
3744 extern void *malloc (size_t);
3746 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3747 // dprintf is used instead of fprintf to avoid needing to declare
3748 // FILE and stderr.
3749 #define debug(...) dprintf (2, __VA_ARGS__)
3750 #define showlist(...) puts (#__VA_ARGS__)
3751 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3752 static void
3753 test_varargs_macros (void)
3755 int x = 1234;
3756 int y = 5678;
3757 debug ("Flag");
3758 debug ("X = %d\n", x);
3759 showlist (The first, second, and third items.);
3760 report (x>y, "x is %d but y is %d", x, y);
3763 // Check long long types.
3764 #define BIG64 18446744073709551615ull
3765 #define BIG32 4294967295ul
3766 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3767 #if !BIG_OK
3768 #error "your preprocessor is broken"
3769 #endif
3770 #if BIG_OK
3771 #else
3772 #error "your preprocessor is broken"
3773 #endif
3774 static long long int bignum = -9223372036854775807LL;
3775 static unsigned long long int ubignum = BIG64;
3777 struct incomplete_array
3779 int datasize;
3780 double data[];
3783 struct named_init {
3784 int number;
3785 const wchar_t *name;
3786 double average;
3789 typedef const char *ccp;
3791 static inline int
3792 test_restrict (ccp restrict text)
3794 // See if C++-style comments work.
3795 // Iterate through items via the restricted pointer.
3796 // Also check for declarations in for loops.
3797 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3798 continue;
3799 return 0;
3802 // Check varargs and va_copy.
3803 static bool
3804 test_varargs (const char *format, ...)
3806 va_list args;
3807 va_start (args, format);
3808 va_list args_copy;
3809 va_copy (args_copy, args);
3811 const char *str = "";
3812 int number = 0;
3813 float fnumber = 0;
3815 while (*format)
3817 switch (*format++)
3819 case '\''s'\'': // string
3820 str = va_arg (args_copy, const char *);
3821 break;
3822 case '\''d'\'': // int
3823 number = va_arg (args_copy, int);
3824 break;
3825 case '\''f'\'': // float
3826 fnumber = va_arg (args_copy, double);
3827 break;
3828 default:
3829 break;
3832 va_end (args_copy);
3833 va_end (args);
3835 return *str && number && fnumber;
3839 # Test code for whether the C compiler supports C99 (body of main).
3840 ac_c_conftest_c99_main='
3841 // Check bool.
3842 _Bool success = false;
3843 success |= (argc != 0);
3845 // Check restrict.
3846 if (test_restrict ("String literal") == 0)
3847 success = true;
3848 char *restrict newvar = "Another string";
3850 // Check varargs.
3851 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3852 test_varargs_macros ();
3854 // Check flexible array members.
3855 struct incomplete_array *ia =
3856 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3857 ia->datasize = 10;
3858 for (int i = 0; i < ia->datasize; ++i)
3859 ia->data[i] = i * 1.234;
3861 // Check named initializers.
3862 struct named_init ni = {
3863 .number = 34,
3864 .name = L"Test wide string",
3865 .average = 543.34343,
3868 ni.number = 58;
3870 int dynamic_array[ni.number];
3871 dynamic_array[0] = argv[0][0];
3872 dynamic_array[ni.number - 1] = 543;
3874 // work around unused variable warnings
3875 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3876 || dynamic_array[ni.number - 1] != 543);
3879 # Test code for whether the C compiler supports C11 (global declarations)
3880 ac_c_conftest_c11_globals='
3881 // Does the compiler advertise C11 conformance?
3882 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3883 # error "Compiler does not advertise C11 conformance"
3884 #endif
3886 // Check _Alignas.
3887 char _Alignas (double) aligned_as_double;
3888 char _Alignas (0) no_special_alignment;
3889 extern char aligned_as_int;
3890 char _Alignas (0) _Alignas (int) aligned_as_int;
3892 // Check _Alignof.
3893 enum
3895 int_alignment = _Alignof (int),
3896 int_array_alignment = _Alignof (int[100]),
3897 char_alignment = _Alignof (char)
3899 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3901 // Check _Noreturn.
3902 int _Noreturn does_not_return (void) { for (;;) continue; }
3904 // Check _Static_assert.
3905 struct test_static_assert
3907 int x;
3908 _Static_assert (sizeof (int) <= sizeof (long int),
3909 "_Static_assert does not work in struct");
3910 long int y;
3913 // Check UTF-8 literals.
3914 #define u8 syntax error!
3915 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3917 // Check duplicate typedefs.
3918 typedef long *long_ptr;
3919 typedef long int *long_ptr;
3920 typedef long_ptr long_ptr;
3922 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3923 struct anonymous
3925 union {
3926 struct { int i; int j; };
3927 struct { int k; long int l; } w;
3929 int m;
3930 } v1;
3933 # Test code for whether the C compiler supports C11 (body of main).
3934 ac_c_conftest_c11_main='
3935 _Static_assert ((offsetof (struct anonymous, i)
3936 == offsetof (struct anonymous, w.k)),
3937 "Anonymous union alignment botch");
3938 v1.i = 2;
3939 v1.w.k = 5;
3940 ok |= v1.i != 5;
3943 # Test code for whether the C compiler supports C11 (complete).
3944 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3945 ${ac_c_conftest_c99_globals}
3946 ${ac_c_conftest_c11_globals}
3949 main (int argc, char **argv)
3951 int ok = 0;
3952 ${ac_c_conftest_c89_main}
3953 ${ac_c_conftest_c99_main}
3954 ${ac_c_conftest_c11_main}
3955 return ok;
3959 # Test code for whether the C compiler supports C99 (complete).
3960 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3961 ${ac_c_conftest_c99_globals}
3964 main (int argc, char **argv)
3966 int ok = 0;
3967 ${ac_c_conftest_c89_main}
3968 ${ac_c_conftest_c99_main}
3969 return ok;
3973 # Test code for whether the C compiler supports C89 (complete).
3974 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3977 main (int argc, char **argv)
3979 int ok = 0;
3980 ${ac_c_conftest_c89_main}
3981 return ok;
3985 # Test code for whether the C++ compiler supports C++98 (global declarations)
3986 ac_cxx_conftest_cxx98_globals='
3987 // Does the compiler advertise C++98 conformance?
3988 #if !defined __cplusplus || __cplusplus < 199711L
3989 # error "Compiler does not advertise C++98 conformance"
3990 #endif
3992 // These inclusions are to reject old compilers that
3993 // lack the unsuffixed header files.
3994 #include <cstdlib>
3995 #include <exception>
3997 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3998 extern void assert (int);
3999 namespace std {
4000 extern int strcmp (const char *, const char *);
4003 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4004 using std::exception;
4005 using std::strcmp;
4007 namespace {
4009 void test_exception_syntax()
4011 try {
4012 throw "test";
4013 } catch (const char *s) {
4014 // Extra parentheses suppress a warning when building autoconf itself,
4015 // due to lint rules shared with more typical C programs.
4016 assert (!(strcmp) (s, "test"));
4020 template <typename T> struct test_template
4022 T const val;
4023 explicit test_template(T t) : val(t) {}
4024 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4027 } // anonymous namespace
4030 # Test code for whether the C++ compiler supports C++98 (body of main)
4031 ac_cxx_conftest_cxx98_main='
4032 assert (argc);
4033 assert (! argv[0]);
4035 test_exception_syntax ();
4036 test_template<double> tt (2.0);
4037 assert (tt.add (4) == 6.0);
4038 assert (true && !false);
4042 # Test code for whether the C++ compiler supports C++11 (global declarations)
4043 ac_cxx_conftest_cxx11_globals='
4044 // Does the compiler advertise C++ 2011 conformance?
4045 #if !defined __cplusplus || __cplusplus < 201103L
4046 # error "Compiler does not advertise C++11 conformance"
4047 #endif
4049 namespace cxx11test
4051 constexpr int get_val() { return 20; }
4053 struct testinit
4055 int i;
4056 double d;
4059 class delegate
4061 public:
4062 delegate(int n) : n(n) {}
4063 delegate(): delegate(2354) {}
4065 virtual int getval() { return this->n; };
4066 protected:
4067 int n;
4070 class overridden : public delegate
4072 public:
4073 overridden(int n): delegate(n) {}
4074 virtual int getval() override final { return this->n * 2; }
4077 class nocopy
4079 public:
4080 nocopy(int i): i(i) {}
4081 nocopy() = default;
4082 nocopy(const nocopy&) = delete;
4083 nocopy & operator=(const nocopy&) = delete;
4084 private:
4085 int i;
4088 // for testing lambda expressions
4089 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4091 return f(v);
4094 // for testing variadic templates and trailing return types
4095 template <typename V> auto sum(V first) -> V
4097 return first;
4099 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4101 return first + sum(rest...);
4106 # Test code for whether the C++ compiler supports C++11 (body of main)
4107 ac_cxx_conftest_cxx11_main='
4109 // Test auto and decltype
4110 auto a1 = 6538;
4111 auto a2 = 48573953.4;
4112 auto a3 = "String literal";
4114 int total = 0;
4115 for (auto i = a3; *i; ++i) { total += *i; }
4117 decltype(a2) a4 = 34895.034;
4120 // Test constexpr
4121 short sa[cxx11test::get_val()] = { 0 };
4124 // Test initializer lists
4125 cxx11test::testinit il = { 4323, 435234.23544 };
4128 // Test range-based for
4129 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4130 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4131 for (auto &x : array) { x += 23; }
4134 // Test lambda expressions
4135 using cxx11test::eval;
4136 assert (eval ([](int x) { return x*2; }, 21) == 42);
4137 double d = 2.0;
4138 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4139 assert (d == 5.0);
4140 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4141 assert (d == 5.0);
4144 // Test use of variadic templates
4145 using cxx11test::sum;
4146 auto a = sum(1);
4147 auto b = sum(1, 2);
4148 auto c = sum(1.0, 2.0, 3.0);
4151 // Test constructor delegation
4152 cxx11test::delegate d1;
4153 cxx11test::delegate d2();
4154 cxx11test::delegate d3(45);
4157 // Test override and final
4158 cxx11test::overridden o1(55464);
4161 // Test nullptr
4162 char *c = nullptr;
4165 // Test template brackets
4166 test_template<::test_template<int>> v(test_template<int>(12));
4169 // Unicode literals
4170 char const *utf8 = u8"UTF-8 string \u2500";
4171 char16_t const *utf16 = u"UTF-8 string \u2500";
4172 char32_t const *utf32 = U"UTF-32 string \u2500";
4176 # Test code for whether the C compiler supports C++11 (complete).
4177 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4178 ${ac_cxx_conftest_cxx11_globals}
4181 main (int argc, char **argv)
4183 int ok = 0;
4184 ${ac_cxx_conftest_cxx98_main}
4185 ${ac_cxx_conftest_cxx11_main}
4186 return ok;
4190 # Test code for whether the C compiler supports C++98 (complete).
4191 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4193 main (int argc, char **argv)
4195 int ok = 0;
4196 ${ac_cxx_conftest_cxx98_main}
4197 return ok;
4201 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4202 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4203 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4204 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4205 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4206 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4207 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4208 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4209 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4211 # Auxiliary files required by this configure script.
4212 ac_aux_files="config.guess config.sub"
4214 # Locations in which to look for auxiliary files.
4215 ac_aux_dir_candidates="${srcdir}/tools"
4217 # Search for a directory containing all of the required auxiliary files,
4218 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4219 # If we don't find one directory that contains all the files we need,
4220 # we report the set of missing files from the *first* directory in
4221 # $ac_aux_dir_candidates and give up.
4222 ac_missing_aux_files=""
4223 ac_first_candidate=:
4224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 as_found=false
4227 for as_dir in $ac_aux_dir_candidates
4229 IFS=$as_save_IFS
4230 case $as_dir in #(((
4231 '') as_dir=./ ;;
4232 */) ;;
4233 *) as_dir=$as_dir/ ;;
4234 esac
4235 as_found=:
4237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4238 ac_aux_dir_found=yes
4239 ac_install_sh=
4240 for ac_aux in $ac_aux_files
4242 # As a special case, if "install-sh" is required, that requirement
4243 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4244 # and $ac_install_sh is set appropriately for whichever one is found.
4245 if test x"$ac_aux" = x"install-sh"
4246 then
4247 if test -f "${as_dir}install-sh"; then
4248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4249 ac_install_sh="${as_dir}install-sh -c"
4250 elif test -f "${as_dir}install.sh"; then
4251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4252 ac_install_sh="${as_dir}install.sh -c"
4253 elif test -f "${as_dir}shtool"; then
4254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4255 ac_install_sh="${as_dir}shtool install -c"
4256 else
4257 ac_aux_dir_found=no
4258 if $ac_first_candidate; then
4259 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4260 else
4261 break
4264 else
4265 if test -f "${as_dir}${ac_aux}"; then
4266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4267 else
4268 ac_aux_dir_found=no
4269 if $ac_first_candidate; then
4270 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4271 else
4272 break
4276 done
4277 if test "$ac_aux_dir_found" = yes; then
4278 ac_aux_dir="$as_dir"
4279 break
4281 ac_first_candidate=false
4283 as_found=false
4284 done
4285 IFS=$as_save_IFS
4286 if $as_found
4287 then :
4289 else $as_nop
4290 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4294 # These three variables are undocumented and unsupported,
4295 # and are intended to be withdrawn in a future Autoconf release.
4296 # They can cause serious problems if a builder's source tree is in a directory
4297 # whose full name contains unusual characters.
4298 if test -f "${ac_aux_dir}config.guess"; then
4299 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4301 if test -f "${ac_aux_dir}config.sub"; then
4302 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4304 if test -f "$ac_aux_dir/configure"; then
4305 ac_configure="$SHELL ${ac_aux_dir}configure"
4308 # Check that the precious variables saved in the cache have kept the same
4309 # value.
4310 ac_cache_corrupted=false
4311 for ac_var in $ac_precious_vars; do
4312 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4313 eval ac_new_set=\$ac_env_${ac_var}_set
4314 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4315 eval ac_new_val=\$ac_env_${ac_var}_value
4316 case $ac_old_set,$ac_new_set in
4317 set,)
4318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4319 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4320 ac_cache_corrupted=: ;;
4321 ,set)
4322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4323 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4324 ac_cache_corrupted=: ;;
4325 ,);;
4327 if test "x$ac_old_val" != "x$ac_new_val"; then
4328 # differences in whitespace do not lead to failure.
4329 ac_old_val_w=`echo x $ac_old_val`
4330 ac_new_val_w=`echo x $ac_new_val`
4331 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4333 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4334 ac_cache_corrupted=:
4335 else
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4337 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4338 eval $ac_var=\$ac_old_val
4340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4341 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4343 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4344 fi;;
4345 esac
4346 # Pass precious variables to config.status.
4347 if test "$ac_new_set" = set; then
4348 case $ac_new_val in
4349 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4350 *) ac_arg=$ac_var=$ac_new_val ;;
4351 esac
4352 case " $ac_configure_args " in
4353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4354 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4355 esac
4357 done
4358 if $ac_cache_corrupted; then
4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4360 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4362 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4363 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4364 and start over" "$LINENO" 5
4366 ## -------------------- ##
4367 ## Main body of script. ##
4368 ## -------------------- ##
4370 ac_ext=c
4371 ac_cpp='$CPP $CPPFLAGS'
4372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4378 ac_config_headers="$ac_config_headers include/config.h"
4382 libwine_version="1.0"
4385 # Check whether --enable-win16 was given.
4386 if test ${enable_win16+y}
4387 then :
4388 enableval=$enable_win16;
4391 # Check whether --enable-win64 was given.
4392 if test ${enable_win64+y}
4393 then :
4394 enableval=$enable_win64;
4397 # Check whether --enable-tests was given.
4398 if test ${enable_tests+y}
4399 then :
4400 enableval=$enable_tests;
4403 # Check whether --enable-build-id was given.
4404 if test ${enable_build_id+y}
4405 then :
4406 enableval=$enable_build_id;
4409 # Check whether --enable-maintainer-mode was given.
4410 if test ${enable_maintainer_mode+y}
4411 then :
4412 enableval=$enable_maintainer_mode;
4415 # Check whether --enable-silent-rules was given.
4416 if test ${enable_silent_rules+y}
4417 then :
4418 enableval=$enable_silent_rules;
4421 # Check whether --enable-werror was given.
4422 if test ${enable_werror+y}
4423 then :
4424 enableval=$enable_werror;
4429 # Check whether --with-alsa was given.
4430 if test ${with_alsa+y}
4431 then :
4432 withval=$with_alsa;
4436 # Check whether --with-capi was given.
4437 if test ${with_capi+y}
4438 then :
4439 withval=$with_capi;
4443 # Check whether --with-coreaudio was given.
4444 if test ${with_coreaudio+y}
4445 then :
4446 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4450 # Check whether --with-cups was given.
4451 if test ${with_cups+y}
4452 then :
4453 withval=$with_cups;
4457 # Check whether --with-dbus was given.
4458 if test ${with_dbus+y}
4459 then :
4460 withval=$with_dbus;
4464 # Check whether --with-float-abi was given.
4465 if test ${with_float_abi+y}
4466 then :
4467 withval=$with_float_abi;
4471 # Check whether --with-fontconfig was given.
4472 if test ${with_fontconfig+y}
4473 then :
4474 withval=$with_fontconfig;
4478 # Check whether --with-freetype was given.
4479 if test ${with_freetype+y}
4480 then :
4481 withval=$with_freetype;
4485 # Check whether --with-gettext was given.
4486 if test ${with_gettext+y}
4487 then :
4488 withval=$with_gettext;
4492 # Check whether --with-gettextpo was given.
4493 if test ${with_gettextpo+y}
4494 then :
4495 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4499 # Check whether --with-gphoto was given.
4500 if test ${with_gphoto+y}
4501 then :
4502 withval=$with_gphoto;
4506 # Check whether --with-gnutls was given.
4507 if test ${with_gnutls+y}
4508 then :
4509 withval=$with_gnutls;
4513 # Check whether --with-gssapi was given.
4514 if test ${with_gssapi+y}
4515 then :
4516 withval=$with_gssapi;
4520 # Check whether --with-gstreamer was given.
4521 if test ${with_gstreamer+y}
4522 then :
4523 withval=$with_gstreamer;
4527 # Check whether --with-hal was given.
4528 if test ${with_hal+y}
4529 then :
4530 withval=$with_hal;
4534 # Check whether --with-inotify was given.
4535 if test ${with_inotify+y}
4536 then :
4537 withval=$with_inotify;
4541 # Check whether --with-krb5 was given.
4542 if test ${with_krb5+y}
4543 then :
4544 withval=$with_krb5;
4548 # Check whether --with-ldap was given.
4549 if test ${with_ldap+y}
4550 then :
4551 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4555 # Check whether --with-mingw was given.
4556 if test ${with_mingw+y}
4557 then :
4558 withval=$with_mingw;
4562 # Check whether --with-netapi was given.
4563 if test ${with_netapi+y}
4564 then :
4565 withval=$with_netapi;
4569 # Check whether --with-openal was given.
4570 if test ${with_openal+y}
4571 then :
4572 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4576 # Check whether --with-opencl was given.
4577 if test ${with_opencl+y}
4578 then :
4579 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4583 # Check whether --with-opengl was given.
4584 if test ${with_opengl+y}
4585 then :
4586 withval=$with_opengl;
4590 # Check whether --with-osmesa was given.
4591 if test ${with_osmesa+y}
4592 then :
4593 withval=$with_osmesa;
4597 # Check whether --with-oss was given.
4598 if test ${with_oss+y}
4599 then :
4600 withval=$with_oss;
4604 # Check whether --with-pcap was given.
4605 if test ${with_pcap+y}
4606 then :
4607 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4611 # Check whether --with-pthread was given.
4612 if test ${with_pthread+y}
4613 then :
4614 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4618 # Check whether --with-pulse was given.
4619 if test ${with_pulse+y}
4620 then :
4621 withval=$with_pulse;
4625 # Check whether --with-quicktime was given.
4626 if test ${with_quicktime+y}
4627 then :
4628 withval=$with_quicktime;
4632 # Check whether --with-sane was given.
4633 if test ${with_sane+y}
4634 then :
4635 withval=$with_sane;
4639 # Check whether --with-sdl was given.
4640 if test ${with_sdl+y}
4641 then :
4642 withval=$with_sdl;
4646 # Check whether --with-udev was given.
4647 if test ${with_udev+y}
4648 then :
4649 withval=$with_udev;
4653 # Check whether --with-unwind was given.
4654 if test ${with_unwind+y}
4655 then :
4656 withval=$with_unwind;
4660 # Check whether --with-usb was given.
4661 if test ${with_usb+y}
4662 then :
4663 withval=$with_usb;
4667 # Check whether --with-v4l2 was given.
4668 if test ${with_v4l2+y}
4669 then :
4670 withval=$with_v4l2;
4674 # Check whether --with-vkd3d was given.
4675 if test ${with_vkd3d+y}
4676 then :
4677 withval=$with_vkd3d;
4681 # Check whether --with-vulkan was given.
4682 if test ${with_vulkan+y}
4683 then :
4684 withval=$with_vulkan;
4688 # Check whether --with-xcomposite was given.
4689 if test ${with_xcomposite+y}
4690 then :
4691 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4695 # Check whether --with-xcursor was given.
4696 if test ${with_xcursor+y}
4697 then :
4698 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4702 # Check whether --with-xfixes was given.
4703 if test ${with_xfixes+y}
4704 then :
4705 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4709 # Check whether --with-xinerama was given.
4710 if test ${with_xinerama+y}
4711 then :
4712 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4716 # Check whether --with-xinput was given.
4717 if test ${with_xinput+y}
4718 then :
4719 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4723 # Check whether --with-xinput2 was given.
4724 if test ${with_xinput2+y}
4725 then :
4726 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4730 # Check whether --with-xrandr was given.
4731 if test ${with_xrandr+y}
4732 then :
4733 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4737 # Check whether --with-xrender was given.
4738 if test ${with_xrender+y}
4739 then :
4740 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4744 # Check whether --with-xshape was given.
4745 if test ${with_xshape+y}
4746 then :
4747 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4751 # Check whether --with-xshm was given.
4752 if test ${with_xshm+y}
4753 then :
4754 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4758 # Check whether --with-xxf86vm was given.
4759 if test ${with_xxf86vm+y}
4760 then :
4761 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
4766 # Check whether --with-wine-tools was given.
4767 if test ${with_wine_tools+y}
4768 then :
4769 withval=$with_wine_tools;
4773 # Check whether --with-wine64 was given.
4774 if test ${with_wine64+y}
4775 then :
4776 withval=$with_wine64;
4783 # Make sure we can run config.sub.
4784 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4785 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4788 printf %s "checking build system type... " >&6; }
4789 if test ${ac_cv_build+y}
4790 then :
4791 printf %s "(cached) " >&6
4792 else $as_nop
4793 ac_build_alias=$build_alias
4794 test "x$ac_build_alias" = x &&
4795 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4796 test "x$ac_build_alias" = x &&
4797 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4798 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4799 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4803 printf "%s\n" "$ac_cv_build" >&6; }
4804 case $ac_cv_build in
4805 *-*-*) ;;
4806 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4807 esac
4808 build=$ac_cv_build
4809 ac_save_IFS=$IFS; IFS='-'
4810 set x $ac_cv_build
4811 shift
4812 build_cpu=$1
4813 build_vendor=$2
4814 shift; shift
4815 # Remember, the first character of IFS is used to create $*,
4816 # except with old shells:
4817 build_os=$*
4818 IFS=$ac_save_IFS
4819 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4823 printf %s "checking host system type... " >&6; }
4824 if test ${ac_cv_host+y}
4825 then :
4826 printf %s "(cached) " >&6
4827 else $as_nop
4828 if test "x$host_alias" = x; then
4829 ac_cv_host=$ac_cv_build
4830 else
4831 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4832 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4837 printf "%s\n" "$ac_cv_host" >&6; }
4838 case $ac_cv_host in
4839 *-*-*) ;;
4840 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4841 esac
4842 host=$ac_cv_host
4843 ac_save_IFS=$IFS; IFS='-'
4844 set x $ac_cv_host
4845 shift
4846 host_cpu=$1
4847 host_vendor=$2
4848 shift; shift
4849 # Remember, the first character of IFS is used to create $*,
4850 # except with old shells:
4851 host_os=$*
4852 IFS=$ac_save_IFS
4853 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4857 dlldir=\${libdir}/wine
4859 fontdir=\${datadir}/wine/fonts
4861 nlsdir=\${datadir}/wine/nls
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4867 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4868 set x ${MAKE-make}
4869 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4870 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4871 then :
4872 printf %s "(cached) " >&6
4873 else $as_nop
4874 cat >conftest.make <<\_ACEOF
4875 SHELL = /bin/sh
4876 all:
4877 @echo '@@@%%%=$(MAKE)=@@@%%%'
4878 _ACEOF
4879 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4880 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4881 *@@@%%%=?*=@@@%%%*)
4882 eval ac_cv_prog_make_${ac_make}_set=yes;;
4884 eval ac_cv_prog_make_${ac_make}_set=no;;
4885 esac
4886 rm -f conftest.make
4888 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4890 printf "%s\n" "yes" >&6; }
4891 SET_MAKE=
4892 else
4893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 printf "%s\n" "no" >&6; }
4895 SET_MAKE="MAKE=${MAKE-make}"
4907 ac_ext=c
4908 ac_cpp='$CPP $CPPFLAGS'
4909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912 if test -n "$ac_tool_prefix"; then
4913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4914 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 printf %s "checking for $ac_word... " >&6; }
4917 if test ${ac_cv_prog_CC+y}
4918 then :
4919 printf %s "(cached) " >&6
4920 else $as_nop
4921 if test -n "$CC"; then
4922 ac_cv_prog_CC="$CC" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 case $as_dir in #(((
4929 '') as_dir=./ ;;
4930 */) ;;
4931 *) as_dir=$as_dir/ ;;
4932 esac
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4937 break 2
4939 done
4940 done
4941 IFS=$as_save_IFS
4945 CC=$ac_cv_prog_CC
4946 if test -n "$CC"; then
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4948 printf "%s\n" "$CC" >&6; }
4949 else
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 printf "%s\n" "no" >&6; }
4956 if test -z "$ac_cv_prog_CC"; then
4957 ac_ct_CC=$CC
4958 # Extract the first word of "gcc", so it can be a program name with args.
4959 set dummy gcc; ac_word=$2
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 printf %s "checking for $ac_word... " >&6; }
4962 if test ${ac_cv_prog_ac_ct_CC+y}
4963 then :
4964 printf %s "(cached) " >&6
4965 else $as_nop
4966 if test -n "$ac_ct_CC"; then
4967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4968 else
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH
4972 IFS=$as_save_IFS
4973 case $as_dir in #(((
4974 '') as_dir=./ ;;
4975 */) ;;
4976 *) as_dir=$as_dir/ ;;
4977 esac
4978 for ac_exec_ext in '' $ac_executable_extensions; do
4979 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4980 ac_cv_prog_ac_ct_CC="gcc"
4981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4982 break 2
4984 done
4985 done
4986 IFS=$as_save_IFS
4990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4991 if test -n "$ac_ct_CC"; then
4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4993 printf "%s\n" "$ac_ct_CC" >&6; }
4994 else
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 printf "%s\n" "no" >&6; }
4999 if test "x$ac_ct_CC" = x; then
5000 CC=""
5001 else
5002 case $cross_compiling:$ac_tool_warned in
5003 yes:)
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5005 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5006 ac_tool_warned=yes ;;
5007 esac
5008 CC=$ac_ct_CC
5010 else
5011 CC="$ac_cv_prog_CC"
5014 if test -z "$CC"; then
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}cc; ac_word=$2
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 printf %s "checking for $ac_word... " >&6; }
5020 if test ${ac_cv_prog_CC+y}
5021 then :
5022 printf %s "(cached) " >&6
5023 else $as_nop
5024 if test -n "$CC"; then
5025 ac_cv_prog_CC="$CC" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 case $as_dir in #(((
5032 '') as_dir=./ ;;
5033 */) ;;
5034 *) as_dir=$as_dir/ ;;
5035 esac
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5038 ac_cv_prog_CC="${ac_tool_prefix}cc"
5039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5040 break 2
5042 done
5043 done
5044 IFS=$as_save_IFS
5048 CC=$ac_cv_prog_CC
5049 if test -n "$CC"; then
5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5051 printf "%s\n" "$CC" >&6; }
5052 else
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 printf "%s\n" "no" >&6; }
5060 if test -z "$CC"; then
5061 # Extract the first word of "cc", so it can be a program name with args.
5062 set dummy cc; ac_word=$2
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 printf %s "checking for $ac_word... " >&6; }
5065 if test ${ac_cv_prog_CC+y}
5066 then :
5067 printf %s "(cached) " >&6
5068 else $as_nop
5069 if test -n "$CC"; then
5070 ac_cv_prog_CC="$CC" # Let the user override the test.
5071 else
5072 ac_prog_rejected=no
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 case $as_dir in #(((
5078 '') as_dir=./ ;;
5079 */) ;;
5080 *) as_dir=$as_dir/ ;;
5081 esac
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5084 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5085 ac_prog_rejected=yes
5086 continue
5088 ac_cv_prog_CC="cc"
5089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5090 break 2
5092 done
5093 done
5094 IFS=$as_save_IFS
5096 if test $ac_prog_rejected = yes; then
5097 # We found a bogon in the path, so make sure we never use it.
5098 set dummy $ac_cv_prog_CC
5099 shift
5100 if test $# != 0; then
5101 # We chose a different compiler from the bogus one.
5102 # However, it has the same basename, so the bogon will be chosen
5103 # first if we set CC to just the basename; use the full file name.
5104 shift
5105 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5110 CC=$ac_cv_prog_CC
5111 if test -n "$CC"; then
5112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5113 printf "%s\n" "$CC" >&6; }
5114 else
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 printf "%s\n" "no" >&6; }
5121 if test -z "$CC"; then
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in cl.exe
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 printf %s "checking for $ac_word... " >&6; }
5129 if test ${ac_cv_prog_CC+y}
5130 then :
5131 printf %s "(cached) " >&6
5132 else $as_nop
5133 if test -n "$CC"; then
5134 ac_cv_prog_CC="$CC" # Let the user override the test.
5135 else
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 for as_dir in $PATH
5139 IFS=$as_save_IFS
5140 case $as_dir in #(((
5141 '') as_dir=./ ;;
5142 */) ;;
5143 *) as_dir=$as_dir/ ;;
5144 esac
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5157 CC=$ac_cv_prog_CC
5158 if test -n "$CC"; then
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5160 printf "%s\n" "$CC" >&6; }
5161 else
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 printf "%s\n" "no" >&6; }
5167 test -n "$CC" && break
5168 done
5170 if test -z "$CC"; then
5171 ac_ct_CC=$CC
5172 for ac_prog in cl.exe
5174 # Extract the first word of "$ac_prog", so it can be a program name with args.
5175 set dummy $ac_prog; ac_word=$2
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 printf %s "checking for $ac_word... " >&6; }
5178 if test ${ac_cv_prog_ac_ct_CC+y}
5179 then :
5180 printf %s "(cached) " >&6
5181 else $as_nop
5182 if test -n "$ac_ct_CC"; then
5183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 case $as_dir in #(((
5190 '') as_dir=./ ;;
5191 */) ;;
5192 *) as_dir=$as_dir/ ;;
5193 esac
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_CC="$ac_prog"
5197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5198 break 2
5200 done
5201 done
5202 IFS=$as_save_IFS
5206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5207 if test -n "$ac_ct_CC"; then
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5209 printf "%s\n" "$ac_ct_CC" >&6; }
5210 else
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 printf "%s\n" "no" >&6; }
5216 test -n "$ac_ct_CC" && break
5217 done
5219 if test "x$ac_ct_CC" = x; then
5220 CC=""
5221 else
5222 case $cross_compiling:$ac_tool_warned in
5223 yes:)
5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5225 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5226 ac_tool_warned=yes ;;
5227 esac
5228 CC=$ac_ct_CC
5233 if test -z "$CC"; then
5234 if test -n "$ac_tool_prefix"; then
5235 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5236 set dummy ${ac_tool_prefix}clang; ac_word=$2
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 printf %s "checking for $ac_word... " >&6; }
5239 if test ${ac_cv_prog_CC+y}
5240 then :
5241 printf %s "(cached) " >&6
5242 else $as_nop
5243 if test -n "$CC"; then
5244 ac_cv_prog_CC="$CC" # Let the user override the test.
5245 else
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5249 IFS=$as_save_IFS
5250 case $as_dir in #(((
5251 '') as_dir=./ ;;
5252 */) ;;
5253 *) as_dir=$as_dir/ ;;
5254 esac
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_CC="${ac_tool_prefix}clang"
5258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 CC=$ac_cv_prog_CC
5268 if test -n "$CC"; then
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5270 printf "%s\n" "$CC" >&6; }
5271 else
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 printf "%s\n" "no" >&6; }
5278 if test -z "$ac_cv_prog_CC"; then
5279 ac_ct_CC=$CC
5280 # Extract the first word of "clang", so it can be a program name with args.
5281 set dummy clang; ac_word=$2
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 printf %s "checking for $ac_word... " >&6; }
5284 if test ${ac_cv_prog_ac_ct_CC+y}
5285 then :
5286 printf %s "(cached) " >&6
5287 else $as_nop
5288 if test -n "$ac_ct_CC"; then
5289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 case $as_dir in #(((
5296 '') as_dir=./ ;;
5297 */) ;;
5298 *) as_dir=$as_dir/ ;;
5299 esac
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5302 ac_cv_prog_ac_ct_CC="clang"
5303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5304 break 2
5306 done
5307 done
5308 IFS=$as_save_IFS
5312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5313 if test -n "$ac_ct_CC"; then
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5315 printf "%s\n" "$ac_ct_CC" >&6; }
5316 else
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 printf "%s\n" "no" >&6; }
5321 if test "x$ac_ct_CC" = x; then
5322 CC=""
5323 else
5324 case $cross_compiling:$ac_tool_warned in
5325 yes:)
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned=yes ;;
5329 esac
5330 CC=$ac_ct_CC
5332 else
5333 CC="$ac_cv_prog_CC"
5339 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5340 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5341 as_fn_error $? "no acceptable C compiler found in \$PATH
5342 See \`config.log' for more details" "$LINENO" 5; }
5344 # Provide some information about the compiler.
5345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5346 set X $ac_compile
5347 ac_compiler=$2
5348 for ac_option in --version -v -V -qversion -version; do
5349 { { ac_try="$ac_compiler $ac_option >&5"
5350 case "(($ac_try" in
5351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5352 *) ac_try_echo=$ac_try;;
5353 esac
5354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5355 printf "%s\n" "$ac_try_echo"; } >&5
5356 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5357 ac_status=$?
5358 if test -s conftest.err; then
5359 sed '10a\
5360 ... rest of stderr output deleted ...
5361 10q' conftest.err >conftest.er1
5362 cat conftest.er1 >&5
5364 rm -f conftest.er1 conftest.err
5365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5366 test $ac_status = 0; }
5367 done
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5373 main (void)
5377 return 0;
5379 _ACEOF
5380 ac_clean_files_save=$ac_clean_files
5381 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5382 # Try to create an executable without -o first, disregard a.out.
5383 # It will help us diagnose broken compilers, and finding out an intuition
5384 # of exeext.
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5386 printf %s "checking whether the C compiler works... " >&6; }
5387 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5389 # The possible output files:
5390 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5392 ac_rmfiles=
5393 for ac_file in $ac_files
5395 case $ac_file in
5396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5397 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5398 esac
5399 done
5400 rm -f $ac_rmfiles
5402 if { { ac_try="$ac_link_default"
5403 case "(($ac_try" in
5404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5405 *) ac_try_echo=$ac_try;;
5406 esac
5407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5408 printf "%s\n" "$ac_try_echo"; } >&5
5409 (eval "$ac_link_default") 2>&5
5410 ac_status=$?
5411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5412 test $ac_status = 0; }
5413 then :
5414 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5415 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5416 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5417 # so that the user can short-circuit this test for compilers unknown to
5418 # Autoconf.
5419 for ac_file in $ac_files ''
5421 test -f "$ac_file" || continue
5422 case $ac_file in
5423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5425 [ab].out )
5426 # We found the default executable, but exeext='' is most
5427 # certainly right.
5428 break;;
5429 *.* )
5430 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5431 then :; else
5432 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5434 # We set ac_cv_exeext here because the later test for it is not
5435 # safe: cross compilers may not add the suffix if given an `-o'
5436 # argument, so we may need to know it at that point already.
5437 # Even if this section looks crufty: it has the advantage of
5438 # actually working.
5439 break;;
5441 break;;
5442 esac
5443 done
5444 test "$ac_cv_exeext" = no && ac_cv_exeext=
5446 else $as_nop
5447 ac_file=''
5449 if test -z "$ac_file"
5450 then :
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 printf "%s\n" "no" >&6; }
5453 printf "%s\n" "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5456 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5457 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5458 as_fn_error 77 "C compiler cannot create executables
5459 See \`config.log' for more details" "$LINENO" 5; }
5460 else $as_nop
5461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 printf "%s\n" "yes" >&6; }
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5465 printf %s "checking for C compiler default output file name... " >&6; }
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5467 printf "%s\n" "$ac_file" >&6; }
5468 ac_exeext=$ac_cv_exeext
5470 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5471 ac_clean_files=$ac_clean_files_save
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5473 printf %s "checking for suffix of executables... " >&6; }
5474 if { { ac_try="$ac_link"
5475 case "(($ac_try" in
5476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5478 esac
5479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5480 printf "%s\n" "$ac_try_echo"; } >&5
5481 (eval "$ac_link") 2>&5
5482 ac_status=$?
5483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5484 test $ac_status = 0; }
5485 then :
5486 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5487 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5488 # work properly (i.e., refer to `conftest.exe'), while it won't with
5489 # `rm'.
5490 for ac_file in conftest.exe conftest conftest.*; do
5491 test -f "$ac_file" || continue
5492 case $ac_file in
5493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5494 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5495 break;;
5496 * ) break;;
5497 esac
5498 done
5499 else $as_nop
5500 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5501 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5502 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5503 See \`config.log' for more details" "$LINENO" 5; }
5505 rm -f conftest conftest$ac_cv_exeext
5506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5507 printf "%s\n" "$ac_cv_exeext" >&6; }
5509 rm -f conftest.$ac_ext
5510 EXEEXT=$ac_cv_exeext
5511 ac_exeext=$EXEEXT
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5514 #include <stdio.h>
5516 main (void)
5518 FILE *f = fopen ("conftest.out", "w");
5519 return ferror (f) || fclose (f) != 0;
5522 return 0;
5524 _ACEOF
5525 ac_clean_files="$ac_clean_files conftest.out"
5526 # Check that the compiler produces executables we can run. If not, either
5527 # the compiler is broken, or we cross compile.
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5529 printf %s "checking whether we are cross compiling... " >&6; }
5530 if test "$cross_compiling" != yes; then
5531 { { ac_try="$ac_link"
5532 case "(($ac_try" in
5533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5534 *) ac_try_echo=$ac_try;;
5535 esac
5536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5537 printf "%s\n" "$ac_try_echo"; } >&5
5538 (eval "$ac_link") 2>&5
5539 ac_status=$?
5540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5541 test $ac_status = 0; }
5542 if { ac_try='./conftest$ac_cv_exeext'
5543 { { case "(($ac_try" in
5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5545 *) ac_try_echo=$ac_try;;
5546 esac
5547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5548 printf "%s\n" "$ac_try_echo"; } >&5
5549 (eval "$ac_try") 2>&5
5550 ac_status=$?
5551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5552 test $ac_status = 0; }; }; then
5553 cross_compiling=no
5554 else
5555 if test "$cross_compiling" = maybe; then
5556 cross_compiling=yes
5557 else
5558 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5559 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5560 as_fn_error 77 "cannot run C compiled programs.
5561 If you meant to cross compile, use \`--host'.
5562 See \`config.log' for more details" "$LINENO" 5; }
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5567 printf "%s\n" "$cross_compiling" >&6; }
5569 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5570 ac_clean_files=$ac_clean_files_save
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5572 printf %s "checking for suffix of object files... " >&6; }
5573 if test ${ac_cv_objext+y}
5574 then :
5575 printf %s "(cached) " >&6
5576 else $as_nop
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5581 main (void)
5585 return 0;
5587 _ACEOF
5588 rm -f conftest.o conftest.obj
5589 if { { ac_try="$ac_compile"
5590 case "(($ac_try" in
5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5593 esac
5594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5595 printf "%s\n" "$ac_try_echo"; } >&5
5596 (eval "$ac_compile") 2>&5
5597 ac_status=$?
5598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5599 test $ac_status = 0; }
5600 then :
5601 for ac_file in conftest.o conftest.obj conftest.*; do
5602 test -f "$ac_file" || continue;
5603 case $ac_file in
5604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5606 break;;
5607 esac
5608 done
5609 else $as_nop
5610 printf "%s\n" "$as_me: failed program was:" >&5
5611 sed 's/^/| /' conftest.$ac_ext >&5
5613 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5614 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5615 as_fn_error $? "cannot compute suffix of object files: cannot compile
5616 See \`config.log' for more details" "$LINENO" 5; }
5618 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5621 printf "%s\n" "$ac_cv_objext" >&6; }
5622 OBJEXT=$ac_cv_objext
5623 ac_objext=$OBJEXT
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5625 printf %s "checking whether the compiler supports GNU C... " >&6; }
5626 if test ${ac_cv_c_compiler_gnu+y}
5627 then :
5628 printf %s "(cached) " >&6
5629 else $as_nop
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main (void)
5636 #ifndef __GNUC__
5637 choke me
5638 #endif
5641 return 0;
5643 _ACEOF
5644 if ac_fn_c_try_compile "$LINENO"
5645 then :
5646 ac_compiler_gnu=yes
5647 else $as_nop
5648 ac_compiler_gnu=no
5650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5655 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5658 if test $ac_compiler_gnu = yes; then
5659 GCC=yes
5660 else
5661 GCC=
5663 ac_test_CFLAGS=${CFLAGS+y}
5664 ac_save_CFLAGS=$CFLAGS
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5666 printf %s "checking whether $CC accepts -g... " >&6; }
5667 if test ${ac_cv_prog_cc_g+y}
5668 then :
5669 printf %s "(cached) " >&6
5670 else $as_nop
5671 ac_save_c_werror_flag=$ac_c_werror_flag
5672 ac_c_werror_flag=yes
5673 ac_cv_prog_cc_g=no
5674 CFLAGS="-g"
5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5679 main (void)
5683 return 0;
5685 _ACEOF
5686 if ac_fn_c_try_compile "$LINENO"
5687 then :
5688 ac_cv_prog_cc_g=yes
5689 else $as_nop
5690 CFLAGS=""
5691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692 /* end confdefs.h. */
5695 main (void)
5699 return 0;
5701 _ACEOF
5702 if ac_fn_c_try_compile "$LINENO"
5703 then :
5705 else $as_nop
5706 ac_c_werror_flag=$ac_save_c_werror_flag
5707 CFLAGS="-g"
5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5712 main (void)
5716 return 0;
5718 _ACEOF
5719 if ac_fn_c_try_compile "$LINENO"
5720 then :
5721 ac_cv_prog_cc_g=yes
5723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5728 ac_c_werror_flag=$ac_save_c_werror_flag
5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5731 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5732 if test $ac_test_CFLAGS; then
5733 CFLAGS=$ac_save_CFLAGS
5734 elif test $ac_cv_prog_cc_g = yes; then
5735 if test "$GCC" = yes; then
5736 CFLAGS="-g -O2"
5737 else
5738 CFLAGS="-g"
5740 else
5741 if test "$GCC" = yes; then
5742 CFLAGS="-O2"
5743 else
5744 CFLAGS=
5747 ac_prog_cc_stdc=no
5748 if test x$ac_prog_cc_stdc = xno
5749 then :
5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5751 printf %s "checking for $CC option to enable C11 features... " >&6; }
5752 if test ${ac_cv_prog_cc_c11+y}
5753 then :
5754 printf %s "(cached) " >&6
5755 else $as_nop
5756 ac_cv_prog_cc_c11=no
5757 ac_save_CC=$CC
5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5760 $ac_c_conftest_c11_program
5761 _ACEOF
5762 for ac_arg in '' -std=gnu11
5764 CC="$ac_save_CC $ac_arg"
5765 if ac_fn_c_try_compile "$LINENO"
5766 then :
5767 ac_cv_prog_cc_c11=$ac_arg
5769 rm -f core conftest.err conftest.$ac_objext conftest.beam
5770 test "x$ac_cv_prog_cc_c11" != "xno" && break
5771 done
5772 rm -f conftest.$ac_ext
5773 CC=$ac_save_CC
5776 if test "x$ac_cv_prog_cc_c11" = xno
5777 then :
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5779 printf "%s\n" "unsupported" >&6; }
5780 else $as_nop
5781 if test "x$ac_cv_prog_cc_c11" = x
5782 then :
5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5784 printf "%s\n" "none needed" >&6; }
5785 else $as_nop
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5787 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5788 CC="$CC $ac_cv_prog_cc_c11"
5790 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5791 ac_prog_cc_stdc=c11
5794 if test x$ac_prog_cc_stdc = xno
5795 then :
5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5797 printf %s "checking for $CC option to enable C99 features... " >&6; }
5798 if test ${ac_cv_prog_cc_c99+y}
5799 then :
5800 printf %s "(cached) " >&6
5801 else $as_nop
5802 ac_cv_prog_cc_c99=no
5803 ac_save_CC=$CC
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5806 $ac_c_conftest_c99_program
5807 _ACEOF
5808 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5810 CC="$ac_save_CC $ac_arg"
5811 if ac_fn_c_try_compile "$LINENO"
5812 then :
5813 ac_cv_prog_cc_c99=$ac_arg
5815 rm -f core conftest.err conftest.$ac_objext conftest.beam
5816 test "x$ac_cv_prog_cc_c99" != "xno" && break
5817 done
5818 rm -f conftest.$ac_ext
5819 CC=$ac_save_CC
5822 if test "x$ac_cv_prog_cc_c99" = xno
5823 then :
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5825 printf "%s\n" "unsupported" >&6; }
5826 else $as_nop
5827 if test "x$ac_cv_prog_cc_c99" = x
5828 then :
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5830 printf "%s\n" "none needed" >&6; }
5831 else $as_nop
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5833 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5834 CC="$CC $ac_cv_prog_cc_c99"
5836 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5837 ac_prog_cc_stdc=c99
5840 if test x$ac_prog_cc_stdc = xno
5841 then :
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5843 printf %s "checking for $CC option to enable C89 features... " >&6; }
5844 if test ${ac_cv_prog_cc_c89+y}
5845 then :
5846 printf %s "(cached) " >&6
5847 else $as_nop
5848 ac_cv_prog_cc_c89=no
5849 ac_save_CC=$CC
5850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5852 $ac_c_conftest_c89_program
5853 _ACEOF
5854 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5856 CC="$ac_save_CC $ac_arg"
5857 if ac_fn_c_try_compile "$LINENO"
5858 then :
5859 ac_cv_prog_cc_c89=$ac_arg
5861 rm -f core conftest.err conftest.$ac_objext conftest.beam
5862 test "x$ac_cv_prog_cc_c89" != "xno" && break
5863 done
5864 rm -f conftest.$ac_ext
5865 CC=$ac_save_CC
5868 if test "x$ac_cv_prog_cc_c89" = xno
5869 then :
5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5871 printf "%s\n" "unsupported" >&6; }
5872 else $as_nop
5873 if test "x$ac_cv_prog_cc_c89" = x
5874 then :
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5876 printf "%s\n" "none needed" >&6; }
5877 else $as_nop
5878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5879 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5880 CC="$CC $ac_cv_prog_cc_c89"
5882 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5883 ac_prog_cc_stdc=c89
5887 ac_ext=c
5888 ac_cpp='$CPP $CPPFLAGS'
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5899 ac_ext=cpp
5900 ac_cpp='$CXXCPP $CPPFLAGS'
5901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5904 if test -z "$CXX"; then
5905 if test -n "$CCC"; then
5906 CXX=$CCC
5907 else
5908 if test -n "$ac_tool_prefix"; then
5909 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 printf %s "checking for $ac_word... " >&6; }
5915 if test ${ac_cv_prog_CXX+y}
5916 then :
5917 printf %s "(cached) " >&6
5918 else $as_nop
5919 if test -n "$CXX"; then
5920 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 case $as_dir in #(((
5927 '') as_dir=./ ;;
5928 */) ;;
5929 *) as_dir=$as_dir/ ;;
5930 esac
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5933 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 CXX=$ac_cv_prog_CXX
5944 if test -n "$CXX"; then
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5946 printf "%s\n" "$CXX" >&6; }
5947 else
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 printf "%s\n" "no" >&6; }
5953 test -n "$CXX" && break
5954 done
5956 if test -z "$CXX"; then
5957 ac_ct_CXX=$CXX
5958 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5960 # Extract the first word of "$ac_prog", so it can be a program name with args.
5961 set dummy $ac_prog; ac_word=$2
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s "checking for $ac_word... " >&6; }
5964 if test ${ac_cv_prog_ac_ct_CXX+y}
5965 then :
5966 printf %s "(cached) " >&6
5967 else $as_nop
5968 if test -n "$ac_ct_CXX"; then
5969 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 case $as_dir in #(((
5976 '') as_dir=./ ;;
5977 */) ;;
5978 *) as_dir=$as_dir/ ;;
5979 esac
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_ac_ct_CXX="$ac_prog"
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5984 break 2
5986 done
5987 done
5988 IFS=$as_save_IFS
5992 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5993 if test -n "$ac_ct_CXX"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5995 printf "%s\n" "$ac_ct_CXX" >&6; }
5996 else
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6002 test -n "$ac_ct_CXX" && break
6003 done
6005 if test "x$ac_ct_CXX" = x; then
6006 CXX="g++"
6007 else
6008 case $cross_compiling:$ac_tool_warned in
6009 yes:)
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6011 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6012 ac_tool_warned=yes ;;
6013 esac
6014 CXX=$ac_ct_CXX
6020 # Provide some information about the compiler.
6021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6022 set X $ac_compile
6023 ac_compiler=$2
6024 for ac_option in --version -v -V -qversion; do
6025 { { ac_try="$ac_compiler $ac_option >&5"
6026 case "(($ac_try" in
6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6028 *) ac_try_echo=$ac_try;;
6029 esac
6030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6031 printf "%s\n" "$ac_try_echo"; } >&5
6032 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6033 ac_status=$?
6034 if test -s conftest.err; then
6035 sed '10a\
6036 ... rest of stderr output deleted ...
6037 10q' conftest.err >conftest.er1
6038 cat conftest.er1 >&5
6040 rm -f conftest.er1 conftest.err
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6042 test $ac_status = 0; }
6043 done
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6046 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6047 if test ${ac_cv_cxx_compiler_gnu+y}
6048 then :
6049 printf %s "(cached) " >&6
6050 else $as_nop
6051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6055 main (void)
6057 #ifndef __GNUC__
6058 choke me
6059 #endif
6062 return 0;
6064 _ACEOF
6065 if ac_fn_cxx_try_compile "$LINENO"
6066 then :
6067 ac_compiler_gnu=yes
6068 else $as_nop
6069 ac_compiler_gnu=no
6071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6072 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6076 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6079 if test $ac_compiler_gnu = yes; then
6080 GXX=yes
6081 else
6082 GXX=
6084 ac_test_CXXFLAGS=${CXXFLAGS+y}
6085 ac_save_CXXFLAGS=$CXXFLAGS
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6087 printf %s "checking whether $CXX accepts -g... " >&6; }
6088 if test ${ac_cv_prog_cxx_g+y}
6089 then :
6090 printf %s "(cached) " >&6
6091 else $as_nop
6092 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6093 ac_cxx_werror_flag=yes
6094 ac_cv_prog_cxx_g=no
6095 CXXFLAGS="-g"
6096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6097 /* end confdefs.h. */
6100 main (void)
6104 return 0;
6106 _ACEOF
6107 if ac_fn_cxx_try_compile "$LINENO"
6108 then :
6109 ac_cv_prog_cxx_g=yes
6110 else $as_nop
6111 CXXFLAGS=""
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6116 main (void)
6120 return 0;
6122 _ACEOF
6123 if ac_fn_cxx_try_compile "$LINENO"
6124 then :
6126 else $as_nop
6127 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6128 CXXFLAGS="-g"
6129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6133 main (void)
6137 return 0;
6139 _ACEOF
6140 if ac_fn_cxx_try_compile "$LINENO"
6141 then :
6142 ac_cv_prog_cxx_g=yes
6144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6149 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6152 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6153 if test $ac_test_CXXFLAGS; then
6154 CXXFLAGS=$ac_save_CXXFLAGS
6155 elif test $ac_cv_prog_cxx_g = yes; then
6156 if test "$GXX" = yes; then
6157 CXXFLAGS="-g -O2"
6158 else
6159 CXXFLAGS="-g"
6161 else
6162 if test "$GXX" = yes; then
6163 CXXFLAGS="-O2"
6164 else
6165 CXXFLAGS=
6168 ac_prog_cxx_stdcxx=no
6169 if test x$ac_prog_cxx_stdcxx = xno
6170 then :
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6172 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6173 if test ${ac_cv_prog_cxx_11+y}
6174 then :
6175 printf %s "(cached) " >&6
6176 else $as_nop
6177 ac_cv_prog_cxx_11=no
6178 ac_save_CXX=$CXX
6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 $ac_cxx_conftest_cxx11_program
6182 _ACEOF
6183 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6185 CXX="$ac_save_CXX $ac_arg"
6186 if ac_fn_cxx_try_compile "$LINENO"
6187 then :
6188 ac_cv_prog_cxx_cxx11=$ac_arg
6190 rm -f core conftest.err conftest.$ac_objext conftest.beam
6191 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6192 done
6193 rm -f conftest.$ac_ext
6194 CXX=$ac_save_CXX
6197 if test "x$ac_cv_prog_cxx_cxx11" = xno
6198 then :
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6200 printf "%s\n" "unsupported" >&6; }
6201 else $as_nop
6202 if test "x$ac_cv_prog_cxx_cxx11" = x
6203 then :
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6205 printf "%s\n" "none needed" >&6; }
6206 else $as_nop
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6208 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6209 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6211 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6212 ac_prog_cxx_stdcxx=cxx11
6215 if test x$ac_prog_cxx_stdcxx = xno
6216 then :
6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6218 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6219 if test ${ac_cv_prog_cxx_98+y}
6220 then :
6221 printf %s "(cached) " >&6
6222 else $as_nop
6223 ac_cv_prog_cxx_98=no
6224 ac_save_CXX=$CXX
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 $ac_cxx_conftest_cxx98_program
6228 _ACEOF
6229 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6231 CXX="$ac_save_CXX $ac_arg"
6232 if ac_fn_cxx_try_compile "$LINENO"
6233 then :
6234 ac_cv_prog_cxx_cxx98=$ac_arg
6236 rm -f core conftest.err conftest.$ac_objext conftest.beam
6237 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6238 done
6239 rm -f conftest.$ac_ext
6240 CXX=$ac_save_CXX
6243 if test "x$ac_cv_prog_cxx_cxx98" = xno
6244 then :
6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6246 printf "%s\n" "unsupported" >&6; }
6247 else $as_nop
6248 if test "x$ac_cv_prog_cxx_cxx98" = x
6249 then :
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6251 printf "%s\n" "none needed" >&6; }
6252 else $as_nop
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6254 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6255 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6257 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6258 ac_prog_cxx_stdcxx=cxx98
6262 ac_ext=c
6263 ac_cpp='$CPP $CPPFLAGS'
6264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6268 if test -n "$ac_tool_prefix"; then
6269 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6270 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 printf %s "checking for $ac_word... " >&6; }
6273 if test ${ac_cv_prog_CPPBIN+y}
6274 then :
6275 printf %s "(cached) " >&6
6276 else $as_nop
6277 if test -n "$CPPBIN"; then
6278 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6279 else
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6283 IFS=$as_save_IFS
6284 case $as_dir in #(((
6285 '') as_dir=./ ;;
6286 */) ;;
6287 *) as_dir=$as_dir/ ;;
6288 esac
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6293 break 2
6295 done
6296 done
6297 IFS=$as_save_IFS
6301 CPPBIN=$ac_cv_prog_CPPBIN
6302 if test -n "$CPPBIN"; then
6303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6304 printf "%s\n" "$CPPBIN" >&6; }
6305 else
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 printf "%s\n" "no" >&6; }
6312 if test -z "$ac_cv_prog_CPPBIN"; then
6313 ac_ct_CPPBIN=$CPPBIN
6314 # Extract the first word of "cpp", so it can be a program name with args.
6315 set dummy cpp; ac_word=$2
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317 printf %s "checking for $ac_word... " >&6; }
6318 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6319 then :
6320 printf %s "(cached) " >&6
6321 else $as_nop
6322 if test -n "$ac_ct_CPPBIN"; then
6323 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6324 else
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH
6328 IFS=$as_save_IFS
6329 case $as_dir in #(((
6330 '') as_dir=./ ;;
6331 */) ;;
6332 *) as_dir=$as_dir/ ;;
6333 esac
6334 for ac_exec_ext in '' $ac_executable_extensions; do
6335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6336 ac_cv_prog_ac_ct_CPPBIN="cpp"
6337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6338 break 2
6340 done
6341 done
6342 IFS=$as_save_IFS
6346 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6347 if test -n "$ac_ct_CPPBIN"; then
6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6349 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6350 else
6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352 printf "%s\n" "no" >&6; }
6355 if test "x$ac_ct_CPPBIN" = x; then
6356 CPPBIN="cpp"
6357 else
6358 case $cross_compiling:$ac_tool_warned in
6359 yes:)
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6361 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6362 ac_tool_warned=yes ;;
6363 esac
6364 CPPBIN=$ac_ct_CPPBIN
6366 else
6367 CPPBIN="$ac_cv_prog_CPPBIN"
6371 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6373 if test -n "$ac_tool_prefix"; then
6374 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6375 set dummy ${ac_tool_prefix}ld; ac_word=$2
6376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 printf %s "checking for $ac_word... " >&6; }
6378 if test ${ac_cv_prog_LD+y}
6379 then :
6380 printf %s "(cached) " >&6
6381 else $as_nop
6382 if test -n "$LD"; then
6383 ac_cv_prog_LD="$LD" # Let the user override the test.
6384 else
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH
6388 IFS=$as_save_IFS
6389 case $as_dir in #(((
6390 '') as_dir=./ ;;
6391 */) ;;
6392 *) as_dir=$as_dir/ ;;
6393 esac
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_LD="${ac_tool_prefix}ld"
6397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6398 break 2
6400 done
6401 done
6402 IFS=$as_save_IFS
6406 LD=$ac_cv_prog_LD
6407 if test -n "$LD"; then
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6409 printf "%s\n" "$LD" >&6; }
6410 else
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 printf "%s\n" "no" >&6; }
6417 if test -z "$ac_cv_prog_LD"; then
6418 ac_ct_LD=$LD
6419 # Extract the first word of "ld", so it can be a program name with args.
6420 set dummy ld; ac_word=$2
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 printf %s "checking for $ac_word... " >&6; }
6423 if test ${ac_cv_prog_ac_ct_LD+y}
6424 then :
6425 printf %s "(cached) " >&6
6426 else $as_nop
6427 if test -n "$ac_ct_LD"; then
6428 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 case $as_dir in #(((
6435 '') as_dir=./ ;;
6436 */) ;;
6437 *) as_dir=$as_dir/ ;;
6438 esac
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_LD="ld"
6442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6452 if test -n "$ac_ct_LD"; then
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6454 printf "%s\n" "$ac_ct_LD" >&6; }
6455 else
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 printf "%s\n" "no" >&6; }
6460 if test "x$ac_ct_LD" = x; then
6461 LD=""
6462 else
6463 case $cross_compiling:$ac_tool_warned in
6464 yes:)
6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6466 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6467 ac_tool_warned=yes ;;
6468 esac
6469 LD=$ac_ct_LD
6471 else
6472 LD="$ac_cv_prog_LD"
6476 case $host in
6477 *-darwin*)
6478 with_fontconfig=${with_fontconfig:-no}
6480 *-mingw32*|*-cygwin*)
6481 enable_win16=${enable_win16:-no}
6482 with_mingw=${with_mingw:-no}
6484 esac
6487 case $host in
6488 x86_64*|amd64*)
6489 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6490 then
6491 CC="$CC -m32"
6492 CXX="$CXX -m32"
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6495 printf %s "checking whether $CC works... " >&6; }
6496 if test ${wine_cv_cc_m32+y}
6497 then :
6498 printf %s "(cached) " >&6
6499 else $as_nop
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6504 main (void)
6508 return 0;
6510 _ACEOF
6511 if ac_fn_c_try_link "$LINENO"
6512 then :
6513 wine_cv_cc_m32=yes
6514 else $as_nop
6515 wine_cv_cc_m32=no
6517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6518 conftest$ac_exeext conftest.$ac_ext
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6521 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6522 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
6523 host_cpu="i386"
6524 notice_platform="32-bit "
6525 TARGETFLAGS="$TARGETFLAGS -m32"
6526 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6527 export PKG_CONFIG_PATH
6528 enable_win16=${enable_win16:-yes}
6529 with_unwind=${with_unwind:-no}
6530 else
6531 if test "x${GCC}" = "xyes"
6532 then
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6534 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6535 if test ${wine_cv_builtin_ms_va_list+y}
6536 then :
6537 printf %s "(cached) " >&6
6538 else $as_nop
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6541 #include <stdarg.h>
6543 main (void)
6545 void func(__builtin_ms_va_list *args);
6547 return 0;
6549 _ACEOF
6550 if ac_fn_c_try_compile "$LINENO"
6551 then :
6552 wine_cv_builtin_ms_va_list=yes
6553 else $as_nop
6554 wine_cv_builtin_ms_va_list=no
6556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6559 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6560 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
6562 CC="$CC -m64"
6563 CXX="$CXX -m64"
6564 host_cpu="x86_64"
6565 notice_platform="64-bit "
6566 TARGETFLAGS="$TARGETFLAGS -m64"
6567 enable_wow64=${enable_wow64:-yes}
6568 enable_wow64win=${enable_wow64win:-yes}
6569 enable_wow64cpu=${enable_wow64cpu:-yes}
6572 arm*)
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6574 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6575 if test ${wine_cv_thumb2+y}
6576 then :
6577 printf %s "(cached) " >&6
6578 else $as_nop
6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6583 main (void)
6585 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6587 return 0;
6589 _ACEOF
6590 if ac_fn_c_try_link "$LINENO"
6591 then :
6592 wine_cv_thumb2=yes
6593 else $as_nop
6594 wine_cv_thumb2=no
6596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6597 conftest$ac_exeext conftest.$ac_ext
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6600 printf "%s\n" "$wine_cv_thumb2" >&6; }
6601 if test x"$wine_cv_thumb2" = xyes
6602 then
6603 CFLAGS="$CFLAGS -mthumb"
6604 TARGETFLAGS="$TARGETFLAGS -mthumb"
6605 else
6606 CFLAGS="$CFLAGS -marm"
6607 TARGETFLAGS="$TARGETFLAGS -marm"
6609 case $with_float_abi in
6610 soft|softfp|hard)
6611 float_abi=$with_float_abi ;;
6613 case $host_os in
6614 *eabihf)
6615 float_abi=hard ;;
6617 float_abi=softfp
6618 saved_CFLAGS=$CFLAGS
6619 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6621 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6622 if test ${wine_cv_float_abi+y}
6623 then :
6624 printf %s "(cached) " >&6
6625 else $as_nop
6626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6630 main (void)
6632 asm("vmrs r2,fpscr");
6634 return 0;
6636 _ACEOF
6637 if ac_fn_c_try_link "$LINENO"
6638 then :
6639 wine_cv_float_abi=yes
6640 else $as_nop
6641 wine_cv_float_abi=no
6643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6644 conftest$ac_exeext conftest.$ac_ext
6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6647 printf "%s\n" "$wine_cv_float_abi" >&6; }
6648 if test $wine_cv_float_abi = no
6649 then
6650 float_abi=soft
6651 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6653 CFLAGS=$saved_CFLAGS
6654 esac
6656 esac
6657 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6658 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6660 aarch64*)
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6662 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6663 if test ${wine_cv_builtin_ms_va_list+y}
6664 then :
6665 printf %s "(cached) " >&6
6666 else $as_nop
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #include <stdarg.h>
6671 main (void)
6673 void func(__builtin_ms_va_list *args);
6675 return 0;
6677 _ACEOF
6678 if ac_fn_c_try_compile "$LINENO"
6679 then :
6680 wine_cv_builtin_ms_va_list=yes
6681 else $as_nop
6682 wine_cv_builtin_ms_va_list=no
6684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6687 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6688 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6689 enable_wow64=${enable_wow64:-yes}
6690 enable_wow64win=${enable_wow64win:-yes}
6692 i[3456789]86*)
6693 enable_win16=${enable_win16:-yes}
6694 with_unwind=${with_unwind:-no}
6696 esac
6698 enable_win16=${enable_win16:-no}
6699 enable_win64=${enable_win64:-no}
6700 enable_wow64=${enable_wow64:-no}
6701 enable_wow64win=${enable_wow64win:-no}
6702 enable_wow64cpu=${enable_wow64cpu:-no}
6704 enable_winetest=${enable_winetest:-$enable_tests}
6706 if test "x$enable_win64" = "xyes"
6707 then
6708 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6709 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6712 case $build_os in
6713 cygwin*|mingw32*) toolsext=".exe"
6715 *) toolsext=""
6717 esac
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6720 printf %s "checking for the directory containing the Wine tools... " >&6; }
6721 if test ${wine_cv_toolsdir+y}
6722 then :
6723 printf %s "(cached) " >&6
6724 else $as_nop
6725 wine_cv_toolsdir="$with_wine_tools"
6726 if test -z "$with_wine_tools"; then
6727 if test "$cross_compiling" = "yes"; then
6728 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6729 elif test -n "$with_wine64"; then
6730 wine_cv_toolsdir="$with_wine64"
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6735 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6736 if test -z "$wine_cv_toolsdir"; then
6737 wine_makedep=tools/makedep$toolsext
6738 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6739 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6740 enable_tools=${enable_tools:-no}
6741 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6742 else
6743 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6745 toolsdir=$wine_cv_toolsdir
6747 MAKEDEP=$wine_makedep
6749 RUNTESTFLAGS="-q -P wine"
6751 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'"
6753 api_manext=3w
6756 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6757 then
6758 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6761 for ac_prog in flex
6763 # Extract the first word of "$ac_prog", so it can be a program name with args.
6764 set dummy $ac_prog; ac_word=$2
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 printf %s "checking for $ac_word... " >&6; }
6767 if test ${ac_cv_prog_FLEX+y}
6768 then :
6769 printf %s "(cached) " >&6
6770 else $as_nop
6771 if test -n "$FLEX"; then
6772 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6777 IFS=$as_save_IFS
6778 case $as_dir in #(((
6779 '') as_dir=./ ;;
6780 */) ;;
6781 *) as_dir=$as_dir/ ;;
6782 esac
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_FLEX="$ac_prog"
6786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6787 break 2
6789 done
6790 done
6791 IFS=$as_save_IFS
6795 FLEX=$ac_cv_prog_FLEX
6796 if test -n "$FLEX"; then
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6798 printf "%s\n" "$FLEX" >&6; }
6799 else
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 printf "%s\n" "no" >&6; }
6805 test -n "$FLEX" && break
6806 done
6807 test -n "$FLEX" || FLEX="none"
6809 if test "$FLEX" = "none"
6810 then
6811 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6814 printf %s "checking whether flex is recent enough... " >&6; }
6815 if test ${wine_cv_recent_flex+y}
6816 then :
6817 printf %s "(cached) " >&6
6818 else $as_nop
6819 cat >conftest.l <<EOF
6820 %top{
6821 #include "prediluvian.h"
6825 if $FLEX -t conftest.l >/dev/null 2>&5
6826 then
6827 wine_cv_recent_flex=yes
6828 else
6829 wine_cv_recent_flex=no
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6833 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6834 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
6836 for ac_prog in bison
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 printf %s "checking for $ac_word... " >&6; }
6842 if test ${ac_cv_prog_BISON+y}
6843 then :
6844 printf %s "(cached) " >&6
6845 else $as_nop
6846 if test -n "$BISON"; then
6847 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6848 else
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 for as_dir in $PATH
6852 IFS=$as_save_IFS
6853 case $as_dir in #(((
6854 '') as_dir=./ ;;
6855 */) ;;
6856 *) as_dir=$as_dir/ ;;
6857 esac
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6859 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6860 ac_cv_prog_BISON="$ac_prog"
6861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6862 break 2
6864 done
6865 done
6866 IFS=$as_save_IFS
6870 BISON=$ac_cv_prog_BISON
6871 if test -n "$BISON"; then
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6873 printf "%s\n" "$BISON" >&6; }
6874 else
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 printf "%s\n" "no" >&6; }
6880 test -n "$BISON" && break
6881 done
6882 test -n "$BISON" || BISON="none"
6884 if test "$BISON" = "none"
6885 then
6886 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6889 printf %s "checking whether bison is recent enough... " >&6; }
6890 if test ${wine_cv_recent_bison+y}
6891 then :
6892 printf %s "(cached) " >&6
6893 else $as_nop
6894 cat >conftest.y <<EOF
6895 %define parse.error verbose
6897 empty: ;
6899 if $BISON conftest.y >/dev/null 2>&5
6900 then
6901 wine_cv_recent_bison=yes
6902 else
6903 wine_cv_recent_bison=no
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6907 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6908 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
6910 if test -n "$ac_tool_prefix"; then
6911 for ac_prog in ar gar
6913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916 printf %s "checking for $ac_word... " >&6; }
6917 if test ${ac_cv_prog_AR+y}
6918 then :
6919 printf %s "(cached) " >&6
6920 else $as_nop
6921 if test -n "$AR"; then
6922 ac_cv_prog_AR="$AR" # Let the user override the test.
6923 else
6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 for as_dir in $PATH
6927 IFS=$as_save_IFS
6928 case $as_dir in #(((
6929 '') as_dir=./ ;;
6930 */) ;;
6931 *) as_dir=$as_dir/ ;;
6932 esac
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6935 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6937 break 2
6939 done
6940 done
6941 IFS=$as_save_IFS
6945 AR=$ac_cv_prog_AR
6946 if test -n "$AR"; then
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6948 printf "%s\n" "$AR" >&6; }
6949 else
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 printf "%s\n" "no" >&6; }
6955 test -n "$AR" && break
6956 done
6958 if test -z "$AR"; then
6959 ac_ct_AR=$AR
6960 for ac_prog in ar gar
6962 # Extract the first word of "$ac_prog", so it can be a program name with args.
6963 set dummy $ac_prog; ac_word=$2
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 printf %s "checking for $ac_word... " >&6; }
6966 if test ${ac_cv_prog_ac_ct_AR+y}
6967 then :
6968 printf %s "(cached) " >&6
6969 else $as_nop
6970 if test -n "$ac_ct_AR"; then
6971 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6972 else
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 for as_dir in $PATH
6976 IFS=$as_save_IFS
6977 case $as_dir in #(((
6978 '') as_dir=./ ;;
6979 */) ;;
6980 *) as_dir=$as_dir/ ;;
6981 esac
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6984 ac_cv_prog_ac_ct_AR="$ac_prog"
6985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6986 break 2
6988 done
6989 done
6990 IFS=$as_save_IFS
6994 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6995 if test -n "$ac_ct_AR"; then
6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6997 printf "%s\n" "$ac_ct_AR" >&6; }
6998 else
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 printf "%s\n" "no" >&6; }
7004 test -n "$ac_ct_AR" && break
7005 done
7007 if test "x$ac_ct_AR" = x; then
7008 AR="ar"
7009 else
7010 case $cross_compiling:$ac_tool_warned in
7011 yes:)
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014 ac_tool_warned=yes ;;
7015 esac
7016 AR=$ac_ct_AR
7020 if test -n "$ac_tool_prefix"; then
7021 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7022 set dummy ${ac_tool_prefix}strip; ac_word=$2
7023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024 printf %s "checking for $ac_word... " >&6; }
7025 if test ${ac_cv_prog_STRIP+y}
7026 then :
7027 printf %s "(cached) " >&6
7028 else $as_nop
7029 if test -n "$STRIP"; then
7030 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7031 else
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 for as_dir in $PATH
7035 IFS=$as_save_IFS
7036 case $as_dir in #(((
7037 '') as_dir=./ ;;
7038 */) ;;
7039 *) as_dir=$as_dir/ ;;
7040 esac
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7045 break 2
7047 done
7048 done
7049 IFS=$as_save_IFS
7053 STRIP=$ac_cv_prog_STRIP
7054 if test -n "$STRIP"; then
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7056 printf "%s\n" "$STRIP" >&6; }
7057 else
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 printf "%s\n" "no" >&6; }
7064 if test -z "$ac_cv_prog_STRIP"; then
7065 ac_ct_STRIP=$STRIP
7066 # Extract the first word of "strip", so it can be a program name with args.
7067 set dummy strip; ac_word=$2
7068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 printf %s "checking for $ac_word... " >&6; }
7070 if test ${ac_cv_prog_ac_ct_STRIP+y}
7071 then :
7072 printf %s "(cached) " >&6
7073 else $as_nop
7074 if test -n "$ac_ct_STRIP"; then
7075 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7076 else
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 for as_dir in $PATH
7080 IFS=$as_save_IFS
7081 case $as_dir in #(((
7082 '') as_dir=./ ;;
7083 */) ;;
7084 *) as_dir=$as_dir/ ;;
7085 esac
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7088 ac_cv_prog_ac_ct_STRIP="strip"
7089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7090 break 2
7092 done
7093 done
7094 IFS=$as_save_IFS
7098 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7099 if test -n "$ac_ct_STRIP"; then
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7101 printf "%s\n" "$ac_ct_STRIP" >&6; }
7102 else
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 printf "%s\n" "no" >&6; }
7107 if test "x$ac_ct_STRIP" = x; then
7108 STRIP="strip"
7109 else
7110 case $cross_compiling:$ac_tool_warned in
7111 yes:)
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7113 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7114 ac_tool_warned=yes ;;
7115 esac
7116 STRIP=$ac_ct_STRIP
7118 else
7119 STRIP="$ac_cv_prog_STRIP"
7122 if test -n "$ac_tool_prefix"; then
7123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7124 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 printf %s "checking for $ac_word... " >&6; }
7127 if test ${ac_cv_prog_RANLIB+y}
7128 then :
7129 printf %s "(cached) " >&6
7130 else $as_nop
7131 if test -n "$RANLIB"; then
7132 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7133 else
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 for as_dir in $PATH
7137 IFS=$as_save_IFS
7138 case $as_dir in #(((
7139 '') as_dir=./ ;;
7140 */) ;;
7141 *) as_dir=$as_dir/ ;;
7142 esac
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7145 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7147 break 2
7149 done
7150 done
7151 IFS=$as_save_IFS
7155 RANLIB=$ac_cv_prog_RANLIB
7156 if test -n "$RANLIB"; then
7157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7158 printf "%s\n" "$RANLIB" >&6; }
7159 else
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 printf "%s\n" "no" >&6; }
7166 if test -z "$ac_cv_prog_RANLIB"; then
7167 ac_ct_RANLIB=$RANLIB
7168 # Extract the first word of "ranlib", so it can be a program name with args.
7169 set dummy ranlib; ac_word=$2
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 printf %s "checking for $ac_word... " >&6; }
7172 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7173 then :
7174 printf %s "(cached) " >&6
7175 else $as_nop
7176 if test -n "$ac_ct_RANLIB"; then
7177 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7182 IFS=$as_save_IFS
7183 case $as_dir in #(((
7184 '') as_dir=./ ;;
7185 */) ;;
7186 *) as_dir=$as_dir/ ;;
7187 esac
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_ac_ct_RANLIB="ranlib"
7191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7192 break 2
7194 done
7195 done
7196 IFS=$as_save_IFS
7200 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7201 if test -n "$ac_ct_RANLIB"; then
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7203 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7204 else
7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 printf "%s\n" "no" >&6; }
7209 if test "x$ac_ct_RANLIB" = x; then
7210 RANLIB=":"
7211 else
7212 case $cross_compiling:$ac_tool_warned in
7213 yes:)
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7216 ac_tool_warned=yes ;;
7217 esac
7218 RANLIB=$ac_ct_RANLIB
7220 else
7221 RANLIB="$ac_cv_prog_RANLIB"
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7225 printf %s "checking whether ln -s works... " >&6; }
7226 LN_S=$as_ln_s
7227 if test "$LN_S" = "ln -s"; then
7228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7229 printf "%s\n" "yes" >&6; }
7230 else
7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7232 printf "%s\n" "no, using $LN_S" >&6; }
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7236 printf %s "checking for grep that handles long lines and -e... " >&6; }
7237 if test ${ac_cv_path_GREP+y}
7238 then :
7239 printf %s "(cached) " >&6
7240 else $as_nop
7241 if test -z "$GREP"; then
7242 ac_path_GREP_found=false
7243 # Loop through the user's path and test for each of PROGNAME-LIST
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7247 IFS=$as_save_IFS
7248 case $as_dir in #(((
7249 '') as_dir=./ ;;
7250 */) ;;
7251 *) as_dir=$as_dir/ ;;
7252 esac
7253 for ac_prog in grep ggrep
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7257 as_fn_executable_p "$ac_path_GREP" || continue
7258 # Check for GNU ac_path_GREP and select it if it is found.
7259 # Check for GNU $ac_path_GREP
7260 case `"$ac_path_GREP" --version 2>&1` in
7261 *GNU*)
7262 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7264 ac_count=0
7265 printf %s 0123456789 >"conftest.in"
7266 while :
7268 cat "conftest.in" "conftest.in" >"conftest.tmp"
7269 mv "conftest.tmp" "conftest.in"
7270 cp "conftest.in" "conftest.nl"
7271 printf "%s\n" 'GREP' >> "conftest.nl"
7272 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7273 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7274 as_fn_arith $ac_count + 1 && ac_count=$as_val
7275 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7276 # Best one so far, save it but keep looking for a better one
7277 ac_cv_path_GREP="$ac_path_GREP"
7278 ac_path_GREP_max=$ac_count
7280 # 10*(2^10) chars as input seems more than enough
7281 test $ac_count -gt 10 && break
7282 done
7283 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7284 esac
7286 $ac_path_GREP_found && break 3
7287 done
7288 done
7289 done
7290 IFS=$as_save_IFS
7291 if test -z "$ac_cv_path_GREP"; then
7292 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7294 else
7295 ac_cv_path_GREP=$GREP
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7300 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7301 GREP="$ac_cv_path_GREP"
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7305 printf %s "checking for egrep... " >&6; }
7306 if test ${ac_cv_path_EGREP+y}
7307 then :
7308 printf %s "(cached) " >&6
7309 else $as_nop
7310 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7311 then ac_cv_path_EGREP="$GREP -E"
7312 else
7313 if test -z "$EGREP"; then
7314 ac_path_EGREP_found=false
7315 # Loop through the user's path and test for each of PROGNAME-LIST
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7319 IFS=$as_save_IFS
7320 case $as_dir in #(((
7321 '') as_dir=./ ;;
7322 */) ;;
7323 *) as_dir=$as_dir/ ;;
7324 esac
7325 for ac_prog in egrep
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7329 as_fn_executable_p "$ac_path_EGREP" || continue
7330 # Check for GNU ac_path_EGREP and select it if it is found.
7331 # Check for GNU $ac_path_EGREP
7332 case `"$ac_path_EGREP" --version 2>&1` in
7333 *GNU*)
7334 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7336 ac_count=0
7337 printf %s 0123456789 >"conftest.in"
7338 while :
7340 cat "conftest.in" "conftest.in" >"conftest.tmp"
7341 mv "conftest.tmp" "conftest.in"
7342 cp "conftest.in" "conftest.nl"
7343 printf "%s\n" 'EGREP' >> "conftest.nl"
7344 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7346 as_fn_arith $ac_count + 1 && ac_count=$as_val
7347 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7348 # Best one so far, save it but keep looking for a better one
7349 ac_cv_path_EGREP="$ac_path_EGREP"
7350 ac_path_EGREP_max=$ac_count
7352 # 10*(2^10) chars as input seems more than enough
7353 test $ac_count -gt 10 && break
7354 done
7355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7356 esac
7358 $ac_path_EGREP_found && break 3
7359 done
7360 done
7361 done
7362 IFS=$as_save_IFS
7363 if test -z "$ac_cv_path_EGREP"; then
7364 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7366 else
7367 ac_cv_path_EGREP=$EGREP
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7373 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7374 EGREP="$ac_cv_path_EGREP"
7377 # Extract the first word of "ldconfig", so it can be a program name with args.
7378 set dummy ldconfig; ac_word=$2
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 printf %s "checking for $ac_word... " >&6; }
7381 if test ${ac_cv_path_LDCONFIG+y}
7382 then :
7383 printf %s "(cached) " >&6
7384 else $as_nop
7385 case $LDCONFIG in
7386 [\\/]* | ?:[\\/]*)
7387 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in /sbin /usr/sbin $PATH
7393 IFS=$as_save_IFS
7394 case $as_dir in #(((
7395 '') as_dir=./ ;;
7396 */) ;;
7397 *) as_dir=$as_dir/ ;;
7398 esac
7399 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7401 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7403 break 2
7405 done
7406 done
7407 IFS=$as_save_IFS
7409 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7411 esac
7413 LDCONFIG=$ac_cv_path_LDCONFIG
7414 if test -n "$LDCONFIG"; then
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7416 printf "%s\n" "$LDCONFIG" >&6; }
7417 else
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 printf "%s\n" "no" >&6; }
7423 for ac_prog in msgfmt
7425 # Extract the first word of "$ac_prog", so it can be a program name with args.
7426 set dummy $ac_prog; ac_word=$2
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 printf %s "checking for $ac_word... " >&6; }
7429 if test ${ac_cv_prog_MSGFMT+y}
7430 then :
7431 printf %s "(cached) " >&6
7432 else $as_nop
7433 if test -n "$MSGFMT"; then
7434 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7435 else
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 for as_dir in $PATH
7439 IFS=$as_save_IFS
7440 case $as_dir in #(((
7441 '') as_dir=./ ;;
7442 */) ;;
7443 *) as_dir=$as_dir/ ;;
7444 esac
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_MSGFMT="$ac_prog"
7448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 MSGFMT=$ac_cv_prog_MSGFMT
7458 if test -n "$MSGFMT"; then
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7460 printf "%s\n" "$MSGFMT" >&6; }
7461 else
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 printf "%s\n" "no" >&6; }
7467 test -n "$MSGFMT" && break
7468 done
7469 test -n "$MSGFMT" || MSGFMT="false"
7471 if test ${ac_tool_prefix+y}
7472 then :
7473 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 printf %s "checking for $ac_word... " >&6; }
7477 if test ${ac_cv_prog_PKG_CONFIG+y}
7478 then :
7479 printf %s "(cached) " >&6
7480 else $as_nop
7481 if test -n "$PKG_CONFIG"; then
7482 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7483 else
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 for as_dir in $PATH
7487 IFS=$as_save_IFS
7488 case $as_dir in #(((
7489 '') as_dir=./ ;;
7490 */) ;;
7491 *) as_dir=$as_dir/ ;;
7492 esac
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7495 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7497 break 2
7499 done
7500 done
7501 IFS=$as_save_IFS
7505 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7506 if test -n "$PKG_CONFIG"; then
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7508 printf "%s\n" "$PKG_CONFIG" >&6; }
7509 else
7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 printf "%s\n" "no" >&6; }
7516 if ${ac_cv_prog_PKG_CONFIG:+false} :
7517 then :
7518 if test "x$cross_compiling" = xyes
7519 then :
7521 else $as_nop
7522 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7523 # Extract the first word of "pkg-config", so it can be a program name with args.
7524 set dummy pkg-config; ac_word=$2
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 printf %s "checking for $ac_word... " >&6; }
7527 if test ${ac_cv_prog_PKG_CONFIG+y}
7528 then :
7529 printf %s "(cached) " >&6
7530 else $as_nop
7531 if test -n "$PKG_CONFIG"; then
7532 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7533 else
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535 for as_dir in $PATH
7537 IFS=$as_save_IFS
7538 case $as_dir in #(((
7539 '') as_dir=./ ;;
7540 */) ;;
7541 *) as_dir=$as_dir/ ;;
7542 esac
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7545 ac_cv_prog_PKG_CONFIG="pkg-config"
7546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7547 break 2
7549 done
7550 done
7551 IFS=$as_save_IFS
7555 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7556 if test -n "$PKG_CONFIG"; then
7557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7558 printf "%s\n" "$PKG_CONFIG" >&6; }
7559 else
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561 printf "%s\n" "no" >&6; }
7566 else $as_nop
7567 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7570 if test "x$enable_maintainer_mode" != "xyes"
7571 then
7572 FONTFORGE=""
7573 RSVG=""
7574 CONVERT=""
7575 ICOTOOL=""
7576 else
7577 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7578 for ac_prog in fontforge
7580 # Extract the first word of "$ac_prog", so it can be a program name with args.
7581 set dummy $ac_prog; ac_word=$2
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 printf %s "checking for $ac_word... " >&6; }
7584 if test ${ac_cv_prog_FONTFORGE+y}
7585 then :
7586 printf %s "(cached) " >&6
7587 else $as_nop
7588 if test -n "$FONTFORGE"; then
7589 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7594 IFS=$as_save_IFS
7595 case $as_dir in #(((
7596 '') as_dir=./ ;;
7597 */) ;;
7598 *) as_dir=$as_dir/ ;;
7599 esac
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_FONTFORGE="$ac_prog"
7603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7604 break 2
7606 done
7607 done
7608 IFS=$as_save_IFS
7612 FONTFORGE=$ac_cv_prog_FONTFORGE
7613 if test -n "$FONTFORGE"; then
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7615 printf "%s\n" "$FONTFORGE" >&6; }
7616 else
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 printf "%s\n" "no" >&6; }
7622 test -n "$FONTFORGE" && break
7623 done
7624 test -n "$FONTFORGE" || FONTFORGE="false"
7626 for ac_prog in rsvg-convert rsvg
7628 # Extract the first word of "$ac_prog", so it can be a program name with args.
7629 set dummy $ac_prog; ac_word=$2
7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 printf %s "checking for $ac_word... " >&6; }
7632 if test ${ac_cv_prog_RSVG+y}
7633 then :
7634 printf %s "(cached) " >&6
7635 else $as_nop
7636 if test -n "$RSVG"; then
7637 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7638 else
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7642 IFS=$as_save_IFS
7643 case $as_dir in #(((
7644 '') as_dir=./ ;;
7645 */) ;;
7646 *) as_dir=$as_dir/ ;;
7647 esac
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7650 ac_cv_prog_RSVG="$ac_prog"
7651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7652 break 2
7654 done
7655 done
7656 IFS=$as_save_IFS
7660 RSVG=$ac_cv_prog_RSVG
7661 if test -n "$RSVG"; then
7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7663 printf "%s\n" "$RSVG" >&6; }
7664 else
7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 printf "%s\n" "no" >&6; }
7670 test -n "$RSVG" && break
7671 done
7672 test -n "$RSVG" || RSVG="false"
7674 for ac_prog in convert
7676 # Extract the first word of "$ac_prog", so it can be a program name with args.
7677 set dummy $ac_prog; ac_word=$2
7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 printf %s "checking for $ac_word... " >&6; }
7680 if test ${ac_cv_prog_CONVERT+y}
7681 then :
7682 printf %s "(cached) " >&6
7683 else $as_nop
7684 if test -n "$CONVERT"; then
7685 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7686 else
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 for as_dir in $PATH
7690 IFS=$as_save_IFS
7691 case $as_dir in #(((
7692 '') as_dir=./ ;;
7693 */) ;;
7694 *) as_dir=$as_dir/ ;;
7695 esac
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7698 ac_cv_prog_CONVERT="$ac_prog"
7699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7700 break 2
7702 done
7703 done
7704 IFS=$as_save_IFS
7708 CONVERT=$ac_cv_prog_CONVERT
7709 if test -n "$CONVERT"; then
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7711 printf "%s\n" "$CONVERT" >&6; }
7712 else
7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 printf "%s\n" "no" >&6; }
7718 test -n "$CONVERT" && break
7719 done
7720 test -n "$CONVERT" || CONVERT="false"
7722 for ac_prog in icotool
7724 # Extract the first word of "$ac_prog", so it can be a program name with args.
7725 set dummy $ac_prog; ac_word=$2
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7727 printf %s "checking for $ac_word... " >&6; }
7728 if test ${ac_cv_prog_ICOTOOL+y}
7729 then :
7730 printf %s "(cached) " >&6
7731 else $as_nop
7732 if test -n "$ICOTOOL"; then
7733 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7734 else
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7736 for as_dir in $PATH
7738 IFS=$as_save_IFS
7739 case $as_dir in #(((
7740 '') as_dir=./ ;;
7741 */) ;;
7742 *) as_dir=$as_dir/ ;;
7743 esac
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_ICOTOOL="$ac_prog"
7747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7748 break 2
7750 done
7751 done
7752 IFS=$as_save_IFS
7756 ICOTOOL=$ac_cv_prog_ICOTOOL
7757 if test -n "$ICOTOOL"; then
7758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7759 printf "%s\n" "$ICOTOOL" >&6; }
7760 else
7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 printf "%s\n" "no" >&6; }
7766 test -n "$ICOTOOL" && break
7767 done
7768 test -n "$ICOTOOL" || ICOTOOL="false"
7770 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7771 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7773 if test "$CONVERT" = false
7774 then
7775 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7776 else
7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7778 printf %s "checking for recent enough imagemagick... " >&6; }
7779 convert_version=`convert --version | head -n1`
7780 if test "x$convert_version" != "x"
7781 then
7782 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7783 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7784 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7785 then
7786 CONVERT=false
7789 if test "$CONVERT" = false
7790 then
7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7792 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7793 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7794 else
7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7796 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7800 if test "$ICOTOOL" = false
7801 then
7802 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7803 else
7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7805 printf %s "checking for recent enough icotool... " >&6; }
7806 icotool_version=`icotool --version | head -n1`
7807 if test "x$icotool_version" != "x"
7808 then
7809 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7810 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7811 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7812 then
7813 ICOTOOL=false
7814 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7817 if test "$ICOTOOL" = false
7818 then
7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7820 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7821 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7822 else
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7824 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7828 with_gettext=yes
7829 with_gettextpo=yes
7831 enable_werror=yes
7834 test "x$with_gettext" != xno || MSGFMT=false
7835 if test "$MSGFMT" != "false"
7836 then
7837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7838 printf %s "checking whether msgfmt supports contexts... " >&6; }
7839 if test ${wine_cv_msgfmt_contexts+y}
7840 then :
7841 printf %s "(cached) " >&6
7842 else $as_nop
7843 cat >conftest.po <<EOF
7844 # comment
7845 msgctxt "ctxt"
7846 msgid "id"
7847 msgstr "str"
7849 if $MSGFMT -o /dev/null conftest.po 2>&5
7850 then
7851 wine_cv_msgfmt_contexts=yes
7852 else
7853 wine_cv_msgfmt_contexts=no
7856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7857 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7858 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7860 if test "$MSGFMT" = false
7861 then :
7862 case "x$with_gettext" in
7863 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7864 xno) ;;
7865 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7866 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7867 esac
7868 enable_po=${enable_po:-no}
7872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7873 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7874 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7875 then :
7876 printf %s "(cached) " >&6
7877 else $as_nop
7878 ac_check_lib_save_LIBS=$LIBS
7879 LIBS="-li386 $LIBS"
7880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7883 /* Override any GCC internal prototype to avoid an error.
7884 Use char because int might match the return type of a GCC
7885 builtin and then its argument prototype would still apply. */
7886 char i386_set_ldt ();
7888 main (void)
7890 return i386_set_ldt ();
7892 return 0;
7894 _ACEOF
7895 if ac_fn_c_try_link "$LINENO"
7896 then :
7897 ac_cv_lib_i386_i386_set_ldt=yes
7898 else $as_nop
7899 ac_cv_lib_i386_i386_set_ldt=no
7901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7902 conftest$ac_exeext conftest.$ac_ext
7903 LIBS=$ac_check_lib_save_LIBS
7905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7906 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7907 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7908 then :
7909 I386_LIBS="-li386"
7914 OPENGL_LIBS=""
7918 # Check whether --enable-largefile was given.
7919 if test ${enable_largefile+y}
7920 then :
7921 enableval=$enable_largefile;
7924 if test "$enable_largefile" != no; then
7926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7927 printf %s "checking for special C compiler options needed for large files... " >&6; }
7928 if test ${ac_cv_sys_largefile_CC+y}
7929 then :
7930 printf %s "(cached) " >&6
7931 else $as_nop
7932 ac_cv_sys_largefile_CC=no
7933 if test "$GCC" != yes; then
7934 ac_save_CC=$CC
7935 while :; do
7936 # IRIX 6.2 and later do not support large files by default,
7937 # so use the C compiler's -n32 option if that helps.
7938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7939 /* end confdefs.h. */
7940 #include <sys/types.h>
7941 /* Check that off_t can represent 2**63 - 1 correctly.
7942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7943 since some C++ compilers masquerading as C compilers
7944 incorrectly reject 9223372036854775807. */
7945 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7947 && LARGE_OFF_T % 2147483647 == 1)
7948 ? 1 : -1];
7950 main (void)
7954 return 0;
7956 _ACEOF
7957 if ac_fn_c_try_compile "$LINENO"
7958 then :
7959 break
7961 rm -f core conftest.err conftest.$ac_objext conftest.beam
7962 CC="$CC -n32"
7963 if ac_fn_c_try_compile "$LINENO"
7964 then :
7965 ac_cv_sys_largefile_CC=' -n32'; break
7967 rm -f core conftest.err conftest.$ac_objext conftest.beam
7968 break
7969 done
7970 CC=$ac_save_CC
7971 rm -f conftest.$ac_ext
7974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7975 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7976 if test "$ac_cv_sys_largefile_CC" != no; then
7977 CC=$CC$ac_cv_sys_largefile_CC
7980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7981 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7982 if test ${ac_cv_sys_file_offset_bits+y}
7983 then :
7984 printf %s "(cached) " >&6
7985 else $as_nop
7986 while :; do
7987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7989 #include <sys/types.h>
7990 /* Check that off_t can represent 2**63 - 1 correctly.
7991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7992 since some C++ compilers masquerading as C compilers
7993 incorrectly reject 9223372036854775807. */
7994 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7996 && LARGE_OFF_T % 2147483647 == 1)
7997 ? 1 : -1];
7999 main (void)
8003 return 0;
8005 _ACEOF
8006 if ac_fn_c_try_compile "$LINENO"
8007 then :
8008 ac_cv_sys_file_offset_bits=no; break
8010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8012 /* end confdefs.h. */
8013 #define _FILE_OFFSET_BITS 64
8014 #include <sys/types.h>
8015 /* Check that off_t can represent 2**63 - 1 correctly.
8016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8017 since some C++ compilers masquerading as C compilers
8018 incorrectly reject 9223372036854775807. */
8019 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8021 && LARGE_OFF_T % 2147483647 == 1)
8022 ? 1 : -1];
8024 main (void)
8028 return 0;
8030 _ACEOF
8031 if ac_fn_c_try_compile "$LINENO"
8032 then :
8033 ac_cv_sys_file_offset_bits=64; break
8035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8036 ac_cv_sys_file_offset_bits=unknown
8037 break
8038 done
8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8041 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8042 case $ac_cv_sys_file_offset_bits in #(
8043 no | unknown) ;;
8045 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8047 esac
8048 rm -rf conftest*
8049 if test $ac_cv_sys_file_offset_bits = unknown; then
8050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8051 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8052 if test ${ac_cv_sys_large_files+y}
8053 then :
8054 printf %s "(cached) " >&6
8055 else $as_nop
8056 while :; do
8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 #include <sys/types.h>
8060 /* Check that off_t can represent 2**63 - 1 correctly.
8061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8062 since some C++ compilers masquerading as C compilers
8063 incorrectly reject 9223372036854775807. */
8064 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8066 && LARGE_OFF_T % 2147483647 == 1)
8067 ? 1 : -1];
8069 main (void)
8073 return 0;
8075 _ACEOF
8076 if ac_fn_c_try_compile "$LINENO"
8077 then :
8078 ac_cv_sys_large_files=no; break
8080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8083 #define _LARGE_FILES 1
8084 #include <sys/types.h>
8085 /* Check that off_t can represent 2**63 - 1 correctly.
8086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8087 since some C++ compilers masquerading as C compilers
8088 incorrectly reject 9223372036854775807. */
8089 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8091 && LARGE_OFF_T % 2147483647 == 1)
8092 ? 1 : -1];
8094 main (void)
8098 return 0;
8100 _ACEOF
8101 if ac_fn_c_try_compile "$LINENO"
8102 then :
8103 ac_cv_sys_large_files=1; break
8105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8106 ac_cv_sys_large_files=unknown
8107 break
8108 done
8110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8111 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8112 case $ac_cv_sys_large_files in #(
8113 no | unknown) ;;
8115 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8117 esac
8118 rm -rf conftest*
8123 ac_header= ac_cache=
8124 for ac_item in $ac_header_c_list
8126 if test $ac_cache; then
8127 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8128 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8129 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8131 ac_header= ac_cache=
8132 elif test $ac_header; then
8133 ac_cache=$ac_item
8134 else
8135 ac_header=$ac_item
8137 done
8146 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8147 then :
8149 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_AL_al_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_CL_cl_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_EGL_egl_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "QuickTime/ImageCompression.h" "ac_cv_header_QuickTime_ImageCompression_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_QuickTime_ImageCompression_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_QUICKTIME_IMAGECOMPRESSION_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_Security_Security_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "alias.h" "ac_cv_header_alias_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_alias_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_ALIAS_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_arpa_inet_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_asm_types_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_asm_user_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_dirent_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_elf_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_float_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_gettext_po_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_ieeefp_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_libproc_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_link_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_linux_filter_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_linux_input_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8346 then :
8347 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_linux_joystick_h" = xyes
8352 then :
8353 printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_linux_major_h" = xyes
8358 then :
8359 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_linux_param_h" = xyes
8364 then :
8365 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_linux_serial_h" = xyes
8370 then :
8371 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8375 if test "x$ac_cv_header_linux_types_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8381 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8382 then :
8383 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8387 if test "x$ac_cv_header_lwp_h" = xyes
8388 then :
8389 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8392 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8393 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8394 then :
8395 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8398 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8399 if test "x$ac_cv_header_mach_mach_h" = xyes
8400 then :
8401 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8404 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8405 if test "x$ac_cv_header_machine_cpu_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8411 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8417 if test "x$ac_cv_header_mntent_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8423 if test "x$ac_cv_header_netdb_h" = xyes
8424 then :
8425 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8429 if test "x$ac_cv_header_netinet_in_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8435 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8441 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8447 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8453 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8459 if test "x$ac_cv_header_port_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8464 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8465 if test "x$ac_cv_header_pthread_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8471 if test "x$ac_cv_header_pwd_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8476 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8477 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8478 then :
8479 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8482 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8483 if test "x$ac_cv_header_sched_h" = xyes
8484 then :
8485 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8488 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8489 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8490 then :
8491 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8494 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8495 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8496 then :
8497 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8501 if test "x$ac_cv_header_scsi_sg_h" = xyes
8502 then :
8503 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8506 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8507 if test "x$ac_cv_header_stdint_h" = xyes
8508 then :
8509 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8512 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8513 if test "x$ac_cv_header_sys_attr_h" = xyes
8514 then :
8515 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8519 if test "x$ac_cv_header_sys_auxv_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8524 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8525 if test "x$ac_cv_header_sys_cdio_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8531 if test "x$ac_cv_header_sys_epoll_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8537 if test "x$ac_cv_header_sys_event_h" = xyes
8538 then :
8539 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8542 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8543 if test "x$ac_cv_header_sys_filio_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
8549 if test "x$ac_cv_header_sys_ioctl_h" = xyes
8550 then :
8551 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
8554 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8555 if test "x$ac_cv_header_sys_ipc_h" = xyes
8556 then :
8557 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8560 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8561 if test "x$ac_cv_header_sys_link_h" = xyes
8562 then :
8563 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8566 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
8567 if test "x$ac_cv_header_sys_mman_h" = xyes
8568 then :
8569 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
8572 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8573 if test "x$ac_cv_header_sys_modem_h" = xyes
8574 then :
8575 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8578 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8579 if test "x$ac_cv_header_sys_mtio_h" = xyes
8580 then :
8581 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8584 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8585 if test "x$ac_cv_header_sys_param_h" = xyes
8586 then :
8587 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8590 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8591 if test "x$ac_cv_header_sys_prctl_h" = xyes
8592 then :
8593 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile "$LINENO" "sys/protosw.h" "ac_cv_header_sys_protosw_h" "$ac_includes_default"
8597 if test "x$ac_cv_header_sys_protosw_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_SYS_PROTOSW_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8603 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8609 if test "x$ac_cv_header_sys_queue_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8615 if test "x$ac_cv_header_sys_random_h" = xyes
8616 then :
8617 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8620 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8621 if test "x$ac_cv_header_sys_resource_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8627 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8628 then :
8629 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8632 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8633 if test "x$ac_cv_header_sys_shm_h" = xyes
8634 then :
8635 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8638 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8639 if test "x$ac_cv_header_sys_signal_h" = xyes
8640 then :
8641 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8644 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8645 if test "x$ac_cv_header_sys_socket_h" = xyes
8646 then :
8647 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
8650 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8651 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8652 then :
8653 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8656 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8657 if test "x$ac_cv_header_sys_sockio_h" = xyes
8658 then :
8659 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8662 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8663 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8664 then :
8665 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8668 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8669 if test "x$ac_cv_header_sys_strtio_h" = xyes
8670 then :
8671 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8675 if test "x$ac_cv_header_sys_syscall_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8681 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
8687 if test "x$ac_cv_header_sys_time_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default"
8693 if test "x$ac_cv_header_sys_timeout_h" = xyes
8694 then :
8695 printf "%s\n" "#define HAVE_SYS_TIMEOUT_H 1" >>confdefs.h
8698 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8699 if test "x$ac_cv_header_sys_times_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8705 if test "x$ac_cv_header_sys_uio_h" = xyes
8706 then :
8707 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8710 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8711 if test "x$ac_cv_header_sys_user_h" = xyes
8712 then :
8713 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8716 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8717 if test "x$ac_cv_header_sys_utsname_h" = xyes
8718 then :
8719 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8722 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8723 if test "x$ac_cv_header_sys_vnode_h" = xyes
8724 then :
8725 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8728 ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
8729 if test "x$ac_cv_header_sys_wait_h" = xyes
8730 then :
8731 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8734 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8735 if test "x$ac_cv_header_syscall_h" = xyes
8736 then :
8737 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8740 ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
8741 if test "x$ac_cv_header_termios_h" = xyes
8742 then :
8743 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
8746 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
8747 if test "x$ac_cv_header_unistd_h" = xyes
8748 then :
8749 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
8752 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8753 if test "x$ac_cv_header_utime_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8759 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8765 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8766 then :
8767 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8771 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8772 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8773 then :
8775 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8779 if test $ac_cv_header_sys_mkdev_h = no; then
8780 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8781 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8782 then :
8784 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8790 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8791 if test ${ac_cv_header_stat_broken+y}
8792 then :
8793 printf %s "(cached) " >&6
8794 else $as_nop
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 #include <sys/types.h>
8798 #include <sys/stat.h>
8800 #if defined S_ISBLK && defined S_IFDIR
8801 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8802 #endif
8804 #if defined S_ISBLK && defined S_IFCHR
8805 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8806 #endif
8808 #if defined S_ISLNK && defined S_IFREG
8809 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8810 #endif
8812 #if defined S_ISSOCK && defined S_IFREG
8813 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8814 #endif
8816 _ACEOF
8817 if ac_fn_c_try_compile "$LINENO"
8818 then :
8819 ac_cv_header_stat_broken=no
8820 else $as_nop
8821 ac_cv_header_stat_broken=yes
8823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8826 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8827 if test $ac_cv_header_stat_broken = yes; then
8829 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8835 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8836 #ifdef HAVE_SYS_PARAM_H
8837 # include <sys/param.h>
8838 #endif
8840 if test "x$ac_cv_header_sys_conf_h" = xyes
8841 then :
8842 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8845 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8846 #ifdef HAVE_SYS_PARAM_H
8847 # include <sys/param.h>
8848 #endif
8850 if test "x$ac_cv_header_sys_mount_h" = xyes
8851 then :
8852 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8855 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8856 #ifdef HAVE_SYS_PARAM_H
8857 # include <sys/param.h>
8858 #endif
8860 if test "x$ac_cv_header_sys_statfs_h" = xyes
8861 then :
8862 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8865 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8866 #ifdef HAVE_SYS_PARAM_H
8867 # include <sys/param.h>
8868 #endif
8870 if test "x$ac_cv_header_sys_user_h" = xyes
8871 then :
8872 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8875 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8876 #ifdef HAVE_SYS_PARAM_H
8877 # include <sys/param.h>
8878 #endif
8880 if test "x$ac_cv_header_sys_vfs_h" = xyes
8881 then :
8882 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8887 saved_sysctl_h_CFLAGS=$CFLAGS
8888 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8889 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8890 #ifdef HAVE_SYS_PARAM_H
8891 # include <sys/param.h>
8892 #endif
8894 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8895 then :
8896 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8900 CFLAGS=$saved_sysctl_h_CFLAGS
8902 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8903 #ifdef HAVE_SYS_SOCKET_H
8904 # include <sys/socket.h>
8905 #endif
8906 #ifdef HAVE_SYS_SOCKETVAR_H
8907 # include <sys/socketvar.h>
8908 #endif
8909 #ifdef HAVE_NET_ROUTE_H
8910 # include <net/route.h>
8911 #endif
8912 #ifdef HAVE_NETINET_IN_H
8913 # include <netinet/in.h>
8914 #endif
8915 #ifdef HAVE_NETINET_IN_SYSTM_H
8916 # include <netinet/in_systm.h>
8917 #endif
8918 #ifdef HAVE_NET_IF_H
8919 # include <net/if.h>
8920 #endif
8921 #ifdef HAVE_NETINET_IP_H
8922 # include <netinet/ip.h>
8923 #endif
8925 if test "x$ac_cv_header_netinet_ip_h" = xyes
8926 then :
8927 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8930 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8931 #ifdef HAVE_SYS_SOCKET_H
8932 # include <sys/socket.h>
8933 #endif
8934 #ifdef HAVE_SYS_SOCKETVAR_H
8935 # include <sys/socketvar.h>
8936 #endif
8937 #ifdef HAVE_NET_ROUTE_H
8938 # include <net/route.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IN_H
8941 # include <netinet/in.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IN_SYSTM_H
8944 # include <netinet/in_systm.h>
8945 #endif
8946 #ifdef HAVE_NET_IF_H
8947 # include <net/if.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_H
8950 # include <netinet/ip.h>
8951 #endif
8953 if test "x$ac_cv_header_net_if_h" = xyes
8954 then :
8955 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8958 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8959 #ifdef HAVE_SYS_SOCKET_H
8960 # include <sys/socket.h>
8961 #endif
8962 #ifdef HAVE_SYS_SOCKETVAR_H
8963 # include <sys/socketvar.h>
8964 #endif
8965 #ifdef HAVE_NET_ROUTE_H
8966 # include <net/route.h>
8967 #endif
8968 #ifdef HAVE_NETINET_IN_H
8969 # include <netinet/in.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IN_SYSTM_H
8972 # include <netinet/in_systm.h>
8973 #endif
8974 #ifdef HAVE_NET_IF_H
8975 # include <net/if.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IP_H
8978 # include <netinet/ip.h>
8979 #endif
8981 if test "x$ac_cv_header_net_if_arp_h" = xyes
8982 then :
8983 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8987 #ifdef HAVE_SYS_SOCKET_H
8988 # include <sys/socket.h>
8989 #endif
8990 #ifdef HAVE_SYS_SOCKETVAR_H
8991 # include <sys/socketvar.h>
8992 #endif
8993 #ifdef HAVE_NET_ROUTE_H
8994 # include <net/route.h>
8995 #endif
8996 #ifdef HAVE_NETINET_IN_H
8997 # include <netinet/in.h>
8998 #endif
8999 #ifdef HAVE_NETINET_IN_SYSTM_H
9000 # include <netinet/in_systm.h>
9001 #endif
9002 #ifdef HAVE_NET_IF_H
9003 # include <net/if.h>
9004 #endif
9005 #ifdef HAVE_NETINET_IP_H
9006 # include <netinet/ip.h>
9007 #endif
9009 if test "x$ac_cv_header_net_if_dl_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
9015 #ifdef HAVE_SYS_SOCKET_H
9016 # include <sys/socket.h>
9017 #endif
9018 #ifdef HAVE_SYS_SOCKETVAR_H
9019 # include <sys/socketvar.h>
9020 #endif
9021 #ifdef HAVE_NET_ROUTE_H
9022 # include <net/route.h>
9023 #endif
9024 #ifdef HAVE_NETINET_IN_H
9025 # include <netinet/in.h>
9026 #endif
9027 #ifdef HAVE_NETINET_IN_SYSTM_H
9028 # include <netinet/in_systm.h>
9029 #endif
9030 #ifdef HAVE_NET_IF_H
9031 # include <net/if.h>
9032 #endif
9033 #ifdef HAVE_NETINET_IP_H
9034 # include <netinet/ip.h>
9035 #endif
9037 if test "x$ac_cv_header_net_if_types_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
9043 #ifdef HAVE_SYS_SOCKET_H
9044 # include <sys/socket.h>
9045 #endif
9046 #ifdef HAVE_SYS_SOCKETVAR_H
9047 # include <sys/socketvar.h>
9048 #endif
9049 #ifdef HAVE_NET_ROUTE_H
9050 # include <net/route.h>
9051 #endif
9052 #ifdef HAVE_NETINET_IN_H
9053 # include <netinet/in.h>
9054 #endif
9055 #ifdef HAVE_NETINET_IN_SYSTM_H
9056 # include <netinet/in_systm.h>
9057 #endif
9058 #ifdef HAVE_NET_IF_H
9059 # include <net/if.h>
9060 #endif
9061 #ifdef HAVE_NETINET_IP_H
9062 # include <netinet/ip.h>
9063 #endif
9065 if test "x$ac_cv_header_net_route_h" = xyes
9066 then :
9067 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
9071 #ifdef HAVE_SYS_SOCKET_H
9072 # include <sys/socket.h>
9073 #endif
9074 #ifdef HAVE_SYS_SOCKETVAR_H
9075 # include <sys/socketvar.h>
9076 #endif
9077 #ifdef HAVE_NET_ROUTE_H
9078 # include <net/route.h>
9079 #endif
9080 #ifdef HAVE_NETINET_IN_H
9081 # include <netinet/in.h>
9082 #endif
9083 #ifdef HAVE_NETINET_IN_SYSTM_H
9084 # include <netinet/in_systm.h>
9085 #endif
9086 #ifdef HAVE_NET_IF_H
9087 # include <net/if.h>
9088 #endif
9089 #ifdef HAVE_NETINET_IP_H
9090 # include <netinet/ip.h>
9091 #endif
9093 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
9094 then :
9095 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile "$LINENO" "netinet/if_inarp.h" "ac_cv_header_netinet_if_inarp_h" "#include <sys/types.h>
9099 #ifdef HAVE_SYS_SOCKET_H
9100 # include <sys/socket.h>
9101 #endif
9102 #ifdef HAVE_SYS_SOCKETVAR_H
9103 # include <sys/socketvar.h>
9104 #endif
9105 #ifdef HAVE_NET_ROUTE_H
9106 # include <net/route.h>
9107 #endif
9108 #ifdef HAVE_NETINET_IN_H
9109 # include <netinet/in.h>
9110 #endif
9111 #ifdef HAVE_NETINET_IN_SYSTM_H
9112 # include <netinet/in_systm.h>
9113 #endif
9114 #ifdef HAVE_NET_IF_H
9115 # include <net/if.h>
9116 #endif
9117 #ifdef HAVE_NETINET_IP_H
9118 # include <netinet/ip.h>
9119 #endif
9121 if test "x$ac_cv_header_netinet_if_inarp_h" = xyes
9122 then :
9123 printf "%s\n" "#define HAVE_NETINET_IF_INARP_H 1" >>confdefs.h
9126 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
9127 #ifdef HAVE_SYS_SOCKET_H
9128 # include <sys/socket.h>
9129 #endif
9130 #ifdef HAVE_SYS_SOCKETVAR_H
9131 # include <sys/socketvar.h>
9132 #endif
9133 #ifdef HAVE_NET_ROUTE_H
9134 # include <net/route.h>
9135 #endif
9136 #ifdef HAVE_NETINET_IN_H
9137 # include <netinet/in.h>
9138 #endif
9139 #ifdef HAVE_NETINET_IN_SYSTM_H
9140 # include <netinet/in_systm.h>
9141 #endif
9142 #ifdef HAVE_NET_IF_H
9143 # include <net/if.h>
9144 #endif
9145 #ifdef HAVE_NETINET_IP_H
9146 # include <netinet/ip.h>
9147 #endif
9149 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9150 then :
9151 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9154 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9155 #ifdef HAVE_SYS_SOCKET_H
9156 # include <sys/socket.h>
9157 #endif
9158 #ifdef HAVE_SYS_SOCKETVAR_H
9159 # include <sys/socketvar.h>
9160 #endif
9161 #ifdef HAVE_NET_ROUTE_H
9162 # include <net/route.h>
9163 #endif
9164 #ifdef HAVE_NETINET_IN_H
9165 # include <netinet/in.h>
9166 #endif
9167 #ifdef HAVE_NETINET_IN_SYSTM_H
9168 # include <netinet/in_systm.h>
9169 #endif
9170 #ifdef HAVE_NET_IF_H
9171 # include <net/if.h>
9172 #endif
9173 #ifdef HAVE_NETINET_IP_H
9174 # include <netinet/ip.h>
9175 #endif
9177 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9178 then :
9179 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9182 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9183 #ifdef HAVE_SYS_SOCKET_H
9184 # include <sys/socket.h>
9185 #endif
9186 #ifdef HAVE_SYS_SOCKETVAR_H
9187 # include <sys/socketvar.h>
9188 #endif
9189 #ifdef HAVE_NET_ROUTE_H
9190 # include <net/route.h>
9191 #endif
9192 #ifdef HAVE_NETINET_IN_H
9193 # include <netinet/in.h>
9194 #endif
9195 #ifdef HAVE_NETINET_IN_SYSTM_H
9196 # include <netinet/in_systm.h>
9197 #endif
9198 #ifdef HAVE_NET_IF_H
9199 # include <net/if.h>
9200 #endif
9201 #ifdef HAVE_NETINET_IP_H
9202 # include <netinet/ip.h>
9203 #endif
9205 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9206 then :
9207 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9210 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9211 #ifdef HAVE_SYS_SOCKET_H
9212 # include <sys/socket.h>
9213 #endif
9214 #ifdef HAVE_SYS_SOCKETVAR_H
9215 # include <sys/socketvar.h>
9216 #endif
9217 #ifdef HAVE_NET_ROUTE_H
9218 # include <net/route.h>
9219 #endif
9220 #ifdef HAVE_NETINET_IN_H
9221 # include <netinet/in.h>
9222 #endif
9223 #ifdef HAVE_NETINET_IN_SYSTM_H
9224 # include <netinet/in_systm.h>
9225 #endif
9226 #ifdef HAVE_NET_IF_H
9227 # include <net/if.h>
9228 #endif
9229 #ifdef HAVE_NETINET_IP_H
9230 # include <netinet/ip.h>
9231 #endif
9233 if test "x$ac_cv_header_netinet_udp_h" = xyes
9234 then :
9235 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9238 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9239 #ifdef HAVE_SYS_SOCKET_H
9240 # include <sys/socket.h>
9241 #endif
9242 #ifdef HAVE_SYS_SOCKETVAR_H
9243 # include <sys/socketvar.h>
9244 #endif
9245 #ifdef HAVE_NET_ROUTE_H
9246 # include <net/route.h>
9247 #endif
9248 #ifdef HAVE_NETINET_IN_H
9249 # include <netinet/in.h>
9250 #endif
9251 #ifdef HAVE_NETINET_IN_SYSTM_H
9252 # include <netinet/in_systm.h>
9253 #endif
9254 #ifdef HAVE_NET_IF_H
9255 # include <net/if.h>
9256 #endif
9257 #ifdef HAVE_NETINET_IP_H
9258 # include <netinet/ip.h>
9259 #endif
9261 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9262 then :
9263 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9266 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9267 #ifdef HAVE_SYS_SOCKET_H
9268 # include <sys/socket.h>
9269 #endif
9270 #ifdef HAVE_SYS_SOCKETVAR_H
9271 # include <sys/socketvar.h>
9272 #endif
9273 #ifdef HAVE_NET_ROUTE_H
9274 # include <net/route.h>
9275 #endif
9276 #ifdef HAVE_NETINET_IN_H
9277 # include <netinet/in.h>
9278 #endif
9279 #ifdef HAVE_NETINET_IN_SYSTM_H
9280 # include <netinet/in_systm.h>
9281 #endif
9282 #ifdef HAVE_NET_IF_H
9283 # include <net/if.h>
9284 #endif
9285 #ifdef HAVE_NETINET_IP_H
9286 # include <netinet/ip.h>
9287 #endif
9289 if test "x$ac_cv_header_sys_un_h" = xyes
9290 then :
9291 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9296 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_timer.h" "ac_cv_header_netinet_tcp_timer_h" "#include <sys/types.h>
9297 #ifdef HAVE_ALIAS_H
9298 # include <alias.h>
9299 #endif
9300 #ifdef HAVE_SYS_SOCKET_H
9301 # include <sys/socket.h>
9302 #endif
9303 #ifdef HAVE_SYS_SOCKETVAR_H
9304 # include <sys/socketvar.h>
9305 #endif
9306 #ifdef HAVE_SYS_TIMEOUT_H
9307 # include <sys/timeout.h>
9308 #endif
9309 #ifdef HAVE_NETINET_IN_H
9310 # include <netinet/in.h>
9311 #endif
9312 #ifdef HAVE_NETINET_IN_SYSTM_H
9313 # include <netinet/in_systm.h>
9314 #endif
9315 #ifdef HAVE_NETINET_IP_H
9316 # include <netinet/ip.h>
9317 #endif
9318 #ifdef HAVE_NETINET_IP_VAR_H
9319 # include <netinet/ip_var.h>
9320 #endif
9321 #ifdef HAVE_NETINET_IP_ICMP_H
9322 # include <netinet/ip_icmp.h>
9323 #endif
9324 #ifdef HAVE_NETINET_UDP_H
9325 # include <netinet/udp.h>
9326 #endif
9327 #ifdef HAVE_NETINET_TCP_H
9328 # include <netinet/tcp.h>
9329 #endif
9330 #ifdef HAVE_NETINET_TCP_TIMER_H
9331 #include <netinet/tcp_timer.h>
9332 #endif
9334 if test "x$ac_cv_header_netinet_tcp_timer_h" = xyes
9335 then :
9336 printf "%s\n" "#define HAVE_NETINET_TCP_TIMER_H 1" >>confdefs.h
9339 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9340 #ifdef HAVE_ALIAS_H
9341 # include <alias.h>
9342 #endif
9343 #ifdef HAVE_SYS_SOCKET_H
9344 # include <sys/socket.h>
9345 #endif
9346 #ifdef HAVE_SYS_SOCKETVAR_H
9347 # include <sys/socketvar.h>
9348 #endif
9349 #ifdef HAVE_SYS_TIMEOUT_H
9350 # include <sys/timeout.h>
9351 #endif
9352 #ifdef HAVE_NETINET_IN_H
9353 # include <netinet/in.h>
9354 #endif
9355 #ifdef HAVE_NETINET_IN_SYSTM_H
9356 # include <netinet/in_systm.h>
9357 #endif
9358 #ifdef HAVE_NETINET_IP_H
9359 # include <netinet/ip.h>
9360 #endif
9361 #ifdef HAVE_NETINET_IP_VAR_H
9362 # include <netinet/ip_var.h>
9363 #endif
9364 #ifdef HAVE_NETINET_IP_ICMP_H
9365 # include <netinet/ip_icmp.h>
9366 #endif
9367 #ifdef HAVE_NETINET_UDP_H
9368 # include <netinet/udp.h>
9369 #endif
9370 #ifdef HAVE_NETINET_TCP_H
9371 # include <netinet/tcp.h>
9372 #endif
9373 #ifdef HAVE_NETINET_TCP_TIMER_H
9374 #include <netinet/tcp_timer.h>
9375 #endif
9377 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9378 then :
9379 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9382 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9383 #ifdef HAVE_ALIAS_H
9384 # include <alias.h>
9385 #endif
9386 #ifdef HAVE_SYS_SOCKET_H
9387 # include <sys/socket.h>
9388 #endif
9389 #ifdef HAVE_SYS_SOCKETVAR_H
9390 # include <sys/socketvar.h>
9391 #endif
9392 #ifdef HAVE_SYS_TIMEOUT_H
9393 # include <sys/timeout.h>
9394 #endif
9395 #ifdef HAVE_NETINET_IN_H
9396 # include <netinet/in.h>
9397 #endif
9398 #ifdef HAVE_NETINET_IN_SYSTM_H
9399 # include <netinet/in_systm.h>
9400 #endif
9401 #ifdef HAVE_NETINET_IP_H
9402 # include <netinet/ip.h>
9403 #endif
9404 #ifdef HAVE_NETINET_IP_VAR_H
9405 # include <netinet/ip_var.h>
9406 #endif
9407 #ifdef HAVE_NETINET_IP_ICMP_H
9408 # include <netinet/ip_icmp.h>
9409 #endif
9410 #ifdef HAVE_NETINET_UDP_H
9411 # include <netinet/udp.h>
9412 #endif
9413 #ifdef HAVE_NETINET_TCP_H
9414 # include <netinet/tcp.h>
9415 #endif
9416 #ifdef HAVE_NETINET_TCP_TIMER_H
9417 #include <netinet/tcp_timer.h>
9418 #endif
9420 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9421 then :
9422 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9425 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9426 #ifdef HAVE_ALIAS_H
9427 # include <alias.h>
9428 #endif
9429 #ifdef HAVE_SYS_SOCKET_H
9430 # include <sys/socket.h>
9431 #endif
9432 #ifdef HAVE_SYS_SOCKETVAR_H
9433 # include <sys/socketvar.h>
9434 #endif
9435 #ifdef HAVE_SYS_TIMEOUT_H
9436 # include <sys/timeout.h>
9437 #endif
9438 #ifdef HAVE_NETINET_IN_H
9439 # include <netinet/in.h>
9440 #endif
9441 #ifdef HAVE_NETINET_IN_SYSTM_H
9442 # include <netinet/in_systm.h>
9443 #endif
9444 #ifdef HAVE_NETINET_IP_H
9445 # include <netinet/ip.h>
9446 #endif
9447 #ifdef HAVE_NETINET_IP_VAR_H
9448 # include <netinet/ip_var.h>
9449 #endif
9450 #ifdef HAVE_NETINET_IP_ICMP_H
9451 # include <netinet/ip_icmp.h>
9452 #endif
9453 #ifdef HAVE_NETINET_UDP_H
9454 # include <netinet/udp.h>
9455 #endif
9456 #ifdef HAVE_NETINET_TCP_H
9457 # include <netinet/tcp.h>
9458 #endif
9459 #ifdef HAVE_NETINET_TCP_TIMER_H
9460 #include <netinet/tcp_timer.h>
9461 #endif
9463 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9464 then :
9465 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9470 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9471 #ifdef HAVE_ASM_TYPES_H
9472 # include <asm/types.h>
9473 #endif
9474 #ifdef HAVE_SYS_SOCKET_H
9475 # include <sys/socket.h>
9476 #endif
9477 #ifdef HAVE_LINUX_TYPES_H
9478 # include <linux/types.h>
9479 #endif
9481 if test "x$ac_cv_header_linux_ipx_h" = xyes
9482 then :
9483 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9486 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9487 #ifdef HAVE_ASM_TYPES_H
9488 # include <asm/types.h>
9489 #endif
9490 #ifdef HAVE_SYS_SOCKET_H
9491 # include <sys/socket.h>
9492 #endif
9493 #ifdef HAVE_LINUX_TYPES_H
9494 # include <linux/types.h>
9495 #endif
9497 if test "x$ac_cv_header_linux_irda_h" = xyes
9498 then :
9499 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9502 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9503 #ifdef HAVE_ASM_TYPES_H
9504 # include <asm/types.h>
9505 #endif
9506 #ifdef HAVE_SYS_SOCKET_H
9507 # include <sys/socket.h>
9508 #endif
9509 #ifdef HAVE_LINUX_TYPES_H
9510 # include <linux/types.h>
9511 #endif
9513 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9514 then :
9515 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9520 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9521 #ifdef HAVE_SYS_SOCKET_H
9522 # include <sys/socket.h>
9523 #endif
9524 #ifdef HAVE_NETINET_IN_H
9525 # include <netinet/in.h>
9526 #endif
9527 #ifdef HAVE_ARPA_NAMESER_H
9528 # include <arpa/nameser.h>
9529 #endif
9531 if test "x$ac_cv_header_resolv_h" = xyes
9532 then :
9533 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9538 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9540 if test "x$ac_cv_header_ifaddrs_h" = xyes
9541 then :
9542 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9547 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9549 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9550 then :
9551 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9556 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9557 #ifdef HAVE_SYS_UCONTEXT_H
9558 #include <sys/ucontext.h>
9559 #endif
9561 if test "x$ac_cv_header_sys_thr_h" = xyes
9562 then :
9563 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9568 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9569 #include <pthread.h>
9570 #endif
9572 if test "x$ac_cv_header_pthread_np_h" = xyes
9573 then :
9574 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9579 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
9580 #include <sys/time.h>
9581 #endif
9582 #include <sys/types.h>
9583 #ifdef HAVE_ASM_TYPES_H
9584 #include <asm/types.h>
9585 #endif
9587 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9588 then :
9589 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9594 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9595 #include <sys/param.h>
9596 #endif
9597 #ifdef HAVE_SYS_QUEUE_H
9598 #include <sys/queue.h>
9599 #endif
9600 #ifdef HAVE_SYS_SOCKET_H
9601 #include <sys/socket.h>
9602 #endif
9604 if test "x$ac_cv_header_libprocstat_h" = xyes
9605 then :
9606 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9612 DLLFLAGS=""
9614 LDDLLFLAGS=""
9616 LDEXECFLAGS=""
9618 EXTRACFLAGS=""
9620 UNIXDLLFLAGS="-fPIC"
9622 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9624 TOP_INSTALL_LIB=""
9626 TOP_INSTALL_DEV=""
9628 WINELOADER_LDFLAGS=""
9630 WINEPRELOADER_LDFLAGS=""
9632 LIBEXT="so"
9633 # Extract the first word of "ldd", so it can be a program name with args.
9634 set dummy ldd; ac_word=$2
9635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 printf %s "checking for $ac_word... " >&6; }
9637 if test ${ac_cv_path_LDD+y}
9638 then :
9639 printf %s "(cached) " >&6
9640 else $as_nop
9641 case $LDD in
9642 [\\/]* | ?:[\\/]*)
9643 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9647 as_dummy="/sbin:/usr/sbin:$PATH"
9648 for as_dir in $as_dummy
9650 IFS=$as_save_IFS
9651 case $as_dir in #(((
9652 '') as_dir=./ ;;
9653 */) ;;
9654 *) as_dir=$as_dir/ ;;
9655 esac
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9658 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9660 break 2
9662 done
9663 done
9664 IFS=$as_save_IFS
9666 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9668 esac
9670 LDD=$ac_cv_path_LDD
9671 if test -n "$LDD"; then
9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9673 printf "%s\n" "$LDD" >&6; }
9674 else
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9676 printf "%s\n" "no" >&6; }
9680 if test -n "$ac_tool_prefix"; then
9681 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9682 set dummy ${ac_tool_prefix}otool; ac_word=$2
9683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9684 printf %s "checking for $ac_word... " >&6; }
9685 if test ${ac_cv_prog_OTOOL+y}
9686 then :
9687 printf %s "(cached) " >&6
9688 else $as_nop
9689 if test -n "$OTOOL"; then
9690 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9691 else
9692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9693 for as_dir in $PATH
9695 IFS=$as_save_IFS
9696 case $as_dir in #(((
9697 '') as_dir=./ ;;
9698 */) ;;
9699 *) as_dir=$as_dir/ ;;
9700 esac
9701 for ac_exec_ext in '' $ac_executable_extensions; do
9702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9703 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9705 break 2
9707 done
9708 done
9709 IFS=$as_save_IFS
9713 OTOOL=$ac_cv_prog_OTOOL
9714 if test -n "$OTOOL"; then
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9716 printf "%s\n" "$OTOOL" >&6; }
9717 else
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9719 printf "%s\n" "no" >&6; }
9724 if test -z "$ac_cv_prog_OTOOL"; then
9725 ac_ct_OTOOL=$OTOOL
9726 # Extract the first word of "otool", so it can be a program name with args.
9727 set dummy otool; ac_word=$2
9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9729 printf %s "checking for $ac_word... " >&6; }
9730 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9731 then :
9732 printf %s "(cached) " >&6
9733 else $as_nop
9734 if test -n "$ac_ct_OTOOL"; then
9735 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9736 else
9737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9738 for as_dir in $PATH
9740 IFS=$as_save_IFS
9741 case $as_dir in #(((
9742 '') as_dir=./ ;;
9743 */) ;;
9744 *) as_dir=$as_dir/ ;;
9745 esac
9746 for ac_exec_ext in '' $ac_executable_extensions; do
9747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9748 ac_cv_prog_ac_ct_OTOOL="otool"
9749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9750 break 2
9752 done
9753 done
9754 IFS=$as_save_IFS
9758 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9759 if test -n "$ac_ct_OTOOL"; then
9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9761 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9762 else
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9764 printf "%s\n" "no" >&6; }
9767 if test "x$ac_ct_OTOOL" = x; then
9768 OTOOL="otool"
9769 else
9770 case $cross_compiling:$ac_tool_warned in
9771 yes:)
9772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9774 ac_tool_warned=yes ;;
9775 esac
9776 OTOOL=$ac_ct_OTOOL
9778 else
9779 OTOOL="$ac_cv_prog_OTOOL"
9782 if test -n "$ac_tool_prefix"; then
9783 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9784 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9786 printf %s "checking for $ac_word... " >&6; }
9787 if test ${ac_cv_prog_READELF+y}
9788 then :
9789 printf %s "(cached) " >&6
9790 else $as_nop
9791 if test -n "$READELF"; then
9792 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9793 else
9794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9795 for as_dir in $PATH
9797 IFS=$as_save_IFS
9798 case $as_dir in #(((
9799 '') as_dir=./ ;;
9800 */) ;;
9801 *) as_dir=$as_dir/ ;;
9802 esac
9803 for ac_exec_ext in '' $ac_executable_extensions; do
9804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9805 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9807 break 2
9809 done
9810 done
9811 IFS=$as_save_IFS
9815 READELF=$ac_cv_prog_READELF
9816 if test -n "$READELF"; then
9817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9818 printf "%s\n" "$READELF" >&6; }
9819 else
9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9821 printf "%s\n" "no" >&6; }
9826 if test -z "$ac_cv_prog_READELF"; then
9827 ac_ct_READELF=$READELF
9828 # Extract the first word of "readelf", so it can be a program name with args.
9829 set dummy readelf; ac_word=$2
9830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9831 printf %s "checking for $ac_word... " >&6; }
9832 if test ${ac_cv_prog_ac_ct_READELF+y}
9833 then :
9834 printf %s "(cached) " >&6
9835 else $as_nop
9836 if test -n "$ac_ct_READELF"; then
9837 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9838 else
9839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9840 for as_dir in $PATH
9842 IFS=$as_save_IFS
9843 case $as_dir in #(((
9844 '') as_dir=./ ;;
9845 */) ;;
9846 *) as_dir=$as_dir/ ;;
9847 esac
9848 for ac_exec_ext in '' $ac_executable_extensions; do
9849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9850 ac_cv_prog_ac_ct_READELF="readelf"
9851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9852 break 2
9854 done
9855 done
9856 IFS=$as_save_IFS
9860 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9861 if test -n "$ac_ct_READELF"; then
9862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9863 printf "%s\n" "$ac_ct_READELF" >&6; }
9864 else
9865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9866 printf "%s\n" "no" >&6; }
9869 if test "x$ac_ct_READELF" = x; then
9870 READELF="true"
9871 else
9872 case $cross_compiling:$ac_tool_warned in
9873 yes:)
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9876 ac_tool_warned=yes ;;
9877 esac
9878 READELF=$ac_ct_READELF
9880 else
9881 READELF="$ac_cv_prog_READELF"
9884 wine_rules="all:"
9885 SUBDIRS=""
9887 DISABLED_SUBDIRS=""
9889 CONFIGURE_TARGETS=""
9892 wine_fn_append_file ()
9894 as_fn_append $1 " \\$as_nl $2"
9897 wine_fn_append_rule ()
9899 as_fn_append wine_rules "$as_nl$1"
9902 wine_fn_config_makefile ()
9904 wine_fn_append_file SUBDIRS $1
9905 if eval test \"x\$"$2"\" = x"no"
9906 then :
9907 wine_fn_append_file DISABLED_SUBDIRS $1
9911 wine_fn_config_symlink ()
9913 ac_links=$@
9914 wine_fn_append_rule \
9915 "$ac_links:
9916 @./config.status \$@"
9917 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9920 wine_binary="wine"
9921 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9922 WINELOADER_PROGRAMS="$wine_binary"
9924 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9926 case $host_os in
9927 cygwin*|mingw32*)
9928 if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9930 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9932 printf %s "checking for $ac_word... " >&6; }
9933 if test ${ac_cv_prog_DLLTOOL+y}
9934 then :
9935 printf %s "(cached) " >&6
9936 else $as_nop
9937 if test -n "$DLLTOOL"; then
9938 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9939 else
9940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9941 for as_dir in $PATH
9943 IFS=$as_save_IFS
9944 case $as_dir in #(((
9945 '') as_dir=./ ;;
9946 */) ;;
9947 *) as_dir=$as_dir/ ;;
9948 esac
9949 for ac_exec_ext in '' $ac_executable_extensions; do
9950 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9951 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9953 break 2
9955 done
9956 done
9957 IFS=$as_save_IFS
9961 DLLTOOL=$ac_cv_prog_DLLTOOL
9962 if test -n "$DLLTOOL"; then
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9964 printf "%s\n" "$DLLTOOL" >&6; }
9965 else
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9967 printf "%s\n" "no" >&6; }
9972 if test -z "$ac_cv_prog_DLLTOOL"; then
9973 ac_ct_DLLTOOL=$DLLTOOL
9974 # Extract the first word of "dlltool", so it can be a program name with args.
9975 set dummy dlltool; ac_word=$2
9976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9977 printf %s "checking for $ac_word... " >&6; }
9978 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9979 then :
9980 printf %s "(cached) " >&6
9981 else $as_nop
9982 if test -n "$ac_ct_DLLTOOL"; then
9983 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9984 else
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 for as_dir in $PATH
9988 IFS=$as_save_IFS
9989 case $as_dir in #(((
9990 '') as_dir=./ ;;
9991 */) ;;
9992 *) as_dir=$as_dir/ ;;
9993 esac
9994 for ac_exec_ext in '' $ac_executable_extensions; do
9995 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9996 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9998 break 2
10000 done
10001 done
10002 IFS=$as_save_IFS
10006 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10007 if test -n "$ac_ct_DLLTOOL"; then
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10009 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
10010 else
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10012 printf "%s\n" "no" >&6; }
10015 if test "x$ac_ct_DLLTOOL" = x; then
10016 DLLTOOL="false"
10017 else
10018 case $cross_compiling:$ac_tool_warned in
10019 yes:)
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10022 ac_tool_warned=yes ;;
10023 esac
10024 DLLTOOL=$ac_ct_DLLTOOL
10026 else
10027 DLLTOOL="$ac_cv_prog_DLLTOOL"
10030 LIBEXT="dll"
10031 EXTRACFLAGS="-D__WINE_PE_BUILD"
10032 case $host_cpu in
10033 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
10034 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
10035 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
10036 then :
10037 printf %s "(cached) " >&6
10038 else $as_nop
10039 ac_wine_try_cflags_saved=$CFLAGS
10040 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 int main(int argc, char **argv) { return 0; }
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"
10046 then :
10047 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
10048 else $as_nop
10049 ac_cv_cflags__Wl___disable_stdcall_fixup=no
10051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10052 conftest$ac_exeext conftest.$ac_ext
10053 CFLAGS=$ac_wine_try_cflags_saved
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
10056 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
10057 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
10058 then :
10059 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
10060 fi ;;
10061 esac
10062 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
10063 enable_loader=${enable_loader:-no}
10064 enable_server=${enable_server:-no}
10065 with_x=${with_x:-no}
10066 with_pthread=${with_pthread:-no}
10069 darwin*|macosx*)
10070 ac_ext=m
10071 ac_cpp='$OBJCPP $CPPFLAGS'
10072 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10073 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10074 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10076 ac_ext=m
10077 ac_cpp='$OBJCPP $CPPFLAGS'
10078 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10079 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10080 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10081 if test -n "$ac_tool_prefix"; then
10082 for ac_prog in gcc objcc objc cc CC clang
10084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10087 printf %s "checking for $ac_word... " >&6; }
10088 if test ${ac_cv_prog_OBJC+y}
10089 then :
10090 printf %s "(cached) " >&6
10091 else $as_nop
10092 if test -n "$OBJC"; then
10093 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
10094 else
10095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10098 IFS=$as_save_IFS
10099 case $as_dir in #(((
10100 '') as_dir=./ ;;
10101 */) ;;
10102 *) as_dir=$as_dir/ ;;
10103 esac
10104 for ac_exec_ext in '' $ac_executable_extensions; do
10105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10106 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
10107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10108 break 2
10110 done
10111 done
10112 IFS=$as_save_IFS
10116 OBJC=$ac_cv_prog_OBJC
10117 if test -n "$OBJC"; then
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
10119 printf "%s\n" "$OBJC" >&6; }
10120 else
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10122 printf "%s\n" "no" >&6; }
10126 test -n "$OBJC" && break
10127 done
10129 if test -z "$OBJC"; then
10130 ac_ct_OBJC=$OBJC
10131 for ac_prog in gcc objcc objc cc CC clang
10133 # Extract the first word of "$ac_prog", so it can be a program name with args.
10134 set dummy $ac_prog; ac_word=$2
10135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10136 printf %s "checking for $ac_word... " >&6; }
10137 if test ${ac_cv_prog_ac_ct_OBJC+y}
10138 then :
10139 printf %s "(cached) " >&6
10140 else $as_nop
10141 if test -n "$ac_ct_OBJC"; then
10142 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
10143 else
10144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10145 for as_dir in $PATH
10147 IFS=$as_save_IFS
10148 case $as_dir in #(((
10149 '') as_dir=./ ;;
10150 */) ;;
10151 *) as_dir=$as_dir/ ;;
10152 esac
10153 for ac_exec_ext in '' $ac_executable_extensions; do
10154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10155 ac_cv_prog_ac_ct_OBJC="$ac_prog"
10156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10157 break 2
10159 done
10160 done
10161 IFS=$as_save_IFS
10165 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
10166 if test -n "$ac_ct_OBJC"; then
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
10168 printf "%s\n" "$ac_ct_OBJC" >&6; }
10169 else
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10171 printf "%s\n" "no" >&6; }
10175 test -n "$ac_ct_OBJC" && break
10176 done
10178 if test "x$ac_ct_OBJC" = x; then
10179 OBJC="gcc"
10180 else
10181 case $cross_compiling:$ac_tool_warned in
10182 yes:)
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10184 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10185 ac_tool_warned=yes ;;
10186 esac
10187 OBJC=$ac_ct_OBJC
10191 # Provide some information about the compiler.
10192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
10193 set X $ac_compile
10194 ac_compiler=$2
10195 for ac_option in --version -v -V -qversion; do
10196 { { ac_try="$ac_compiler $ac_option >&5"
10197 case "(($ac_try" in
10198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10199 *) ac_try_echo=$ac_try;;
10200 esac
10201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10202 printf "%s\n" "$ac_try_echo"; } >&5
10203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10204 ac_status=$?
10205 if test -s conftest.err; then
10206 sed '10a\
10207 ... rest of stderr output deleted ...
10208 10q' conftest.err >conftest.er1
10209 cat conftest.er1 >&5
10211 rm -f conftest.er1 conftest.err
10212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213 test $ac_status = 0; }
10214 done
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
10217 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
10218 if test ${ac_cv_objc_compiler_gnu+y}
10219 then :
10220 printf %s "(cached) " >&6
10221 else $as_nop
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10226 main (void)
10228 #ifndef __GNUC__
10229 choke me
10230 #endif
10233 return 0;
10235 _ACEOF
10236 if ac_fn_objc_try_compile "$LINENO"
10237 then :
10238 ac_compiler_gnu=yes
10239 else $as_nop
10240 ac_compiler_gnu=no
10242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10243 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10247 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10248 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10250 if test $ac_compiler_gnu = yes; then
10251 GOBJC=yes
10252 else
10253 GOBJC=
10255 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10256 ac_save_OBJCFLAGS=$OBJCFLAGS
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10258 printf %s "checking whether $OBJC accepts -g... " >&6; }
10259 if test ${ac_cv_prog_objc_g+y}
10260 then :
10261 printf %s "(cached) " >&6
10262 else $as_nop
10263 ac_save_objc_werror_flag=$ac_objc_werror_flag
10264 ac_objc_werror_flag=yes
10265 ac_cv_prog_objc_g=no
10266 OBJCFLAGS="-g"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10271 main (void)
10275 return 0;
10277 _ACEOF
10278 if ac_fn_objc_try_compile "$LINENO"
10279 then :
10280 ac_cv_prog_objc_g=yes
10281 else $as_nop
10282 OBJCFLAGS=""
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10287 main (void)
10291 return 0;
10293 _ACEOF
10294 if ac_fn_objc_try_compile "$LINENO"
10295 then :
10297 else $as_nop
10298 ac_objc_werror_flag=$ac_save_objc_werror_flag
10299 OBJCFLAGS="-g"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10304 main (void)
10308 return 0;
10310 _ACEOF
10311 if ac_fn_objc_try_compile "$LINENO"
10312 then :
10313 ac_cv_prog_objc_g=yes
10315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10320 ac_objc_werror_flag=$ac_save_objc_werror_flag
10322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10323 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10324 if test $ac_test_OBJCFLAGS; then
10325 OBJCFLAGS=$ac_save_OBJCFLAGS
10326 elif test $ac_cv_prog_objc_g = yes; then
10327 if test "$GOBJC" = yes; then
10328 OBJCFLAGS="-g -O2"
10329 else
10330 OBJCFLAGS="-g"
10332 else
10333 if test "$GOBJC" = yes; then
10334 OBJCFLAGS="-O2"
10335 else
10336 OBJCFLAGS=
10339 ac_ext=m
10340 ac_cpp='$OBJCPP $CPPFLAGS'
10341 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10342 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10343 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10346 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10347 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10348 then :
10349 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10353 ac_ext=c
10354 ac_cpp='$CPP $CPPFLAGS'
10355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10359 LIBEXT="dylib"
10360 DLLFLAGS="$DLLFLAGS -fPIC"
10361 LDDLLFLAGS="-fPIC"
10362 COREFOUNDATION_LIBS="-framework CoreFoundation"
10364 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10366 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10368 CORESERVICES_LIBS="-framework CoreServices"
10370 APPKIT_LIBS="-framework AppKit"
10372 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10375 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10377 wine_can_build_preloader=yes
10378 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"
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10380 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10381 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10382 then :
10383 printf %s "(cached) " >&6
10384 else $as_nop
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 int main(int argc, char **argv) { return 0; }
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"
10392 then :
10393 ac_cv_cflags__Wl__no_new_main__e__main=yes
10394 else $as_nop
10395 ac_cv_cflags__Wl__no_new_main__e__main=no
10397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10402 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10403 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10404 then :
10405 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10406 { 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
10407 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10408 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10409 then :
10410 printf %s "(cached) " >&6
10411 else $as_nop
10412 ac_wine_try_cflags_saved=$CFLAGS
10413 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10416 int main(int argc, char **argv) { return 0; }
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"
10419 then :
10420 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10421 else $as_nop
10422 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10425 conftest$ac_exeext conftest.$ac_ext
10426 CFLAGS=$ac_wine_try_cflags_saved
10428 { 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
10429 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10430 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10431 then :
10432 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10433 else $as_nop
10434 wine_can_build_preloader=no
10436 else $as_nop
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10438 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10439 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10440 then :
10441 printf %s "(cached) " >&6
10442 else $as_nop
10443 ac_wine_try_cflags_saved=$CFLAGS
10444 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10447 int main(int argc, char **argv) { return 0; }
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"
10450 then :
10451 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10452 else $as_nop
10453 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10456 conftest$ac_exeext conftest.$ac_ext
10457 CFLAGS=$ac_wine_try_cflags_saved
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10460 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10461 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10462 then :
10463 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10464 else $as_nop
10465 wine_can_build_preloader=no
10468 if test "$wine_can_build_preloader" = "yes"
10469 then
10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10471 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10472 if test ${ac_cv_cflags__Wl__no_pie+y}
10473 then :
10474 printf %s "(cached) " >&6
10475 else $as_nop
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 CFLAGS="$CFLAGS -Wl,-no_pie"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int main(int argc, char **argv) { return 0; }
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"
10483 then :
10484 ac_cv_cflags__Wl__no_pie=yes
10485 else $as_nop
10486 ac_cv_cflags__Wl__no_pie=no
10488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10489 conftest$ac_exeext conftest.$ac_ext
10490 CFLAGS=$ac_wine_try_cflags_saved
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10493 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10494 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10495 then :
10496 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10498 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10499 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10500 else
10501 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10504 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10505 then
10506 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10509 if test "$ac_cv_header_Security_Security_h" = "yes"
10510 then
10511 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10514 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10515 then
10516 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10518 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10520 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10521 then
10522 OPENAL_LIBS="-framework OpenAL"
10525 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10527 ac_cv_lib_openal=yes
10529 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10530 then
10531 OPENCL_LIBS="-framework OpenCL"
10533 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10535 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10536 then
10537 ac_save_LIBS="$LIBS"
10538 LIBS="$LIBS $IOKIT_LIBS"
10539 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10540 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10541 then :
10542 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10546 LIBS="$ac_save_LIBS"
10549 if test "x$with_quicktime" != "xno"
10550 then
10551 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
10552 then
10553 ac_save_LIBS="$LIBS"
10554 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
10556 printf %s "checking for the QuickTime framework... " >&6; }
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10559 #include <QuickTime/ImageCompression.h>
10561 main (void)
10563 CodecManagerVersion(NULL);
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"
10569 then :
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10571 printf "%s\n" "yes" >&6; }
10572 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
10574 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
10575 else $as_nop
10576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10577 printf "%s\n" "no" >&6; }
10578 ac_cv_header_QuickTime_ImageCompression_h=no
10580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10581 conftest$ac_exeext conftest.$ac_ext
10582 LIBS="$ac_save_LIBS"
10585 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
10586 then :
10587 case "x$with_quicktime" in
10588 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
10589 xno) ;;
10590 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
10591 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
10592 esac
10596 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10597 then
10598 CARBON_LIBS="-framework Carbon"
10601 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10602 then
10603 METAL_LIBS="-framework Metal -framework QuartzCore"
10607 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10608 then
10609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10610 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10611 ac_ext=m
10612 ac_cpp='$OBJCPP $CPPFLAGS'
10613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10619 #include <Metal/Metal.h>
10621 main (void)
10623 id<MTLDevice> device; device.registryID;
10625 return 0;
10627 _ACEOF
10628 if ac_fn_objc_try_compile "$LINENO"
10629 then :
10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10631 printf "%s\n" "yes" >&6; }
10633 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10635 else $as_nop
10636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10637 printf "%s\n" "no" >&6; }
10639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10640 ac_ext=c
10641 ac_cpp='$CPP $CPPFLAGS'
10642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10648 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10649 then
10650 ac_save_LIBS="$LIBS"
10651 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10652 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10653 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10654 then :
10655 enable_winemac_drv=${enable_winemac_drv:-yes}
10658 LIBS="$ac_save_LIBS"
10661 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10662 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10664 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10666 WINELOADER_DEPENDS="wine_info.plist"
10668 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10671 linux-android*)
10673 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10675 DLLFLAGS="$DLLFLAGS -fPIC"
10676 LDDLLFLAGS="-fPIC"
10677 LDEXECFLAGS="-Wl,-pie"
10678 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10680 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10681 if test ${ac_cv_cflags__Wl__z_defs+y}
10682 then :
10683 printf %s "(cached) " >&6
10684 else $as_nop
10685 ac_wine_try_cflags_saved=$CFLAGS
10686 CFLAGS="$CFLAGS -Wl,-z,defs"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 int main(int argc, char **argv) { return 0; }
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"
10692 then :
10693 ac_cv_cflags__Wl__z_defs=yes
10694 else $as_nop
10695 ac_cv_cflags__Wl__z_defs=no
10697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10698 conftest$ac_exeext conftest.$ac_ext
10699 CFLAGS=$ac_wine_try_cflags_saved
10701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10702 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10703 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10704 then :
10705 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10708 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10709 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10710 then :
10711 printf %s "(cached) " >&6
10712 else $as_nop
10713 ac_wine_try_cflags_saved=$CFLAGS
10714 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 int main(int argc, char **argv) { return 0; }
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"
10720 then :
10721 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10722 else $as_nop
10723 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10726 conftest$ac_exeext conftest.$ac_ext
10727 CFLAGS=$ac_wine_try_cflags_saved
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10730 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10731 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10732 then :
10733 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10735 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10738 printf %s "checking for -lEGL... " >&6; }
10739 if test ${ac_cv_lib_soname_EGL+y}
10740 then :
10741 printf %s "(cached) " >&6
10742 else $as_nop
10743 ac_check_soname_save_LIBS=$LIBS
10744 LIBS="-lEGL $LIBS"
10745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10748 /* Override any GCC internal prototype to avoid an error.
10749 Use char because int might match the return type of a GCC
10750 builtin and then its argument prototype would still apply. */
10751 char eglGetProcAddress ();
10753 main (void)
10755 return eglGetProcAddress ();
10757 return 0;
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"
10761 then :
10762 case "$LIBEXT" in
10763 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10764 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'` ;;
10765 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10766 if ${ac_cv_lib_soname_EGL:+false} :
10767 then :
10768 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10769 fi ;;
10770 esac
10771 else $as_nop
10772 ac_cv_lib_soname_EGL=
10774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_soname_save_LIBS
10778 if ${ac_cv_lib_soname_EGL:+false} :
10779 then :
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10781 printf "%s\n" "not found" >&6; }
10783 else $as_nop
10784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10785 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10787 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10792 printf %s "checking for -lGLESv2... " >&6; }
10793 if test ${ac_cv_lib_soname_GLESv2+y}
10794 then :
10795 printf %s "(cached) " >&6
10796 else $as_nop
10797 ac_check_soname_save_LIBS=$LIBS
10798 LIBS="-lGLESv2 $LIBS"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 char glFlush ();
10807 main (void)
10809 return glFlush ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"
10815 then :
10816 case "$LIBEXT" in
10817 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10818 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'` ;;
10819 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10820 if ${ac_cv_lib_soname_GLESv2:+false} :
10821 then :
10822 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10823 fi ;;
10824 esac
10825 else $as_nop
10826 ac_cv_lib_soname_GLESv2=
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10829 conftest$ac_exeext conftest.$ac_ext
10830 LIBS=$ac_check_soname_save_LIBS
10832 if ${ac_cv_lib_soname_GLESv2:+false} :
10833 then :
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10835 printf "%s\n" "not found" >&6; }
10837 else $as_nop
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10839 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10841 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10846 if test "x$exec_prefix" = xNONE
10847 then
10848 case $host_cpu in
10849 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10850 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10851 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10852 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10853 esac
10859 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10861 case $host_cpu in
10862 *i[3456789]86*)
10863 DLLFLAGS="$DLLFLAGS -fno-PIC"
10864 LDDLLFLAGS="-fno-PIC"
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10866 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10867 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10868 then :
10869 printf %s "(cached) " >&6
10870 else $as_nop
10871 ac_wine_try_cflags_saved=$CFLAGS
10872 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10875 int main(int argc, char **argv) { return 0; }
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"
10878 then :
10879 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10880 else $as_nop
10881 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10884 conftest$ac_exeext conftest.$ac_ext
10885 CFLAGS=$ac_wine_try_cflags_saved
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10888 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10889 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10890 then :
10891 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10895 DLLFLAGS="$DLLFLAGS -fPIC"
10896 LDDLLFLAGS="-fPIC" ;;
10897 esac
10898 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10900 echo '{ global: *; };' >conftest.map
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10902 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10903 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10904 then :
10905 printf %s "(cached) " >&6
10906 else $as_nop
10907 ac_wine_try_cflags_saved=$CFLAGS
10908 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10911 int main(int argc, char **argv) { return 0; }
10912 _ACEOF
10913 if ac_fn_c_try_link "$LINENO"
10914 then :
10915 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10916 else $as_nop
10917 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10920 conftest$ac_exeext conftest.$ac_ext
10921 CFLAGS=$ac_wine_try_cflags_saved
10923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10924 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10925 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10926 then :
10927 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10929 rm -f conftest.map
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10932 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10933 if test ${ac_cv_cflags__Wl__z_defs+y}
10934 then :
10935 printf %s "(cached) " >&6
10936 else $as_nop
10937 ac_wine_try_cflags_saved=$CFLAGS
10938 CFLAGS="$CFLAGS -Wl,-z,defs"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 int main(int argc, char **argv) { return 0; }
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"
10944 then :
10945 ac_cv_cflags__Wl__z_defs=yes
10946 else $as_nop
10947 ac_cv_cflags__Wl__z_defs=no
10949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10950 conftest$ac_exeext conftest.$ac_ext
10951 CFLAGS=$ac_wine_try_cflags_saved
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10954 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10955 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10956 then :
10957 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10960 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10961 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10962 then :
10963 printf %s "(cached) " >&6
10964 else $as_nop
10965 ac_wine_try_cflags_saved=$CFLAGS
10966 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 int main(int argc, char **argv) { return 0; }
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"
10972 then :
10973 ac_cv_cflags__Wl___export_dynamic=yes
10974 else $as_nop
10975 ac_cv_cflags__Wl___export_dynamic=no
10977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10978 conftest$ac_exeext conftest.$ac_ext
10979 CFLAGS=$ac_wine_try_cflags_saved
10981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10982 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10983 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10984 then :
10985 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10987 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10989 case $host_cpu in
10990 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10992 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10993 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10994 then :
10995 printf %s "(cached) " >&6
10996 else $as_nop
10997 ac_wine_try_cflags_saved=$CFLAGS
10998 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11001 int main(int argc, char **argv) { return 0; }
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"
11004 then :
11005 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
11006 else $as_nop
11007 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
11009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11010 conftest$ac_exeext conftest.$ac_ext
11011 CFLAGS=$ac_wine_try_cflags_saved
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
11014 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
11015 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
11016 then :
11017 case $host_os in
11018 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
11019 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
11020 esac
11021 else $as_nop
11022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
11023 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
11024 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
11025 then :
11026 printf %s "(cached) " >&6
11027 else $as_nop
11028 ac_wine_try_cflags_saved=$CFLAGS
11029 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 int main(int argc, char **argv) { return 0; }
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"
11035 then :
11036 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
11037 else $as_nop
11038 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11041 conftest$ac_exeext conftest.$ac_ext
11042 CFLAGS=$ac_wine_try_cflags_saved
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
11045 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
11046 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
11047 then :
11048 case $host_os in
11049 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
11050 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
11051 esac
11053 # Extract the first word of "prelink", so it can be a program name with args.
11054 set dummy prelink; ac_word=$2
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11056 printf %s "checking for $ac_word... " >&6; }
11057 if test ${ac_cv_path_PRELINK+y}
11058 then :
11059 printf %s "(cached) " >&6
11060 else $as_nop
11061 case $PRELINK in
11062 [\\/]* | ?:[\\/]*)
11063 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
11066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11067 for as_dir in /sbin /usr/sbin $PATH
11069 IFS=$as_save_IFS
11070 case $as_dir in #(((
11071 '') as_dir=./ ;;
11072 */) ;;
11073 *) as_dir=$as_dir/ ;;
11074 esac
11075 for ac_exec_ext in '' $ac_executable_extensions; do
11076 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11077 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
11078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11079 break 2
11081 done
11082 done
11083 IFS=$as_save_IFS
11085 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
11087 esac
11089 PRELINK=$ac_cv_path_PRELINK
11090 if test -n "$PRELINK"; then
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
11092 printf "%s\n" "$PRELINK" >&6; }
11093 else
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11095 printf "%s\n" "no" >&6; }
11099 if test "x$PRELINK" = xfalse
11100 then
11101 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
11105 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
11106 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
11107 then :
11108 printf %s "(cached) " >&6
11109 else $as_nop
11110 ac_wine_try_cflags_saved=$CFLAGS
11111 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11114 int main(int argc, char **argv) { return 0; }
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"
11117 then :
11118 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
11119 else $as_nop
11120 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11123 conftest$ac_exeext conftest.$ac_ext
11124 CFLAGS=$ac_wine_try_cflags_saved
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
11127 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
11128 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
11129 then :
11130 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
11133 esac
11134 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
11136 LIBWINE_DEPENDS="wine.map"
11138 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
11140 esac
11142 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11143 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
11144 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
11145 enable_winemac_drv=${enable_winemac_drv:-no}
11146 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11149 if test "x$with_mingw" != xno
11150 then
11151 case "x$with_mingw" in
11152 x|xyes) case "$host_cpu" in
11153 aarch64*)
11154 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
11155 arm*)
11156 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
11157 i[3456789]86*)
11158 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
11159 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
11160 mingw32-gcc clang" ;;
11161 x86_64)
11162 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
11163 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
11165 ac_prefix_list="" ;;
11166 esac
11167 for ac_prog in $ac_prefix_list
11169 # Extract the first word of "$ac_prog", so it can be a program name with args.
11170 set dummy $ac_prog; ac_word=$2
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11172 printf %s "checking for $ac_word... " >&6; }
11173 if test ${ac_cv_prog_CROSSCC+y}
11174 then :
11175 printf %s "(cached) " >&6
11176 else $as_nop
11177 if test -n "$CROSSCC"; then
11178 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11179 else
11180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11181 for as_dir in $PATH
11183 IFS=$as_save_IFS
11184 case $as_dir in #(((
11185 '') as_dir=./ ;;
11186 */) ;;
11187 *) as_dir=$as_dir/ ;;
11188 esac
11189 for ac_exec_ext in '' $ac_executable_extensions; do
11190 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11191 ac_cv_prog_CROSSCC="$ac_prog"
11192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11193 break 2
11195 done
11196 done
11197 IFS=$as_save_IFS
11201 CROSSCC=$ac_cv_prog_CROSSCC
11202 if test -n "$CROSSCC"; then
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
11204 printf "%s\n" "$CROSSCC" >&6; }
11205 else
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11207 printf "%s\n" "no" >&6; }
11211 test -n "$CROSSCC" && break
11212 done
11213 test -n "$CROSSCC" || CROSSCC="false"
11215 *) CROSSCC=$with_mingw ;;
11216 esac
11217 if test "$CROSSCC" != "false"
11218 then
11219 ac_save_CC="$CC"
11220 saved_CFLAGS=$CFLAGS
11221 saved_LDFLAGS=$LDFLAGS
11222 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
11224 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
11228 CC="$CROSSCC"
11229 CFLAGS=$CROSSCFLAGS
11230 LDFLAGS=$CROSSLDFLAGS
11231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
11232 printf %s "checking whether $CROSSCC works... " >&6; }
11233 if test ${wine_cv_crosscc+y}
11234 then :
11235 printf %s "(cached) " >&6
11236 else $as_nop
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11241 main (void)
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_compile "$LINENO"
11249 then :
11250 wine_cv_crosscc=yes
11251 else $as_nop
11252 wine_cv_crosscc=no
11254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
11257 printf "%s\n" "$wine_cv_crosscc" >&6; }
11258 if test $wine_cv_crosscc = yes
11259 then
11260 set x $CROSSCC
11261 shift
11262 while test $# -ge 1
11264 case "$1" in
11265 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
11266 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
11267 esac
11268 shift
11269 done
11271 llvm_target=$CROSSTARGET
11272 llvm_cflags="-fuse-ld=lld"
11273 if test -z "$llvm_target"
11274 then
11275 case $host_cpu in
11276 *i[3456789]86*) llvm_target=i686-windows ;;
11277 *) llvm_target=$host_cpu-windows ;;
11278 esac
11280 case $llvm_target in
11281 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11282 esac
11283 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11285 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11286 if eval test \${$as_ac_var+y}
11287 then :
11288 printf %s "(cached) " >&6
11289 else $as_nop
11290 ac_wine_try_cflags_saved=$CFLAGS
11291 ac_wine_try_cflags_saved_cc=$CC
11292 ac_wine_try_cflags_saved_exeext=$ac_exeext
11293 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11294 CC="$CROSSCC"
11295 ac_exeext=".exe"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11298 int __cdecl mainCRTStartup(void) { return 0; }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"
11301 then :
11302 eval "$as_ac_var=yes"
11303 else $as_nop
11304 eval "$as_ac_var=no"
11306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11307 conftest$ac_exeext conftest.$ac_ext
11308 CFLAGS=$ac_wine_try_cflags_saved
11309 CC=$ac_wine_try_cflags_saved_cc
11310 ac_exeext=$ac_wine_try_cflags_saved_exeext
11312 eval ac_res=\$$as_ac_var
11313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11314 printf "%s\n" "$ac_res" >&6; }
11315 if eval test \"x\$"$as_ac_var"\" = x"yes"
11316 then :
11317 CROSSTARGET=$llvm_target
11318 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11319 DELAYLOADFLAG="-Wl,-delayload,"
11321 CFLAGS="$CFLAGS $llvm_cflags"
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11325 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11326 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_cc=$CC
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11334 CC="$CROSSCC"
11335 ac_exeext=".exe"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 ac_cv_crosscflags__fno_strict_aliasing=yes
11343 else $as_nop
11344 ac_cv_crosscflags__fno_strict_aliasing=no
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 CC=$ac_wine_try_cflags_saved_cc
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11353 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11354 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11355 then :
11356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11359 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11360 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11361 then :
11362 printf %s "(cached) " >&6
11363 else $as_nop
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_cc=$CC
11366 ac_wine_try_cflags_saved_exeext=$ac_exeext
11367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11368 CC="$CROSSCC"
11369 ac_exeext=".exe"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11377 else $as_nop
11378 ac_cv_crosscflags__Werror_unknown_warning_option=no
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 CC=$ac_wine_try_cflags_saved_cc
11384 ac_exeext=$ac_wine_try_cflags_saved_exeext
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11387 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11388 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11389 then :
11390 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11393 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11394 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11395 then :
11396 printf %s "(cached) " >&6
11397 else $as_nop
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_cc=$CC
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11402 CC="$CROSSCC"
11403 ac_exeext=".exe"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11406 int __cdecl mainCRTStartup(void) { return 0; }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"
11409 then :
11410 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11411 else $as_nop
11412 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11415 conftest$ac_exeext conftest.$ac_ext
11416 CFLAGS=$ac_wine_try_cflags_saved
11417 CC=$ac_wine_try_cflags_saved_cc
11418 ac_exeext=$ac_wine_try_cflags_saved_exeext
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11421 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11422 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11423 then :
11424 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11427 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11428 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_cc=$CC
11434 ac_wine_try_cflags_saved_exeext=$ac_exeext
11435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11436 CC="$CROSSCC"
11437 ac_exeext=".exe"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440 int __cdecl mainCRTStartup(void) { return 0; }
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"
11443 then :
11444 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11445 else $as_nop
11446 ac_cv_crosscflags__Wdeclaration_after_statement=no
11448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11449 conftest$ac_exeext conftest.$ac_ext
11450 CFLAGS=$ac_wine_try_cflags_saved
11451 CC=$ac_wine_try_cflags_saved_cc
11452 ac_exeext=$ac_wine_try_cflags_saved_exeext
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11455 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11456 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11457 then :
11458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11461 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11462 if test ${ac_cv_crosscflags__Wempty_body+y}
11463 then :
11464 printf %s "(cached) " >&6
11465 else $as_nop
11466 ac_wine_try_cflags_saved=$CFLAGS
11467 ac_wine_try_cflags_saved_cc=$CC
11468 ac_wine_try_cflags_saved_exeext=$ac_exeext
11469 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11470 CC="$CROSSCC"
11471 ac_exeext=".exe"
11472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11474 int __cdecl mainCRTStartup(void) { return 0; }
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"
11477 then :
11478 ac_cv_crosscflags__Wempty_body=yes
11479 else $as_nop
11480 ac_cv_crosscflags__Wempty_body=no
11482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11483 conftest$ac_exeext conftest.$ac_ext
11484 CFLAGS=$ac_wine_try_cflags_saved
11485 CC=$ac_wine_try_cflags_saved_cc
11486 ac_exeext=$ac_wine_try_cflags_saved_exeext
11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11489 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11490 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11491 then :
11492 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11495 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11496 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11497 then :
11498 printf %s "(cached) " >&6
11499 else $as_nop
11500 ac_wine_try_cflags_saved=$CFLAGS
11501 ac_wine_try_cflags_saved_cc=$CC
11502 ac_wine_try_cflags_saved_exeext=$ac_exeext
11503 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11504 CC="$CROSSCC"
11505 ac_exeext=".exe"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11508 int __cdecl mainCRTStartup(void) { return 0; }
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"
11511 then :
11512 ac_cv_crosscflags__Wignored_qualifiers=yes
11513 else $as_nop
11514 ac_cv_crosscflags__Wignored_qualifiers=no
11516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11517 conftest$ac_exeext conftest.$ac_ext
11518 CFLAGS=$ac_wine_try_cflags_saved
11519 CC=$ac_wine_try_cflags_saved_cc
11520 ac_exeext=$ac_wine_try_cflags_saved_exeext
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11523 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11524 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11525 then :
11526 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11529 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11530 if test ${ac_cv_crosscflags__Winit_self+y}
11531 then :
11532 printf %s "(cached) " >&6
11533 else $as_nop
11534 ac_wine_try_cflags_saved=$CFLAGS
11535 ac_wine_try_cflags_saved_cc=$CC
11536 ac_wine_try_cflags_saved_exeext=$ac_exeext
11537 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11538 CC="$CROSSCC"
11539 ac_exeext=".exe"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 int __cdecl mainCRTStartup(void) { return 0; }
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"
11545 then :
11546 ac_cv_crosscflags__Winit_self=yes
11547 else $as_nop
11548 ac_cv_crosscflags__Winit_self=no
11550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11551 conftest$ac_exeext conftest.$ac_ext
11552 CFLAGS=$ac_wine_try_cflags_saved
11553 CC=$ac_wine_try_cflags_saved_cc
11554 ac_exeext=$ac_wine_try_cflags_saved_exeext
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11557 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11558 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11559 then :
11560 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11563 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11564 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11565 then :
11566 printf %s "(cached) " >&6
11567 else $as_nop
11568 ac_wine_try_cflags_saved=$CFLAGS
11569 ac_wine_try_cflags_saved_cc=$CC
11570 ac_wine_try_cflags_saved_exeext=$ac_exeext
11571 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11572 CC="$CROSSCC"
11573 ac_exeext=".exe"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11576 int __cdecl mainCRTStartup(void) { return 0; }
11577 _ACEOF
11578 if ac_fn_c_try_link "$LINENO"
11579 then :
11580 ac_cv_crosscflags__Wpacked_not_aligned=yes
11581 else $as_nop
11582 ac_cv_crosscflags__Wpacked_not_aligned=no
11584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11585 conftest$ac_exeext conftest.$ac_ext
11586 CFLAGS=$ac_wine_try_cflags_saved
11587 CC=$ac_wine_try_cflags_saved_cc
11588 ac_exeext=$ac_wine_try_cflags_saved_exeext
11590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11591 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11592 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11593 then :
11594 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11597 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11598 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11599 then :
11600 printf %s "(cached) " >&6
11601 else $as_nop
11602 ac_wine_try_cflags_saved=$CFLAGS
11603 ac_wine_try_cflags_saved_cc=$CC
11604 ac_wine_try_cflags_saved_exeext=$ac_exeext
11605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11606 CC="$CROSSCC"
11607 ac_exeext=".exe"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 int __cdecl mainCRTStartup(void) { return 0; }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"
11613 then :
11614 ac_cv_crosscflags__Wpragma_pack=yes
11615 else $as_nop
11616 ac_cv_crosscflags__Wpragma_pack=no
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 CC=$ac_wine_try_cflags_saved_cc
11622 ac_exeext=$ac_wine_try_cflags_saved_exeext
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11625 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11626 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11627 then :
11628 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11631 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11632 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11633 then :
11634 printf %s "(cached) " >&6
11635 else $as_nop
11636 ac_wine_try_cflags_saved=$CFLAGS
11637 ac_wine_try_cflags_saved_cc=$CC
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11640 CC="$CROSSCC"
11641 ac_exeext=".exe"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11644 int __cdecl mainCRTStartup(void) { return 0; }
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"
11647 then :
11648 ac_cv_crosscflags__Wshift_overflow_2=yes
11649 else $as_nop
11650 ac_cv_crosscflags__Wshift_overflow_2=no
11652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11653 conftest$ac_exeext conftest.$ac_ext
11654 CFLAGS=$ac_wine_try_cflags_saved
11655 CC=$ac_wine_try_cflags_saved_cc
11656 ac_exeext=$ac_wine_try_cflags_saved_exeext
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11659 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11660 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11661 then :
11662 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11665 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11666 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11667 then :
11668 printf %s "(cached) " >&6
11669 else $as_nop
11670 ac_wine_try_cflags_saved=$CFLAGS
11671 ac_wine_try_cflags_saved_cc=$CC
11672 ac_wine_try_cflags_saved_exeext=$ac_exeext
11673 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11674 CC="$CROSSCC"
11675 ac_exeext=".exe"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678 int __cdecl mainCRTStartup(void) { return 0; }
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"
11681 then :
11682 ac_cv_crosscflags__Wstrict_prototypes=yes
11683 else $as_nop
11684 ac_cv_crosscflags__Wstrict_prototypes=no
11686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11687 conftest$ac_exeext conftest.$ac_ext
11688 CFLAGS=$ac_wine_try_cflags_saved
11689 CC=$ac_wine_try_cflags_saved_cc
11690 ac_exeext=$ac_wine_try_cflags_saved_exeext
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11693 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11694 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11695 then :
11696 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11699 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11700 if test ${ac_cv_crosscflags__Wtype_limits+y}
11701 then :
11702 printf %s "(cached) " >&6
11703 else $as_nop
11704 ac_wine_try_cflags_saved=$CFLAGS
11705 ac_wine_try_cflags_saved_cc=$CC
11706 ac_wine_try_cflags_saved_exeext=$ac_exeext
11707 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11708 CC="$CROSSCC"
11709 ac_exeext=".exe"
11710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11712 int __cdecl mainCRTStartup(void) { return 0; }
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"
11715 then :
11716 ac_cv_crosscflags__Wtype_limits=yes
11717 else $as_nop
11718 ac_cv_crosscflags__Wtype_limits=no
11720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11721 conftest$ac_exeext conftest.$ac_ext
11722 CFLAGS=$ac_wine_try_cflags_saved
11723 CC=$ac_wine_try_cflags_saved_cc
11724 ac_exeext=$ac_wine_try_cflags_saved_exeext
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11727 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11728 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11729 then :
11730 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11733 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11734 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11735 then :
11736 printf %s "(cached) " >&6
11737 else $as_nop
11738 ac_wine_try_cflags_saved=$CFLAGS
11739 ac_wine_try_cflags_saved_cc=$CC
11740 ac_wine_try_cflags_saved_exeext=$ac_exeext
11741 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11742 CC="$CROSSCC"
11743 ac_exeext=".exe"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11746 int __cdecl mainCRTStartup(void) { return 0; }
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"
11749 then :
11750 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11751 else $as_nop
11752 ac_cv_crosscflags__Wunused_but_set_parameter=no
11754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11755 conftest$ac_exeext conftest.$ac_ext
11756 CFLAGS=$ac_wine_try_cflags_saved
11757 CC=$ac_wine_try_cflags_saved_cc
11758 ac_exeext=$ac_wine_try_cflags_saved_exeext
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11761 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11762 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11763 then :
11764 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11767 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11768 if test ${ac_cv_crosscflags__Wvla+y}
11769 then :
11770 printf %s "(cached) " >&6
11771 else $as_nop
11772 ac_wine_try_cflags_saved=$CFLAGS
11773 ac_wine_try_cflags_saved_cc=$CC
11774 ac_wine_try_cflags_saved_exeext=$ac_exeext
11775 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11776 CC="$CROSSCC"
11777 ac_exeext=".exe"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11780 int __cdecl mainCRTStartup(void) { return 0; }
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"
11783 then :
11784 ac_cv_crosscflags__Wvla=yes
11785 else $as_nop
11786 ac_cv_crosscflags__Wvla=no
11788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11789 conftest$ac_exeext conftest.$ac_ext
11790 CFLAGS=$ac_wine_try_cflags_saved
11791 CC=$ac_wine_try_cflags_saved_cc
11792 ac_exeext=$ac_wine_try_cflags_saved_exeext
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11795 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11796 if test "x$ac_cv_crosscflags__Wvla" = xyes
11797 then :
11798 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11801 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11802 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11803 then :
11804 printf %s "(cached) " >&6
11805 else $as_nop
11806 ac_wine_try_cflags_saved=$CFLAGS
11807 ac_wine_try_cflags_saved_cc=$CC
11808 ac_wine_try_cflags_saved_exeext=$ac_exeext
11809 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11810 CC="$CROSSCC"
11811 ac_exeext=".exe"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11814 int __cdecl mainCRTStartup(void) { return 0; }
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"
11817 then :
11818 ac_cv_crosscflags__Wwrite_strings=yes
11819 else $as_nop
11820 ac_cv_crosscflags__Wwrite_strings=no
11822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11823 conftest$ac_exeext conftest.$ac_ext
11824 CFLAGS=$ac_wine_try_cflags_saved
11825 CC=$ac_wine_try_cflags_saved_cc
11826 ac_exeext=$ac_wine_try_cflags_saved_exeext
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11829 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11830 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11831 then :
11832 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11835 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11836 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11837 then :
11838 printf %s "(cached) " >&6
11839 else $as_nop
11840 ac_wine_try_cflags_saved=$CFLAGS
11841 ac_wine_try_cflags_saved_cc=$CC
11842 ac_wine_try_cflags_saved_exeext=$ac_exeext
11843 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11844 CC="$CROSSCC"
11845 ac_exeext=".exe"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11848 int __cdecl mainCRTStartup(void) { return 0; }
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"
11851 then :
11852 ac_cv_crosscflags__Wpointer_arith=yes
11853 else $as_nop
11854 ac_cv_crosscflags__Wpointer_arith=no
11856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11857 conftest$ac_exeext conftest.$ac_ext
11858 CFLAGS=$ac_wine_try_cflags_saved
11859 CC=$ac_wine_try_cflags_saved_cc
11860 ac_exeext=$ac_wine_try_cflags_saved_exeext
11862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11863 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11864 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11865 then :
11866 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11869 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11870 if test ${ac_cv_crosscflags__Wlogical_op+y}
11871 then :
11872 printf %s "(cached) " >&6
11873 else $as_nop
11874 ac_wine_try_cflags_saved=$CFLAGS
11875 ac_wine_try_cflags_saved_cc=$CC
11876 ac_wine_try_cflags_saved_exeext=$ac_exeext
11877 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11878 CC="$CROSSCC"
11879 ac_exeext=".exe"
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11882 int __cdecl mainCRTStartup(void) { return 0; }
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"
11885 then :
11886 ac_cv_crosscflags__Wlogical_op=yes
11887 else $as_nop
11888 ac_cv_crosscflags__Wlogical_op=no
11890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11891 conftest$ac_exeext conftest.$ac_ext
11892 CFLAGS=$ac_wine_try_cflags_saved
11893 CC=$ac_wine_try_cflags_saved_cc
11894 ac_exeext=$ac_wine_try_cflags_saved_exeext
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11897 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11898 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11899 then :
11900 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11903 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11904 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11905 then :
11906 printf %s "(cached) " >&6
11907 else $as_nop
11908 ac_wine_try_cflags_saved=$CFLAGS
11909 ac_wine_try_cflags_saved_cc=$CC
11910 ac_wine_try_cflags_saved_exeext=$ac_exeext
11911 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11912 CC="$CROSSCC"
11913 ac_exeext=".exe"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11916 int __cdecl mainCRTStartup(void) { return 0; }
11917 _ACEOF
11918 if ac_fn_c_try_link "$LINENO"
11919 then :
11920 ac_cv_crosscflags__Wabsolute_value=yes
11921 else $as_nop
11922 ac_cv_crosscflags__Wabsolute_value=no
11924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11925 conftest$ac_exeext conftest.$ac_ext
11926 CFLAGS=$ac_wine_try_cflags_saved
11927 CC=$ac_wine_try_cflags_saved_cc
11928 ac_exeext=$ac_wine_try_cflags_saved_exeext
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11931 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11932 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11933 then :
11934 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11937 case $host_cpu in
11938 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11939 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11940 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11941 then :
11942 printf %s "(cached) " >&6
11943 else $as_nop
11944 ac_wine_try_cflags_saved=$CFLAGS
11945 ac_wine_try_cflags_saved_cc=$CC
11946 ac_wine_try_cflags_saved_exeext=$ac_exeext
11947 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11948 CC="$CROSSCC"
11949 ac_exeext=".exe"
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 int __cdecl mainCRTStartup(void) { return 0; }
11953 _ACEOF
11954 if ac_fn_c_try_link "$LINENO"
11955 then :
11956 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11957 else $as_nop
11958 ac_cv_crosscflags__fno_omit_frame_pointer=no
11960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11961 conftest$ac_exeext conftest.$ac_ext
11962 CFLAGS=$ac_wine_try_cflags_saved
11963 CC=$ac_wine_try_cflags_saved_cc
11964 ac_exeext=$ac_wine_try_cflags_saved_exeext
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11967 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11968 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11969 then :
11970 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11971 fi ;;
11972 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11973 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11974 if test ${ac_cv_crosscflags__Wno_format+y}
11975 then :
11976 printf %s "(cached) " >&6
11977 else $as_nop
11978 ac_wine_try_cflags_saved=$CFLAGS
11979 ac_wine_try_cflags_saved_cc=$CC
11980 ac_wine_try_cflags_saved_exeext=$ac_exeext
11981 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11982 CC="$CROSSCC"
11983 ac_exeext=".exe"
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 int __cdecl mainCRTStartup(void) { return 0; }
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"
11989 then :
11990 ac_cv_crosscflags__Wno_format=yes
11991 else $as_nop
11992 ac_cv_crosscflags__Wno_format=no
11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11995 conftest$ac_exeext conftest.$ac_ext
11996 CFLAGS=$ac_wine_try_cflags_saved
11997 CC=$ac_wine_try_cflags_saved_cc
11998 ac_exeext=$ac_wine_try_cflags_saved_exeext
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12001 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12002 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12003 then :
12004 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
12007 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
12008 if test ${ac_cv_crosscflags__Wformat_overflow+y}
12009 then :
12010 printf %s "(cached) " >&6
12011 else $as_nop
12012 ac_wine_try_cflags_saved=$CFLAGS
12013 ac_wine_try_cflags_saved_cc=$CC
12014 ac_wine_try_cflags_saved_exeext=$ac_exeext
12015 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
12016 CC="$CROSSCC"
12017 ac_exeext=".exe"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 int __cdecl mainCRTStartup(void) { return 0; }
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"
12023 then :
12024 ac_cv_crosscflags__Wformat_overflow=yes
12025 else $as_nop
12026 ac_cv_crosscflags__Wformat_overflow=no
12028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12029 conftest$ac_exeext conftest.$ac_ext
12030 CFLAGS=$ac_wine_try_cflags_saved
12031 CC=$ac_wine_try_cflags_saved_cc
12032 ac_exeext=$ac_wine_try_cflags_saved_exeext
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
12035 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
12036 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
12037 then :
12038 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
12040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
12041 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
12042 if test ${ac_cv_crosscflags__Wnonnull+y}
12043 then :
12044 printf %s "(cached) " >&6
12045 else $as_nop
12046 ac_wine_try_cflags_saved=$CFLAGS
12047 ac_wine_try_cflags_saved_cc=$CC
12048 ac_wine_try_cflags_saved_exeext=$ac_exeext
12049 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
12050 CC="$CROSSCC"
12051 ac_exeext=".exe"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 int __cdecl mainCRTStartup(void) { return 0; }
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"
12057 then :
12058 ac_cv_crosscflags__Wnonnull=yes
12059 else $as_nop
12060 ac_cv_crosscflags__Wnonnull=no
12062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12063 conftest$ac_exeext conftest.$ac_ext
12064 CFLAGS=$ac_wine_try_cflags_saved
12065 CC=$ac_wine_try_cflags_saved_cc
12066 ac_exeext=$ac_wine_try_cflags_saved_exeext
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
12069 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
12070 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
12071 then :
12072 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
12074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
12075 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
12076 if test ${ac_cv_crosscflags__mcx16+y}
12077 then :
12078 printf %s "(cached) " >&6
12079 else $as_nop
12080 ac_wine_try_cflags_saved=$CFLAGS
12081 ac_wine_try_cflags_saved_cc=$CC
12082 ac_wine_try_cflags_saved_exeext=$ac_exeext
12083 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
12084 CC="$CROSSCC"
12085 ac_exeext=".exe"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12088 int __cdecl mainCRTStartup(void) { return 0; }
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"
12091 then :
12092 ac_cv_crosscflags__mcx16=yes
12093 else $as_nop
12094 ac_cv_crosscflags__mcx16=no
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12097 conftest$ac_exeext conftest.$ac_ext
12098 CFLAGS=$ac_wine_try_cflags_saved
12099 CC=$ac_wine_try_cflags_saved_cc
12100 ac_exeext=$ac_wine_try_cflags_saved_exeext
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
12103 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
12104 if test "x$ac_cv_crosscflags__mcx16" = xyes
12105 then :
12106 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
12107 fi ;;
12108 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
12109 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
12110 if test ${ac_cv_crosscflags__Wno_format+y}
12111 then :
12112 printf %s "(cached) " >&6
12113 else $as_nop
12114 ac_wine_try_cflags_saved=$CFLAGS
12115 ac_wine_try_cflags_saved_cc=$CC
12116 ac_wine_try_cflags_saved_exeext=$ac_exeext
12117 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
12118 CC="$CROSSCC"
12119 ac_exeext=".exe"
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12122 int __cdecl mainCRTStartup(void) { return 0; }
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"
12125 then :
12126 ac_cv_crosscflags__Wno_format=yes
12127 else $as_nop
12128 ac_cv_crosscflags__Wno_format=no
12130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12131 conftest$ac_exeext conftest.$ac_ext
12132 CFLAGS=$ac_wine_try_cflags_saved
12133 CC=$ac_wine_try_cflags_saved_cc
12134 ac_exeext=$ac_wine_try_cflags_saved_exeext
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12137 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12138 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12139 then :
12140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12141 fi ;;
12142 esac
12145 if test -z "$CROSSDEBUG"
12146 then
12147 for ac_flag in $CROSSCFLAGS; do
12148 case $ac_flag in
12149 -gdwarf*) CROSSDEBUG=dwarf ;;
12150 -gcodeview) CROSSDEBUG=pdb ;;
12151 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
12152 esac
12153 done
12156 ac_debug_format_seen=""
12157 for ac_flag in $CROSSCFLAGS; do
12158 case $ac_flag in
12159 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
12160 esac
12161 done
12162 if test "x$ac_debug_format_seen" = x
12163 then
12164 case $CROSSDEBUG in
12165 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
12166 printf %s "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
12167 if test ${ac_cv_crosscflags__gdwarf_2+y}
12168 then :
12169 printf %s "(cached) " >&6
12170 else $as_nop
12171 ac_wine_try_cflags_saved=$CFLAGS
12172 ac_wine_try_cflags_saved_cc=$CC
12173 ac_wine_try_cflags_saved_exeext=$ac_exeext
12174 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
12175 CC="$CROSSCC"
12176 ac_exeext=".exe"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12179 int __cdecl mainCRTStartup(void) { return 0; }
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"
12182 then :
12183 ac_cv_crosscflags__gdwarf_2=yes
12184 else $as_nop
12185 ac_cv_crosscflags__gdwarf_2=no
12187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12188 conftest$ac_exeext conftest.$ac_ext
12189 CFLAGS=$ac_wine_try_cflags_saved
12190 CC=$ac_wine_try_cflags_saved_cc
12191 ac_exeext=$ac_wine_try_cflags_saved_exeext
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
12194 printf "%s\n" "$ac_cv_crosscflags__gdwarf_2" >&6; }
12195 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes
12196 then :
12197 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
12199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
12200 printf %s "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
12201 if test ${ac_cv_crosscflags__gstrict_dwarf+y}
12202 then :
12203 printf %s "(cached) " >&6
12204 else $as_nop
12205 ac_wine_try_cflags_saved=$CFLAGS
12206 ac_wine_try_cflags_saved_cc=$CC
12207 ac_wine_try_cflags_saved_exeext=$ac_exeext
12208 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
12209 CC="$CROSSCC"
12210 ac_exeext=".exe"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 int __cdecl mainCRTStartup(void) { return 0; }
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"
12216 then :
12217 ac_cv_crosscflags__gstrict_dwarf=yes
12218 else $as_nop
12219 ac_cv_crosscflags__gstrict_dwarf=no
12221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12222 conftest$ac_exeext conftest.$ac_ext
12223 CFLAGS=$ac_wine_try_cflags_saved
12224 CC=$ac_wine_try_cflags_saved_cc
12225 ac_exeext=$ac_wine_try_cflags_saved_exeext
12227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
12228 printf "%s\n" "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
12229 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes
12230 then :
12231 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
12232 fi ;;
12233 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
12234 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
12235 if test ${ac_cv_crosscflags__gcodeview+y}
12236 then :
12237 printf %s "(cached) " >&6
12238 else $as_nop
12239 ac_wine_try_cflags_saved=$CFLAGS
12240 ac_wine_try_cflags_saved_cc=$CC
12241 ac_wine_try_cflags_saved_exeext=$ac_exeext
12242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
12243 CC="$CROSSCC"
12244 ac_exeext=".exe"
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247 int __cdecl mainCRTStartup(void) { return 0; }
12248 _ACEOF
12249 if ac_fn_c_try_link "$LINENO"
12250 then :
12251 ac_cv_crosscflags__gcodeview=yes
12252 else $as_nop
12253 ac_cv_crosscflags__gcodeview=no
12255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12256 conftest$ac_exeext conftest.$ac_ext
12257 CFLAGS=$ac_wine_try_cflags_saved
12258 CC=$ac_wine_try_cflags_saved_cc
12259 ac_exeext=$ac_wine_try_cflags_saved_exeext
12261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
12262 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
12263 if test "x$ac_cv_crosscflags__gcodeview" = xyes
12264 then :
12265 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
12266 fi ;;
12267 esac
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
12271 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
12272 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
12273 then :
12274 printf %s "(cached) " >&6
12275 else $as_nop
12276 ac_wine_try_cflags_saved=$CFLAGS
12277 ac_wine_try_cflags_saved_cc=$CC
12278 ac_wine_try_cflags_saved_exeext=$ac_exeext
12279 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
12280 CC="$CROSSCC"
12281 ac_exeext=".exe"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 int __cdecl mainCRTStartup(void) { return 0; }
12285 _ACEOF
12286 if ac_fn_c_try_link "$LINENO"
12287 then :
12288 ac_cv_crosscflags__fexcess_precision_standard=yes
12289 else $as_nop
12290 ac_cv_crosscflags__fexcess_precision_standard=no
12292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12293 conftest$ac_exeext conftest.$ac_ext
12294 CFLAGS=$ac_wine_try_cflags_saved
12295 CC=$ac_wine_try_cflags_saved_cc
12296 ac_exeext=$ac_wine_try_cflags_saved_exeext
12298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
12299 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
12300 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
12301 then :
12302 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
12306 if test "x$enable_werror" = "xyes"
12307 then
12308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
12309 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12310 if test ${ac_cv_crosscflags__Werror+y}
12311 then :
12312 printf %s "(cached) " >&6
12313 else $as_nop
12314 ac_wine_try_cflags_saved=$CFLAGS
12315 ac_wine_try_cflags_saved_cc=$CC
12316 ac_wine_try_cflags_saved_exeext=$ac_exeext
12317 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12318 CC="$CROSSCC"
12319 ac_exeext=".exe"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12322 int __cdecl mainCRTStartup(void) { return 0; }
12323 _ACEOF
12324 if ac_fn_c_try_link "$LINENO"
12325 then :
12326 ac_cv_crosscflags__Werror=yes
12327 else $as_nop
12328 ac_cv_crosscflags__Werror=no
12330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12331 conftest$ac_exeext conftest.$ac_ext
12332 CFLAGS=$ac_wine_try_cflags_saved
12333 CC=$ac_wine_try_cflags_saved_cc
12334 ac_exeext=$ac_wine_try_cflags_saved_exeext
12336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12337 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12338 if test "x$ac_cv_crosscflags__Werror" = xyes
12339 then :
12340 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12343 if test "x$enable_build_id" = "xyes"
12344 then
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12346 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12347 if test ${ac_cv_crosscflags__Wl___build_id+y}
12348 then :
12349 printf %s "(cached) " >&6
12350 else $as_nop
12351 ac_wine_try_cflags_saved=$CFLAGS
12352 ac_wine_try_cflags_saved_cc=$CC
12353 ac_wine_try_cflags_saved_exeext=$ac_exeext
12354 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12355 CC="$CROSSCC"
12356 ac_exeext=".exe"
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12359 int __cdecl mainCRTStartup(void) { return 0; }
12360 _ACEOF
12361 if ac_fn_c_try_link "$LINENO"
12362 then :
12363 ac_cv_crosscflags__Wl___build_id=yes
12364 else $as_nop
12365 ac_cv_crosscflags__Wl___build_id=no
12367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12368 conftest$ac_exeext conftest.$ac_ext
12369 CFLAGS=$ac_wine_try_cflags_saved
12370 CC=$ac_wine_try_cflags_saved_cc
12371 ac_exeext=$ac_wine_try_cflags_saved_exeext
12373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12374 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12375 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12376 then :
12377 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12378 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12382 CFLAGS=$saved_CFLAGS
12383 LDFLAGS=$saved_LDFLAGS
12384 CC="$ac_save_CC"
12387 if test "x$CROSSTARGET" = "x"
12388 then :
12389 case "x$with_mingw" in
12390 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12391 xno) ;;
12392 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12393 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12394 esac
12399 if ${FAUDIO_PE_CFLAGS:+false} :
12400 then :
12401 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
12402 else $as_nop
12403 enable_faudio=no
12405 if ${FAUDIO_PE_LIBS:+false} :
12406 then :
12407 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
12408 else $as_nop
12409 enable_faudio=no
12411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
12412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
12414 if ${GSM_PE_CFLAGS:+false} :
12415 then :
12416 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
12417 else $as_nop
12418 enable_gsm=no
12420 if ${GSM_PE_LIBS:+false} :
12421 then :
12422 GSM_PE_LIBS=gsm
12423 else $as_nop
12424 enable_gsm=no
12426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
12427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
12429 if ${JPEG_PE_CFLAGS:+false} :
12430 then :
12431 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
12432 else $as_nop
12433 enable_jpeg=no
12435 if ${JPEG_PE_LIBS:+false} :
12436 then :
12437 JPEG_PE_LIBS=jpeg
12438 else $as_nop
12439 enable_jpeg=no
12441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
12442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
12444 if ${JXR_PE_CFLAGS:+false} :
12445 then :
12446 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
12447 else $as_nop
12448 enable_jxr=no
12450 if ${JXR_PE_LIBS:+false} :
12451 then :
12452 JXR_PE_LIBS=jxr
12453 else $as_nop
12454 enable_jxr=no
12456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
12457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
12459 if ${LCMS2_PE_CFLAGS:+false} :
12460 then :
12461 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
12462 else $as_nop
12463 enable_lcms2=no
12465 if ${LCMS2_PE_LIBS:+false} :
12466 then :
12467 LCMS2_PE_LIBS=lcms2
12468 else $as_nop
12469 enable_lcms2=no
12471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
12472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
12474 if ${MPG123_PE_CFLAGS:+false} :
12475 then :
12476 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
12477 else $as_nop
12478 enable_mpg123=no
12480 if ${MPG123_PE_LIBS:+false} :
12481 then :
12482 MPG123_PE_LIBS=mpg123
12483 else $as_nop
12484 enable_mpg123=no
12486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
12487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
12489 if ${PNG_PE_CFLAGS:+false} :
12490 then :
12491 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
12492 else $as_nop
12493 enable_png=no
12495 if ${PNG_PE_LIBS:+false} :
12496 then :
12497 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
12498 else $as_nop
12499 enable_png=no
12501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
12502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
12504 if ${TIFF_PE_CFLAGS:+false} :
12505 then :
12506 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
12507 else $as_nop
12508 enable_tiff=no
12510 if ${TIFF_PE_LIBS:+false} :
12511 then :
12512 TIFF_PE_LIBS=tiff
12513 else $as_nop
12514 enable_tiff=no
12516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
12517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
12519 if ${XML2_PE_CFLAGS:+false} :
12520 then :
12521 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
12522 else $as_nop
12523 enable_libxml2=no
12525 if ${XML2_PE_LIBS:+false} :
12526 then :
12527 XML2_PE_LIBS=xml2
12528 else $as_nop
12529 enable_libxml2=no
12531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
12532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
12534 if ${XSLT_PE_CFLAGS:+false} :
12535 then :
12536 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
12537 else $as_nop
12538 enable_libxslt=no
12540 if ${XSLT_PE_LIBS:+false} :
12541 then :
12542 XSLT_PE_LIBS=xslt
12543 else $as_nop
12544 enable_libxslt=no
12546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
12547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
12549 if ${ZLIB_PE_CFLAGS:+false} :
12550 then :
12551 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
12552 else $as_nop
12553 enable_zlib=no
12555 if ${ZLIB_PE_LIBS:+false} :
12556 then :
12557 ZLIB_PE_LIBS=z
12558 else $as_nop
12559 enable_zlib=no
12561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
12562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
12566 if test "$ac_cv_header_pthread_h" = "yes"
12567 then
12568 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
12569 if test "x$ac_cv_func_pthread_create" = xyes
12570 then :
12572 else $as_nop
12573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
12574 printf %s "checking for pthread_create in -lpthread... " >&6; }
12575 if test ${ac_cv_lib_pthread_pthread_create+y}
12576 then :
12577 printf %s "(cached) " >&6
12578 else $as_nop
12579 ac_check_lib_save_LIBS=$LIBS
12580 LIBS="-lpthread $LIBS"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 char pthread_create ();
12589 main (void)
12591 return pthread_create ();
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_link "$LINENO"
12597 then :
12598 ac_cv_lib_pthread_pthread_create=yes
12599 else $as_nop
12600 ac_cv_lib_pthread_pthread_create=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_lib_save_LIBS
12606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
12607 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
12608 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
12609 then :
12610 PTHREAD_LIBS="-lpthread"
12617 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
12618 then :
12619 case "x$with_pthread" in
12620 xno) ;;
12621 *) as_fn_error $? "pthread ${notice_platform}development files not found.
12622 Wine cannot support threads without libpthread.
12623 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
12624 esac
12629 ac_ext=c
12630 ac_cpp='$CPP $CPPFLAGS'
12631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12635 printf %s "checking how to run the C preprocessor... " >&6; }
12636 # On Suns, sometimes $CPP names a directory.
12637 if test -n "$CPP" && test -d "$CPP"; then
12638 CPP=
12640 if test -z "$CPP"; then
12641 if test ${ac_cv_prog_CPP+y}
12642 then :
12643 printf %s "(cached) " >&6
12644 else $as_nop
12645 # Double quotes because $CC needs to be expanded
12646 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
12648 ac_preproc_ok=false
12649 for ac_c_preproc_warn_flag in '' yes
12651 # Use a header file that comes with gcc, so configuring glibc
12652 # with a fresh cross-compiler works.
12653 # On the NeXT, cc -E runs the code through the compiler's parser,
12654 # not just through cpp. "Syntax error" is here to catch this case.
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12657 #include <limits.h>
12658 Syntax error
12659 _ACEOF
12660 if ac_fn_c_try_cpp "$LINENO"
12661 then :
12663 else $as_nop
12664 # Broken: fails on valid input.
12665 continue
12667 rm -f conftest.err conftest.i conftest.$ac_ext
12669 # OK, works on sane cases. Now check whether nonexistent headers
12670 # can be detected and how.
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12673 #include <ac_nonexistent.h>
12674 _ACEOF
12675 if ac_fn_c_try_cpp "$LINENO"
12676 then :
12677 # Broken: success on invalid input.
12678 continue
12679 else $as_nop
12680 # Passes both tests.
12681 ac_preproc_ok=:
12682 break
12684 rm -f conftest.err conftest.i conftest.$ac_ext
12686 done
12687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12688 rm -f conftest.i conftest.err conftest.$ac_ext
12689 if $ac_preproc_ok
12690 then :
12691 break
12694 done
12695 ac_cv_prog_CPP=$CPP
12698 CPP=$ac_cv_prog_CPP
12699 else
12700 ac_cv_prog_CPP=$CPP
12702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12703 printf "%s\n" "$CPP" >&6; }
12704 ac_preproc_ok=false
12705 for ac_c_preproc_warn_flag in '' yes
12707 # Use a header file that comes with gcc, so configuring glibc
12708 # with a fresh cross-compiler works.
12709 # On the NeXT, cc -E runs the code through the compiler's parser,
12710 # not just through cpp. "Syntax error" is here to catch this case.
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12713 #include <limits.h>
12714 Syntax error
12715 _ACEOF
12716 if ac_fn_c_try_cpp "$LINENO"
12717 then :
12719 else $as_nop
12720 # Broken: fails on valid input.
12721 continue
12723 rm -f conftest.err conftest.i conftest.$ac_ext
12725 # OK, works on sane cases. Now check whether nonexistent headers
12726 # can be detected and how.
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12729 #include <ac_nonexistent.h>
12730 _ACEOF
12731 if ac_fn_c_try_cpp "$LINENO"
12732 then :
12733 # Broken: success on invalid input.
12734 continue
12735 else $as_nop
12736 # Passes both tests.
12737 ac_preproc_ok=:
12738 break
12740 rm -f conftest.err conftest.i conftest.$ac_ext
12742 done
12743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12744 rm -f conftest.i conftest.err conftest.$ac_ext
12745 if $ac_preproc_ok
12746 then :
12748 else $as_nop
12749 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12750 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
12751 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12752 See \`config.log' for more details" "$LINENO" 5; }
12755 ac_ext=c
12756 ac_cpp='$CPP $CPPFLAGS'
12757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12763 printf %s "checking for X... " >&6; }
12766 # Check whether --with-x was given.
12767 if test ${with_x+y}
12768 then :
12769 withval=$with_x;
12772 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12773 if test "x$with_x" = xno; then
12774 # The user explicitly disabled X.
12775 have_x=disabled
12776 else
12777 case $x_includes,$x_libraries in #(
12778 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12779 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
12780 then :
12781 printf %s "(cached) " >&6
12782 else $as_nop
12783 # One or both of the vars are not set, and there is no cached value.
12784 ac_x_includes=no
12785 ac_x_libraries=no
12786 # Do we need to do anything special at all?
12787 ac_save_LIBS=$LIBS
12788 LIBS="-lX11 $LIBS"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12791 #include <X11/Xlib.h>
12793 main (void)
12795 XrmInitialize ()
12797 return 0;
12799 _ACEOF
12800 if ac_fn_c_try_link "$LINENO"
12801 then :
12802 # We can compile and link X programs with no special options.
12803 ac_x_includes=
12804 ac_x_libraries=
12806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12807 conftest$ac_exeext conftest.$ac_ext
12808 LIBS="$ac_save_LIBS"
12809 # If that didn't work, only try xmkmf and file system searches
12810 # for native compilation.
12811 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
12812 then :
12813 rm -f -r conftest.dir
12814 if mkdir conftest.dir; then
12815 cd conftest.dir
12816 cat >Imakefile <<'_ACEOF'
12817 incroot:
12818 @echo incroot='${INCROOT}'
12819 usrlibdir:
12820 @echo usrlibdir='${USRLIBDIR}'
12821 libdir:
12822 @echo libdir='${LIBDIR}'
12823 _ACEOF
12824 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12825 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12826 for ac_var in incroot usrlibdir libdir; do
12827 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12828 done
12829 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12830 for ac_extension in a so sl dylib la dll; do
12831 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12832 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12833 ac_im_usrlibdir=$ac_im_libdir; break
12835 done
12836 # Screen out bogus values from the imake configuration. They are
12837 # bogus both because they are the default anyway, and because
12838 # using them would break gcc on systems where it needs fixed includes.
12839 case $ac_im_incroot in
12840 /usr/include) ac_x_includes= ;;
12841 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12842 esac
12843 case $ac_im_usrlibdir in
12844 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12845 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12846 esac
12848 cd ..
12849 rm -f -r conftest.dir
12852 # Standard set of common directories for X headers.
12853 # Check X11 before X11Rn because it is often a symlink to the current release.
12854 ac_x_header_dirs='
12855 /usr/X11/include
12856 /usr/X11R7/include
12857 /usr/X11R6/include
12858 /usr/X11R5/include
12859 /usr/X11R4/include
12861 /usr/include/X11
12862 /usr/include/X11R7
12863 /usr/include/X11R6
12864 /usr/include/X11R5
12865 /usr/include/X11R4
12867 /usr/local/X11/include
12868 /usr/local/X11R7/include
12869 /usr/local/X11R6/include
12870 /usr/local/X11R5/include
12871 /usr/local/X11R4/include
12873 /usr/local/include/X11
12874 /usr/local/include/X11R7
12875 /usr/local/include/X11R6
12876 /usr/local/include/X11R5
12877 /usr/local/include/X11R4
12879 /opt/X11/include
12881 /usr/X386/include
12882 /usr/x386/include
12883 /usr/XFree86/include/X11
12885 /usr/include
12886 /usr/local/include
12887 /usr/unsupported/include
12888 /usr/athena/include
12889 /usr/local/x11r5/include
12890 /usr/lpp/Xamples/include
12892 /usr/openwin/include
12893 /usr/openwin/share/include'
12895 if test "$ac_x_includes" = no; then
12896 # Guess where to find include files, by looking for Xlib.h.
12897 # First, try using that file with no special directory specified.
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12900 #include <X11/Xlib.h>
12901 _ACEOF
12902 if ac_fn_c_try_cpp "$LINENO"
12903 then :
12904 # We can compile using X headers with no special include directory.
12905 ac_x_includes=
12906 else $as_nop
12907 for ac_dir in $ac_x_header_dirs; do
12908 if test -r "$ac_dir/X11/Xlib.h"; then
12909 ac_x_includes=$ac_dir
12910 break
12912 done
12914 rm -f conftest.err conftest.i conftest.$ac_ext
12915 fi # $ac_x_includes = no
12917 if test "$ac_x_libraries" = no; then
12918 # Check for the libraries.
12919 # See if we find them without any special options.
12920 # Don't add to $LIBS permanently.
12921 ac_save_LIBS=$LIBS
12922 LIBS="-lX11 $LIBS"
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12925 #include <X11/Xlib.h>
12927 main (void)
12929 XrmInitialize ()
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"
12935 then :
12936 LIBS=$ac_save_LIBS
12937 # We can link X programs with no special library path.
12938 ac_x_libraries=
12939 else $as_nop
12940 LIBS=$ac_save_LIBS
12941 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12943 # Don't even attempt the hair of trying to link an X program!
12944 for ac_extension in a so sl dylib la dll; do
12945 if test -r "$ac_dir/libX11.$ac_extension"; then
12946 ac_x_libraries=$ac_dir
12947 break 2
12949 done
12950 done
12952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12953 conftest$ac_exeext conftest.$ac_ext
12954 fi # $ac_x_libraries = no
12957 # Record the results.
12958 case $ac_x_includes,$ac_x_libraries in #(
12959 no,* | *,no | *\'*) :
12960 # Didn't find X, or a directory has "'" in its name.
12961 ac_cv_have_x="have_x=no" ;; #(
12962 *) :
12963 # Record where we found X for the cache.
12964 ac_cv_have_x="have_x=yes\
12965 ac_x_includes='$ac_x_includes'\
12966 ac_x_libraries='$ac_x_libraries'" ;;
12967 esac
12969 ;; #(
12970 *) have_x=yes;;
12971 esac
12972 eval "$ac_cv_have_x"
12973 fi # $with_x != no
12975 if test "$have_x" != yes; then
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12977 printf "%s\n" "$have_x" >&6; }
12978 no_x=yes
12979 else
12980 # If each of the values was on the command line, it overrides each guess.
12981 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12982 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12983 # Update the cache value to reflect the command line values.
12984 ac_cv_have_x="have_x=yes\
12985 ac_x_includes='$x_includes'\
12986 ac_x_libraries='$x_libraries'"
12987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12988 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
12991 if test "$no_x" = yes; then
12992 # Not all programs may use this symbol, but it does not hurt to define it.
12994 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
12996 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12997 else
12998 if test -n "$x_includes"; then
12999 X_CFLAGS="$X_CFLAGS -I$x_includes"
13002 # It would also be nice to do this for all -L options, not just this one.
13003 if test -n "$x_libraries"; then
13004 X_LIBS="$X_LIBS -L$x_libraries"
13005 # For Solaris; some versions of Sun CC require a space after -R and
13006 # others require no space. Words are not sufficient . . . .
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13008 printf %s "checking whether -R must be followed by a space... " >&6; }
13009 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13010 ac_xsave_c_werror_flag=$ac_c_werror_flag
13011 ac_c_werror_flag=yes
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13016 main (void)
13020 return 0;
13022 _ACEOF
13023 if ac_fn_c_try_link "$LINENO"
13024 then :
13025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026 printf "%s\n" "no" >&6; }
13027 X_LIBS="$X_LIBS -R$x_libraries"
13028 else $as_nop
13029 LIBS="$ac_xsave_LIBS -R $x_libraries"
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13034 main (void)
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"
13042 then :
13043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13044 printf "%s\n" "yes" >&6; }
13045 X_LIBS="$X_LIBS -R $x_libraries"
13046 else $as_nop
13047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13048 printf "%s\n" "neither works" >&6; }
13050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13051 conftest$ac_exeext conftest.$ac_ext
13053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13054 conftest$ac_exeext conftest.$ac_ext
13055 ac_c_werror_flag=$ac_xsave_c_werror_flag
13056 LIBS=$ac_xsave_LIBS
13059 # Check for system-dependent libraries X programs must link with.
13060 # Do this before checking for the system-independent R6 libraries
13061 # (-lICE), since we may need -lsocket or whatever for X linking.
13063 if test "$ISC" = yes; then
13064 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13065 else
13066 # Martyn Johnson says this is needed for Ultrix, if the X
13067 # libraries were built with DECnet support. And Karl Berry says
13068 # the Alpha needs dnet_stub (dnet does not exist).
13069 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 char XOpenDisplay ();
13078 main (void)
13080 return XOpenDisplay ();
13082 return 0;
13084 _ACEOF
13085 if ac_fn_c_try_link "$LINENO"
13086 then :
13088 else $as_nop
13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13090 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13091 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13092 then :
13093 printf %s "(cached) " >&6
13094 else $as_nop
13095 ac_check_lib_save_LIBS=$LIBS
13096 LIBS="-ldnet $LIBS"
13097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13100 /* Override any GCC internal prototype to avoid an error.
13101 Use char because int might match the return type of a GCC
13102 builtin and then its argument prototype would still apply. */
13103 char dnet_ntoa ();
13105 main (void)
13107 return dnet_ntoa ();
13109 return 0;
13111 _ACEOF
13112 if ac_fn_c_try_link "$LINENO"
13113 then :
13114 ac_cv_lib_dnet_dnet_ntoa=yes
13115 else $as_nop
13116 ac_cv_lib_dnet_dnet_ntoa=no
13118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13119 conftest$ac_exeext conftest.$ac_ext
13120 LIBS=$ac_check_lib_save_LIBS
13122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13123 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13124 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13125 then :
13126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13129 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13131 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13132 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13133 then :
13134 printf %s "(cached) " >&6
13135 else $as_nop
13136 ac_check_lib_save_LIBS=$LIBS
13137 LIBS="-ldnet_stub $LIBS"
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13141 /* Override any GCC internal prototype to avoid an error.
13142 Use char because int might match the return type of a GCC
13143 builtin and then its argument prototype would still apply. */
13144 char dnet_ntoa ();
13146 main (void)
13148 return dnet_ntoa ();
13150 return 0;
13152 _ACEOF
13153 if ac_fn_c_try_link "$LINENO"
13154 then :
13155 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13156 else $as_nop
13157 ac_cv_lib_dnet_stub_dnet_ntoa=no
13159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13160 conftest$ac_exeext conftest.$ac_ext
13161 LIBS=$ac_check_lib_save_LIBS
13163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13164 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13165 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13166 then :
13167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13173 conftest$ac_exeext conftest.$ac_ext
13174 LIBS="$ac_xsave_LIBS"
13176 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13177 # to get the SysV transport functions.
13178 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13179 # needs -lnsl.
13180 # The nsl library prevents programs from opening the X display
13181 # on Irix 5.2, according to T.E. Dickey.
13182 # The functions gethostbyname, getservbyname, and inet_addr are
13183 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13184 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13185 if test "x$ac_cv_func_gethostbyname" = xyes
13186 then :
13190 if test $ac_cv_func_gethostbyname = no; then
13191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13192 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13193 if test ${ac_cv_lib_nsl_gethostbyname+y}
13194 then :
13195 printf %s "(cached) " >&6
13196 else $as_nop
13197 ac_check_lib_save_LIBS=$LIBS
13198 LIBS="-lnsl $LIBS"
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13205 char gethostbyname ();
13207 main (void)
13209 return gethostbyname ();
13211 return 0;
13213 _ACEOF
13214 if ac_fn_c_try_link "$LINENO"
13215 then :
13216 ac_cv_lib_nsl_gethostbyname=yes
13217 else $as_nop
13218 ac_cv_lib_nsl_gethostbyname=no
13220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13221 conftest$ac_exeext conftest.$ac_ext
13222 LIBS=$ac_check_lib_save_LIBS
13224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13225 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13226 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13227 then :
13228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13231 if test $ac_cv_lib_nsl_gethostbyname = no; then
13232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13233 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13234 if test ${ac_cv_lib_bsd_gethostbyname+y}
13235 then :
13236 printf %s "(cached) " >&6
13237 else $as_nop
13238 ac_check_lib_save_LIBS=$LIBS
13239 LIBS="-lbsd $LIBS"
13240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13243 /* Override any GCC internal prototype to avoid an error.
13244 Use char because int might match the return type of a GCC
13245 builtin and then its argument prototype would still apply. */
13246 char gethostbyname ();
13248 main (void)
13250 return gethostbyname ();
13252 return 0;
13254 _ACEOF
13255 if ac_fn_c_try_link "$LINENO"
13256 then :
13257 ac_cv_lib_bsd_gethostbyname=yes
13258 else $as_nop
13259 ac_cv_lib_bsd_gethostbyname=no
13261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13262 conftest$ac_exeext conftest.$ac_ext
13263 LIBS=$ac_check_lib_save_LIBS
13265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13266 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13267 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13268 then :
13269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13275 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13276 # socket/setsockopt and other routines are undefined under SCO ODT
13277 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13278 # on later versions), says Simon Leinen: it contains gethostby*
13279 # variants that don't use the name server (or something). -lsocket
13280 # must be given before -lnsl if both are needed. We assume that
13281 # if connect needs -lnsl, so does gethostbyname.
13282 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13283 if test "x$ac_cv_func_connect" = xyes
13284 then :
13288 if test $ac_cv_func_connect = no; then
13289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13290 printf %s "checking for connect in -lsocket... " >&6; }
13291 if test ${ac_cv_lib_socket_connect+y}
13292 then :
13293 printf %s "(cached) " >&6
13294 else $as_nop
13295 ac_check_lib_save_LIBS=$LIBS
13296 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 char connect ();
13305 main (void)
13307 return connect ();
13309 return 0;
13311 _ACEOF
13312 if ac_fn_c_try_link "$LINENO"
13313 then :
13314 ac_cv_lib_socket_connect=yes
13315 else $as_nop
13316 ac_cv_lib_socket_connect=no
13318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13323 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
13324 if test "x$ac_cv_lib_socket_connect" = xyes
13325 then :
13326 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13331 # Guillermo Gomez says -lposix is necessary on A/UX.
13332 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13333 if test "x$ac_cv_func_remove" = xyes
13334 then :
13338 if test $ac_cv_func_remove = no; then
13339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13340 printf %s "checking for remove in -lposix... " >&6; }
13341 if test ${ac_cv_lib_posix_remove+y}
13342 then :
13343 printf %s "(cached) " >&6
13344 else $as_nop
13345 ac_check_lib_save_LIBS=$LIBS
13346 LIBS="-lposix $LIBS"
13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13353 char remove ();
13355 main (void)
13357 return remove ();
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_link "$LINENO"
13363 then :
13364 ac_cv_lib_posix_remove=yes
13365 else $as_nop
13366 ac_cv_lib_posix_remove=no
13368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13373 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
13374 if test "x$ac_cv_lib_posix_remove" = xyes
13375 then :
13376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13381 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13382 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13383 if test "x$ac_cv_func_shmat" = xyes
13384 then :
13388 if test $ac_cv_func_shmat = no; then
13389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13390 printf %s "checking for shmat in -lipc... " >&6; }
13391 if test ${ac_cv_lib_ipc_shmat+y}
13392 then :
13393 printf %s "(cached) " >&6
13394 else $as_nop
13395 ac_check_lib_save_LIBS=$LIBS
13396 LIBS="-lipc $LIBS"
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13400 /* Override any GCC internal prototype to avoid an error.
13401 Use char because int might match the return type of a GCC
13402 builtin and then its argument prototype would still apply. */
13403 char shmat ();
13405 main (void)
13407 return shmat ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"
13413 then :
13414 ac_cv_lib_ipc_shmat=yes
13415 else $as_nop
13416 ac_cv_lib_ipc_shmat=no
13418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_lib_save_LIBS
13422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13423 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
13424 if test "x$ac_cv_lib_ipc_shmat" = xyes
13425 then :
13426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13432 # Check for libraries that X11R6 Xt/Xaw programs need.
13433 ac_save_LDFLAGS=$LDFLAGS
13434 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13435 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13436 # check for ICE first), but we must link in the order -lSM -lICE or
13437 # we get undefined symbols. So assume we have SM if we have ICE.
13438 # These have to be linked with before -lX11, unlike the other
13439 # libraries we check for below, so use a different variable.
13440 # John Interrante, Karl Berry
13441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13442 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
13443 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
13444 then :
13445 printf %s "(cached) " >&6
13446 else $as_nop
13447 ac_check_lib_save_LIBS=$LIBS
13448 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13455 char IceConnectionNumber ();
13457 main (void)
13459 return IceConnectionNumber ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"
13465 then :
13466 ac_cv_lib_ICE_IceConnectionNumber=yes
13467 else $as_nop
13468 ac_cv_lib_ICE_IceConnectionNumber=no
13470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13471 conftest$ac_exeext conftest.$ac_ext
13472 LIBS=$ac_check_lib_save_LIBS
13474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13475 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13476 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
13477 then :
13478 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13481 LDFLAGS=$ac_save_LDFLAGS
13486 if test "$have_x" = "yes"
13487 then
13488 ac_save_CPPFLAGS="$CPPFLAGS"
13489 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
13492 printf %s "checking for -lX11... " >&6; }
13493 if test ${ac_cv_lib_soname_X11+y}
13494 then :
13495 printf %s "(cached) " >&6
13496 else $as_nop
13497 ac_check_soname_save_LIBS=$LIBS
13498 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13500 /* end confdefs.h. */
13502 /* Override any GCC internal prototype to avoid an error.
13503 Use char because int might match the return type of a GCC
13504 builtin and then its argument prototype would still apply. */
13505 char XCreateWindow ();
13507 main (void)
13509 return XCreateWindow ();
13511 return 0;
13513 _ACEOF
13514 if ac_fn_c_try_link "$LINENO"
13515 then :
13516 case "$LIBEXT" in
13517 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13518 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'` ;;
13519 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13520 if ${ac_cv_lib_soname_X11:+false} :
13521 then :
13522 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13523 fi ;;
13524 esac
13525 else $as_nop
13526 ac_cv_lib_soname_X11=
13528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13529 conftest$ac_exeext conftest.$ac_ext
13530 LIBS=$ac_check_soname_save_LIBS
13532 if ${ac_cv_lib_soname_X11:+false} :
13533 then :
13534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13535 printf "%s\n" "not found" >&6; }
13537 else $as_nop
13538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
13539 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
13541 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
13545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
13546 printf %s "checking for -lXext... " >&6; }
13547 if test ${ac_cv_lib_soname_Xext+y}
13548 then :
13549 printf %s "(cached) " >&6
13550 else $as_nop
13551 ac_check_soname_save_LIBS=$LIBS
13552 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13556 /* Override any GCC internal prototype to avoid an error.
13557 Use char because int might match the return type of a GCC
13558 builtin and then its argument prototype would still apply. */
13559 char XextCreateExtension ();
13561 main (void)
13563 return XextCreateExtension ();
13565 return 0;
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"
13569 then :
13570 case "$LIBEXT" in
13571 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13572 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'` ;;
13573 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13574 if ${ac_cv_lib_soname_Xext:+false} :
13575 then :
13576 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13577 fi ;;
13578 esac
13579 else $as_nop
13580 ac_cv_lib_soname_Xext=
13582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13583 conftest$ac_exeext conftest.$ac_ext
13584 LIBS=$ac_check_soname_save_LIBS
13586 if ${ac_cv_lib_soname_Xext:+false} :
13587 then :
13588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13589 printf "%s\n" "not found" >&6; }
13591 else $as_nop
13592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
13593 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
13595 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
13597 X_LIBS="$X_LIBS -lXext"
13599 X_LIBS="$X_LIBS -lX11"
13601 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
13602 # include <X11/Xlib.h>
13603 #endif
13604 #ifdef HAVE_X11_XUTIL_H
13605 # include <X11/Xutil.h>
13606 #endif
13608 if test "x$ac_cv_header_X11_Xlib_h" = xyes
13609 then :
13610 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
13613 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
13614 # include <X11/Xlib.h>
13615 #endif
13616 #ifdef HAVE_X11_XUTIL_H
13617 # include <X11/Xutil.h>
13618 #endif
13620 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
13621 then :
13622 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
13625 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
13626 # include <X11/Xlib.h>
13627 #endif
13628 #ifdef HAVE_X11_XUTIL_H
13629 # include <X11/Xutil.h>
13630 #endif
13632 if test "x$ac_cv_header_X11_Xutil_h" = xyes
13633 then :
13634 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
13637 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
13638 # include <X11/Xlib.h>
13639 #endif
13640 #ifdef HAVE_X11_XUTIL_H
13641 # include <X11/Xutil.h>
13642 #endif
13644 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
13645 then :
13646 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
13649 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
13650 # include <X11/Xlib.h>
13651 #endif
13652 #ifdef HAVE_X11_XUTIL_H
13653 # include <X11/Xutil.h>
13654 #endif
13656 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
13657 then :
13658 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
13661 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
13662 # include <X11/Xlib.h>
13663 #endif
13664 #ifdef HAVE_X11_XUTIL_H
13665 # include <X11/Xutil.h>
13666 #endif
13668 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
13669 then :
13670 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
13673 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
13674 # include <X11/Xlib.h>
13675 #endif
13676 #ifdef HAVE_X11_XUTIL_H
13677 # include <X11/Xutil.h>
13678 #endif
13680 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
13681 then :
13682 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
13685 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
13686 # include <X11/Xlib.h>
13687 #endif
13688 #ifdef HAVE_X11_XUTIL_H
13689 # include <X11/Xutil.h>
13690 #endif
13692 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
13693 then :
13694 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
13697 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
13698 # include <X11/Xlib.h>
13699 #endif
13700 #ifdef HAVE_X11_XUTIL_H
13701 # include <X11/Xutil.h>
13702 #endif
13704 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
13705 then :
13706 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
13709 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
13710 # include <X11/Xlib.h>
13711 #endif
13712 #ifdef HAVE_X11_XUTIL_H
13713 # include <X11/Xutil.h>
13714 #endif
13716 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
13717 then :
13718 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
13721 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
13722 # include <X11/Xlib.h>
13723 #endif
13724 #ifdef HAVE_X11_XUTIL_H
13725 # include <X11/Xutil.h>
13726 #endif
13728 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
13729 then :
13730 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
13733 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
13734 # include <X11/Xlib.h>
13735 #endif
13736 #ifdef HAVE_X11_XUTIL_H
13737 # include <X11/Xutil.h>
13738 #endif
13740 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
13741 then :
13742 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
13745 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
13746 # include <X11/Xlib.h>
13747 #endif
13748 #ifdef HAVE_X11_XUTIL_H
13749 # include <X11/Xutil.h>
13750 #endif
13752 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
13753 then :
13754 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
13757 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
13758 # include <X11/Xlib.h>
13759 #endif
13760 #ifdef HAVE_X11_XUTIL_H
13761 # include <X11/Xutil.h>
13762 #endif
13764 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
13765 then :
13766 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
13769 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
13770 # include <X11/Xlib.h>
13771 #endif
13772 #ifdef HAVE_X11_XUTIL_H
13773 # include <X11/Xutil.h>
13774 #endif
13776 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
13777 then :
13778 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
13783 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
13784 then
13785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13786 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
13787 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
13788 then :
13789 printf %s "(cached) " >&6
13790 else $as_nop
13791 ac_check_lib_save_LIBS=$LIBS
13792 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13799 char XkbQueryExtension ();
13801 main (void)
13803 return XkbQueryExtension ();
13805 return 0;
13807 _ACEOF
13808 if ac_fn_c_try_link "$LINENO"
13809 then :
13810 ac_cv_lib_X11_XkbQueryExtension=yes
13811 else $as_nop
13812 ac_cv_lib_X11_XkbQueryExtension=no
13814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13815 conftest$ac_exeext conftest.$ac_ext
13816 LIBS=$ac_check_lib_save_LIBS
13818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13819 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13820 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
13821 then :
13823 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
13829 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
13830 then
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
13832 printf %s "checking for -lXcursor... " >&6; }
13833 if test ${ac_cv_lib_soname_Xcursor+y}
13834 then :
13835 printf %s "(cached) " >&6
13836 else $as_nop
13837 ac_check_soname_save_LIBS=$LIBS
13838 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 char XcursorImageLoadCursor ();
13847 main (void)
13849 return XcursorImageLoadCursor ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"
13855 then :
13856 case "$LIBEXT" in
13857 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13858 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'` ;;
13859 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13860 if ${ac_cv_lib_soname_Xcursor:+false} :
13861 then :
13862 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13863 fi ;;
13864 esac
13865 else $as_nop
13866 ac_cv_lib_soname_Xcursor=
13868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13869 conftest$ac_exeext conftest.$ac_ext
13870 LIBS=$ac_check_soname_save_LIBS
13872 if ${ac_cv_lib_soname_Xcursor:+false} :
13873 then :
13874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13875 printf "%s\n" "not found" >&6; }
13877 else $as_nop
13878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
13879 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
13881 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
13886 if test "x$ac_cv_lib_soname_Xcursor" = "x"
13887 then :
13888 case "x$with_xcursor" in
13889 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
13890 xno) ;;
13891 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
13892 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
13893 esac
13897 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
13898 then
13899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
13900 printf %s "checking for -lXi... " >&6; }
13901 if test ${ac_cv_lib_soname_Xi+y}
13902 then :
13903 printf %s "(cached) " >&6
13904 else $as_nop
13905 ac_check_soname_save_LIBS=$LIBS
13906 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
13907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13910 /* Override any GCC internal prototype to avoid an error.
13911 Use char because int might match the return type of a GCC
13912 builtin and then its argument prototype would still apply. */
13913 char XOpenDevice ();
13915 main (void)
13917 return XOpenDevice ();
13919 return 0;
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"
13923 then :
13924 case "$LIBEXT" in
13925 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13926 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'` ;;
13927 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13928 if ${ac_cv_lib_soname_Xi:+false} :
13929 then :
13930 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13931 fi ;;
13932 esac
13933 else $as_nop
13934 ac_cv_lib_soname_Xi=
13936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_soname_save_LIBS
13940 if ${ac_cv_lib_soname_Xi:+false} :
13941 then :
13942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13943 printf "%s\n" "not found" >&6; }
13945 else $as_nop
13946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
13947 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
13949 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
13954 if test "x$ac_cv_lib_soname_Xi" = "x"
13955 then :
13956 case "x$with_xinput" in
13957 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
13958 xno) ;;
13959 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
13960 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
13961 esac
13965 if test "x$ac_cv_lib_soname_Xi" != x
13966 then
13967 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
13968 then :
13969 case "x$with_xinput2" in
13970 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
13971 xno) ;;
13972 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
13973 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
13974 esac
13979 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
13980 then
13981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13982 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
13983 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
13984 then :
13985 printf %s "(cached) " >&6
13986 else $as_nop
13987 ac_check_lib_save_LIBS=$LIBS
13988 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 char XShmQueryExtension ();
13997 main (void)
13999 return XShmQueryExtension ();
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"
14005 then :
14006 ac_cv_lib_Xext_XShmQueryExtension=yes
14007 else $as_nop
14008 ac_cv_lib_Xext_XShmQueryExtension=no
14010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS=$ac_check_lib_save_LIBS
14014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14015 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14016 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14017 then :
14019 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14024 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14025 then :
14026 case "x$with_xshm" in
14027 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14028 xno) ;;
14029 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14030 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14031 esac
14035 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14036 then
14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14038 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14039 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14040 then :
14041 printf %s "(cached) " >&6
14042 else $as_nop
14043 ac_check_lib_save_LIBS=$LIBS
14044 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14048 /* Override any GCC internal prototype to avoid an error.
14049 Use char because int might match the return type of a GCC
14050 builtin and then its argument prototype would still apply. */
14051 char XShapeQueryExtension ();
14053 main (void)
14055 return XShapeQueryExtension ();
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"
14061 then :
14062 ac_cv_lib_Xext_XShapeQueryExtension=yes
14063 else $as_nop
14064 ac_cv_lib_Xext_XShapeQueryExtension=no
14066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14067 conftest$ac_exeext conftest.$ac_ext
14068 LIBS=$ac_check_lib_save_LIBS
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14071 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14072 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14073 then :
14075 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14080 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14081 then :
14082 case "x$with_xshape" in
14083 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14084 xno) ;;
14085 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14086 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14087 esac
14091 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14092 then
14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14094 printf %s "checking for -lXxf86vm... " >&6; }
14095 if test ${ac_cv_lib_soname_Xxf86vm+y}
14096 then :
14097 printf %s "(cached) " >&6
14098 else $as_nop
14099 ac_check_soname_save_LIBS=$LIBS
14100 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 char XF86VidModeQueryExtension ();
14109 main (void)
14111 return XF86VidModeQueryExtension ();
14113 return 0;
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"
14117 then :
14118 case "$LIBEXT" in
14119 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14120 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'` ;;
14121 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14122 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14123 then :
14124 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14125 fi ;;
14126 esac
14127 else $as_nop
14128 ac_cv_lib_soname_Xxf86vm=
14130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14131 conftest$ac_exeext conftest.$ac_ext
14132 LIBS=$ac_check_soname_save_LIBS
14134 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14135 then :
14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14137 printf "%s\n" "not found" >&6; }
14139 else $as_nop
14140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14141 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14143 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14148 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14149 then :
14150 case "x$with_xxf86vm" in
14151 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14152 xno) ;;
14153 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14154 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14155 esac
14159 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14160 then
14161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14162 printf %s "checking for -lXrender... " >&6; }
14163 if test ${ac_cv_lib_soname_Xrender+y}
14164 then :
14165 printf %s "(cached) " >&6
14166 else $as_nop
14167 ac_check_soname_save_LIBS=$LIBS
14168 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14175 char XRenderQueryExtension ();
14177 main (void)
14179 return XRenderQueryExtension ();
14181 return 0;
14183 _ACEOF
14184 if ac_fn_c_try_link "$LINENO"
14185 then :
14186 case "$LIBEXT" in
14187 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14188 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'` ;;
14189 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14190 if ${ac_cv_lib_soname_Xrender:+false} :
14191 then :
14192 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14193 fi ;;
14194 esac
14195 else $as_nop
14196 ac_cv_lib_soname_Xrender=
14198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14199 conftest$ac_exeext conftest.$ac_ext
14200 LIBS=$ac_check_soname_save_LIBS
14202 if ${ac_cv_lib_soname_Xrender:+false} :
14203 then :
14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14205 printf "%s\n" "not found" >&6; }
14207 else $as_nop
14208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14209 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14211 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14214 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14215 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14216 then :
14217 printf %s "(cached) " >&6
14218 else $as_nop
14219 ac_check_lib_save_LIBS=$LIBS
14220 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply. */
14227 char XRenderSetPictureTransform ();
14229 main (void)
14231 return XRenderSetPictureTransform ();
14233 return 0;
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"
14237 then :
14238 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14239 else $as_nop
14240 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14247 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14248 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14249 then :
14251 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14256 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14257 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14258 then :
14259 printf %s "(cached) " >&6
14260 else $as_nop
14261 ac_check_lib_save_LIBS=$LIBS
14262 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14266 /* Override any GCC internal prototype to avoid an error.
14267 Use char because int might match the return type of a GCC
14268 builtin and then its argument prototype would still apply. */
14269 char XRenderCreateLinearGradient ();
14271 main (void)
14273 return XRenderCreateLinearGradient ();
14275 return 0;
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"
14279 then :
14280 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14281 else $as_nop
14282 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14285 conftest$ac_exeext conftest.$ac_ext
14286 LIBS=$ac_check_lib_save_LIBS
14288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14289 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14290 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14291 then :
14293 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14300 if test "x$ac_cv_lib_soname_Xrender" = "x"
14301 then :
14302 case "x$with_xrender" in
14303 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14304 xno) ;;
14305 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14306 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14307 esac
14311 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14312 then
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 #include <X11/Xlib.h>
14316 #include <X11/extensions/Xrandr.h>
14318 main (void)
14320 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_compile "$LINENO"
14326 then :
14327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14328 printf %s "checking for -lXrandr... " >&6; }
14329 if test ${ac_cv_lib_soname_Xrandr+y}
14330 then :
14331 printf %s "(cached) " >&6
14332 else $as_nop
14333 ac_check_soname_save_LIBS=$LIBS
14334 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14338 /* Override any GCC internal prototype to avoid an error.
14339 Use char because int might match the return type of a GCC
14340 builtin and then its argument prototype would still apply. */
14341 char XRRQueryExtension ();
14343 main (void)
14345 return XRRQueryExtension ();
14347 return 0;
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"
14351 then :
14352 case "$LIBEXT" in
14353 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14354 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'` ;;
14355 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14356 if ${ac_cv_lib_soname_Xrandr:+false} :
14357 then :
14358 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14359 fi ;;
14360 esac
14361 else $as_nop
14362 ac_cv_lib_soname_Xrandr=
14364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14365 conftest$ac_exeext conftest.$ac_ext
14366 LIBS=$ac_check_soname_save_LIBS
14368 if ${ac_cv_lib_soname_Xrandr:+false} :
14369 then :
14370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14371 printf "%s\n" "not found" >&6; }
14373 else $as_nop
14374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14375 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14377 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14380 /* end confdefs.h. */
14381 #include <X11/Xlib.h>
14382 #include <X11/extensions/Xrandr.h>
14384 main (void)
14386 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14388 return 0;
14390 _ACEOF
14391 if ac_fn_c_try_compile "$LINENO"
14392 then :
14394 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14396 else $as_nop
14397 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14404 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14405 then :
14406 case "x$with_xrandr" in
14407 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14408 xno) ;;
14409 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14410 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14411 esac
14415 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14416 then
14417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14419 #include <X11/Xlib.h>
14420 #include <X11/extensions/Xfixes.h>
14422 main (void)
14424 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14426 return 0;
14428 _ACEOF
14429 if ac_fn_c_try_compile "$LINENO"
14430 then :
14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14432 printf %s "checking for -lXfixes... " >&6; }
14433 if test ${ac_cv_lib_soname_Xfixes+y}
14434 then :
14435 printf %s "(cached) " >&6
14436 else $as_nop
14437 ac_check_soname_save_LIBS=$LIBS
14438 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14442 /* Override any GCC internal prototype to avoid an error.
14443 Use char because int might match the return type of a GCC
14444 builtin and then its argument prototype would still apply. */
14445 char XFixesQueryVersion ();
14447 main (void)
14449 return XFixesQueryVersion ();
14451 return 0;
14453 _ACEOF
14454 if ac_fn_c_try_link "$LINENO"
14455 then :
14456 case "$LIBEXT" in
14457 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14458 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'` ;;
14459 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14460 if ${ac_cv_lib_soname_Xfixes:+false} :
14461 then :
14462 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14463 fi ;;
14464 esac
14465 else $as_nop
14466 ac_cv_lib_soname_Xfixes=
14468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS=$ac_check_soname_save_LIBS
14472 if ${ac_cv_lib_soname_Xfixes:+false} :
14473 then :
14474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14475 printf "%s\n" "not found" >&6; }
14477 else $as_nop
14478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
14479 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
14481 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
14486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14488 if test "x$ac_cv_lib_soname_Xfixes" = "x"
14489 then :
14490 case "x$with_xfixes" in
14491 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
14492 xno) ;;
14493 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
14494 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
14495 esac
14499 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
14500 then
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14503 #include <X11/Xlib.h>
14504 #include <X11/extensions/Xinerama.h>
14506 main (void)
14508 static typeof(XineramaQueryScreens) * func; if (func) return 0;
14510 return 0;
14512 _ACEOF
14513 if ac_fn_c_try_compile "$LINENO"
14514 then :
14515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
14516 printf %s "checking for -lXinerama... " >&6; }
14517 if test ${ac_cv_lib_soname_Xinerama+y}
14518 then :
14519 printf %s "(cached) " >&6
14520 else $as_nop
14521 ac_check_soname_save_LIBS=$LIBS
14522 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14526 /* Override any GCC internal prototype to avoid an error.
14527 Use char because int might match the return type of a GCC
14528 builtin and then its argument prototype would still apply. */
14529 char XineramaQueryScreens ();
14531 main (void)
14533 return XineramaQueryScreens ();
14535 return 0;
14537 _ACEOF
14538 if ac_fn_c_try_link "$LINENO"
14539 then :
14540 case "$LIBEXT" in
14541 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14542 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'` ;;
14543 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14544 if ${ac_cv_lib_soname_Xinerama:+false} :
14545 then :
14546 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14547 fi ;;
14548 esac
14549 else $as_nop
14550 ac_cv_lib_soname_Xinerama=
14552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14553 conftest$ac_exeext conftest.$ac_ext
14554 LIBS=$ac_check_soname_save_LIBS
14556 if ${ac_cv_lib_soname_Xinerama:+false} :
14557 then :
14558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14559 printf "%s\n" "not found" >&6; }
14561 else $as_nop
14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
14563 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
14565 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
14570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14572 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14573 then :
14574 case "x$with_xinerama" in
14575 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
14576 xno) ;;
14577 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
14578 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
14579 esac
14583 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
14584 then
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
14586 printf %s "checking for -lXcomposite... " >&6; }
14587 if test ${ac_cv_lib_soname_Xcomposite+y}
14588 then :
14589 printf %s "(cached) " >&6
14590 else $as_nop
14591 ac_check_soname_save_LIBS=$LIBS
14592 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14599 char XCompositeRedirectWindow ();
14601 main (void)
14603 return XCompositeRedirectWindow ();
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"
14609 then :
14610 case "$LIBEXT" in
14611 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14612 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'` ;;
14613 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14614 if ${ac_cv_lib_soname_Xcomposite:+false} :
14615 then :
14616 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14617 fi ;;
14618 esac
14619 else $as_nop
14620 ac_cv_lib_soname_Xcomposite=
14622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14623 conftest$ac_exeext conftest.$ac_ext
14624 LIBS=$ac_check_soname_save_LIBS
14626 if ${ac_cv_lib_soname_Xcomposite:+false} :
14627 then :
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14629 printf "%s\n" "not found" >&6; }
14631 else $as_nop
14632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
14633 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
14635 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
14640 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
14641 then :
14642 case "x$with_xcomposite" in
14643 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
14644 xno) ;;
14645 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
14646 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
14647 esac
14651 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
14652 #include <X11/Xlib.h>
14653 #endif
14655 if test "x$ac_cv_member_XICCallback_callback" = xyes
14656 then :
14658 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
14662 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
14663 #include <X11/Xlib.h>
14664 #endif
14666 if test "x$ac_cv_member_XEvent_xcookie" = xyes
14667 then :
14669 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
14676 opengl_msg=""
14677 if test "x$with_opengl" != "xno"
14678 then
14679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14680 printf %s "checking for -lGL... " >&6; }
14681 if test ${ac_cv_lib_soname_GL+y}
14682 then :
14683 printf %s "(cached) " >&6
14684 else $as_nop
14685 ac_check_soname_save_LIBS=$LIBS
14686 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14690 /* Override any GCC internal prototype to avoid an error.
14691 Use char because int might match the return type of a GCC
14692 builtin and then its argument prototype would still apply. */
14693 char glXCreateContext ();
14695 main (void)
14697 return glXCreateContext ();
14699 return 0;
14701 _ACEOF
14702 if ac_fn_c_try_link "$LINENO"
14703 then :
14704 case "$LIBEXT" in
14705 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14706 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'` ;;
14707 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14708 if ${ac_cv_lib_soname_GL:+false} :
14709 then :
14710 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14711 fi ;;
14712 esac
14713 else $as_nop
14714 ac_cv_lib_soname_GL=
14716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14717 conftest$ac_exeext conftest.$ac_ext
14718 LIBS=$ac_check_soname_save_LIBS
14720 if ${ac_cv_lib_soname_GL:+false} :
14721 then :
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14723 printf "%s\n" "not found" >&6; }
14724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14725 printf %s "checking for -lGL... " >&6; }
14726 if test ${ac_cv_lib_soname_GL+y}
14727 then :
14728 printf %s "(cached) " >&6
14729 else $as_nop
14730 ac_check_soname_save_LIBS=$LIBS
14731 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"
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14735 /* Override any GCC internal prototype to avoid an error.
14736 Use char because int might match the return type of a GCC
14737 builtin and then its argument prototype would still apply. */
14738 char glXCreateContext ();
14740 main (void)
14742 return glXCreateContext ();
14744 return 0;
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"
14748 then :
14749 case "$LIBEXT" in
14750 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14751 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'` ;;
14752 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14753 if ${ac_cv_lib_soname_GL:+false} :
14754 then :
14755 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14756 fi ;;
14757 esac
14758 else $as_nop
14759 ac_cv_lib_soname_GL=
14761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14762 conftest$ac_exeext conftest.$ac_ext
14763 LIBS=$ac_check_soname_save_LIBS
14765 if ${ac_cv_lib_soname_GL:+false} :
14766 then :
14767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14768 printf "%s\n" "not found" >&6; }
14769 if test -f /usr/X11R6/lib/libGL.a
14770 then
14771 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
14772 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
14773 else
14774 opengl_msg="No OpenGL library found on this system."
14776 else $as_nop
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14778 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14780 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14782 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"
14784 else $as_nop
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14786 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14788 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14790 OPENGL_LIBS="-lGL"
14792 if test "x$with_osmesa" != "xno"
14793 then
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
14795 printf %s "checking for -lOSMesa... " >&6; }
14796 if test ${ac_cv_lib_soname_OSMesa+y}
14797 then :
14798 printf %s "(cached) " >&6
14799 else $as_nop
14800 ac_check_soname_save_LIBS=$LIBS
14801 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 char OSMesaGetProcAddress ();
14810 main (void)
14812 return OSMesaGetProcAddress ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"
14818 then :
14819 case "$LIBEXT" in
14820 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14821 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'` ;;
14822 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14823 if ${ac_cv_lib_soname_OSMesa:+false} :
14824 then :
14825 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14826 fi ;;
14827 esac
14828 else $as_nop
14829 ac_cv_lib_soname_OSMesa=
14831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14832 conftest$ac_exeext conftest.$ac_ext
14833 LIBS=$ac_check_soname_save_LIBS
14835 if ${ac_cv_lib_soname_OSMesa:+false} :
14836 then :
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14838 printf "%s\n" "not found" >&6; }
14840 else $as_nop
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
14842 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
14844 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
14848 if test "x$ac_cv_lib_soname_OSMesa" = "x"
14849 then :
14850 case "x$with_osmesa" in
14851 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
14852 xno) ;;
14853 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
14854 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
14855 esac
14860 if test -n "$opengl_msg"
14861 then :
14862 case "x$with_opengl" in
14863 x) as_fn_append wine_warnings "|$opengl_msg
14864 OpenGL and Direct3D won't be supported." ;;
14865 xno) ;;
14866 *) as_fn_error $? "$opengl_msg
14867 OpenGL and Direct3D won't be supported.
14868 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
14869 esac
14873 CPPFLAGS="$ac_save_CPPFLAGS"
14874 else
14875 X_CFLAGS=""
14876 X_LIBS=""
14879 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
14880 then
14881 if test "x$X_LIBS" = "x"
14882 then :
14883 case "x$with_x" in
14884 xno) ;;
14885 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
14886 without X support, which probably isn't what you want. You will need
14887 to install ${notice_platform}development packages of Xlib at the very least.
14888 Use the --without-x option if you really want this." "$LINENO" 5 ;;
14889 esac
14890 enable_winex11_drv=${enable_winex11_drv:-no}
14892 else
14893 if test "x$X_LIBS" = "x"
14894 then :
14895 case "x$with_x" in
14896 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
14897 xno) ;;
14898 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
14899 This is an error since --with-x was requested." "$LINENO" 5 ;;
14900 esac
14901 enable_winex11_drv=${enable_winex11_drv:-no}
14905 if test "$ac_cv_header_CL_cl_h" = "yes"
14906 then
14907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
14908 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
14909 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
14910 then :
14911 printf %s "(cached) " >&6
14912 else $as_nop
14913 ac_check_lib_save_LIBS=$LIBS
14914 LIBS="-lOpenCL $LIBS"
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14918 /* Override any GCC internal prototype to avoid an error.
14919 Use char because int might match the return type of a GCC
14920 builtin and then its argument prototype would still apply. */
14921 char clGetPlatformInfo ();
14923 main (void)
14925 return clGetPlatformInfo ();
14927 return 0;
14929 _ACEOF
14930 if ac_fn_c_try_link "$LINENO"
14931 then :
14932 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
14933 else $as_nop
14934 ac_cv_lib_OpenCL_clGetPlatformInfo=no
14936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14937 conftest$ac_exeext conftest.$ac_ext
14938 LIBS=$ac_check_lib_save_LIBS
14940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
14941 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
14942 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
14943 then :
14944 OPENCL_LIBS="-lOpenCL"
14949 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
14950 then :
14951 case "x$with_opencl" in
14952 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
14953 xno) ;;
14954 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
14955 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
14956 esac
14957 enable_opencl=${enable_opencl:-no}
14960 if test "$ac_cv_header_pcap_pcap_h" = "yes"
14961 then
14962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
14963 printf %s "checking for pcap_create in -lpcap... " >&6; }
14964 if test ${ac_cv_lib_pcap_pcap_create+y}
14965 then :
14966 printf %s "(cached) " >&6
14967 else $as_nop
14968 ac_check_lib_save_LIBS=$LIBS
14969 LIBS="-lpcap $LIBS"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 char pcap_create ();
14978 main (void)
14980 return pcap_create ();
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"
14986 then :
14987 ac_cv_lib_pcap_pcap_create=yes
14988 else $as_nop
14989 ac_cv_lib_pcap_pcap_create=no
14991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14992 conftest$ac_exeext conftest.$ac_ext
14993 LIBS=$ac_check_lib_save_LIBS
14995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
14996 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
14997 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
14998 then :
14999 PCAP_LIBS="-lpcap"
15004 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15005 then :
15006 case "x$with_pcap" in
15007 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15008 xno) ;;
15009 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15010 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15011 esac
15012 enable_wpcap=${enable_wpcap:-no}
15015 if test "x$with_inotify" != "xno"
15016 then
15017 if ${INOTIFY_CFLAGS:+false} :
15018 then :
15019 if test ${PKG_CONFIG+y}
15020 then :
15021 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15025 if ${INOTIFY_LIBS:+false} :
15026 then :
15027 if test ${PKG_CONFIG+y}
15028 then :
15029 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15036 ac_save_CPPFLAGS=$CPPFLAGS
15037 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15038 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15039 if test "x$ac_cv_header_sys_inotify_h" = xyes
15040 then :
15041 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15046 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15047 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15048 then :
15049 printf %s "(cached) " >&6
15050 else $as_nop
15051 ac_check_lib_save_LIBS=$LIBS
15052 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15056 /* Override any GCC internal prototype to avoid an error.
15057 Use char because int might match the return type of a GCC
15058 builtin and then its argument prototype would still apply. */
15059 char inotify_add_watch ();
15061 main (void)
15063 return inotify_add_watch ();
15065 return 0;
15067 _ACEOF
15068 if ac_fn_c_try_link "$LINENO"
15069 then :
15070 ac_cv_lib_inotify_inotify_add_watch=yes
15071 else $as_nop
15072 ac_cv_lib_inotify_inotify_add_watch=no
15074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15075 conftest$ac_exeext conftest.$ac_ext
15076 LIBS=$ac_check_lib_save_LIBS
15078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15079 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15080 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15081 then :
15083 else $as_nop
15084 INOTIFY_LIBS=""
15087 CPPFLAGS=$ac_save_CPPFLAGS
15090 if test "$ac_cv_header_sys_inotify_h" != "yes"
15091 then :
15092 case "x$with_inotify" in
15093 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15094 xno) ;;
15095 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15096 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15097 esac
15101 if test "x$with_dbus" != "xno"
15102 then
15103 if ${DBUS_CFLAGS:+false} :
15104 then :
15105 if test ${PKG_CONFIG+y}
15106 then :
15107 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15111 if ${DBUS_LIBS:+false} :
15112 then :
15113 if test ${PKG_CONFIG+y}
15114 then :
15115 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15122 ac_save_CPPFLAGS=$CPPFLAGS
15123 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15124 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15125 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15126 then :
15127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15128 printf %s "checking for -ldbus-1... " >&6; }
15129 if test ${ac_cv_lib_soname_dbus_1+y}
15130 then :
15131 printf %s "(cached) " >&6
15132 else $as_nop
15133 ac_check_soname_save_LIBS=$LIBS
15134 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15138 /* Override any GCC internal prototype to avoid an error.
15139 Use char because int might match the return type of a GCC
15140 builtin and then its argument prototype would still apply. */
15141 char dbus_connection_close ();
15143 main (void)
15145 return dbus_connection_close ();
15147 return 0;
15149 _ACEOF
15150 if ac_fn_c_try_link "$LINENO"
15151 then :
15152 case "$LIBEXT" in
15153 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15154 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'` ;;
15155 *) 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'`
15156 if ${ac_cv_lib_soname_dbus_1:+false} :
15157 then :
15158 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15159 fi ;;
15160 esac
15161 else $as_nop
15162 ac_cv_lib_soname_dbus_1=
15164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15165 conftest$ac_exeext conftest.$ac_ext
15166 LIBS=$ac_check_soname_save_LIBS
15168 if ${ac_cv_lib_soname_dbus_1:+false} :
15169 then :
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15171 printf "%s\n" "not found" >&6; }
15172 DBUS_CFLAGS=""
15173 else $as_nop
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15175 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15177 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15181 else $as_nop
15182 DBUS_CFLAGS=""
15185 CPPFLAGS=$ac_save_CPPFLAGS
15188 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15189 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15190 then :
15191 case "x$with_dbus" in
15192 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15193 xno) ;;
15194 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15195 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15196 esac
15200 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
15201 then
15202 if ${HAL_CFLAGS:+false} :
15203 then :
15204 if test ${PKG_CONFIG+y}
15205 then :
15206 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
15210 if ${HAL_LIBS:+false} :
15211 then :
15212 if test ${PKG_CONFIG+y}
15213 then :
15214 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
15218 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
15219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
15220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
15221 ac_save_CPPFLAGS=$CPPFLAGS
15222 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
15223 ac_fn_c_check_header_compile "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
15224 if test "x$ac_cv_header_hal_libhal_h" = xyes
15225 then :
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
15227 printf %s "checking for -lhal... " >&6; }
15228 if test ${ac_cv_lib_soname_hal+y}
15229 then :
15230 printf %s "(cached) " >&6
15231 else $as_nop
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lhal $HAL_LIBS $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 char libhal_ctx_new ();
15242 main (void)
15244 return libhal_ctx_new ();
15246 return 0;
15248 _ACEOF
15249 if ac_fn_c_try_link "$LINENO"
15250 then :
15251 case "$LIBEXT" in
15252 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 dylib) ac_cv_lib_soname_hal=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15254 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_hal:+false} :
15256 then :
15257 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15258 fi ;;
15259 esac
15260 else $as_nop
15261 ac_cv_lib_soname_hal=
15263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15264 conftest$ac_exeext conftest.$ac_ext
15265 LIBS=$ac_check_soname_save_LIBS
15267 if ${ac_cv_lib_soname_hal:+false} :
15268 then :
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 printf "%s\n" "not found" >&6; }
15271 HAL_CFLAGS=""
15272 else $as_nop
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
15274 printf "%s\n" "$ac_cv_lib_soname_hal" >&6; }
15276 printf "%s\n" "#define SONAME_LIBHAL \"$ac_cv_lib_soname_hal\"" >>confdefs.h
15280 else $as_nop
15281 HAL_CFLAGS=""
15284 CPPFLAGS=$ac_save_CPPFLAGS
15286 if test "x$ac_cv_lib_soname_hal" = "x" -a \
15287 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15288 then :
15289 case "x$with_hal" in
15290 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
15291 xno) ;;
15292 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
15293 This is an error since --with-hal was requested." "$LINENO" 5 ;;
15294 esac
15299 if test "x$with_gnutls" != "xno"
15300 then
15301 if ${GNUTLS_CFLAGS:+false} :
15302 then :
15303 if test ${PKG_CONFIG+y}
15304 then :
15305 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15309 if ${GNUTLS_LIBS:+false} :
15310 then :
15311 if test ${PKG_CONFIG+y}
15312 then :
15313 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15317 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15320 ac_save_CPPFLAGS=$CPPFLAGS
15321 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15322 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15323 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15324 then :
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #include <gnutls/gnutls.h>
15328 #include <gnutls/crypto.h>
15330 main (void)
15332 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15334 return 0;
15336 _ACEOF
15337 if ac_fn_c_try_compile "$LINENO"
15338 then :
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15340 printf %s "checking for -lgnutls... " >&6; }
15341 if test ${ac_cv_lib_soname_gnutls+y}
15342 then :
15343 printf %s "(cached) " >&6
15344 else $as_nop
15345 ac_check_soname_save_LIBS=$LIBS
15346 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15350 /* Override any GCC internal prototype to avoid an error.
15351 Use char because int might match the return type of a GCC
15352 builtin and then its argument prototype would still apply. */
15353 char gnutls_global_init ();
15355 main (void)
15357 return gnutls_global_init ();
15359 return 0;
15361 _ACEOF
15362 if ac_fn_c_try_link "$LINENO"
15363 then :
15364 case "$LIBEXT" in
15365 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15366 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'` ;;
15367 *) 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'`
15368 if ${ac_cv_lib_soname_gnutls:+false} :
15369 then :
15370 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'`
15371 fi ;;
15372 esac
15373 else $as_nop
15374 ac_cv_lib_soname_gnutls=
15376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15377 conftest$ac_exeext conftest.$ac_ext
15378 LIBS=$ac_check_soname_save_LIBS
15380 if ${ac_cv_lib_soname_gnutls:+false} :
15381 then :
15382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15383 printf "%s\n" "not found" >&6; }
15384 GNUTLS_CFLAGS=""
15385 else $as_nop
15386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
15387 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
15389 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
15393 ac_wine_check_funcs_save_LIBS="$LIBS"
15394 LIBS="$LIBS $GNUTLS_LIBS"
15396 for ac_func in gnutls_cipher_init
15397 do :
15398 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
15399 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
15400 then :
15401 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
15403 else $as_nop
15404 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
15407 done
15408 LIBS="$ac_wine_check_funcs_save_LIBS"
15410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15411 else $as_nop
15412 GNUTLS_CFLAGS=""
15415 CPPFLAGS=$ac_save_CPPFLAGS
15418 if test "x$ac_cv_lib_soname_gnutls" = "x"
15419 then :
15420 case "x$with_gnutls" in
15421 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
15422 xno) ;;
15423 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
15424 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
15425 esac
15429 if test "x$with_sane" != "xno"
15430 then
15431 if ${SANE_CFLAGS:+false} :
15432 then :
15433 if test ${PKG_CONFIG+y}
15434 then :
15435 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
15438 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
15439 if ${SANE_LIBS:+false} :
15440 then :
15441 if test ${PKG_CONFIG+y}
15442 then :
15443 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
15446 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
15448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
15449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
15450 ac_save_CPPFLAGS=$CPPFLAGS
15451 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
15452 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
15453 if test "x$ac_cv_header_sane_sane_h" = xyes
15454 then :
15455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
15456 printf %s "checking for sane_init in -lsane... " >&6; }
15457 if test ${ac_cv_lib_sane_sane_init+y}
15458 then :
15459 printf %s "(cached) " >&6
15460 else $as_nop
15461 ac_check_lib_save_LIBS=$LIBS
15462 LIBS="-lsane $SANE_LIBS $LIBS"
15463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15466 /* Override any GCC internal prototype to avoid an error.
15467 Use char because int might match the return type of a GCC
15468 builtin and then its argument prototype would still apply. */
15469 char sane_init ();
15471 main (void)
15473 return sane_init ();
15475 return 0;
15477 _ACEOF
15478 if ac_fn_c_try_link "$LINENO"
15479 then :
15480 ac_cv_lib_sane_sane_init=yes
15481 else $as_nop
15482 ac_cv_lib_sane_sane_init=no
15484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_lib_save_LIBS
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
15489 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
15490 if test "x$ac_cv_lib_sane_sane_init" = xyes
15491 then :
15497 CPPFLAGS=$ac_save_CPPFLAGS
15500 if test "$ac_cv_lib_sane_sane_init" != "yes"
15501 then :
15502 case "x$with_sane" in
15503 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
15504 xno) ;;
15505 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
15506 This is an error since --with-sane was requested." "$LINENO" 5 ;;
15507 esac
15508 enable_sane_ds=${enable_sane_ds:-no}
15511 if test "x$with_usb" != "xno"
15512 then
15513 if ${USB_CFLAGS:+false} :
15514 then :
15515 if test ${PKG_CONFIG+y}
15516 then :
15517 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
15521 if ${USB_LIBS:+false} :
15522 then :
15523 if test ${PKG_CONFIG+y}
15524 then :
15525 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
15529 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
15530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
15531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
15532 ac_save_CPPFLAGS=$CPPFLAGS
15533 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
15534 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
15535 if test "x$ac_cv_header_libusb_h" = xyes
15536 then :
15537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
15538 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
15539 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
15540 then :
15541 printf %s "(cached) " >&6
15542 else $as_nop
15543 ac_check_lib_save_LIBS=$LIBS
15544 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
15545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15548 /* Override any GCC internal prototype to avoid an error.
15549 Use char because int might match the return type of a GCC
15550 builtin and then its argument prototype would still apply. */
15551 char libusb_interrupt_event_handler ();
15553 main (void)
15555 return libusb_interrupt_event_handler ();
15557 return 0;
15559 _ACEOF
15560 if ac_fn_c_try_link "$LINENO"
15561 then :
15562 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
15563 else $as_nop
15564 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
15566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15567 conftest$ac_exeext conftest.$ac_ext
15568 LIBS=$ac_check_lib_save_LIBS
15570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
15571 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
15572 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
15573 then :
15575 else $as_nop
15576 USB_LIBS=""
15579 else $as_nop
15580 USB_LIBS=""
15583 CPPFLAGS=$ac_save_CPPFLAGS
15586 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
15587 then :
15588 case "x$with_usb" in
15589 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
15590 xno) ;;
15591 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
15592 This is an error since --with-usb was requested." "$LINENO" 5 ;;
15593 esac
15594 enable_wineusb_sys=${enable_wineusb_sys:-no}
15597 if test "x$with_v4l2" != "xno"
15598 then
15599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
15600 printf %s "checking for -lv4l2... " >&6; }
15601 if test ${ac_cv_lib_soname_v4l2+y}
15602 then :
15603 printf %s "(cached) " >&6
15604 else $as_nop
15605 ac_check_soname_save_LIBS=$LIBS
15606 LIBS="-lv4l2 $LIBS"
15607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15608 /* end confdefs.h. */
15610 /* Override any GCC internal prototype to avoid an error.
15611 Use char because int might match the return type of a GCC
15612 builtin and then its argument prototype would still apply. */
15613 char v4l2_open ();
15615 main (void)
15617 return v4l2_open ();
15619 return 0;
15621 _ACEOF
15622 if ac_fn_c_try_link "$LINENO"
15623 then :
15624 case "$LIBEXT" in
15625 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15626 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'` ;;
15627 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15628 if ${ac_cv_lib_soname_v4l2:+false} :
15629 then :
15630 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15631 fi ;;
15632 esac
15633 else $as_nop
15634 ac_cv_lib_soname_v4l2=
15636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15637 conftest$ac_exeext conftest.$ac_ext
15638 LIBS=$ac_check_soname_save_LIBS
15640 if ${ac_cv_lib_soname_v4l2:+false} :
15641 then :
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15643 printf "%s\n" "not found" >&6; }
15645 else $as_nop
15646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
15647 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
15649 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
15654 if test "x$ac_cv_lib_soname_v4l2" = "x"
15655 then :
15656 case "x$with_v4l2" in
15657 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
15658 xno) ;;
15659 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
15660 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
15661 esac
15665 if test "x$with_gphoto" != "xno"
15666 then
15667 if ${GPHOTO2_CFLAGS:+false} :
15668 then :
15669 if test ${PKG_CONFIG+y}
15670 then :
15671 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
15674 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
15675 if ${GPHOTO2_LIBS:+false} :
15676 then :
15677 if test ${PKG_CONFIG+y}
15678 then :
15679 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
15682 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
15683 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
15684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
15685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
15686 ac_save_CPPFLAGS=$CPPFLAGS
15687 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
15688 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
15689 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
15690 then :
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
15692 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
15693 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
15694 then :
15695 printf %s "(cached) " >&6
15696 else $as_nop
15697 ac_check_lib_save_LIBS=$LIBS
15698 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 char gp_camera_new ();
15707 main (void)
15709 return gp_camera_new ();
15711 return 0;
15713 _ACEOF
15714 if ac_fn_c_try_link "$LINENO"
15715 then :
15716 ac_cv_lib_gphoto2_gp_camera_new=yes
15717 else $as_nop
15718 ac_cv_lib_gphoto2_gp_camera_new=no
15720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15721 conftest$ac_exeext conftest.$ac_ext
15722 LIBS=$ac_check_lib_save_LIBS
15724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
15725 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
15726 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
15727 then :
15733 CPPFLAGS=$ac_save_CPPFLAGS
15735 if ${GPHOTO2_PORT_CFLAGS:+false} :
15736 then :
15737 if test ${PKG_CONFIG+y}
15738 then :
15739 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
15742 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
15743 if ${GPHOTO2_PORT_LIBS:+false} :
15744 then :
15745 if test ${PKG_CONFIG+y}
15746 then :
15747 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
15750 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
15751 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
15752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
15753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
15754 ac_save_CPPFLAGS=$CPPFLAGS
15755 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
15756 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
15757 if test "x$ac_cv_header_gphoto2_port_h" = xyes
15758 then :
15759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
15760 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
15761 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
15762 then :
15763 printf %s "(cached) " >&6
15764 else $as_nop
15765 ac_check_lib_save_LIBS=$LIBS
15766 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15770 /* Override any GCC internal prototype to avoid an error.
15771 Use char because int might match the return type of a GCC
15772 builtin and then its argument prototype would still apply. */
15773 char gp_port_info_list_new ();
15775 main (void)
15777 return gp_port_info_list_new ();
15779 return 0;
15781 _ACEOF
15782 if ac_fn_c_try_link "$LINENO"
15783 then :
15784 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
15785 else $as_nop
15786 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
15788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15789 conftest$ac_exeext conftest.$ac_ext
15790 LIBS=$ac_check_lib_save_LIBS
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
15793 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
15794 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
15795 then :
15797 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
15799 else $as_nop
15800 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15803 else $as_nop
15804 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15807 CPPFLAGS=$ac_save_CPPFLAGS
15810 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
15811 then :
15812 case "x$with_gphoto" in
15813 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
15814 xno) ;;
15815 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
15816 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15817 esac
15818 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
15820 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
15821 then :
15822 case "x$with_gphoto" in
15823 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
15824 xno) ;;
15825 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
15826 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15827 esac
15832 if test "$ac_cv_header_resolv_h" = "yes"
15833 then
15834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
15835 printf %s "checking for resolver library... " >&6; }
15836 if test ${ac_cv_have_resolv+y}
15837 then :
15838 printf %s "(cached) " >&6
15839 else $as_nop
15840 ac_save_LIBS="$LIBS"
15841 for lib in '' -lresolv
15843 LIBS="$lib $ac_save_LIBS"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 #ifdef HAVE_NETINET_IN_H
15847 #include <netinet/in.h>
15848 #endif
15849 #include <resolv.h>
15851 main (void)
15853 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
15855 return 0;
15857 _ACEOF
15858 if ac_fn_c_try_link "$LINENO"
15859 then :
15860 ac_cv_have_resolv=${lib:-"none required"}
15861 else $as_nop
15862 ac_cv_have_resolv="not found"
15864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15865 conftest$ac_exeext conftest.$ac_ext
15866 test "x$ac_cv_have_resolv" = "xnot found" || break
15867 done
15868 LIBS="$ac_save_LIBS"
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
15871 printf "%s\n" "$ac_cv_have_resolv" >&6; }
15873 case "$ac_cv_have_resolv" in
15874 "not found") ;;
15875 "none required")
15877 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15880 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15882 RESOLV_LIBS=$ac_cv_have_resolv
15884 esac
15886 if test "x$ac_cv_have_resolv" != "xnot found"
15887 then
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
15889 printf %s "checking for res_getservers... " >&6; }
15890 if test ${ac_cv_have_res_getservers+y}
15891 then :
15892 printf %s "(cached) " >&6
15893 else $as_nop
15894 ac_save_LIBS="$LIBS"
15895 LIBS="$RESOLV_LIBS $LIBS"
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15898 #include <resolv.h>
15900 main (void)
15902 res_getservers(NULL, NULL, 0);
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"
15908 then :
15909 ac_cv_have_res_getservers=yes
15910 else $as_nop
15911 ac_cv_have_res_getservers=no
15913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15914 conftest$ac_exeext conftest.$ac_ext
15915 LIBS="$ac_save_LIBS"
15917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
15918 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
15919 if test "$ac_cv_have_res_getservers" = "yes"
15920 then
15922 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
15928 if test "x$with_freetype" != "xno"
15929 then
15930 if ${FREETYPE_CFLAGS:+false} :
15931 then :
15932 if test ${PKG_CONFIG+y}
15933 then :
15934 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
15937 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
15938 if ${FREETYPE_LIBS:+false} :
15939 then :
15940 if test ${PKG_CONFIG+y}
15941 then :
15942 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
15945 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
15946 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
15947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
15948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
15949 ac_save_CPPFLAGS=$CPPFLAGS
15950 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
15951 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
15952 if test "x$ac_cv_header_ft2build_h" = xyes
15953 then :
15954 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
15958 if test "$ac_cv_header_ft2build_h" = "yes"
15959 then
15960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
15961 printf %s "checking for -lfreetype... " >&6; }
15962 if test ${ac_cv_lib_soname_freetype+y}
15963 then :
15964 printf %s "(cached) " >&6
15965 else $as_nop
15966 ac_check_soname_save_LIBS=$LIBS
15967 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15971 /* Override any GCC internal prototype to avoid an error.
15972 Use char because int might match the return type of a GCC
15973 builtin and then its argument prototype would still apply. */
15974 char FT_Init_FreeType ();
15976 main (void)
15978 return FT_Init_FreeType ();
15980 return 0;
15982 _ACEOF
15983 if ac_fn_c_try_link "$LINENO"
15984 then :
15985 case "$LIBEXT" in
15986 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15987 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'` ;;
15988 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15989 if ${ac_cv_lib_soname_freetype:+false} :
15990 then :
15991 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15992 fi ;;
15993 esac
15994 else $as_nop
15995 ac_cv_lib_soname_freetype=
15997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15998 conftest$ac_exeext conftest.$ac_ext
15999 LIBS=$ac_check_soname_save_LIBS
16001 if ${ac_cv_lib_soname_freetype:+false} :
16002 then :
16003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16004 printf "%s\n" "not found" >&6; }
16005 FREETYPE_LIBS=""
16006 else $as_nop
16007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16008 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16010 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16013 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16015 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16016 #include FT_MODULE_H
16018 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16019 then :
16021 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16027 else
16028 FREETYPE_CFLAGS=""
16029 FREETYPE_LIBS=""
16031 CPPFLAGS=$ac_save_CPPFLAGS
16034 if test "x$ac_cv_lib_soname_freetype" = x
16035 then :
16036 case "x$with_freetype" in
16037 xno) ;;
16038 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16039 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16040 esac
16041 enable_fonts=${enable_fonts:-no}
16044 ac_wine_check_funcs_save_LIBS="$LIBS"
16045 LIBS="$LIBS $PTHREAD_LIBS"
16046 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16047 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16048 then :
16049 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16053 LIBS="$ac_wine_check_funcs_save_LIBS"
16055 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16056 then
16057 if test "$ac_cv_header_gettext_po_h" = "yes"
16058 then
16059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16060 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16061 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16062 then :
16063 printf %s "(cached) " >&6
16064 else $as_nop
16065 ac_check_lib_save_LIBS=$LIBS
16066 LIBS="-lgettextpo $LIBS"
16067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16068 /* end confdefs.h. */
16070 /* Override any GCC internal prototype to avoid an error.
16071 Use char because int might match the return type of a GCC
16072 builtin and then its argument prototype would still apply. */
16073 char po_message_msgctxt ();
16075 main (void)
16077 return po_message_msgctxt ();
16079 return 0;
16081 _ACEOF
16082 if ac_fn_c_try_link "$LINENO"
16083 then :
16084 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16085 else $as_nop
16086 ac_cv_lib_gettextpo_po_message_msgctxt=no
16088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16089 conftest$ac_exeext conftest.$ac_ext
16090 LIBS=$ac_check_lib_save_LIBS
16092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16093 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16094 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16095 then :
16097 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16099 GETTEXTPO_LIBS="-lgettextpo"
16104 if test "x$GETTEXTPO_LIBS" = "x"
16105 then :
16106 case "x$with_gettextpo" in
16107 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16108 xno) ;;
16109 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16110 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16111 esac
16114 if test "$srcdir" != .
16115 then :
16116 case "x$with_gettextpo" in
16117 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16118 xno) ;;
16119 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16120 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16121 esac
16126 if test "x$with_pulse" != "xno";
16127 then
16128 if ${PULSE_CFLAGS:+false} :
16129 then :
16130 if test ${PKG_CONFIG+y}
16131 then :
16132 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16136 if ${PULSE_LIBS:+false} :
16137 then :
16138 if test ${PKG_CONFIG+y}
16139 then :
16140 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16147 ac_save_CPPFLAGS=$CPPFLAGS
16148 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16149 for ac_header in pulse/pulseaudio.h
16150 do :
16151 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16152 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16153 then :
16154 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16156 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16157 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16158 then :
16159 printf %s "(cached) " >&6
16160 else $as_nop
16161 ac_check_lib_save_LIBS=$LIBS
16162 LIBS="-lpulse $PULSE_LIBS $LIBS"
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16166 /* Override any GCC internal prototype to avoid an error.
16167 Use char because int might match the return type of a GCC
16168 builtin and then its argument prototype would still apply. */
16169 char pa_stream_is_corked ();
16171 main (void)
16173 return pa_stream_is_corked ();
16175 return 0;
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"
16179 then :
16180 ac_cv_lib_pulse_pa_stream_is_corked=yes
16181 else $as_nop
16182 ac_cv_lib_pulse_pa_stream_is_corked=no
16184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16185 conftest$ac_exeext conftest.$ac_ext
16186 LIBS=$ac_check_lib_save_LIBS
16188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16189 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16190 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16191 then :
16193 else $as_nop
16194 PULSE_LIBS=""
16197 else $as_nop
16198 PULSE_LIBS=""
16201 done
16202 CPPFLAGS=$ac_save_CPPFLAGS
16205 if test -z "$PULSE_LIBS"
16206 then :
16207 case "x$with_pulse" in
16208 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16209 xno) ;;
16210 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16211 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16212 esac
16213 enable_winepulse_drv=${enable_winepulse_drv:-no}
16216 if test "x$with_gstreamer" != "xno"
16217 then
16218 if ${GSTREAMER_CFLAGS:+false} :
16219 then :
16220 if test ${PKG_CONFIG+y}
16221 then :
16222 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16226 if ${GSTREAMER_LIBS:+false} :
16227 then :
16228 if test ${PKG_CONFIG+y}
16229 then :
16230 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16237 ac_save_CPPFLAGS=$CPPFLAGS
16238 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16239 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16240 if test "x$ac_cv_header_gst_gst_h" = xyes
16241 then :
16242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16243 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16246 #include <gst/gst.h>
16248 main (void)
16250 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16252 return 0;
16254 _ACEOF
16255 if ac_fn_c_try_compile "$LINENO"
16256 then :
16257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16258 printf "%s\n" "yes" >&6; }
16259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16260 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16261 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16262 then :
16263 printf %s "(cached) " >&6
16264 else $as_nop
16265 ac_check_lib_save_LIBS=$LIBS
16266 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16270 /* Override any GCC internal prototype to avoid an error.
16271 Use char because int might match the return type of a GCC
16272 builtin and then its argument prototype would still apply. */
16273 char gst_pad_new ();
16275 main (void)
16277 return gst_pad_new ();
16279 return 0;
16281 _ACEOF
16282 if ac_fn_c_try_link "$LINENO"
16283 then :
16284 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16285 else $as_nop
16286 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16289 conftest$ac_exeext conftest.$ac_ext
16290 LIBS=$ac_check_lib_save_LIBS
16292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16293 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16294 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16295 then :
16299 else $as_nop
16300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16301 printf "%s\n" "no" >&6; }
16302 ac_glib2_broken=yes
16303 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16308 CPPFLAGS=$ac_save_CPPFLAGS
16311 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
16312 then
16313 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16314 then :
16315 case "x$with_gstreamer" in
16316 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16317 xno) ;;
16318 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16319 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16320 esac
16324 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
16326 ALSA_LIBS=""
16328 if test "x$with_alsa" != "xno"
16329 then
16330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16331 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16332 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16333 then :
16334 printf %s "(cached) " >&6
16335 else $as_nop
16336 ac_check_lib_save_LIBS=$LIBS
16337 LIBS="-lasound $LIBS"
16338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16341 /* Override any GCC internal prototype to avoid an error.
16342 Use char because int might match the return type of a GCC
16343 builtin and then its argument prototype would still apply. */
16344 char snd_pcm_hw_params_get_access_mask ();
16346 main (void)
16348 return snd_pcm_hw_params_get_access_mask ();
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_link "$LINENO"
16354 then :
16355 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
16356 else $as_nop
16357 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
16359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16360 conftest$ac_exeext conftest.$ac_ext
16361 LIBS=$ac_check_lib_save_LIBS
16363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
16364 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
16365 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
16366 then :
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16369 #include <alsa/asoundlib.h>
16371 main (void)
16373 snd_pcm_hw_params_get_access_mask(NULL, NULL)
16375 return 0;
16377 _ACEOF
16378 if ac_fn_c_try_compile "$LINENO"
16379 then :
16380 ALSA_LIBS="-lasound"
16382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16386 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
16388 if test "x$with_oss" != xno
16389 then
16390 ac_save_CPPFLAGS="$CPPFLAGS"
16391 if test -f /etc/oss.conf
16392 then
16393 . /etc/oss.conf
16395 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
16396 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
16397 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
16398 if test "x$ac_cv_header_sys_soundcard_h" = xyes
16399 then :
16400 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
16402 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
16403 then :
16405 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
16407 OSS4_CFLAGS="$ac_oss_incl"
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16410 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
16411 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
16412 then :
16413 printf %s "(cached) " >&6
16414 else $as_nop
16415 ac_check_lib_save_LIBS=$LIBS
16416 LIBS="-lossaudio $LIBS"
16417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16418 /* end confdefs.h. */
16420 /* Override any GCC internal prototype to avoid an error.
16421 Use char because int might match the return type of a GCC
16422 builtin and then its argument prototype would still apply. */
16423 char _oss_ioctl ();
16425 main (void)
16427 return _oss_ioctl ();
16429 return 0;
16431 _ACEOF
16432 if ac_fn_c_try_link "$LINENO"
16433 then :
16434 ac_cv_lib_ossaudio__oss_ioctl=yes
16435 else $as_nop
16436 ac_cv_lib_ossaudio__oss_ioctl=no
16438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16439 conftest$ac_exeext conftest.$ac_ext
16440 LIBS=$ac_check_lib_save_LIBS
16442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16443 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16444 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
16445 then :
16446 OSS4_LIBS="-lossaudio"
16454 CPPFLAGS="$ac_save_CPPFLAGS"
16456 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
16457 then :
16458 case "x$with_oss" in
16459 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
16460 xno) ;;
16461 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
16462 This is an error since --with-oss was requested." "$LINENO" 5 ;;
16463 esac
16464 enable_wineoss_drv=${enable_wineoss_drv:-no}
16467 if test "x$with_udev" != "xno"
16468 then
16469 if ${UDEV_CFLAGS:+false} :
16470 then :
16471 if test ${PKG_CONFIG+y}
16472 then :
16473 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
16477 if ${UDEV_LIBS:+false} :
16478 then :
16479 if test ${PKG_CONFIG+y}
16480 then :
16481 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
16485 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
16486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
16487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
16488 ac_save_CPPFLAGS=$CPPFLAGS
16489 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
16490 for ac_header in libudev.h
16491 do :
16492 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
16493 if test "x$ac_cv_header_libudev_h" = xyes
16494 then :
16495 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
16496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
16497 printf %s "checking for udev_new in -ludev... " >&6; }
16498 if test ${ac_cv_lib_udev_udev_new+y}
16499 then :
16500 printf %s "(cached) " >&6
16501 else $as_nop
16502 ac_check_lib_save_LIBS=$LIBS
16503 LIBS="-ludev $UDEV_LIBS $LIBS"
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16507 /* Override any GCC internal prototype to avoid an error.
16508 Use char because int might match the return type of a GCC
16509 builtin and then its argument prototype would still apply. */
16510 char udev_new ();
16512 main (void)
16514 return udev_new ();
16516 return 0;
16518 _ACEOF
16519 if ac_fn_c_try_link "$LINENO"
16520 then :
16521 ac_cv_lib_udev_udev_new=yes
16522 else $as_nop
16523 ac_cv_lib_udev_udev_new=no
16525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16526 conftest$ac_exeext conftest.$ac_ext
16527 LIBS=$ac_check_lib_save_LIBS
16529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
16530 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
16531 if test "x$ac_cv_lib_udev_udev_new" = xyes
16532 then :
16534 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
16536 else $as_nop
16537 UDEV_LIBS=""
16540 else $as_nop
16541 UDEV_LIBS=""
16544 done
16545 CPPFLAGS=$ac_save_CPPFLAGS
16548 if test "x$UDEV_LIBS" = "x"
16549 then :
16550 case "x$with_udev" in
16551 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
16552 xno) ;;
16553 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
16554 This is an error since --with-udev was requested." "$LINENO" 5 ;;
16555 esac
16559 if test "x$with_unwind" != xno
16560 then
16561 if ${UNWIND_CFLAGS:+false} :
16562 then :
16563 if test ${PKG_CONFIG+y}
16564 then :
16565 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
16569 if ${UNWIND_LIBS:+false} :
16570 then :
16571 if test ${PKG_CONFIG+y}
16572 then :
16573 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
16577 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
16578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
16579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
16580 ac_save_CPPFLAGS=$CPPFLAGS
16581 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
16582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
16583 printf %s "checking for unw_step... " >&6; }
16584 if test ${wine_cv_have_unw_step+y}
16585 then :
16586 printf %s "(cached) " >&6
16587 else $as_nop
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 #define UNW_LOCAL_ONLY
16591 #include <libunwind.h>
16593 main (void)
16595 unw_cursor_t cursor; unw_step( &cursor );
16597 return 0;
16599 _ACEOF
16600 if ac_fn_c_try_link "$LINENO"
16601 then :
16602 wine_cv_have_unw_step="yes"
16603 else $as_nop
16604 wine_cv_have_unw_step="no"
16606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16607 conftest$ac_exeext conftest.$ac_ext
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
16610 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
16611 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
16612 then
16613 save_libs=$LIBS
16614 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
16615 LIBS="$UNWIND_LIBS $LIBS"
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
16617 printf %s "checking for unw_step in libunwind... " >&6; }
16618 if test ${wine_cv_have_libunwind_unw_step+y}
16619 then :
16620 printf %s "(cached) " >&6
16621 else $as_nop
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 #define UNW_LOCAL_ONLY
16625 #include <libunwind.h>
16627 main (void)
16629 unw_cursor_t cursor; unw_step( &cursor );
16631 return 0;
16633 _ACEOF
16634 if ac_fn_c_try_link "$LINENO"
16635 then :
16636 wine_cv_have_libunwind_unw_step="yes"
16637 else $as_nop
16638 wine_cv_have_libunwind_unw_step="no"
16640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16641 conftest$ac_exeext conftest.$ac_ext
16643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
16644 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
16645 LIBS=$save_libs
16647 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
16648 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
16649 then
16651 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
16654 CPPFLAGS=$ac_save_CPPFLAGS
16657 case $host in
16658 aarch64*|*-darwin*)
16659 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
16660 then :
16661 case "x$with_unwind" in
16662 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
16663 xno) ;;
16664 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
16665 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
16666 esac
16668 fi ;;
16669 esac
16671 if test "x$with_sdl" != "xno"
16672 then
16673 if ${SDL2_CFLAGS:+false} :
16674 then :
16675 if test ${PKG_CONFIG+y}
16676 then :
16677 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
16681 if ${SDL2_LIBS:+false} :
16682 then :
16683 if test ${PKG_CONFIG+y}
16684 then :
16685 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
16689 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
16690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
16691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
16692 ac_save_CPPFLAGS=$CPPFLAGS
16693 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
16694 for ac_header in SDL.h
16695 do :
16696 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
16697 if test "x$ac_cv_header_SDL_h" = xyes
16698 then :
16699 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
16700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
16701 printf %s "checking for -lSDL2... " >&6; }
16702 if test ${ac_cv_lib_soname_SDL2+y}
16703 then :
16704 printf %s "(cached) " >&6
16705 else $as_nop
16706 ac_check_soname_save_LIBS=$LIBS
16707 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
16708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16711 /* Override any GCC internal prototype to avoid an error.
16712 Use char because int might match the return type of a GCC
16713 builtin and then its argument prototype would still apply. */
16714 char SDL_Init ();
16716 main (void)
16718 return SDL_Init ();
16720 return 0;
16722 _ACEOF
16723 if ac_fn_c_try_link "$LINENO"
16724 then :
16725 case "$LIBEXT" in
16726 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16727 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'` ;;
16728 *) 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'`
16729 if ${ac_cv_lib_soname_SDL2:+false} :
16730 then :
16731 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16732 fi ;;
16733 esac
16734 else $as_nop
16735 ac_cv_lib_soname_SDL2=
16737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16738 conftest$ac_exeext conftest.$ac_ext
16739 LIBS=$ac_check_soname_save_LIBS
16741 if ${ac_cv_lib_soname_SDL2:+false} :
16742 then :
16743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16744 printf "%s\n" "not found" >&6; }
16746 else $as_nop
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
16748 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
16750 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
16756 done
16757 CPPFLAGS=$ac_save_CPPFLAGS
16760 if test "x$ac_cv_lib_soname_SDL2" = "x"
16761 then :
16762 case "x$with_sdl" in
16763 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
16764 xno) ;;
16765 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
16766 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
16767 esac
16771 if test "x$with_capi" != "xno"
16772 then
16773 if ${CAPI20_CFLAGS:+false} :
16774 then :
16775 if test ${PKG_CONFIG+y}
16776 then :
16777 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
16781 if ${CAPI20_LIBS:+false} :
16782 then :
16783 if test ${PKG_CONFIG+y}
16784 then :
16785 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
16790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
16791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
16792 ac_save_CPPFLAGS=$CPPFLAGS
16793 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
16794 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
16796 if test "x$ac_cv_header_capi20_h" = xyes
16797 then :
16798 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
16801 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
16803 if test "x$ac_cv_header_linux_capi_h" = xyes
16804 then :
16805 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
16809 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
16810 then
16811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
16812 printf %s "checking for capi20_register in -lcapi20... " >&6; }
16813 if test ${ac_cv_lib_capi20_capi20_register+y}
16814 then :
16815 printf %s "(cached) " >&6
16816 else $as_nop
16817 ac_check_lib_save_LIBS=$LIBS
16818 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
16819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h. */
16822 /* Override any GCC internal prototype to avoid an error.
16823 Use char because int might match the return type of a GCC
16824 builtin and then its argument prototype would still apply. */
16825 char capi20_register ();
16827 main (void)
16829 return capi20_register ();
16831 return 0;
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"
16835 then :
16836 ac_cv_lib_capi20_capi20_register=yes
16837 else $as_nop
16838 ac_cv_lib_capi20_capi20_register=no
16840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16841 conftest$ac_exeext conftest.$ac_ext
16842 LIBS=$ac_check_lib_save_LIBS
16844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
16845 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
16846 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
16847 then :
16849 else $as_nop
16850 CAPI20_LIBS=""
16854 CPPFLAGS=$ac_save_CPPFLAGS
16857 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
16858 then :
16859 case "x$with_capi" in
16860 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
16861 xno) ;;
16862 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
16863 This is an error since --with-capi was requested." "$LINENO" 5 ;;
16864 esac
16865 enable_capi2032=${enable_capi2032:-no}
16868 if test "x$with_cups" != "xno"
16869 then
16870 if ${CUPS_CFLAGS:+false} :
16871 then :
16872 if test ${PKG_CONFIG+y}
16873 then :
16874 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
16877 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
16878 if ${CUPS_LIBS:+false} :
16879 then :
16880 if test ${PKG_CONFIG+y}
16881 then :
16882 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
16885 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
16886 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
16887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
16888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
16889 ac_save_CPPFLAGS=$CPPFLAGS
16890 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
16891 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
16892 if test "x$ac_cv_header_cups_cups_h" = xyes
16893 then :
16894 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
16897 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
16898 if test "x$ac_cv_header_cups_ppd_h" = xyes
16899 then :
16900 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
16904 if test "$ac_cv_header_cups_cups_h" = "yes"
16905 then
16906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
16907 printf %s "checking for -lcups... " >&6; }
16908 if test ${ac_cv_lib_soname_cups+y}
16909 then :
16910 printf %s "(cached) " >&6
16911 else $as_nop
16912 ac_check_soname_save_LIBS=$LIBS
16913 LIBS="-lcups $CUPS_LIBS $LIBS"
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16917 /* Override any GCC internal prototype to avoid an error.
16918 Use char because int might match the return type of a GCC
16919 builtin and then its argument prototype would still apply. */
16920 char cupsGetDefault ();
16922 main (void)
16924 return cupsGetDefault ();
16926 return 0;
16928 _ACEOF
16929 if ac_fn_c_try_link "$LINENO"
16930 then :
16931 case "$LIBEXT" in
16932 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16933 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'` ;;
16934 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16935 if ${ac_cv_lib_soname_cups:+false} :
16936 then :
16937 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16938 fi ;;
16939 esac
16940 else $as_nop
16941 ac_cv_lib_soname_cups=
16943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16944 conftest$ac_exeext conftest.$ac_ext
16945 LIBS=$ac_check_soname_save_LIBS
16947 if ${ac_cv_lib_soname_cups:+false} :
16948 then :
16949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16950 printf "%s\n" "not found" >&6; }
16951 CUPS_LIBS=""
16952 else $as_nop
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
16954 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
16956 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
16960 else
16961 CUPS_CFLAGS=""
16962 CUPS_LIBS=""
16964 CPPFLAGS=$ac_save_CPPFLAGS
16967 if test "x$ac_cv_lib_soname_cups" = "x"
16968 then :
16969 case "x$with_cups" in
16970 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
16971 xno) ;;
16972 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
16973 This is an error since --with-cups was requested." "$LINENO" 5 ;;
16974 esac
16978 if test "x$with_fontconfig" != "xno"
16979 then
16980 if ${FONTCONFIG_CFLAGS:+false} :
16981 then :
16982 if test ${PKG_CONFIG+y}
16983 then :
16984 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
16987 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
16988 if ${FONTCONFIG_LIBS:+false} :
16989 then :
16990 if test ${PKG_CONFIG+y}
16991 then :
16992 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
16995 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
16997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
16998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
16999 ac_save_CPPFLAGS=$CPPFLAGS
17000 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17001 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17002 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17003 then :
17004 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17008 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17009 then
17010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17011 printf %s "checking for -lfontconfig... " >&6; }
17012 if test ${ac_cv_lib_soname_fontconfig+y}
17013 then :
17014 printf %s "(cached) " >&6
17015 else $as_nop
17016 ac_check_soname_save_LIBS=$LIBS
17017 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17021 /* Override any GCC internal prototype to avoid an error.
17022 Use char because int might match the return type of a GCC
17023 builtin and then its argument prototype would still apply. */
17024 char FcInit ();
17026 main (void)
17028 return FcInit ();
17030 return 0;
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"
17034 then :
17035 case "$LIBEXT" in
17036 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17037 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'` ;;
17038 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17039 if ${ac_cv_lib_soname_fontconfig:+false} :
17040 then :
17041 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17042 fi ;;
17043 esac
17044 else $as_nop
17045 ac_cv_lib_soname_fontconfig=
17047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17048 conftest$ac_exeext conftest.$ac_ext
17049 LIBS=$ac_check_soname_save_LIBS
17051 if ${ac_cv_lib_soname_fontconfig:+false} :
17052 then :
17053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17054 printf "%s\n" "not found" >&6; }
17055 FONTCONFIG_CFLAGS=""
17056 else $as_nop
17057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17058 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17060 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17064 else
17065 FONTCONFIG_CFLAGS=""
17067 CPPFLAGS=$ac_save_CPPFLAGS
17070 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17071 then :
17072 case "x$with_fontconfig" in
17073 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17074 xno) ;;
17075 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17076 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17077 esac
17081 if test "x$with_krb5" != "xno"
17082 then
17083 if ${KRB5_CFLAGS:+false} :
17084 then :
17085 if test ${PKG_CONFIG+y}
17086 then :
17087 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17090 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17091 if ${KRB5_LIBS:+false} :
17092 then :
17093 if test ${PKG_CONFIG+y}
17094 then :
17095 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17098 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17102 ac_save_CPPFLAGS=$CPPFLAGS
17103 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17104 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17105 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17106 then :
17107 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17111 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17112 then
17113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17114 printf %s "checking for -lkrb5... " >&6; }
17115 if test ${ac_cv_lib_soname_krb5+y}
17116 then :
17117 printf %s "(cached) " >&6
17118 else $as_nop
17119 ac_check_soname_save_LIBS=$LIBS
17120 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17124 /* Override any GCC internal prototype to avoid an error.
17125 Use char because int might match the return type of a GCC
17126 builtin and then its argument prototype would still apply. */
17127 char krb5_is_config_principal ();
17129 main (void)
17131 return krb5_is_config_principal ();
17133 return 0;
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"
17137 then :
17138 case "$LIBEXT" in
17139 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17140 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'` ;;
17141 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17142 if ${ac_cv_lib_soname_krb5:+false} :
17143 then :
17144 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17145 fi ;;
17146 esac
17147 else $as_nop
17148 ac_cv_lib_soname_krb5=
17150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17151 conftest$ac_exeext conftest.$ac_ext
17152 LIBS=$ac_check_soname_save_LIBS
17154 if ${ac_cv_lib_soname_krb5:+false} :
17155 then :
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17157 printf "%s\n" "not found" >&6; }
17158 KRB5_CFLAGS=""
17159 else $as_nop
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17161 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17163 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17167 else
17168 KRB5_CFLAGS=""
17170 CPPFLAGS=$ac_save_CPPFLAGS
17173 if test "x$ac_cv_lib_soname_krb5" = "x"
17174 then :
17175 case "x$with_krb5" in
17176 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17177 xno) ;;
17178 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17179 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17180 esac
17183 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17185 if test "x$with_gssapi" != "xno"
17186 then
17187 if ${GSSAPI_CFLAGS:+false} :
17188 then :
17189 if test ${PKG_CONFIG+y}
17190 then :
17191 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17194 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17195 if ${GSSAPI_LIBS:+false} :
17196 then :
17197 if test ${PKG_CONFIG+y}
17198 then :
17199 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17202 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17206 ac_save_CPPFLAGS=$CPPFLAGS
17207 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17208 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17209 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17210 then :
17211 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17214 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17215 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17216 then :
17217 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17221 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17222 then
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17224 printf %s "checking for -lgssapi_krb5... " >&6; }
17225 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17226 then :
17227 printf %s "(cached) " >&6
17228 else $as_nop
17229 ac_check_soname_save_LIBS=$LIBS
17230 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17234 /* Override any GCC internal prototype to avoid an error.
17235 Use char because int might match the return type of a GCC
17236 builtin and then its argument prototype would still apply. */
17237 char gss_init_sec_context ();
17239 main (void)
17241 return gss_init_sec_context ();
17243 return 0;
17245 _ACEOF
17246 if ac_fn_c_try_link "$LINENO"
17247 then :
17248 case "$LIBEXT" in
17249 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17250 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'` ;;
17251 *) 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'`
17252 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17253 then :
17254 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17255 fi ;;
17256 esac
17257 else $as_nop
17258 ac_cv_lib_soname_gssapi_krb5=
17260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17261 conftest$ac_exeext conftest.$ac_ext
17262 LIBS=$ac_check_soname_save_LIBS
17264 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17265 then :
17266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17267 printf "%s\n" "not found" >&6; }
17268 GSSAPI_CFLAGS=""
17269 else $as_nop
17270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17271 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17273 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17277 else
17278 GSSAPI_CFLAGS=""
17280 CPPFLAGS=$ac_save_CPPFLAGS
17283 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17284 then :
17285 case "x$with_gssapi" in
17286 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17287 xno) ;;
17288 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17289 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17290 esac
17294 if test "$ac_cv_header_AL_al_h" = "yes"
17295 then
17296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17297 printf %s "checking for -lopenal... " >&6; }
17298 if test ${ac_cv_lib_soname_openal+y}
17299 then :
17300 printf %s "(cached) " >&6
17301 else $as_nop
17302 ac_check_soname_save_LIBS=$LIBS
17303 LIBS="-lopenal $LIBS"
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17307 /* Override any GCC internal prototype to avoid an error.
17308 Use char because int might match the return type of a GCC
17309 builtin and then its argument prototype would still apply. */
17310 char alGetSource3i ();
17312 main (void)
17314 return alGetSource3i ();
17316 return 0;
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"
17320 then :
17321 case "$LIBEXT" in
17322 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17323 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'` ;;
17324 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17325 if ${ac_cv_lib_soname_openal:+false} :
17326 then :
17327 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17328 fi ;;
17329 esac
17330 else $as_nop
17331 ac_cv_lib_soname_openal=
17333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17334 conftest$ac_exeext conftest.$ac_ext
17335 LIBS=$ac_check_soname_save_LIBS
17337 if ${ac_cv_lib_soname_openal:+false} :
17338 then :
17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17340 printf "%s\n" "not found" >&6; }
17342 else $as_nop
17343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17344 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17346 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17348 OPENAL_LIBS="-lopenal"
17350 ac_cv_lib_openal=yes
17352 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
17356 if test "x$ac_cv_lib_openal" != xyes
17357 then :
17358 case "x$with_openal" in
17359 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
17360 xno) ;;
17361 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
17362 This is an error since --with-openal was requested." "$LINENO" 5 ;;
17363 esac
17364 enable_openal32=${enable_openal32:-no}
17367 if test "$ac_cv_header_libprocstat_h" = "yes"
17368 then
17369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17370 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17371 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
17372 then :
17373 printf %s "(cached) " >&6
17374 else $as_nop
17375 ac_check_lib_save_LIBS=$LIBS
17376 LIBS="-lprocstat $LIBS"
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17380 /* Override any GCC internal prototype to avoid an error.
17381 Use char because int might match the return type of a GCC
17382 builtin and then its argument prototype would still apply. */
17383 char procstat_open_sysctl ();
17385 main (void)
17387 return procstat_open_sysctl ();
17389 return 0;
17391 _ACEOF
17392 if ac_fn_c_try_link "$LINENO"
17393 then :
17394 ac_cv_lib_procstat_procstat_open_sysctl=yes
17395 else $as_nop
17396 ac_cv_lib_procstat_procstat_open_sysctl=no
17398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17399 conftest$ac_exeext conftest.$ac_ext
17400 LIBS=$ac_check_lib_save_LIBS
17402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
17403 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
17404 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
17405 then :
17407 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
17409 PROCSTAT_LIBS="-lprocstat"
17415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
17416 printf %s "checking for -lodbc... " >&6; }
17417 if test ${ac_cv_lib_soname_odbc+y}
17418 then :
17419 printf %s "(cached) " >&6
17420 else $as_nop
17421 ac_check_soname_save_LIBS=$LIBS
17422 LIBS="-lodbc $LIBS"
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17426 /* Override any GCC internal prototype to avoid an error.
17427 Use char because int might match the return type of a GCC
17428 builtin and then its argument prototype would still apply. */
17429 char SQLConnect ();
17431 main (void)
17433 return SQLConnect ();
17435 return 0;
17437 _ACEOF
17438 if ac_fn_c_try_link "$LINENO"
17439 then :
17440 case "$LIBEXT" in
17441 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17442 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'` ;;
17443 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17444 if ${ac_cv_lib_soname_odbc:+false} :
17445 then :
17446 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17447 fi ;;
17448 esac
17449 else $as_nop
17450 ac_cv_lib_soname_odbc=
17452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17453 conftest$ac_exeext conftest.$ac_ext
17454 LIBS=$ac_check_soname_save_LIBS
17456 if ${ac_cv_lib_soname_odbc:+false} :
17457 then :
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17459 printf "%s\n" "not found" >&6; }
17460 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
17462 else $as_nop
17463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
17464 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
17466 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
17471 if test "x$with_netapi" != "xno"
17472 then
17473 if ${NETAPI_CFLAGS:+false} :
17474 then :
17475 if test ${PKG_CONFIG+y}
17476 then :
17477 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
17481 if ${NETAPI_LIBS:+false} :
17482 then :
17483 if test ${PKG_CONFIG+y}
17484 then :
17485 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
17490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
17491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
17492 ac_save_CPPFLAGS=$CPPFLAGS
17493 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
17494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
17495 printf %s "checking for -lnetapi... " >&6; }
17496 if test ${ac_cv_lib_soname_netapi+y}
17497 then :
17498 printf %s "(cached) " >&6
17499 else $as_nop
17500 ac_check_soname_save_LIBS=$LIBS
17501 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17505 /* Override any GCC internal prototype to avoid an error.
17506 Use char because int might match the return type of a GCC
17507 builtin and then its argument prototype would still apply. */
17508 char libnetapi_init ();
17510 main (void)
17512 return libnetapi_init ();
17514 return 0;
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"
17518 then :
17519 case "$LIBEXT" in
17520 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17521 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'` ;;
17522 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17523 if ${ac_cv_lib_soname_netapi:+false} :
17524 then :
17525 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17526 fi ;;
17527 esac
17528 else $as_nop
17529 ac_cv_lib_soname_netapi=
17531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17532 conftest$ac_exeext conftest.$ac_ext
17533 LIBS=$ac_check_soname_save_LIBS
17535 if ${ac_cv_lib_soname_netapi:+false} :
17536 then :
17537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17538 printf "%s\n" "not found" >&6; }
17539 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
17541 else $as_nop
17542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
17543 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
17545 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
17549 CPPFLAGS=$ac_save_CPPFLAGS
17553 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
17554 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
17555 then
17556 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
17559 if test "x$with_vulkan" != "xno"
17560 then
17561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
17562 printf %s "checking for -lvulkan... " >&6; }
17563 if test ${ac_cv_lib_soname_vulkan+y}
17564 then :
17565 printf %s "(cached) " >&6
17566 else $as_nop
17567 ac_check_soname_save_LIBS=$LIBS
17568 LIBS="-lvulkan $LIBS"
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17572 /* Override any GCC internal prototype to avoid an error.
17573 Use char because int might match the return type of a GCC
17574 builtin and then its argument prototype would still apply. */
17575 char vkGetInstanceProcAddr ();
17577 main (void)
17579 return vkGetInstanceProcAddr ();
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_link "$LINENO"
17585 then :
17586 case "$LIBEXT" in
17587 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17588 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'` ;;
17589 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17590 if ${ac_cv_lib_soname_vulkan:+false} :
17591 then :
17592 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17593 fi ;;
17594 esac
17595 else $as_nop
17596 ac_cv_lib_soname_vulkan=
17598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17599 conftest$ac_exeext conftest.$ac_ext
17600 LIBS=$ac_check_soname_save_LIBS
17602 if ${ac_cv_lib_soname_vulkan:+false} :
17603 then :
17604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17605 printf "%s\n" "not found" >&6; }
17607 else $as_nop
17608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
17609 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
17611 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
17615 if test "x$ac_cv_lib_soname_vulkan" = "x"
17616 then
17617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
17618 printf %s "checking for -lMoltenVK... " >&6; }
17619 if test ${ac_cv_lib_soname_MoltenVK+y}
17620 then :
17621 printf %s "(cached) " >&6
17622 else $as_nop
17623 ac_check_soname_save_LIBS=$LIBS
17624 LIBS="-lMoltenVK $LIBS"
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17628 /* Override any GCC internal prototype to avoid an error.
17629 Use char because int might match the return type of a GCC
17630 builtin and then its argument prototype would still apply. */
17631 char vkGetInstanceProcAddr ();
17633 main (void)
17635 return vkGetInstanceProcAddr ();
17637 return 0;
17639 _ACEOF
17640 if ac_fn_c_try_link "$LINENO"
17641 then :
17642 case "$LIBEXT" in
17643 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17644 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'` ;;
17645 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17646 if ${ac_cv_lib_soname_MoltenVK:+false} :
17647 then :
17648 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17649 fi ;;
17650 esac
17651 else $as_nop
17652 ac_cv_lib_soname_MoltenVK=
17654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17655 conftest$ac_exeext conftest.$ac_ext
17656 LIBS=$ac_check_soname_save_LIBS
17658 if ${ac_cv_lib_soname_MoltenVK:+false} :
17659 then :
17660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17661 printf "%s\n" "not found" >&6; }
17663 else $as_nop
17664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17665 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
17667 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
17673 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
17674 then :
17675 case "x$with_vulkan" in
17676 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17677 xno) ;;
17678 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17679 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17680 esac
17684 if test "x$with_vkd3d" != "xno"
17685 then
17686 if ${VKD3D_CFLAGS:+false} :
17687 then :
17688 if test ${PKG_CONFIG+y}
17689 then :
17690 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17694 if ${VKD3D_LIBS:+false} :
17695 then :
17696 if test ${PKG_CONFIG+y}
17697 then :
17698 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17705 ac_save_CPPFLAGS=$CPPFLAGS
17706 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17708 printf %s "checking for -lvkd3d... " >&6; }
17709 if test ${ac_cv_lib_soname_vkd3d+y}
17710 then :
17711 printf %s "(cached) " >&6
17712 else $as_nop
17713 ac_check_soname_save_LIBS=$LIBS
17714 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17718 /* Override any GCC internal prototype to avoid an error.
17719 Use char because int might match the return type of a GCC
17720 builtin and then its argument prototype would still apply. */
17721 char vkd3d_serialize_versioned_root_signature ();
17723 main (void)
17725 return vkd3d_serialize_versioned_root_signature ();
17727 return 0;
17729 _ACEOF
17730 if ac_fn_c_try_link "$LINENO"
17731 then :
17732 case "$LIBEXT" in
17733 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17734 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17735 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17736 if ${ac_cv_lib_soname_vkd3d:+false} :
17737 then :
17738 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17739 fi ;;
17740 esac
17741 else $as_nop
17742 ac_cv_lib_soname_vkd3d=
17744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17745 conftest$ac_exeext conftest.$ac_ext
17746 LIBS=$ac_check_soname_save_LIBS
17748 if ${ac_cv_lib_soname_vkd3d:+false} :
17749 then :
17750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17751 printf "%s\n" "not found" >&6; }
17753 else $as_nop
17754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17755 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
17757 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
17761 CPPFLAGS=$ac_save_CPPFLAGS
17763 if ${VKD3D_SHADER_CFLAGS:+false} :
17764 then :
17765 if test ${PKG_CONFIG+y}
17766 then :
17767 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
17771 if ${VKD3D_SHADER_LIBS:+false} :
17772 then :
17773 if test ${PKG_CONFIG+y}
17774 then :
17775 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
17780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
17781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
17782 ac_save_CPPFLAGS=$CPPFLAGS
17783 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
17784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
17785 printf %s "checking for -lvkd3d-shader... " >&6; }
17786 if test ${ac_cv_lib_soname_vkd3d_shader+y}
17787 then :
17788 printf %s "(cached) " >&6
17789 else $as_nop
17790 ac_check_soname_save_LIBS=$LIBS
17791 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17795 /* Override any GCC internal prototype to avoid an error.
17796 Use char because int might match the return type of a GCC
17797 builtin and then its argument prototype would still apply. */
17798 char vkd3d_shader_compile ();
17800 main (void)
17802 return vkd3d_shader_compile ();
17804 return 0;
17806 _ACEOF
17807 if ac_fn_c_try_link "$LINENO"
17808 then :
17809 case "$LIBEXT" in
17810 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17811 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17812 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17813 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17814 then :
17815 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17816 fi ;;
17817 esac
17818 else $as_nop
17819 ac_cv_lib_soname_vkd3d_shader=
17821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17822 conftest$ac_exeext conftest.$ac_ext
17823 LIBS=$ac_check_soname_save_LIBS
17825 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17826 then :
17827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17828 printf "%s\n" "not found" >&6; }
17830 else $as_nop
17831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
17832 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
17834 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
17838 CPPFLAGS=$ac_save_CPPFLAGS
17841 if test "x$ac_cv_lib_soname_vkd3d" = "x"
17842 then :
17843 case "x$with_vkd3d" in
17844 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17845 xno) ;;
17846 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17847 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17848 esac
17851 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17854 if test "x${GCC}" = "xyes"
17855 then
17856 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
17858 saved_CFLAGS=$CFLAGS
17859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17860 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17861 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
17862 then :
17863 printf %s "(cached) " >&6
17864 else $as_nop
17865 ac_wine_try_cflags_saved=$CFLAGS
17866 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17869 int main(int argc, char **argv) { return 0; }
17870 _ACEOF
17871 if ac_fn_c_try_link "$LINENO"
17872 then :
17873 ac_cv_cflags__Werror_unknown_warning_option=yes
17874 else $as_nop
17875 ac_cv_cflags__Werror_unknown_warning_option=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17878 conftest$ac_exeext conftest.$ac_ext
17879 CFLAGS=$ac_wine_try_cflags_saved
17881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17882 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17883 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
17884 then :
17885 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17888 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17889 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
17890 then :
17891 printf %s "(cached) " >&6
17892 else $as_nop
17893 ac_wine_try_cflags_saved=$CFLAGS
17894 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17897 int main(int argc, char **argv) { return 0; }
17898 _ACEOF
17899 if ac_fn_c_try_link "$LINENO"
17900 then :
17901 ac_cv_cflags__Werror_unused_command_line_argument=yes
17902 else $as_nop
17903 ac_cv_cflags__Werror_unused_command_line_argument=no
17905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17906 conftest$ac_exeext conftest.$ac_ext
17907 CFLAGS=$ac_wine_try_cflags_saved
17909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17910 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17911 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
17912 then :
17913 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17916 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17917 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
17918 then :
17919 printf %s "(cached) " >&6
17920 else $as_nop
17921 ac_wine_try_cflags_saved=$CFLAGS
17922 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17925 int main(int argc, char **argv) { return 0; }
17926 _ACEOF
17927 if ac_fn_c_try_link "$LINENO"
17928 then :
17929 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17930 else $as_nop
17931 ac_cv_cflags__Werror_ignored_optimization_argument=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17934 conftest$ac_exeext conftest.$ac_ext
17935 CFLAGS=$ac_wine_try_cflags_saved
17937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17938 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17939 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
17940 then :
17941 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17944 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
17945 if test ${ac_cv_cflags__fcf_protection_none+y}
17946 then :
17947 printf %s "(cached) " >&6
17948 else $as_nop
17949 ac_wine_try_cflags_saved=$CFLAGS
17950 CFLAGS="$CFLAGS -fcf-protection=none"
17951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17952 /* end confdefs.h. */
17953 int main(int argc, char **argv) { return 0; }
17954 _ACEOF
17955 if ac_fn_c_try_link "$LINENO"
17956 then :
17957 ac_cv_cflags__fcf_protection_none=yes
17958 else $as_nop
17959 ac_cv_cflags__fcf_protection_none=no
17961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17962 conftest$ac_exeext conftest.$ac_ext
17963 CFLAGS=$ac_wine_try_cflags_saved
17965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17966 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
17967 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
17968 then :
17969 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17972 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
17973 if test ${ac_cv_cflags__fno_stack_protector+y}
17974 then :
17975 printf %s "(cached) " >&6
17976 else $as_nop
17977 ac_wine_try_cflags_saved=$CFLAGS
17978 CFLAGS="$CFLAGS -fno-stack-protector"
17979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17980 /* end confdefs.h. */
17981 int main(int argc, char **argv) { return 0; }
17982 _ACEOF
17983 if ac_fn_c_try_link "$LINENO"
17984 then :
17985 ac_cv_cflags__fno_stack_protector=yes
17986 else $as_nop
17987 ac_cv_cflags__fno_stack_protector=no
17989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17990 conftest$ac_exeext conftest.$ac_ext
17991 CFLAGS=$ac_wine_try_cflags_saved
17993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17994 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
17995 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
17996 then :
17997 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18000 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18001 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18002 then :
18003 printf %s "(cached) " >&6
18004 else $as_nop
18005 ac_wine_try_cflags_saved=$CFLAGS
18006 CFLAGS="$CFLAGS -fno-strict-aliasing"
18007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18009 int main(int argc, char **argv) { return 0; }
18010 _ACEOF
18011 if ac_fn_c_try_link "$LINENO"
18012 then :
18013 ac_cv_cflags__fno_strict_aliasing=yes
18014 else $as_nop
18015 ac_cv_cflags__fno_strict_aliasing=no
18017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18018 conftest$ac_exeext conftest.$ac_ext
18019 CFLAGS=$ac_wine_try_cflags_saved
18021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18022 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18023 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18024 then :
18025 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18028 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18029 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18030 then :
18031 printf %s "(cached) " >&6
18032 else $as_nop
18033 ac_wine_try_cflags_saved=$CFLAGS
18034 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 int main(int argc, char **argv) { return 0; }
18038 _ACEOF
18039 if ac_fn_c_try_link "$LINENO"
18040 then :
18041 ac_cv_cflags__Wdeclaration_after_statement=yes
18042 else $as_nop
18043 ac_cv_cflags__Wdeclaration_after_statement=no
18045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18046 conftest$ac_exeext conftest.$ac_ext
18047 CFLAGS=$ac_wine_try_cflags_saved
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18050 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18051 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18052 then :
18053 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18056 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18057 if test ${ac_cv_cflags__Wempty_body+y}
18058 then :
18059 printf %s "(cached) " >&6
18060 else $as_nop
18061 ac_wine_try_cflags_saved=$CFLAGS
18062 CFLAGS="$CFLAGS -Wempty-body"
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 int main(int argc, char **argv) { return 0; }
18066 _ACEOF
18067 if ac_fn_c_try_link "$LINENO"
18068 then :
18069 ac_cv_cflags__Wempty_body=yes
18070 else $as_nop
18071 ac_cv_cflags__Wempty_body=no
18073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18074 conftest$ac_exeext conftest.$ac_ext
18075 CFLAGS=$ac_wine_try_cflags_saved
18077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18078 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18079 if test "x$ac_cv_cflags__Wempty_body" = xyes
18080 then :
18081 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18084 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18085 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18086 then :
18087 printf %s "(cached) " >&6
18088 else $as_nop
18089 ac_wine_try_cflags_saved=$CFLAGS
18090 CFLAGS="$CFLAGS -Wignored-qualifiers"
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18093 int main(int argc, char **argv) { return 0; }
18094 _ACEOF
18095 if ac_fn_c_try_link "$LINENO"
18096 then :
18097 ac_cv_cflags__Wignored_qualifiers=yes
18098 else $as_nop
18099 ac_cv_cflags__Wignored_qualifiers=no
18101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18102 conftest$ac_exeext conftest.$ac_ext
18103 CFLAGS=$ac_wine_try_cflags_saved
18105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18106 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18107 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18108 then :
18109 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18112 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18113 if test ${ac_cv_cflags__Winit_self+y}
18114 then :
18115 printf %s "(cached) " >&6
18116 else $as_nop
18117 ac_wine_try_cflags_saved=$CFLAGS
18118 CFLAGS="$CFLAGS -Winit-self"
18119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18121 int main(int argc, char **argv) { return 0; }
18122 _ACEOF
18123 if ac_fn_c_try_link "$LINENO"
18124 then :
18125 ac_cv_cflags__Winit_self=yes
18126 else $as_nop
18127 ac_cv_cflags__Winit_self=no
18129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18130 conftest$ac_exeext conftest.$ac_ext
18131 CFLAGS=$ac_wine_try_cflags_saved
18133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18134 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18135 if test "x$ac_cv_cflags__Winit_self" = xyes
18136 then :
18137 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18140 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18141 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18142 then :
18143 printf %s "(cached) " >&6
18144 else $as_nop
18145 ac_wine_try_cflags_saved=$CFLAGS
18146 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18149 int main(int argc, char **argv) { return 0; }
18150 _ACEOF
18151 if ac_fn_c_try_link "$LINENO"
18152 then :
18153 ac_cv_cflags__Wpacked_not_aligned=yes
18154 else $as_nop
18155 ac_cv_cflags__Wpacked_not_aligned=no
18157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18158 conftest$ac_exeext conftest.$ac_ext
18159 CFLAGS=$ac_wine_try_cflags_saved
18161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18162 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18163 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18164 then :
18165 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18168 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18169 if test ${ac_cv_cflags__Wpragma_pack+y}
18170 then :
18171 printf %s "(cached) " >&6
18172 else $as_nop
18173 ac_wine_try_cflags_saved=$CFLAGS
18174 CFLAGS="$CFLAGS -Wpragma-pack"
18175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18177 int main(int argc, char **argv) { return 0; }
18178 _ACEOF
18179 if ac_fn_c_try_link "$LINENO"
18180 then :
18181 ac_cv_cflags__Wpragma_pack=yes
18182 else $as_nop
18183 ac_cv_cflags__Wpragma_pack=no
18185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18186 conftest$ac_exeext conftest.$ac_ext
18187 CFLAGS=$ac_wine_try_cflags_saved
18189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18190 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18191 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18192 then :
18193 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18196 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18197 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18198 then :
18199 printf %s "(cached) " >&6
18200 else $as_nop
18201 ac_wine_try_cflags_saved=$CFLAGS
18202 CFLAGS="$CFLAGS -Wshift-overflow=2"
18203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18205 int main(int argc, char **argv) { return 0; }
18206 _ACEOF
18207 if ac_fn_c_try_link "$LINENO"
18208 then :
18209 ac_cv_cflags__Wshift_overflow_2=yes
18210 else $as_nop
18211 ac_cv_cflags__Wshift_overflow_2=no
18213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18214 conftest$ac_exeext conftest.$ac_ext
18215 CFLAGS=$ac_wine_try_cflags_saved
18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18218 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18219 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18220 then :
18221 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18224 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18225 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18226 then :
18227 printf %s "(cached) " >&6
18228 else $as_nop
18229 ac_wine_try_cflags_saved=$CFLAGS
18230 CFLAGS="$CFLAGS -Wstrict-prototypes"
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18233 int main(int argc, char **argv) { return 0; }
18234 _ACEOF
18235 if ac_fn_c_try_link "$LINENO"
18236 then :
18237 ac_cv_cflags__Wstrict_prototypes=yes
18238 else $as_nop
18239 ac_cv_cflags__Wstrict_prototypes=no
18241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18242 conftest$ac_exeext conftest.$ac_ext
18243 CFLAGS=$ac_wine_try_cflags_saved
18245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18246 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18247 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18248 then :
18249 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18252 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18253 if test ${ac_cv_cflags__Wtype_limits+y}
18254 then :
18255 printf %s "(cached) " >&6
18256 else $as_nop
18257 ac_wine_try_cflags_saved=$CFLAGS
18258 CFLAGS="$CFLAGS -Wtype-limits"
18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18261 int main(int argc, char **argv) { return 0; }
18262 _ACEOF
18263 if ac_fn_c_try_link "$LINENO"
18264 then :
18265 ac_cv_cflags__Wtype_limits=yes
18266 else $as_nop
18267 ac_cv_cflags__Wtype_limits=no
18269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18270 conftest$ac_exeext conftest.$ac_ext
18271 CFLAGS=$ac_wine_try_cflags_saved
18273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18274 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18275 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18276 then :
18277 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18280 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18281 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18282 then :
18283 printf %s "(cached) " >&6
18284 else $as_nop
18285 ac_wine_try_cflags_saved=$CFLAGS
18286 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18289 int main(int argc, char **argv) { return 0; }
18290 _ACEOF
18291 if ac_fn_c_try_link "$LINENO"
18292 then :
18293 ac_cv_cflags__Wunused_but_set_parameter=yes
18294 else $as_nop
18295 ac_cv_cflags__Wunused_but_set_parameter=no
18297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18298 conftest$ac_exeext conftest.$ac_ext
18299 CFLAGS=$ac_wine_try_cflags_saved
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18302 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18303 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18304 then :
18305 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18308 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18309 if test ${ac_cv_cflags__Wvla+y}
18310 then :
18311 printf %s "(cached) " >&6
18312 else $as_nop
18313 ac_wine_try_cflags_saved=$CFLAGS
18314 CFLAGS="$CFLAGS -Wvla"
18315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18316 /* end confdefs.h. */
18317 int main(int argc, char **argv) { return 0; }
18318 _ACEOF
18319 if ac_fn_c_try_link "$LINENO"
18320 then :
18321 ac_cv_cflags__Wvla=yes
18322 else $as_nop
18323 ac_cv_cflags__Wvla=no
18325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18326 conftest$ac_exeext conftest.$ac_ext
18327 CFLAGS=$ac_wine_try_cflags_saved
18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18330 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18331 if test "x$ac_cv_cflags__Wvla" = xyes
18332 then :
18333 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18336 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18337 if test ${ac_cv_cflags__Wwrite_strings+y}
18338 then :
18339 printf %s "(cached) " >&6
18340 else $as_nop
18341 ac_wine_try_cflags_saved=$CFLAGS
18342 CFLAGS="$CFLAGS -Wwrite-strings"
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18345 int main(int argc, char **argv) { return 0; }
18346 _ACEOF
18347 if ac_fn_c_try_link "$LINENO"
18348 then :
18349 ac_cv_cflags__Wwrite_strings=yes
18350 else $as_nop
18351 ac_cv_cflags__Wwrite_strings=no
18353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18354 conftest$ac_exeext conftest.$ac_ext
18355 CFLAGS=$ac_wine_try_cflags_saved
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18358 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18359 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18360 then :
18361 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18364 if test -z "$CROSSTARGET"
18365 then
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18367 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18368 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18369 then :
18370 printf %s "(cached) " >&6
18371 else $as_nop
18372 ac_wine_try_cflags_saved=$CFLAGS
18373 CFLAGS="$CFLAGS -fexcess-precision=standard"
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 int main(int argc, char **argv) { return 0; }
18377 _ACEOF
18378 if ac_fn_c_try_link "$LINENO"
18379 then :
18380 ac_cv_cflags__fexcess_precision_standard=yes
18381 else $as_nop
18382 ac_cv_cflags__fexcess_precision_standard=no
18384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18385 conftest$ac_exeext conftest.$ac_ext
18386 CFLAGS=$ac_wine_try_cflags_saved
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18389 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18390 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18391 then :
18392 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18398 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18399 if test ${ac_cv_cflags__Wpointer_arith+y}
18400 then :
18401 printf %s "(cached) " >&6
18402 else $as_nop
18403 ac_wine_try_cflags_saved=$CFLAGS
18404 CFLAGS="$CFLAGS -Wpointer-arith"
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 int main(int argc, char **argv) { return 0; }
18408 _ACEOF
18409 if ac_fn_c_try_link "$LINENO"
18410 then :
18411 ac_cv_cflags__Wpointer_arith=yes
18412 else $as_nop
18413 ac_cv_cflags__Wpointer_arith=no
18415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18416 conftest$ac_exeext conftest.$ac_ext
18417 CFLAGS=$ac_wine_try_cflags_saved
18419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18420 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18421 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18422 then :
18423 saved_string_h_CFLAGS=$CFLAGS
18424 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18426 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18427 if test ${ac_cv_c_string_h_warnings+y}
18428 then :
18429 printf %s "(cached) " >&6
18430 else $as_nop
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18433 #include <string.h>
18435 main (void)
18439 return 0;
18441 _ACEOF
18442 if ac_fn_c_try_compile "$LINENO"
18443 then :
18444 ac_cv_c_string_h_warnings=no
18445 else $as_nop
18446 ac_cv_c_string_h_warnings=yes
18448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18451 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18452 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18453 CFLAGS=$saved_string_h_CFLAGS
18456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18457 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18458 if test ${ac_cv_cflags__Wlogical_op+y}
18459 then :
18460 printf %s "(cached) " >&6
18461 else $as_nop
18462 ac_wine_try_cflags_saved=$CFLAGS
18463 CFLAGS="$CFLAGS -Wlogical-op"
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 int main(int argc, char **argv) { return 0; }
18467 _ACEOF
18468 if ac_fn_c_try_link "$LINENO"
18469 then :
18470 ac_cv_cflags__Wlogical_op=yes
18471 else $as_nop
18472 ac_cv_cflags__Wlogical_op=no
18474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18475 conftest$ac_exeext conftest.$ac_ext
18476 CFLAGS=$ac_wine_try_cflags_saved
18478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18479 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18480 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18481 then :
18482 saved_string_h_CFLAGS=$CFLAGS
18483 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18485 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18486 if test ${ac_cv_c_logicalop_noisy+y}
18487 then :
18488 printf %s "(cached) " >&6
18489 else $as_nop
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492 #include <string.h>
18493 char*f(const char *h,char n) {return strchr(h,n);}
18495 main (void)
18499 return 0;
18501 _ACEOF
18502 if ac_fn_c_try_compile "$LINENO"
18503 then :
18504 ac_cv_c_logicalop_noisy=no
18505 else $as_nop
18506 ac_cv_c_logicalop_noisy=yes
18508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18511 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18512 CFLAGS=$saved_string_h_CFLAGS
18513 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18517 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18518 if test ${wine_cv_64bit_compare_swap+y}
18519 then :
18520 printf %s "(cached) " >&6
18521 else $as_nop
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18525 #error no
18526 #endif
18528 main (void)
18532 return 0;
18534 _ACEOF
18535 if ac_fn_c_try_compile "$LINENO"
18536 then :
18537 wine_cv_64bit_compare_swap="none needed"
18538 else $as_nop
18539 case $host_cpu in
18540 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18541 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18542 *) wine_cv_64bit_compare_swap="unknown" ;;
18543 esac
18544 if test "x$wine_cv_64bit_compare_swap" != xunknown
18545 then
18546 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18548 /* end confdefs.h. */
18549 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18550 #error no
18551 #endif
18553 main (void)
18557 return 0;
18559 _ACEOF
18560 if ac_fn_c_try_compile "$LINENO"
18561 then :
18563 else $as_nop
18564 wine_cv_64bit_compare_swap="unknown"
18566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18567 CFLAGS=$saved_CFLAGS
18570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
18573 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
18574 case "$wine_cv_64bit_compare_swap" in
18575 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
18576 "none needed") ;;
18577 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
18578 esac
18580 ac_debug_format_seen=""
18581 for ac_flag in $CFLAGS; do
18582 case $ac_flag in
18583 -gdwarf*) ac_debug_format_seen=yes ;;
18584 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
18585 esac
18586 done
18587 if test "x$ac_debug_format_seen" = xdefault
18588 then
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
18590 printf %s "checking whether the compiler supports -gdwarf-2... " >&6; }
18591 if test ${ac_cv_cflags__gdwarf_2+y}
18592 then :
18593 printf %s "(cached) " >&6
18594 else $as_nop
18595 ac_wine_try_cflags_saved=$CFLAGS
18596 CFLAGS="$CFLAGS -gdwarf-2"
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599 int main(int argc, char **argv) { return 0; }
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"
18602 then :
18603 ac_cv_cflags__gdwarf_2=yes
18604 else $as_nop
18605 ac_cv_cflags__gdwarf_2=no
18607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18608 conftest$ac_exeext conftest.$ac_ext
18609 CFLAGS=$ac_wine_try_cflags_saved
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
18612 printf "%s\n" "$ac_cv_cflags__gdwarf_2" >&6; }
18613 if test "x$ac_cv_cflags__gdwarf_2" = xyes
18614 then :
18615 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
18618 printf %s "checking whether the compiler supports -gstrict-dwarf... " >&6; }
18619 if test ${ac_cv_cflags__gstrict_dwarf+y}
18620 then :
18621 printf %s "(cached) " >&6
18622 else $as_nop
18623 ac_wine_try_cflags_saved=$CFLAGS
18624 CFLAGS="$CFLAGS -gstrict-dwarf"
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 int main(int argc, char **argv) { return 0; }
18628 _ACEOF
18629 if ac_fn_c_try_link "$LINENO"
18630 then :
18631 ac_cv_cflags__gstrict_dwarf=yes
18632 else $as_nop
18633 ac_cv_cflags__gstrict_dwarf=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18636 conftest$ac_exeext conftest.$ac_ext
18637 CFLAGS=$ac_wine_try_cflags_saved
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
18640 printf "%s\n" "$ac_cv_cflags__gstrict_dwarf" >&6; }
18641 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
18642 then :
18643 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
18647 MSVCRTFLAGS=""
18649 case $host_os in
18650 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
18651 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
18652 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
18653 then :
18654 printf %s "(cached) " >&6
18655 else $as_nop
18656 ac_wine_try_cflags_saved=$CFLAGS
18657 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 int main(int argc, char **argv) { return 0; }
18661 _ACEOF
18662 if ac_fn_c_try_link "$LINENO"
18663 then :
18664 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
18665 else $as_nop
18666 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
18668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18669 conftest$ac_exeext conftest.$ac_ext
18670 CFLAGS=$ac_wine_try_cflags_saved
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
18673 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
18674 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
18675 then :
18676 DELAYLOADFLAG="-Wl,-delayload,"
18678 fi ;;
18679 *) MSVCRTFLAGS="-D_WIN32"
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
18681 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
18682 if test ${ac_cv_cflags__fno_builtin+y}
18683 then :
18684 printf %s "(cached) " >&6
18685 else $as_nop
18686 ac_wine_try_cflags_saved=$CFLAGS
18687 CFLAGS="$CFLAGS -fno-builtin"
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 int main(int argc, char **argv) { return 0; }
18691 _ACEOF
18692 if ac_fn_c_try_link "$LINENO"
18693 then :
18694 ac_cv_cflags__fno_builtin=yes
18695 else $as_nop
18696 ac_cv_cflags__fno_builtin=no
18698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18699 conftest$ac_exeext conftest.$ac_ext
18700 CFLAGS=$ac_wine_try_cflags_saved
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
18703 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
18704 if test "x$ac_cv_cflags__fno_builtin" = xyes
18705 then :
18706 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
18709 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
18710 if test ${ac_cv_cflags__fshort_wchar+y}
18711 then :
18712 printf %s "(cached) " >&6
18713 else $as_nop
18714 ac_wine_try_cflags_saved=$CFLAGS
18715 CFLAGS="$CFLAGS -fshort-wchar"
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 int main(int argc, char **argv) { return 0; }
18719 _ACEOF
18720 if ac_fn_c_try_link "$LINENO"
18721 then :
18722 ac_cv_cflags__fshort_wchar=yes
18723 else $as_nop
18724 ac_cv_cflags__fshort_wchar=no
18726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18727 conftest$ac_exeext conftest.$ac_ext
18728 CFLAGS=$ac_wine_try_cflags_saved
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
18731 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
18732 if test "x$ac_cv_cflags__fshort_wchar" = xyes
18733 then :
18734 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
18735 fi ;;
18736 esac
18738 case $host_cpu in
18739 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
18740 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
18741 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
18742 then :
18743 printf %s "(cached) " >&6
18744 else $as_nop
18745 ac_wine_try_cflags_saved=$CFLAGS
18746 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749 int main(int argc, char **argv) { return 0; }
18750 _ACEOF
18751 if ac_fn_c_try_link "$LINENO"
18752 then :
18753 ac_cv_cflags__fno_omit_frame_pointer=yes
18754 else $as_nop
18755 ac_cv_cflags__fno_omit_frame_pointer=no
18757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18758 conftest$ac_exeext conftest.$ac_ext
18759 CFLAGS=$ac_wine_try_cflags_saved
18761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
18762 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
18763 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
18764 then :
18765 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
18766 fi ;;
18767 *x86_64*)
18768 case $host_os in
18769 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
18770 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
18771 if test ${ac_cv_cflags__Wno_format+y}
18772 then :
18773 printf %s "(cached) " >&6
18774 else $as_nop
18775 ac_wine_try_cflags_saved=$CFLAGS
18776 CFLAGS="$CFLAGS -Wno-format"
18777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h. */
18779 int main(int argc, char **argv) { return 0; }
18780 _ACEOF
18781 if ac_fn_c_try_link "$LINENO"
18782 then :
18783 ac_cv_cflags__Wno_format=yes
18784 else $as_nop
18785 ac_cv_cflags__Wno_format=no
18787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18788 conftest$ac_exeext conftest.$ac_ext
18789 CFLAGS=$ac_wine_try_cflags_saved
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
18792 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
18793 if test "x$ac_cv_cflags__Wno_format" = xyes
18794 then :
18795 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
18796 fi ;;
18797 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
18798 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
18799 if test ${ac_cv_cflags__mabi_ms+y}
18800 then :
18801 printf %s "(cached) " >&6
18802 else $as_nop
18803 ac_wine_try_cflags_saved=$CFLAGS
18804 CFLAGS="$CFLAGS -mabi=ms"
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18807 int main(int argc, char **argv) { return 0; }
18808 _ACEOF
18809 if ac_fn_c_try_link "$LINENO"
18810 then :
18811 ac_cv_cflags__mabi_ms=yes
18812 else $as_nop
18813 ac_cv_cflags__mabi_ms=no
18815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18816 conftest$ac_exeext conftest.$ac_ext
18817 CFLAGS=$ac_wine_try_cflags_saved
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
18820 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
18821 if test "x$ac_cv_cflags__mabi_ms" = xyes
18822 then :
18823 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
18824 fi ;;
18825 esac ;;
18826 esac
18828 CFLAGS=$saved_CFLAGS
18830 if test "x$enable_werror" = "xyes"
18831 then
18832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
18833 printf %s "checking whether the compiler supports -Werror... " >&6; }
18834 if test ${ac_cv_cflags__Werror+y}
18835 then :
18836 printf %s "(cached) " >&6
18837 else $as_nop
18838 ac_wine_try_cflags_saved=$CFLAGS
18839 CFLAGS="$CFLAGS -Werror"
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 int main(int argc, char **argv) { return 0; }
18843 _ACEOF
18844 if ac_fn_c_try_link "$LINENO"
18845 then :
18846 ac_cv_cflags__Werror=yes
18847 else $as_nop
18848 ac_cv_cflags__Werror=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18851 conftest$ac_exeext conftest.$ac_ext
18852 CFLAGS=$ac_wine_try_cflags_saved
18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
18855 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
18856 if test "x$ac_cv_cflags__Werror" = xyes
18857 then :
18858 EXTRACFLAGS="$EXTRACFLAGS -Werror"
18861 if test "x$enable_build_id" = "xyes"
18862 then
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
18864 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
18865 if test ${ac_cv_cflags__Wl___build_id+y}
18866 then :
18867 printf %s "(cached) " >&6
18868 else $as_nop
18869 ac_wine_try_cflags_saved=$CFLAGS
18870 CFLAGS="$CFLAGS -Wl,--build-id"
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18874 _ACEOF
18875 if ac_fn_c_try_link "$LINENO"
18876 then :
18877 ac_cv_cflags__Wl___build_id=yes
18878 else $as_nop
18879 ac_cv_cflags__Wl___build_id=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18882 conftest$ac_exeext conftest.$ac_ext
18883 CFLAGS=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
18887 if test "x$ac_cv_cflags__Wl___build_id" = xyes
18888 then :
18889 CFLAGS="$CFLAGS -Wl,--build-id"
18890 LDFLAGS="$LDFLAGS -Wl,--build-id"
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
18897 printf %s "checking for the need to disable Fortify... " >&6; }
18898 if test ${ac_cv_c_fortify_enabled+y}
18899 then :
18900 printf %s "(cached) " >&6
18901 else $as_nop
18902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18904 #include <string.h>
18906 main (void)
18908 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
18909 #error Fortify enabled
18910 #endif
18912 return 0;
18914 _ACEOF
18915 if ac_fn_c_try_compile "$LINENO"
18916 then :
18917 ac_cv_c_fortify_enabled=no
18918 else $as_nop
18919 ac_cv_c_fortify_enabled=yes
18921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
18924 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
18925 if test "$ac_cv_c_fortify_enabled" = yes
18926 then
18927 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
18932 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
18933 if test ${ac_cv_c_cfi_support+y}
18934 then :
18935 printf %s "(cached) " >&6
18936 else $as_nop
18937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18938 /* end confdefs.h. */
18939 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
18941 main (void)
18945 return 0;
18947 _ACEOF
18948 if ac_fn_c_try_compile "$LINENO"
18949 then :
18950 ac_cv_c_cfi_support="yes"
18951 else $as_nop
18952 ac_cv_c_cfi_support="no"
18954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18957 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
18958 if test "$ac_cv_c_cfi_support" = "yes"
18959 then
18960 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18961 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18962 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
18963 else
18964 if test "x$enable_win64" = "xyes"
18965 then
18966 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18971 case $host_os in
18972 linux*)
18973 case $host_cpu in
18974 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18975 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18976 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18978 esac
18980 esac
18983 ac_save_CFLAGS="$CFLAGS"
18984 CFLAGS="$CFLAGS $BUILTINFLAG"
18985 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
18986 if test "x$ac_cv_func_epoll_create" = xyes
18987 then :
18988 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
18991 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
18992 if test "x$ac_cv_func_fstatfs" = xyes
18993 then :
18994 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
18997 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
18998 if test "x$ac_cv_func_futimens" = xyes
18999 then :
19000 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19003 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19004 if test "x$ac_cv_func_futimes" = xyes
19005 then :
19006 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19009 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19010 if test "x$ac_cv_func_futimesat" = xyes
19011 then :
19012 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19015 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19016 if test "x$ac_cv_func_getattrlist" = xyes
19017 then :
19018 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19021 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19022 if test "x$ac_cv_func_getauxval" = xyes
19023 then :
19024 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19027 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19028 if test "x$ac_cv_func_getifaddrs" = xyes
19029 then :
19030 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19033 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19034 if test "x$ac_cv_func_getrandom" = xyes
19035 then :
19036 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19039 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19040 if test "x$ac_cv_func_kqueue" = xyes
19041 then :
19042 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19045 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19046 if test "x$ac_cv_func_mach_continuous_time" = xyes
19047 then :
19048 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19051 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19052 if test "x$ac_cv_func_pipe2" = xyes
19053 then :
19054 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19057 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19058 if test "x$ac_cv_func_port_create" = xyes
19059 then :
19060 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19063 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19064 if test "x$ac_cv_func_posix_fadvise" = xyes
19065 then :
19066 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19069 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19070 if test "x$ac_cv_func_posix_fallocate" = xyes
19071 then :
19072 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19075 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19076 if test "x$ac_cv_func_prctl" = xyes
19077 then :
19078 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19081 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19082 if test "x$ac_cv_func_proc_pidinfo" = xyes
19083 then :
19084 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19087 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19088 if test "x$ac_cv_func_setproctitle" = xyes
19089 then :
19090 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19093 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19094 if test "x$ac_cv_func_setprogname" = xyes
19095 then :
19096 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19099 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19100 if test "x$ac_cv_func_sigprocmask" = xyes
19101 then :
19102 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19105 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19106 if test "x$ac_cv_func_sysinfo" = xyes
19107 then :
19108 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19111 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19112 if test "x$ac_cv_func_tcdrain" = xyes
19113 then :
19114 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19117 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19118 if test "x$ac_cv_func_thr_kill2" = xyes
19119 then :
19120 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19124 CFLAGS="$ac_save_CFLAGS"
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19127 printf %s "checking for library containing dlopen... " >&6; }
19128 if test ${ac_cv_search_dlopen+y}
19129 then :
19130 printf %s "(cached) " >&6
19131 else $as_nop
19132 ac_func_search_save_LIBS=$LIBS
19133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19136 /* Override any GCC internal prototype to avoid an error.
19137 Use char because int might match the return type of a GCC
19138 builtin and then its argument prototype would still apply. */
19139 char dlopen ();
19141 main (void)
19143 return dlopen ();
19145 return 0;
19147 _ACEOF
19148 for ac_lib in '' dl
19150 if test -z "$ac_lib"; then
19151 ac_res="none required"
19152 else
19153 ac_res=-l$ac_lib
19154 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19156 if ac_fn_c_try_link "$LINENO"
19157 then :
19158 ac_cv_search_dlopen=$ac_res
19160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19161 conftest$ac_exeext
19162 if test ${ac_cv_search_dlopen+y}
19163 then :
19164 break
19166 done
19167 if test ${ac_cv_search_dlopen+y}
19168 then :
19170 else $as_nop
19171 ac_cv_search_dlopen=no
19173 rm conftest.$ac_ext
19174 LIBS=$ac_func_search_save_LIBS
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19177 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19178 ac_res=$ac_cv_search_dlopen
19179 if test "$ac_res" != no
19180 then :
19181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19185 ac_wine_check_funcs_save_LIBS="$LIBS"
19186 LIBS="$LIBS $DL_LIBS"
19187 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19188 if test "x$ac_cv_func_dlinfo" = xyes
19189 then :
19190 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19194 LIBS="$ac_wine_check_funcs_save_LIBS"
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19197 printf %s "checking for library containing gethostbyname... " >&6; }
19198 if test ${ac_cv_search_gethostbyname+y}
19199 then :
19200 printf %s "(cached) " >&6
19201 else $as_nop
19202 ac_func_search_save_LIBS=$LIBS
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19209 char gethostbyname ();
19211 main (void)
19213 return gethostbyname ();
19215 return 0;
19217 _ACEOF
19218 for ac_lib in '' nsl
19220 if test -z "$ac_lib"; then
19221 ac_res="none required"
19222 else
19223 ac_res=-l$ac_lib
19224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19226 if ac_fn_c_try_link "$LINENO"
19227 then :
19228 ac_cv_search_gethostbyname=$ac_res
19230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19231 conftest$ac_exeext
19232 if test ${ac_cv_search_gethostbyname+y}
19233 then :
19234 break
19236 done
19237 if test ${ac_cv_search_gethostbyname+y}
19238 then :
19240 else $as_nop
19241 ac_cv_search_gethostbyname=no
19243 rm conftest.$ac_ext
19244 LIBS=$ac_func_search_save_LIBS
19246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19247 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19248 ac_res=$ac_cv_search_gethostbyname
19249 if test "$ac_res" != no
19250 then :
19251 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19257 printf %s "checking for library containing connect... " >&6; }
19258 if test ${ac_cv_search_connect+y}
19259 then :
19260 printf %s "(cached) " >&6
19261 else $as_nop
19262 ac_func_search_save_LIBS=$LIBS
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19266 /* Override any GCC internal prototype to avoid an error.
19267 Use char because int might match the return type of a GCC
19268 builtin and then its argument prototype would still apply. */
19269 char connect ();
19271 main (void)
19273 return connect ();
19275 return 0;
19277 _ACEOF
19278 for ac_lib in '' socket
19280 if test -z "$ac_lib"; then
19281 ac_res="none required"
19282 else
19283 ac_res=-l$ac_lib
19284 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19286 if ac_fn_c_try_link "$LINENO"
19287 then :
19288 ac_cv_search_connect=$ac_res
19290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19291 conftest$ac_exeext
19292 if test ${ac_cv_search_connect+y}
19293 then :
19294 break
19296 done
19297 if test ${ac_cv_search_connect+y}
19298 then :
19300 else $as_nop
19301 ac_cv_search_connect=no
19303 rm conftest.$ac_ext
19304 LIBS=$ac_func_search_save_LIBS
19306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19307 printf "%s\n" "$ac_cv_search_connect" >&6; }
19308 ac_res=$ac_cv_search_connect
19309 if test "$ac_res" != no
19310 then :
19311 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19317 printf %s "checking for library containing inet_aton... " >&6; }
19318 if test ${ac_cv_search_inet_aton+y}
19319 then :
19320 printf %s "(cached) " >&6
19321 else $as_nop
19322 ac_func_search_save_LIBS=$LIBS
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19326 /* Override any GCC internal prototype to avoid an error.
19327 Use char because int might match the return type of a GCC
19328 builtin and then its argument prototype would still apply. */
19329 char inet_aton ();
19331 main (void)
19333 return inet_aton ();
19335 return 0;
19337 _ACEOF
19338 for ac_lib in '' resolv
19340 if test -z "$ac_lib"; then
19341 ac_res="none required"
19342 else
19343 ac_res=-l$ac_lib
19344 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19346 if ac_fn_c_try_link "$LINENO"
19347 then :
19348 ac_cv_search_inet_aton=$ac_res
19350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19351 conftest$ac_exeext
19352 if test ${ac_cv_search_inet_aton+y}
19353 then :
19354 break
19356 done
19357 if test ${ac_cv_search_inet_aton+y}
19358 then :
19360 else $as_nop
19361 ac_cv_search_inet_aton=no
19363 rm conftest.$ac_ext
19364 LIBS=$ac_func_search_save_LIBS
19366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19367 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19368 ac_res=$ac_cv_search_inet_aton
19369 if test "$ac_res" != no
19370 then :
19371 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19376 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19377 if test "x$ac_cv_func_getaddrinfo" = xyes
19378 then :
19379 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19384 case $host_os in
19385 darwin*|macosx*) ;;
19386 *) ac_save_LIBS=$LIBS
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19388 printf %s "checking for library containing clock_gettime... " >&6; }
19389 if test ${ac_cv_search_clock_gettime+y}
19390 then :
19391 printf %s "(cached) " >&6
19392 else $as_nop
19393 ac_func_search_save_LIBS=$LIBS
19394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19397 /* Override any GCC internal prototype to avoid an error.
19398 Use char because int might match the return type of a GCC
19399 builtin and then its argument prototype would still apply. */
19400 char clock_gettime ();
19402 main (void)
19404 return clock_gettime ();
19406 return 0;
19408 _ACEOF
19409 for ac_lib in '' rt
19411 if test -z "$ac_lib"; then
19412 ac_res="none required"
19413 else
19414 ac_res=-l$ac_lib
19415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19417 if ac_fn_c_try_link "$LINENO"
19418 then :
19419 ac_cv_search_clock_gettime=$ac_res
19421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19422 conftest$ac_exeext
19423 if test ${ac_cv_search_clock_gettime+y}
19424 then :
19425 break
19427 done
19428 if test ${ac_cv_search_clock_gettime+y}
19429 then :
19431 else $as_nop
19432 ac_cv_search_clock_gettime=no
19434 rm conftest.$ac_ext
19435 LIBS=$ac_func_search_save_LIBS
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19438 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19439 ac_res=$ac_cv_search_clock_gettime
19440 if test "$ac_res" != no
19441 then :
19442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19444 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19446 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19450 LIBS=$ac_save_LIBS
19452 esac
19454 if test "x$with_ldap" != "xno"
19455 then
19456 if ${LDAP_CFLAGS:+false} :
19457 then :
19458 if test ${PKG_CONFIG+y}
19459 then :
19460 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19464 if ${LDAP_LIBS:+false} :
19465 then :
19466 if test ${PKG_CONFIG+y}
19467 then :
19468 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19472 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
19473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19475 ac_save_CPPFLAGS=$CPPFLAGS
19476 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19477 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19478 if test "x$ac_cv_header_ldap_h" = xyes
19479 then :
19480 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19483 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19484 if test "x$ac_cv_header_lber_h" = xyes
19485 then :
19486 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19490 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19491 then
19492 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19494 if test "x$ac_cv_type_LDAPSortKey" = xyes
19495 then :
19496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
19497 printf %s "checking for ldap_initialize in -lldap_r... " >&6; }
19498 if test ${ac_cv_lib_ldap_r_ldap_initialize+y}
19499 then :
19500 printf %s "(cached) " >&6
19501 else $as_nop
19502 ac_check_lib_save_LIBS=$LIBS
19503 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19507 /* Override any GCC internal prototype to avoid an error.
19508 Use char because int might match the return type of a GCC
19509 builtin and then its argument prototype would still apply. */
19510 char ldap_initialize ();
19512 main (void)
19514 return ldap_initialize ();
19516 return 0;
19518 _ACEOF
19519 if ac_fn_c_try_link "$LINENO"
19520 then :
19521 ac_cv_lib_ldap_r_ldap_initialize=yes
19522 else $as_nop
19523 ac_cv_lib_ldap_r_ldap_initialize=no
19525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19526 conftest$ac_exeext conftest.$ac_ext
19527 LIBS=$ac_check_lib_save_LIBS
19529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
19530 printf "%s\n" "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
19531 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
19532 then :
19533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
19534 printf %s "checking for ber_init in -llber... " >&6; }
19535 if test ${ac_cv_lib_lber_ber_init+y}
19536 then :
19537 printf %s "(cached) " >&6
19538 else $as_nop
19539 ac_check_lib_save_LIBS=$LIBS
19540 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19544 /* Override any GCC internal prototype to avoid an error.
19545 Use char because int might match the return type of a GCC
19546 builtin and then its argument prototype would still apply. */
19547 char ber_init ();
19549 main (void)
19551 return ber_init ();
19553 return 0;
19555 _ACEOF
19556 if ac_fn_c_try_link "$LINENO"
19557 then :
19558 ac_cv_lib_lber_ber_init=yes
19559 else $as_nop
19560 ac_cv_lib_lber_ber_init=no
19562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19563 conftest$ac_exeext conftest.$ac_ext
19564 LIBS=$ac_check_lib_save_LIBS
19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
19567 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
19568 if test "x$ac_cv_lib_lber_ber_init" = xyes
19569 then :
19571 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
19573 else $as_nop
19574 LDAP_LIBS=""
19577 else $as_nop
19578 LDAP_LIBS=""
19581 else $as_nop
19582 LDAP_LIBS=""
19585 ac_wine_check_funcs_save_LIBS="$LIBS"
19586 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
19587 ac_fn_c_check_func "$LINENO" "ldap_count_references" "ac_cv_func_ldap_count_references"
19588 if test "x$ac_cv_func_ldap_count_references" = xyes
19589 then :
19590 printf "%s\n" "#define HAVE_LDAP_COUNT_REFERENCES 1" >>confdefs.h
19593 ac_fn_c_check_func "$LINENO" "ldap_first_reference" "ac_cv_func_ldap_first_reference"
19594 if test "x$ac_cv_func_ldap_first_reference" = xyes
19595 then :
19596 printf "%s\n" "#define HAVE_LDAP_FIRST_REFERENCE 1" >>confdefs.h
19599 ac_fn_c_check_func "$LINENO" "ldap_next_reference" "ac_cv_func_ldap_next_reference"
19600 if test "x$ac_cv_func_ldap_next_reference" = xyes
19601 then :
19602 printf "%s\n" "#define HAVE_LDAP_NEXT_REFERENCE 1" >>confdefs.h
19605 ac_fn_c_check_func "$LINENO" "ldap_parse_reference" "ac_cv_func_ldap_parse_reference"
19606 if test "x$ac_cv_func_ldap_parse_reference" = xyes
19607 then :
19608 printf "%s\n" "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h
19611 ac_fn_c_check_func "$LINENO" "ldap_parse_sort_control" "ac_cv_func_ldap_parse_sort_control"
19612 if test "x$ac_cv_func_ldap_parse_sort_control" = xyes
19613 then :
19614 printf "%s\n" "#define HAVE_LDAP_PARSE_SORT_CONTROL 1" >>confdefs.h
19617 ac_fn_c_check_func "$LINENO" "ldap_parse_sortresponse_control" "ac_cv_func_ldap_parse_sortresponse_control"
19618 if test "x$ac_cv_func_ldap_parse_sortresponse_control" = xyes
19619 then :
19620 printf "%s\n" "#define HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL 1" >>confdefs.h
19623 ac_fn_c_check_func "$LINENO" "ldap_parse_vlv_control" "ac_cv_func_ldap_parse_vlv_control"
19624 if test "x$ac_cv_func_ldap_parse_vlv_control" = xyes
19625 then :
19626 printf "%s\n" "#define HAVE_LDAP_PARSE_VLV_CONTROL 1" >>confdefs.h
19629 ac_fn_c_check_func "$LINENO" "ldap_parse_vlvresponse_control" "ac_cv_func_ldap_parse_vlvresponse_control"
19630 if test "x$ac_cv_func_ldap_parse_vlvresponse_control" = xyes
19631 then :
19632 printf "%s\n" "#define HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL 1" >>confdefs.h
19636 LIBS="$ac_wine_check_funcs_save_LIBS"
19637 else
19638 LDAP_LIBS=""
19640 CPPFLAGS=$ac_save_CPPFLAGS
19643 if test "x$LDAP_LIBS" = "x"
19644 then :
19645 case "x$with_ldap" in
19646 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
19647 xno) ;;
19648 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
19649 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
19650 esac
19654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19655 printf %s "checking for sched_setaffinity... " >&6; }
19656 if test ${wine_cv_have_sched_setaffinity+y}
19657 then :
19658 printf %s "(cached) " >&6
19659 else $as_nop
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19662 #include <sched.h>
19664 main (void)
19666 sched_setaffinity(0, 0, 0);
19668 return 0;
19670 _ACEOF
19671 if ac_fn_c_try_link "$LINENO"
19672 then :
19673 wine_cv_have_sched_setaffinity=yes
19674 else $as_nop
19675 wine_cv_have_sched_setaffinity=no
19677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19678 conftest$ac_exeext conftest.$ac_ext
19680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19681 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19682 if test "$wine_cv_have_sched_setaffinity" = "yes"
19683 then
19685 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19691 printf %s "checking for inline... " >&6; }
19692 if test ${ac_cv_c_inline+y}
19693 then :
19694 printf %s "(cached) " >&6
19695 else $as_nop
19696 ac_cv_c_inline=no
19697 for ac_kw in inline __inline__ __inline; do
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #ifndef __cplusplus
19701 typedef int foo_t;
19702 static $ac_kw foo_t static_foo (void) {return 0; }
19703 $ac_kw foo_t foo (void) {return 0; }
19704 #endif
19706 _ACEOF
19707 if ac_fn_c_try_compile "$LINENO"
19708 then :
19709 ac_cv_c_inline=$ac_kw
19711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19712 test "$ac_cv_c_inline" != no && break
19713 done
19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19717 printf "%s\n" "$ac_cv_c_inline" >&6; }
19719 case $ac_cv_c_inline in
19720 inline | yes) ;;
19722 case $ac_cv_c_inline in
19723 no) ac_val=;;
19724 *) ac_val=$ac_cv_c_inline;;
19725 esac
19726 cat >>confdefs.h <<_ACEOF
19727 #ifndef __cplusplus
19728 #define inline $ac_val
19729 #endif
19730 _ACEOF
19732 esac
19734 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
19735 #include <signal.h>
19737 if test "x$ac_cv_type_sigset_t" = xyes
19738 then :
19740 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
19745 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
19747 if test "x$ac_cv_type_request_sense" = xyes
19748 then :
19750 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
19756 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
19757 #ifdef HAVE_SYS_SOCKET_H
19758 #include <sys/socket.h>
19759 #endif
19760 #ifdef HAVE_SYS_SOCKETVAR_H
19761 #include <sys/socketvar.h>
19762 #endif
19763 #ifdef HAVE_NET_ROUTE_H
19764 #include <net/route.h>
19765 #endif
19766 #ifdef HAVE_NETINET_IN_H
19767 #include <netinet/in.h>
19768 #endif
19769 #ifdef HAVE_NETINET_IN_SYSTM_H
19770 #include <netinet/in_systm.h>
19771 #endif
19772 #ifdef HAVE_NETINET_IP_H
19773 #include <netinet/ip.h>
19774 #endif
19775 #ifdef HAVE_NETINET_IN_PCB_H
19776 #include <netinet/in_pcb.h>
19777 #endif
19779 if test "x$ac_cv_type_struct_xinpgen" = xyes
19780 then :
19782 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
19788 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
19789 #include <linux/input.h>
19790 #endif
19792 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
19793 then :
19795 printf "%s\n" "#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1" >>confdefs.h
19801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
19802 printf %s "checking for sigaddset... " >&6; }
19803 if test ${wine_cv_have_sigaddset+y}
19804 then :
19805 printf %s "(cached) " >&6
19806 else $as_nop
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #include <signal.h>
19811 main (void)
19813 sigset_t set; sigaddset(&set,SIGTERM);
19815 return 0;
19817 _ACEOF
19818 if ac_fn_c_try_link "$LINENO"
19819 then :
19820 wine_cv_have_sigaddset=yes
19821 else $as_nop
19822 wine_cv_have_sigaddset=no
19824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19825 conftest$ac_exeext conftest.$ac_ext
19827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
19828 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
19829 if test "$wine_cv_have_sigaddset" = "yes"
19830 then
19832 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
19837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19838 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
19839 if test ${wine_cv_linux_gethostbyname_r_6+y}
19840 then :
19841 printf %s "(cached) " >&6
19842 else $as_nop
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #include <netdb.h>
19847 main (void)
19850 char *name=0;
19851 struct hostent he;
19852 struct hostent *result;
19853 char *buf=0;
19854 int bufsize=0;
19855 int errnr;
19856 char *addr=0;
19857 int addrlen=0;
19858 int addrtype=0;
19859 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19860 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19863 return 0;
19865 _ACEOF
19866 if ac_fn_c_try_link "$LINENO"
19867 then :
19868 wine_cv_linux_gethostbyname_r_6=yes
19869 else $as_nop
19870 wine_cv_linux_gethostbyname_r_6=no
19873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19874 conftest$ac_exeext conftest.$ac_ext
19877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
19878 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
19879 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19880 then
19882 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
19886 if test "$ac_cv_header_linux_joystick_h" = "yes"
19887 then
19888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19889 printf %s "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
19890 if test ${wine_cv_linux_joystick_22_api+y}
19891 then :
19892 printf %s "(cached) " >&6
19893 else $as_nop
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19897 #include <sys/ioctl.h>
19898 #include <sys/types.h>
19899 #include <linux/joystick.h>
19901 struct js_event blub;
19902 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19903 #error "no 2.2 header"
19904 #endif
19907 main (void)
19909 /*empty*/
19911 return 0;
19913 _ACEOF
19914 if ac_fn_c_try_compile "$LINENO"
19915 then :
19916 wine_cv_linux_joystick_22_api=yes
19917 else $as_nop
19918 wine_cv_linux_joystick_22_api=no
19920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
19924 printf "%s\n" "$wine_cv_linux_joystick_22_api" >&6; }
19925 if test "$wine_cv_linux_joystick_22_api" = "yes"
19926 then
19928 printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
19933 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19934 #ifdef HAVE_SYS_SOCKET_H
19935 # include <sys/socket.h>
19936 #endif
19937 #ifdef HAVE_SYS_UN_H
19938 # include <sys/un.h>
19939 #endif
19941 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
19942 then :
19944 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
19948 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19949 #ifdef HAVE_SYS_SOCKET_H
19950 # include <sys/socket.h>
19951 #endif
19952 #ifdef HAVE_SYS_UN_H
19953 # include <sys/un.h>
19954 #endif
19956 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
19957 then :
19959 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
19965 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19966 #ifdef HAVE_SCSI_SG_H
19967 #include <scsi/sg.h>
19968 #endif
19970 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
19971 then :
19973 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
19977 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>
19978 #ifdef HAVE_SCSI_SG_H
19979 #include <scsi/sg.h>
19980 #endif
19982 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
19983 then :
19985 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
19991 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19993 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
19994 then :
19996 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20002 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20003 #ifdef HAVE_SYS_MTIO_H
20004 #include <sys/mtio.h>
20005 #endif
20007 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20008 then :
20010 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20014 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20015 #ifdef HAVE_SYS_MTIO_H
20016 #include <sys/mtio.h>
20017 #endif
20019 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20020 then :
20022 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20026 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20027 #ifdef HAVE_SYS_MTIO_H
20028 #include <sys/mtio.h>
20029 #endif
20031 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20032 then :
20034 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20040 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20041 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20042 then :
20044 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20048 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20049 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20050 then :
20052 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20056 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20057 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20058 then :
20060 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20064 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20065 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20066 then :
20068 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20072 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20073 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20074 then :
20076 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20080 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20081 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20082 then :
20084 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20088 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20089 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20090 then :
20092 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20096 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20097 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20098 then :
20100 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20104 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20105 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20106 then :
20108 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20112 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20113 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20114 then :
20116 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20120 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20121 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20122 then :
20124 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20130 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
20131 #include <sys/types.h>
20132 #endif
20133 #ifdef HAVE_NETINET_IN_H
20134 #include <netinet/in.h>
20135 #endif
20137 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20138 then :
20140 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20146 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
20147 #include <sys/types.h>
20148 #endif
20149 #ifdef HAVE_NETINET_IN_H
20150 #include <netinet/in.h>
20151 #endif
20152 #ifdef HAVE_RESOLV_H
20153 #include <resolv.h>
20154 #endif
20156 if test "x$ac_cv_type_struct___res_state" = xyes
20157 then :
20159 printf "%s\n" "#define HAVE_STRUCT___RES_STATE 1" >>confdefs.h
20165 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
20166 #include <resolv.h>
20167 #endif
20169 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20170 then :
20172 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20178 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
20179 #include <sys/types.h>
20180 #endif
20181 #ifdef HAVE_NETINET_IN_H
20182 #include <netinet/in.h>
20183 #endif
20184 #ifdef HAVE_NETINET_IP_H
20185 #include <netinet/ip.h>
20186 #endif
20187 #ifdef HAVE_NETINET_IP_ICMP_H
20188 #include <netinet/ip_icmp.h>
20189 #endif
20190 #ifdef HAVE_NETINET_ICMP_VAR_H
20191 #include <netinet/icmp_var.h>
20192 #endif
20194 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
20195 then :
20197 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1" >>confdefs.h
20203 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
20204 #include <sys/types.h>
20205 #endif
20206 #ifdef HAVE_ALIAS_H
20207 #include <alias.h>
20208 #endif
20209 #ifdef HAVE_SYS_SOCKET_H
20210 #include <sys/socket.h>
20211 #endif
20212 #ifdef HAVE_SYS_SOCKETVAR_H
20213 #include <sys/socketvar.h>
20214 #endif
20215 #ifdef HAVE_SYS_TIMEOUT_H
20216 #include <sys/timeout.h>
20217 #endif
20218 #ifdef HAVE_NETINET_IN_H
20219 #include <netinet/in.h>
20220 #endif
20221 #ifdef HAVE_NETINET_IN_SYSTM_H
20222 #include <netinet/in_systm.h>
20223 #endif
20224 #ifdef HAVE_NETINET_IP_H
20225 #include <netinet/ip.h>
20226 #endif
20227 #ifdef HAVE_NETINET_IP_VAR_H
20228 #include <netinet/ip_var.h>
20229 #endif
20230 #ifdef HAVE_NETINET_IP_ICMP_H
20231 #include <netinet/ip_icmp.h>
20232 #endif
20233 #ifdef HAVE_NETINET_ICMP_VAR_H
20234 #include <netinet/icmp_var.h>
20235 #endif
20237 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
20238 then :
20240 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1" >>confdefs.h
20246 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20247 #include <netinet/in.h>
20248 #endif
20250 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20251 then :
20253 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20259 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
20260 #include <sys/types.h>
20261 #endif
20262 #ifdef HAVE_SYS_SOCKETVAR_H
20263 #include <sys/socketvar.h>
20264 #endif
20265 #ifdef HAVE_NETINET_IN_H
20266 #include <netinet/in.h>
20267 #endif
20268 #ifdef HAVE_NETINET_IP_VAR_H
20269 #include <netinet/ip_var.h>
20270 #endif
20272 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20273 then :
20275 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20281 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
20282 #include <netinet/ip_var.h>
20283 #endif
20285 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20286 then :
20288 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20294 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
20295 #include <sys/types.h>
20296 #endif
20297 #ifdef HAVE_SYS_SOCKETVAR_H
20298 #include <sys/socketvar.h>
20299 #endif
20300 #ifdef HAVE_NETINET_IN_H
20301 #include <netinet/in.h>
20302 #endif
20303 #ifdef HAVE_NETINET_TCP_H
20304 #include <netinet/tcp.h>
20305 #endif
20306 #ifdef HAVE_NETINET_TCP_VAR_H
20307 #include <netinet/tcp_var.h>
20308 #endif
20310 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20311 then :
20313 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20319 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
20320 #include <netinet/tcp_var.h>
20321 #endif
20323 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20324 then :
20326 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20332 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
20333 #include <sys/types.h>
20334 #endif
20335 #ifdef HAVE_NETINET_IN_H
20336 #include <netinet/in.h>
20337 #endif
20338 #ifdef HAVE_NETINET_IP_VAR_H
20339 #include <netinet/ip_var.h>
20340 #endif
20341 #ifdef HAVE_NETINET_UDP_H
20342 #include <netinet/udp.h>
20343 #endif
20344 #ifdef HAVE_NETINET_UDP_VAR_H
20345 #include <netinet/udp_var.h>
20346 #endif
20348 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20349 then :
20351 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20357 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
20358 #include <sys/types.h>
20359 #endif
20360 #ifdef HAVE_NET_IF_H
20361 # include <net/if.h>
20362 #endif
20364 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20365 then :
20367 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20373 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20374 # include <sys/sysinfo.h>
20375 #endif
20377 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20378 then :
20380 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20385 # include <sys/sysinfo.h>
20386 #endif
20388 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20397 ac_save_LIBS="$LIBS"
20398 LIBS="$LIBS -lm"
20399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20400 printf %s "checking for isfinite... " >&6; }
20401 if test ${ac_cv_have_isfinite+y}
20402 then :
20403 printf %s "(cached) " >&6
20404 else $as_nop
20405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20406 /* end confdefs.h. */
20407 #include <math.h>
20409 main (void)
20411 float f = 0.0; return isfinite(f)
20413 return 0;
20415 _ACEOF
20416 if ac_fn_c_try_link "$LINENO"
20417 then :
20418 ac_cv_have_isfinite="yes"
20419 else $as_nop
20420 ac_cv_have_isfinite="no"
20422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20423 conftest$ac_exeext conftest.$ac_ext
20425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20426 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20427 if test "$ac_cv_have_isfinite" = "yes"
20428 then
20430 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20435 printf %s "checking for isinf... " >&6; }
20436 if test ${ac_cv_have_isinf+y}
20437 then :
20438 printf %s "(cached) " >&6
20439 else $as_nop
20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20442 #include <math.h>
20444 main (void)
20446 float f = 0.0; return isinf(f)
20448 return 0;
20450 _ACEOF
20451 if ac_fn_c_try_link "$LINENO"
20452 then :
20453 ac_cv_have_isinf="yes"
20454 else $as_nop
20455 ac_cv_have_isinf="no"
20457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20458 conftest$ac_exeext conftest.$ac_ext
20460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20461 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20462 if test "$ac_cv_have_isinf" = "yes"
20463 then
20465 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20470 printf %s "checking for isnan... " >&6; }
20471 if test ${ac_cv_have_isnan+y}
20472 then :
20473 printf %s "(cached) " >&6
20474 else $as_nop
20475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20476 /* end confdefs.h. */
20477 #include <math.h>
20479 main (void)
20481 float f = 0.0; return isnan(f)
20483 return 0;
20485 _ACEOF
20486 if ac_fn_c_try_link "$LINENO"
20487 then :
20488 ac_cv_have_isnan="yes"
20489 else $as_nop
20490 ac_cv_have_isnan="no"
20492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20493 conftest$ac_exeext conftest.$ac_ext
20495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
20496 printf "%s\n" "$ac_cv_have_isnan" >&6; }
20497 if test "$ac_cv_have_isnan" = "yes"
20498 then
20500 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
20504 LIBS="$ac_save_LIBS"
20506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20507 printf %s "checking for __builtin_popcount... " >&6; }
20508 if test ${ac_cv_have___builtin_popcount+y}
20509 then :
20510 printf %s "(cached) " >&6
20511 else $as_nop
20512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20513 /* end confdefs.h. */
20516 main (void)
20518 return __builtin_popcount(1)
20520 return 0;
20522 _ACEOF
20523 if ac_fn_c_try_link "$LINENO"
20524 then :
20525 ac_cv_have___builtin_popcount="yes"
20526 else $as_nop
20527 ac_cv_have___builtin_popcount="no"
20529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20530 conftest$ac_exeext conftest.$ac_ext
20532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20533 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20534 if test "$ac_cv_have___builtin_popcount" = "yes"
20535 then
20537 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20542 printf %s "checking for __clear_cache... " >&6; }
20543 if test ${ac_cv_have___clear_cache+y}
20544 then :
20545 printf %s "(cached) " >&6
20546 else $as_nop
20547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20548 /* end confdefs.h. */
20551 main (void)
20553 __clear_cache((void*)0, (void*)0); return 0;
20555 return 0;
20557 _ACEOF
20558 if ac_fn_c_try_link "$LINENO"
20559 then :
20560 ac_cv_have___clear_cache="yes"
20561 else $as_nop
20562 ac_cv_have___clear_cache="no"
20564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20565 conftest$ac_exeext conftest.$ac_ext
20567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20568 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20569 if test "$ac_cv_have___clear_cache" = "yes"
20570 then
20572 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20577 case $host_cpu in
20578 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20579 printf %s "checking whether we need to define __i386__... " >&6; }
20580 if test ${ac_cv_cpp_def___i386__+y}
20581 then :
20582 printf %s "(cached) " >&6
20583 else $as_nop
20584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20585 /* end confdefs.h. */
20586 #ifndef __i386__
20588 #endif
20589 _ACEOF
20590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20591 $EGREP "yes" >/dev/null 2>&1
20592 then :
20593 ac_cv_cpp_def___i386__=yes
20594 else $as_nop
20595 ac_cv_cpp_def___i386__=no
20597 rm -rf conftest*
20600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20601 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20602 if test "x$ac_cv_cpp_def___i386__" = xyes
20603 then :
20604 CFLAGS="$CFLAGS -D__i386__"
20605 LINTFLAGS="$LINTFLAGS -D__i386__"
20606 fi ;;
20607 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20608 printf %s "checking whether we need to define __x86_64__... " >&6; }
20609 if test ${ac_cv_cpp_def___x86_64__+y}
20610 then :
20611 printf %s "(cached) " >&6
20612 else $as_nop
20613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20615 #ifndef __x86_64__
20617 #endif
20618 _ACEOF
20619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20620 $EGREP "yes" >/dev/null 2>&1
20621 then :
20622 ac_cv_cpp_def___x86_64__=yes
20623 else $as_nop
20624 ac_cv_cpp_def___x86_64__=no
20626 rm -rf conftest*
20629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20630 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20631 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20632 then :
20633 CFLAGS="$CFLAGS -D__x86_64__"
20634 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20635 fi ;;
20636 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20637 printf %s "checking whether we need to define __sparc64__... " >&6; }
20638 if test ${ac_cv_cpp_def___sparc64__+y}
20639 then :
20640 printf %s "(cached) " >&6
20641 else $as_nop
20642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20643 /* end confdefs.h. */
20644 #ifndef __sparc64__
20646 #endif
20647 _ACEOF
20648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20649 $EGREP "yes" >/dev/null 2>&1
20650 then :
20651 ac_cv_cpp_def___sparc64__=yes
20652 else $as_nop
20653 ac_cv_cpp_def___sparc64__=no
20655 rm -rf conftest*
20658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20659 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20660 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20661 then :
20662 CFLAGS="$CFLAGS -D__sparc64__"
20663 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20664 fi ;;
20665 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20666 printf %s "checking whether we need to define __sparc__... " >&6; }
20667 if test ${ac_cv_cpp_def___sparc__+y}
20668 then :
20669 printf %s "(cached) " >&6
20670 else $as_nop
20671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20672 /* end confdefs.h. */
20673 #ifndef __sparc__
20675 #endif
20676 _ACEOF
20677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20678 $EGREP "yes" >/dev/null 2>&1
20679 then :
20680 ac_cv_cpp_def___sparc__=yes
20681 else $as_nop
20682 ac_cv_cpp_def___sparc__=no
20684 rm -rf conftest*
20687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20688 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20689 if test "x$ac_cv_cpp_def___sparc__" = xyes
20690 then :
20691 CFLAGS="$CFLAGS -D__sparc__"
20692 LINTFLAGS="$LINTFLAGS -D__sparc__"
20693 fi ;;
20694 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20695 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20696 if test ${ac_cv_cpp_def___powerpc64__+y}
20697 then :
20698 printf %s "(cached) " >&6
20699 else $as_nop
20700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20701 /* end confdefs.h. */
20702 #ifndef __powerpc64__
20704 #endif
20705 _ACEOF
20706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20707 $EGREP "yes" >/dev/null 2>&1
20708 then :
20709 ac_cv_cpp_def___powerpc64__=yes
20710 else $as_nop
20711 ac_cv_cpp_def___powerpc64__=no
20713 rm -rf conftest*
20716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20717 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20718 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20719 then :
20720 CFLAGS="$CFLAGS -D__powerpc64__"
20721 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20722 fi ;;
20723 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20724 printf %s "checking whether we need to define __powerpc__... " >&6; }
20725 if test ${ac_cv_cpp_def___powerpc__+y}
20726 then :
20727 printf %s "(cached) " >&6
20728 else $as_nop
20729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20730 /* end confdefs.h. */
20731 #ifndef __powerpc__
20733 #endif
20734 _ACEOF
20735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20736 $EGREP "yes" >/dev/null 2>&1
20737 then :
20738 ac_cv_cpp_def___powerpc__=yes
20739 else $as_nop
20740 ac_cv_cpp_def___powerpc__=no
20742 rm -rf conftest*
20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20746 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20747 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20748 then :
20749 CFLAGS="$CFLAGS -D__powerpc__"
20750 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20751 fi ;;
20752 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20753 printf %s "checking whether we need to define __aarch64__... " >&6; }
20754 if test ${ac_cv_cpp_def___aarch64__+y}
20755 then :
20756 printf %s "(cached) " >&6
20757 else $as_nop
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #ifndef __aarch64__
20762 #endif
20763 _ACEOF
20764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20765 $EGREP "yes" >/dev/null 2>&1
20766 then :
20767 ac_cv_cpp_def___aarch64__=yes
20768 else $as_nop
20769 ac_cv_cpp_def___aarch64__=no
20771 rm -rf conftest*
20774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20775 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20776 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20777 then :
20778 CFLAGS="$CFLAGS -D__aarch64__"
20779 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20780 fi ;;
20781 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20782 printf %s "checking whether we need to define __arm__... " >&6; }
20783 if test ${ac_cv_cpp_def___arm__+y}
20784 then :
20785 printf %s "(cached) " >&6
20786 else $as_nop
20787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20788 /* end confdefs.h. */
20789 #ifndef __arm__
20791 #endif
20792 _ACEOF
20793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20794 $EGREP "yes" >/dev/null 2>&1
20795 then :
20796 ac_cv_cpp_def___arm__=yes
20797 else $as_nop
20798 ac_cv_cpp_def___arm__=no
20800 rm -rf conftest*
20803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20804 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20805 if test "x$ac_cv_cpp_def___arm__" = xyes
20806 then :
20807 CFLAGS="$CFLAGS -D__arm__"
20808 LINTFLAGS="$LINTFLAGS -D__arm__"
20809 fi ;;
20810 esac
20812 case $host_vendor in
20813 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20814 printf %s "checking whether we need to define __sun__... " >&6; }
20815 if test ${ac_cv_cpp_def___sun__+y}
20816 then :
20817 printf %s "(cached) " >&6
20818 else $as_nop
20819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20820 /* end confdefs.h. */
20821 #ifndef __sun__
20823 #endif
20824 _ACEOF
20825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20826 $EGREP "yes" >/dev/null 2>&1
20827 then :
20828 ac_cv_cpp_def___sun__=yes
20829 else $as_nop
20830 ac_cv_cpp_def___sun__=no
20832 rm -rf conftest*
20835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20836 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20837 if test "x$ac_cv_cpp_def___sun__" = xyes
20838 then :
20839 CFLAGS="$CFLAGS -D__sun__"
20840 LINTFLAGS="$LINTFLAGS -D__sun__"
20841 fi ;;
20842 esac
20848 ac_config_commands="$ac_config_commands include/stamp-h"
20850 printf %s "creating Makefile rules..." >&6
20852 makedep_flags=""
20853 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20855 wine_srcdir=
20856 test "$srcdir" = . || wine_srcdir="$srcdir/"
20858 ac_config_links="$ac_config_links wine:tools/winewrapper"
20859 wine_fn_config_symlink wine
20860 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20861 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20862 wine_fn_config_symlink wine64
20865 wine_fn_config_makefile dlls/acledit enable_acledit
20866 wine_fn_config_makefile dlls/aclui enable_aclui
20867 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20868 wine_fn_config_makefile dlls/activeds enable_activeds
20869 wine_fn_config_makefile dlls/activeds/tests enable_tests
20870 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20871 wine_fn_config_makefile dlls/adsldp enable_adsldp
20872 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20873 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20874 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20875 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20876 wine_fn_config_makefile dlls/advpack enable_advpack
20877 wine_fn_config_makefile dlls/advpack/tests enable_tests
20878 wine_fn_config_makefile dlls/amsi enable_amsi
20879 wine_fn_config_makefile dlls/amstream enable_amstream
20880 wine_fn_config_makefile dlls/amstream/tests enable_tests
20881 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20882 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20883 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20884 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20885 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20886 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20887 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20888 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20889 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20890 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20891 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20892 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20893 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20894 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20895 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20896 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20897 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20898 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20899 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20900 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20901 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20902 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20903 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20904 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20905 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20906 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20907 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20908 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20909 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20910 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20911 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20912 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20913 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20914 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20915 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20916 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20917 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20918 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20919 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20920 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20921 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20922 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20923 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20924 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20925 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20926 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20927 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20928 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20929 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20930 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20931 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20932 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20933 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20934 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20935 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20936 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20937 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20938 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20939 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20940 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20941 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20942 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20943 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20944 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20945 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20946 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20947 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20948 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20949 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20950 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20951 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20952 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20953 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20954 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20955 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20956 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20957 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20958 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20959 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20960 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20961 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20962 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20963 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20964 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20965 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20966 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20967 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20968 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20969 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20970 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20971 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20972 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20973 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20974 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20975 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20976 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20977 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20978 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20979 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20980 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20981 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20982 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
20983 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20984 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20985 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20986 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20987 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20988 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20989 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20990 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20991 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20992 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20993 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20994 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20995 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20996 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20997 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20998 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20999 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21000 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21001 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21002 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21003 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21004 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21005 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21006 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21007 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21008 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21009 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21010 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21011 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21012 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21013 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21014 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21015 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21016 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21017 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21018 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21019 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21020 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21021 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21022 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21023 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21024 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21025 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21026 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21027 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21028 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21029 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21030 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21031 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21032 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21033 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21034 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21035 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21036 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21037 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21038 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21039 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21040 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21041 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21042 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21043 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21044 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21045 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21046 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21047 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21048 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21049 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21050 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21051 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21052 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21053 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21054 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21055 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21056 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21057 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21058 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21059 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21060 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21061 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21062 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21063 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21064 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21065 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21066 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21067 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21068 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21069 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21070 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21071 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21072 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21073 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21074 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21075 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21076 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21077 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21078 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21079 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21080 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21081 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21082 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21083 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21084 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21085 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21086 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21087 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21088 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21089 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21090 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21091 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21092 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21093 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21094 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21095 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21096 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21097 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21098 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21099 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21100 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21101 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21102 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21103 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21104 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21105 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21106 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21107 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21108 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21109 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21110 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21111 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21112 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21113 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21114 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21115 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21116 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21117 wine_fn_config_makefile dlls/apphelp enable_apphelp
21118 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21119 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21120 wine_fn_config_makefile dlls/atl enable_atl
21121 wine_fn_config_makefile dlls/atl/tests enable_tests
21122 wine_fn_config_makefile dlls/atl100 enable_atl100
21123 wine_fn_config_makefile dlls/atl100/tests enable_tests
21124 wine_fn_config_makefile dlls/atl110 enable_atl110
21125 wine_fn_config_makefile dlls/atl80 enable_atl80
21126 wine_fn_config_makefile dlls/atl80/tests enable_tests
21127 wine_fn_config_makefile dlls/atl90 enable_atl90
21128 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21129 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21130 wine_fn_config_makefile dlls/atmlib enable_atmlib
21131 wine_fn_config_makefile dlls/authz enable_authz
21132 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21133 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21134 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21135 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21136 wine_fn_config_makefile dlls/avrt enable_avrt
21137 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21138 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21139 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21140 wine_fn_config_makefile dlls/browseui enable_browseui
21141 wine_fn_config_makefile dlls/browseui/tests enable_tests
21142 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21143 wine_fn_config_makefile dlls/cabinet enable_cabinet
21144 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21145 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21146 wine_fn_config_makefile dlls/cards enable_cards
21147 wine_fn_config_makefile dlls/cdosys enable_cdosys
21148 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21149 wine_fn_config_makefile dlls/clusapi enable_clusapi
21150 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21151 wine_fn_config_makefile dlls/combase enable_combase
21152 wine_fn_config_makefile dlls/combase/tests enable_tests
21153 wine_fn_config_makefile dlls/comcat enable_comcat
21154 wine_fn_config_makefile dlls/comcat/tests enable_tests
21155 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21156 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21157 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21158 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21159 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21160 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21161 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21162 wine_fn_config_makefile dlls/compstui enable_compstui
21163 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21164 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21165 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21166 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21167 wine_fn_config_makefile dlls/connect enable_connect
21168 wine_fn_config_makefile dlls/credui enable_credui
21169 wine_fn_config_makefile dlls/credui/tests enable_tests
21170 wine_fn_config_makefile dlls/crtdll enable_crtdll
21171 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21172 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21173 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21174 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21175 wine_fn_config_makefile dlls/cryptext enable_cryptext
21176 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21177 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21178 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21179 wine_fn_config_makefile dlls/cryptui enable_cryptui
21180 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21181 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21182 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21183 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21184 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21185 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21186 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21187 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21188 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21189 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21190 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21191 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21192 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21193 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21194 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21195 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21196 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21197 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21198 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21199 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21200 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21201 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21202 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21203 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21204 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21205 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21206 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21207 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21208 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21209 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21210 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21211 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21212 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21213 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21214 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21215 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21216 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21217 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21218 wine_fn_config_makefile dlls/d3dim enable_d3dim
21219 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21220 wine_fn_config_makefile dlls/d3drm enable_d3drm
21221 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21223 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21224 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21225 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21226 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21227 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21228 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21229 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21230 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21231 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21232 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21233 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21234 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21235 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21236 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21238 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21240 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21242 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21244 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21246 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21248 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21249 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21250 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21251 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21252 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21253 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21254 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21255 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21256 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21257 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21258 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21259 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21260 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21261 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21262 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21263 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21264 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21265 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21266 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21267 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21268 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21269 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21270 wine_fn_config_makefile dlls/davclnt enable_davclnt
21271 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21272 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21273 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21274 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21275 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21276 wine_fn_config_makefile dlls/dcomp enable_dcomp
21277 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21278 wine_fn_config_makefile dlls/ddraw enable_ddraw
21279 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21280 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21281 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21282 wine_fn_config_makefile dlls/devenum enable_devenum
21283 wine_fn_config_makefile dlls/devenum/tests enable_tests
21284 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21285 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21286 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21287 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21288 wine_fn_config_makefile dlls/difxapi enable_difxapi
21289 wine_fn_config_makefile dlls/dinput enable_dinput
21290 wine_fn_config_makefile dlls/dinput/tests enable_tests
21291 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21292 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21293 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21294 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21295 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21296 wine_fn_config_makefile dlls/dispex enable_dispex
21297 wine_fn_config_makefile dlls/dispex/tests enable_tests
21298 wine_fn_config_makefile dlls/display.drv16 enable_win16
21299 wine_fn_config_makefile dlls/dmband enable_dmband
21300 wine_fn_config_makefile dlls/dmband/tests enable_tests
21301 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21302 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21303 wine_fn_config_makefile dlls/dmime enable_dmime
21304 wine_fn_config_makefile dlls/dmime/tests enable_tests
21305 wine_fn_config_makefile dlls/dmloader enable_dmloader
21306 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21307 wine_fn_config_makefile dlls/dmscript enable_dmscript
21308 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21309 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21310 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21311 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21312 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21313 wine_fn_config_makefile dlls/dmusic enable_dmusic
21314 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21315 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21316 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21317 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21318 wine_fn_config_makefile dlls/dplay enable_dplay
21319 wine_fn_config_makefile dlls/dplayx enable_dplayx
21320 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21321 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21322 wine_fn_config_makefile dlls/dpnet enable_dpnet
21323 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21324 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21325 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21326 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21327 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21328 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21329 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21330 wine_fn_config_makefile dlls/drmclien enable_drmclien
21331 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21332 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21333 wine_fn_config_makefile dlls/dsound enable_dsound
21334 wine_fn_config_makefile dlls/dsound/tests enable_tests
21335 wine_fn_config_makefile dlls/dsquery enable_dsquery
21336 wine_fn_config_makefile dlls/dssenh enable_dssenh
21337 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21338 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21339 wine_fn_config_makefile dlls/dswave enable_dswave
21340 wine_fn_config_makefile dlls/dswave/tests enable_tests
21341 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21342 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21343 wine_fn_config_makefile dlls/dwrite enable_dwrite
21344 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21345 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21346 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21347 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21348 wine_fn_config_makefile dlls/dxgi enable_dxgi
21349 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21350 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21351 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21352 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21353 wine_fn_config_makefile dlls/esent enable_esent
21354 wine_fn_config_makefile dlls/evr enable_evr
21355 wine_fn_config_makefile dlls/evr/tests enable_tests
21356 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21357 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21358 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21359 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21360 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21361 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21362 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21363 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21364 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21365 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21366 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21367 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21368 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21369 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21370 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21371 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21372 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21373 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21374 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21375 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21376 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21377 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21378 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21379 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21380 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21381 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21382 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21383 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21384 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21385 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21386 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21387 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21388 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21389 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21390 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21391 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21392 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21393 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21394 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21395 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21396 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21397 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21398 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
21399 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21400 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21401 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21402 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21403 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21404 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21405 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21406 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21407 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21408 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21409 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21410 wine_fn_config_makefile dlls/faultrep enable_faultrep
21411 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21412 wine_fn_config_makefile dlls/feclient enable_feclient
21413 wine_fn_config_makefile dlls/fltlib enable_fltlib
21414 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21415 wine_fn_config_makefile dlls/fntcache enable_fntcache
21416 wine_fn_config_makefile dlls/fontsub enable_fontsub
21417 wine_fn_config_makefile dlls/fusion enable_fusion
21418 wine_fn_config_makefile dlls/fusion/tests enable_tests
21419 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21420 wine_fn_config_makefile dlls/gameux enable_gameux
21421 wine_fn_config_makefile dlls/gameux/tests enable_tests
21422 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21423 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21424 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21425 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21426 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21427 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21428 wine_fn_config_makefile dlls/glu32 enable_glu32
21429 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21430 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21431 wine_fn_config_makefile dlls/hal enable_hal
21432 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21433 wine_fn_config_makefile dlls/hid enable_hid
21434 wine_fn_config_makefile dlls/hid/tests enable_tests
21435 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21436 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21437 wine_fn_config_makefile dlls/hlink enable_hlink
21438 wine_fn_config_makefile dlls/hlink/tests enable_tests
21439 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21440 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21441 wine_fn_config_makefile dlls/http.sys enable_http_sys
21442 wine_fn_config_makefile dlls/httpapi enable_httpapi
21443 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21444 wine_fn_config_makefile dlls/iccvid enable_iccvid
21445 wine_fn_config_makefile dlls/icmp enable_icmp
21446 wine_fn_config_makefile dlls/ieframe enable_ieframe
21447 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21448 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21449 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21450 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21451 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21452 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21453 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21454 wine_fn_config_makefile dlls/imm32 enable_imm32
21455 wine_fn_config_makefile dlls/imm32/tests enable_tests
21456 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21457 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21458 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21459 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21460 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21461 wine_fn_config_makefile dlls/infosoft enable_infosoft
21462 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21463 wine_fn_config_makefile dlls/initpki enable_initpki
21464 wine_fn_config_makefile dlls/inkobj enable_inkobj
21465 wine_fn_config_makefile dlls/inseng enable_inseng
21466 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21467 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21468 wine_fn_config_makefile dlls/iprop enable_iprop
21469 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21470 wine_fn_config_makefile dlls/itircl enable_itircl
21471 wine_fn_config_makefile dlls/itss enable_itss
21472 wine_fn_config_makefile dlls/itss/tests enable_tests
21473 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21474 wine_fn_config_makefile dlls/jscript enable_jscript
21475 wine_fn_config_makefile dlls/jscript/tests enable_tests
21476 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21477 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21478 wine_fn_config_makefile dlls/kerberos enable_kerberos
21479 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21480 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21481 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21482 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21483 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21484 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21485 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21486 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21487 wine_fn_config_makefile dlls/ksuser enable_ksuser
21488 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21489 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21490 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21491 wine_fn_config_makefile dlls/loadperf enable_loadperf
21492 wine_fn_config_makefile dlls/localspl enable_localspl
21493 wine_fn_config_makefile dlls/localspl/tests enable_tests
21494 wine_fn_config_makefile dlls/localui enable_localui
21495 wine_fn_config_makefile dlls/localui/tests enable_tests
21496 wine_fn_config_makefile dlls/lz32 enable_lz32
21497 wine_fn_config_makefile dlls/lz32/tests enable_tests
21498 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21499 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21500 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21501 wine_fn_config_makefile dlls/mapistub enable_mapistub
21502 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21503 wine_fn_config_makefile dlls/mcicda enable_mcicda
21504 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21505 wine_fn_config_makefile dlls/mciseq enable_mciseq
21506 wine_fn_config_makefile dlls/mciwave enable_mciwave
21507 wine_fn_config_makefile dlls/mf enable_mf
21508 wine_fn_config_makefile dlls/mf/tests enable_tests
21509 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21510 wine_fn_config_makefile dlls/mferror enable_mferror
21511 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21512 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21513 wine_fn_config_makefile dlls/mfplat enable_mfplat
21514 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21515 wine_fn_config_makefile dlls/mfplay enable_mfplay
21516 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21517 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21518 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21519 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21520 wine_fn_config_makefile dlls/midimap enable_midimap
21521 wine_fn_config_makefile dlls/mlang enable_mlang
21522 wine_fn_config_makefile dlls/mlang/tests enable_tests
21523 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21524 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21525 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21526 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21527 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21528 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21529 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21530 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21531 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21532 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21533 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21534 wine_fn_config_makefile dlls/mpr enable_mpr
21535 wine_fn_config_makefile dlls/mpr/tests enable_tests
21536 wine_fn_config_makefile dlls/mprapi enable_mprapi
21537 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21538 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21539 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21540 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21541 wine_fn_config_makefile dlls/msado15 enable_msado15
21542 wine_fn_config_makefile dlls/msado15/tests enable_tests
21543 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21544 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21545 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21546 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21547 wine_fn_config_makefile dlls/mscms enable_mscms
21548 wine_fn_config_makefile dlls/mscms/tests enable_tests
21549 wine_fn_config_makefile dlls/mscoree enable_mscoree
21550 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21551 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21552 wine_fn_config_makefile dlls/msctf enable_msctf
21553 wine_fn_config_makefile dlls/msctf/tests enable_tests
21554 wine_fn_config_makefile dlls/msctfp enable_msctfp
21555 wine_fn_config_makefile dlls/msdaps enable_msdaps
21556 wine_fn_config_makefile dlls/msdasql enable_msdasql
21557 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21558 wine_fn_config_makefile dlls/msdelta enable_msdelta
21559 wine_fn_config_makefile dlls/msdmo enable_msdmo
21560 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21561 wine_fn_config_makefile dlls/msdrm enable_msdrm
21562 wine_fn_config_makefile dlls/msftedit enable_msftedit
21563 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21564 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21565 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21566 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21567 wine_fn_config_makefile dlls/mshtml enable_mshtml
21568 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21569 wine_fn_config_makefile dlls/msi enable_msi
21570 wine_fn_config_makefile dlls/msi/tests enable_tests
21571 wine_fn_config_makefile dlls/msident enable_msident
21572 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21573 wine_fn_config_makefile dlls/msimsg enable_msimsg
21574 wine_fn_config_makefile dlls/msimtf enable_msimtf
21575 wine_fn_config_makefile dlls/msisip enable_msisip
21576 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21577 wine_fn_config_makefile dlls/msls31 enable_msls31
21578 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21579 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21580 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21581 wine_fn_config_makefile dlls/msports enable_msports
21582 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21583 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21584 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21585 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21586 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21587 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21588 wine_fn_config_makefile dlls/mstask enable_mstask
21589 wine_fn_config_makefile dlls/mstask/tests enable_tests
21590 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21591 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21592 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21593 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21594 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21595 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21596 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21597 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21598 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21599 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21600 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21601 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21602 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21603 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21604 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21605 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21606 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21607 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21608 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21609 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21610 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21611 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21612 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21613 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21614 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21615 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21616 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21617 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21618 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21619 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21620 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21621 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21622 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21623 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21624 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21625 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21626 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21627 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21628 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21629 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21630 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21631 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21632 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21633 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21634 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21635 wine_fn_config_makefile dlls/mswsock enable_mswsock
21636 wine_fn_config_makefile dlls/msxml enable_msxml
21637 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21638 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21639 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21640 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21641 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21642 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21643 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21644 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21645 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21646 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21647 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21648 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21649 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21650 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21651 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21652 wine_fn_config_makefile dlls/netprofm enable_netprofm
21653 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21654 wine_fn_config_makefile dlls/netutils enable_netutils
21655 wine_fn_config_makefile dlls/newdev enable_newdev
21656 wine_fn_config_makefile dlls/ninput enable_ninput
21657 wine_fn_config_makefile dlls/ninput/tests enable_tests
21658 wine_fn_config_makefile dlls/normaliz enable_normaliz
21659 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21660 wine_fn_config_makefile dlls/npptools enable_npptools
21661 wine_fn_config_makefile dlls/nsi enable_nsi
21662 wine_fn_config_makefile dlls/nsi/tests enable_tests
21663 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21664 wine_fn_config_makefile dlls/ntdll enable_ntdll
21665 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21666 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21667 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21668 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21669 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21670 wine_fn_config_makefile dlls/ntprint enable_ntprint
21671 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21672 wine_fn_config_makefile dlls/objsel enable_objsel
21673 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21674 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21675 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21676 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21677 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21678 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21679 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21680 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21681 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21682 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21683 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21684 wine_fn_config_makefile dlls/ole32 enable_ole32
21685 wine_fn_config_makefile dlls/ole32/tests enable_tests
21686 wine_fn_config_makefile dlls/oleacc enable_oleacc
21687 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21688 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21689 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21690 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21691 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21692 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21693 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21694 wine_fn_config_makefile dlls/oledlg enable_oledlg
21695 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21696 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21697 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21698 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21699 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21700 wine_fn_config_makefile dlls/opcservices enable_opcservices
21701 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21702 wine_fn_config_makefile dlls/openal32 enable_openal32
21703 wine_fn_config_makefile dlls/opencl enable_opencl
21704 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21705 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21706 wine_fn_config_makefile dlls/packager enable_packager
21707 wine_fn_config_makefile dlls/packager/tests enable_tests
21708 wine_fn_config_makefile dlls/pdh enable_pdh
21709 wine_fn_config_makefile dlls/pdh/tests enable_tests
21710 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21711 wine_fn_config_makefile dlls/pidgen enable_pidgen
21712 wine_fn_config_makefile dlls/powrprof enable_powrprof
21713 wine_fn_config_makefile dlls/printui enable_printui
21714 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21715 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21716 wine_fn_config_makefile dlls/propsys enable_propsys
21717 wine_fn_config_makefile dlls/propsys/tests enable_tests
21718 wine_fn_config_makefile dlls/psapi enable_psapi
21719 wine_fn_config_makefile dlls/psapi/tests enable_tests
21720 wine_fn_config_makefile dlls/pstorec enable_pstorec
21721 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21722 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21723 wine_fn_config_makefile dlls/qasf enable_qasf
21724 wine_fn_config_makefile dlls/qasf/tests enable_tests
21725 wine_fn_config_makefile dlls/qcap enable_qcap
21726 wine_fn_config_makefile dlls/qcap/tests enable_tests
21727 wine_fn_config_makefile dlls/qdvd enable_qdvd
21728 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21729 wine_fn_config_makefile dlls/qedit enable_qedit
21730 wine_fn_config_makefile dlls/qedit/tests enable_tests
21731 wine_fn_config_makefile dlls/qmgr enable_qmgr
21732 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21733 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21734 wine_fn_config_makefile dlls/quartz enable_quartz
21735 wine_fn_config_makefile dlls/quartz/tests enable_tests
21736 wine_fn_config_makefile dlls/query enable_query
21737 wine_fn_config_makefile dlls/qwave enable_qwave
21738 wine_fn_config_makefile dlls/qwave/tests enable_tests
21739 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21740 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21741 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21742 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21743 wine_fn_config_makefile dlls/regapi enable_regapi
21744 wine_fn_config_makefile dlls/resutils enable_resutils
21745 wine_fn_config_makefile dlls/riched20 enable_riched20
21746 wine_fn_config_makefile dlls/riched20/tests enable_tests
21747 wine_fn_config_makefile dlls/riched32 enable_riched32
21748 wine_fn_config_makefile dlls/riched32/tests enable_tests
21749 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21750 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21751 wine_fn_config_makefile dlls/rsabase enable_rsabase
21752 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21753 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21754 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21755 wine_fn_config_makefile dlls/rtutils enable_rtutils
21756 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21757 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21758 wine_fn_config_makefile dlls/samlib enable_samlib
21759 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21760 wine_fn_config_makefile dlls/sapi enable_sapi
21761 wine_fn_config_makefile dlls/sapi/tests enable_tests
21762 wine_fn_config_makefile dlls/sas enable_sas
21763 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21764 wine_fn_config_makefile dlls/sccbase enable_sccbase
21765 wine_fn_config_makefile dlls/schannel enable_schannel
21766 wine_fn_config_makefile dlls/schannel/tests enable_tests
21767 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21768 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21769 wine_fn_config_makefile dlls/scrobj enable_scrobj
21770 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21771 wine_fn_config_makefile dlls/scrrun enable_scrrun
21772 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21773 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21774 wine_fn_config_makefile dlls/sechost enable_sechost
21775 wine_fn_config_makefile dlls/secur32 enable_secur32
21776 wine_fn_config_makefile dlls/secur32/tests enable_tests
21777 wine_fn_config_makefile dlls/security enable_security
21778 wine_fn_config_makefile dlls/sensapi enable_sensapi
21779 wine_fn_config_makefile dlls/serialui enable_serialui
21780 wine_fn_config_makefile dlls/serialui/tests enable_tests
21781 wine_fn_config_makefile dlls/setupapi enable_setupapi
21782 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21783 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21784 wine_fn_config_makefile dlls/sfc enable_sfc
21785 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21786 wine_fn_config_makefile dlls/shcore enable_shcore
21787 wine_fn_config_makefile dlls/shcore/tests enable_tests
21788 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21789 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21790 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21791 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21792 wine_fn_config_makefile dlls/shell32 enable_shell32
21793 wine_fn_config_makefile dlls/shell32/tests enable_tests
21794 wine_fn_config_makefile dlls/shfolder enable_shfolder
21795 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21796 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21797 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21798 wine_fn_config_makefile dlls/slc enable_slc
21799 wine_fn_config_makefile dlls/slc/tests enable_tests
21800 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21801 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21802 wine_fn_config_makefile dlls/softpub enable_softpub
21803 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21804 wine_fn_config_makefile dlls/spoolss enable_spoolss
21805 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21806 wine_fn_config_makefile dlls/sppc enable_sppc
21807 wine_fn_config_makefile dlls/srclient enable_srclient
21808 wine_fn_config_makefile dlls/srvcli enable_srvcli
21809 wine_fn_config_makefile dlls/sspicli enable_sspicli
21810 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21811 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21812 wine_fn_config_makefile dlls/sti enable_sti
21813 wine_fn_config_makefile dlls/sti/tests enable_tests
21814 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21815 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21816 wine_fn_config_makefile dlls/strmbase enable_strmbase
21817 wine_fn_config_makefile dlls/strmdll enable_strmdll
21818 wine_fn_config_makefile dlls/svrapi enable_svrapi
21819 wine_fn_config_makefile dlls/sxs enable_sxs
21820 wine_fn_config_makefile dlls/sxs/tests enable_tests
21821 wine_fn_config_makefile dlls/system.drv16 enable_win16
21822 wine_fn_config_makefile dlls/t2embed enable_t2embed
21823 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21824 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21825 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21826 wine_fn_config_makefile dlls/taskschd enable_taskschd
21827 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21828 wine_fn_config_makefile dlls/tbs enable_tbs
21829 wine_fn_config_makefile dlls/tdh enable_tdh
21830 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21831 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21832 wine_fn_config_makefile dlls/traffic enable_traffic
21833 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21834 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21835 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21836 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21837 wine_fn_config_makefile dlls/tzres enable_tzres
21838 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21839 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21840 wine_fn_config_makefile dlls/uianimation enable_uianimation
21841 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21842 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21843 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21844 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21845 wine_fn_config_makefile dlls/unicows enable_unicows
21846 wine_fn_config_makefile dlls/updspapi enable_updspapi
21847 wine_fn_config_makefile dlls/url enable_url
21848 wine_fn_config_makefile dlls/urlmon enable_urlmon
21849 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21850 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21851 wine_fn_config_makefile dlls/user.exe16 enable_win16
21852 wine_fn_config_makefile dlls/user32 enable_user32
21853 wine_fn_config_makefile dlls/user32/tests enable_tests
21854 wine_fn_config_makefile dlls/userenv enable_userenv
21855 wine_fn_config_makefile dlls/userenv/tests enable_tests
21856 wine_fn_config_makefile dlls/usp10 enable_usp10
21857 wine_fn_config_makefile dlls/usp10/tests enable_tests
21858 wine_fn_config_makefile dlls/utildll enable_utildll
21859 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21860 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21861 wine_fn_config_makefile dlls/vbscript enable_vbscript
21862 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21863 wine_fn_config_makefile dlls/vcomp enable_vcomp
21864 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21865 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21866 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21867 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21868 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21869 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21870 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21871 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21872 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21873 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21874 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21875 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21876 wine_fn_config_makefile dlls/version enable_version
21877 wine_fn_config_makefile dlls/version/tests enable_tests
21878 wine_fn_config_makefile dlls/vga enable_vga
21879 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21880 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21881 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21882 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21883 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21884 wine_fn_config_makefile dlls/vssapi enable_vssapi
21885 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21886 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21887 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21888 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21889 wine_fn_config_makefile dlls/w32skrnl enable_win16
21890 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21891 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21892 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21893 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21894 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21895 wine_fn_config_makefile dlls/wdscore enable_wdscore
21896 wine_fn_config_makefile dlls/webservices enable_webservices
21897 wine_fn_config_makefile dlls/webservices/tests enable_tests
21898 wine_fn_config_makefile dlls/websocket enable_websocket
21899 wine_fn_config_makefile dlls/wer enable_wer
21900 wine_fn_config_makefile dlls/wer/tests enable_tests
21901 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21902 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21903 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21904 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21905 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21906 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21907 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21908 wine_fn_config_makefile dlls/win32u enable_win32u
21909 wine_fn_config_makefile dlls/win32u/tests enable_tests
21910 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21911 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21912 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21913 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21914 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21915 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21916 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21917 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21918 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21919 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21920 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21921 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21922 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21923 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21924 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21925 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21926 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21927 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21928 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21929 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21930 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21931 wine_fn_config_makefile dlls/wined3d enable_wined3d
21932 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21933 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21934 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21935 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21936 wine_fn_config_makefile dlls/winemapi enable_winemapi
21937 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21938 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21939 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21940 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21941 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21942 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21943 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21944 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21945 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21946 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21947 wine_fn_config_makefile dlls/wing32 enable_wing32
21948 wine_fn_config_makefile dlls/winhttp enable_winhttp
21949 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21950 wine_fn_config_makefile dlls/wininet enable_wininet
21951 wine_fn_config_makefile dlls/wininet/tests enable_tests
21952 wine_fn_config_makefile dlls/winmm enable_winmm
21953 wine_fn_config_makefile dlls/winmm/tests enable_tests
21954 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21955 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21956 wine_fn_config_makefile dlls/winscard enable_winscard
21957 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21958 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21959 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21960 wine_fn_config_makefile dlls/winsta enable_winsta
21961 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21962 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21963 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21964 wine_fn_config_makefile dlls/wintrust enable_wintrust
21965 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21966 wine_fn_config_makefile dlls/winusb enable_winusb
21967 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21968 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21969 wine_fn_config_makefile dlls/wlanui enable_wlanui
21970 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21971 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21972 wine_fn_config_makefile dlls/wmasf enable_wmasf
21973 wine_fn_config_makefile dlls/wmi enable_wmi
21974 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21975 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21976 wine_fn_config_makefile dlls/wmp enable_wmp
21977 wine_fn_config_makefile dlls/wmp/tests enable_tests
21978 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21979 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21980 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21981 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21982 wine_fn_config_makefile dlls/wow32 enable_win16
21983 wine_fn_config_makefile dlls/wow64 enable_wow64
21984 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21985 wine_fn_config_makefile dlls/wow64win enable_wow64win
21986 wine_fn_config_makefile dlls/wpc enable_wpc
21987 wine_fn_config_makefile dlls/wpc/tests enable_tests
21988 wine_fn_config_makefile dlls/wpcap enable_wpcap
21989 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21990 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21991 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21992 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21993 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21994 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21995 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21996 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21997 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21998 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21999 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22000 wine_fn_config_makefile dlls/wuapi enable_wuapi
22001 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22002 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22003 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22004 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22005 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22006 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22007 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22008 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22009 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22010 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22011 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22012 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22013 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22014 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22015 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22016 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22017 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22018 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22019 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22020 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22021 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22022 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22023 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22024 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22025 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22026 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22027 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22028 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22029 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22030 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22031 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22032 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22033 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22034 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22035 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22036 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22037 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22038 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22039 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22040 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22041 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22042 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22043 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22044 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22045 wine_fn_config_makefile dlls/xmllite enable_xmllite
22046 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22047 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22048 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22049 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22050 wine_fn_config_makefile fonts enable_fonts
22051 wine_fn_config_makefile include enable_include
22052 wine_fn_config_makefile libs/adsiid enable_adsiid
22053 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22054 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22055 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22056 wine_fn_config_makefile libs/dxguid enable_dxguid
22057 wine_fn_config_makefile libs/faudio enable_faudio
22058 wine_fn_config_makefile libs/gsm enable_gsm
22059 wine_fn_config_makefile libs/jpeg enable_jpeg
22060 wine_fn_config_makefile libs/jxr enable_jxr
22061 wine_fn_config_makefile libs/lcms2 enable_lcms2
22062 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22063 wine_fn_config_makefile libs/mpg123 enable_mpg123
22064 wine_fn_config_makefile libs/png enable_png
22065 wine_fn_config_makefile libs/strmiids enable_strmiids
22066 wine_fn_config_makefile libs/tiff enable_tiff
22067 wine_fn_config_makefile libs/uuid enable_uuid
22068 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22069 wine_fn_config_makefile libs/wine enable_wine
22070 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22071 wine_fn_config_makefile libs/xml2 enable_xml2
22072 wine_fn_config_makefile libs/xslt enable_xslt
22073 wine_fn_config_makefile libs/zlib enable_zlib
22074 wine_fn_config_makefile loader enable_loader
22075 wine_fn_config_makefile nls enable_nls
22076 wine_fn_config_makefile po enable_po
22077 wine_fn_config_makefile programs/arp enable_arp
22078 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22079 wine_fn_config_makefile programs/attrib enable_attrib
22080 wine_fn_config_makefile programs/cabarc enable_cabarc
22081 wine_fn_config_makefile programs/cacls enable_cacls
22082 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22083 wine_fn_config_makefile programs/clock enable_clock
22084 wine_fn_config_makefile programs/cmd enable_cmd
22085 wine_fn_config_makefile programs/cmd/tests enable_tests
22086 wine_fn_config_makefile programs/conhost enable_conhost
22087 wine_fn_config_makefile programs/conhost/tests enable_tests
22088 wine_fn_config_makefile programs/control enable_control
22089 wine_fn_config_makefile programs/cscript enable_cscript
22090 wine_fn_config_makefile programs/dism enable_dism
22091 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22092 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22093 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22094 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22095 wine_fn_config_makefile programs/eject enable_eject
22096 wine_fn_config_makefile programs/expand enable_expand
22097 wine_fn_config_makefile programs/explorer enable_explorer
22098 wine_fn_config_makefile programs/extrac32 enable_extrac32
22099 wine_fn_config_makefile programs/fc enable_fc
22100 wine_fn_config_makefile programs/find enable_find
22101 wine_fn_config_makefile programs/find/tests enable_tests
22102 wine_fn_config_makefile programs/findstr enable_findstr
22103 wine_fn_config_makefile programs/fsutil enable_fsutil
22104 wine_fn_config_makefile programs/fsutil/tests enable_tests
22105 wine_fn_config_makefile programs/hh enable_hh
22106 wine_fn_config_makefile programs/hostname enable_hostname
22107 wine_fn_config_makefile programs/icacls enable_icacls
22108 wine_fn_config_makefile programs/icinfo enable_icinfo
22109 wine_fn_config_makefile programs/iexplore enable_iexplore
22110 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22111 wine_fn_config_makefile programs/lodctr enable_lodctr
22112 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22113 wine_fn_config_makefile programs/mshta enable_mshta
22114 wine_fn_config_makefile programs/msidb enable_msidb
22115 wine_fn_config_makefile programs/msiexec enable_msiexec
22116 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22117 wine_fn_config_makefile programs/net enable_net
22118 wine_fn_config_makefile programs/netsh enable_netsh
22119 wine_fn_config_makefile programs/netstat enable_netstat
22120 wine_fn_config_makefile programs/ngen enable_ngen
22121 wine_fn_config_makefile programs/notepad enable_notepad
22122 wine_fn_config_makefile programs/oleview enable_oleview
22123 wine_fn_config_makefile programs/ping enable_ping
22124 wine_fn_config_makefile programs/plugplay enable_plugplay
22125 wine_fn_config_makefile programs/powershell enable_powershell
22126 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22127 wine_fn_config_makefile programs/progman enable_progman
22128 wine_fn_config_makefile programs/reg enable_reg
22129 wine_fn_config_makefile programs/reg/tests enable_tests
22130 wine_fn_config_makefile programs/regasm enable_regasm
22131 wine_fn_config_makefile programs/regedit enable_regedit
22132 wine_fn_config_makefile programs/regedit/tests enable_tests
22133 wine_fn_config_makefile programs/regini enable_regini
22134 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22135 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22136 wine_fn_config_makefile programs/robocopy enable_robocopy
22137 wine_fn_config_makefile programs/rpcss enable_rpcss
22138 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22139 wine_fn_config_makefile programs/rundll32 enable_rundll32
22140 wine_fn_config_makefile programs/sc enable_sc
22141 wine_fn_config_makefile programs/schtasks enable_schtasks
22142 wine_fn_config_makefile programs/schtasks/tests enable_tests
22143 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22144 wine_fn_config_makefile programs/secedit enable_secedit
22145 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22146 wine_fn_config_makefile programs/services enable_services
22147 wine_fn_config_makefile programs/services/tests enable_tests
22148 wine_fn_config_makefile programs/shutdown enable_shutdown
22149 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22150 wine_fn_config_makefile programs/start enable_start
22151 wine_fn_config_makefile programs/subst enable_subst
22152 wine_fn_config_makefile programs/svchost enable_svchost
22153 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22154 wine_fn_config_makefile programs/taskkill enable_taskkill
22155 wine_fn_config_makefile programs/tasklist enable_tasklist
22156 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22157 wine_fn_config_makefile programs/termsv enable_termsv
22158 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22159 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22160 wine_fn_config_makefile programs/view enable_view
22161 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22162 wine_fn_config_makefile programs/where enable_where
22163 wine_fn_config_makefile programs/whoami enable_whoami
22164 wine_fn_config_makefile programs/wineboot enable_wineboot
22165 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22166 wine_fn_config_makefile programs/winecfg enable_winecfg
22167 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22168 wine_fn_config_makefile programs/winedbg enable_winedbg
22169 wine_fn_config_makefile programs/winedevice enable_winedevice
22170 wine_fn_config_makefile programs/winefile enable_winefile
22171 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22172 wine_fn_config_makefile programs/winemine enable_winemine
22173 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22174 wine_fn_config_makefile programs/winepath enable_winepath
22175 wine_fn_config_makefile programs/winetest enable_winetest
22176 wine_fn_config_makefile programs/winevdm enable_win16
22177 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22178 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22179 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22180 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22181 wine_fn_config_makefile programs/winver enable_winver
22182 wine_fn_config_makefile programs/wmic enable_wmic
22183 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22184 wine_fn_config_makefile programs/wordpad enable_wordpad
22185 wine_fn_config_makefile programs/write enable_write
22186 wine_fn_config_makefile programs/wscript enable_wscript
22187 wine_fn_config_makefile programs/wscript/tests enable_tests
22188 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22189 wine_fn_config_makefile programs/wusa enable_wusa
22190 wine_fn_config_makefile programs/xcopy enable_xcopy
22191 wine_fn_config_makefile programs/xcopy/tests enable_tests
22192 wine_fn_config_makefile server enable_server
22193 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22194 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22196 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22197 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22199 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22200 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22201 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22204 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22205 wine_fn_append_file CONFIGURE_TARGETS "tags"
22206 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22207 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22208 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22209 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22210 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22211 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22213 if test "x$enable_tools" != xno
22214 then
22215 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22216 ac_config_commands="$ac_config_commands tools/makedep"
22220 ac_config_commands="$ac_config_commands Makefile"
22224 SHELL=/bin/sh
22227 wine_fn_append_rule "all: wine
22228 @echo \"Wine build complete.\"
22229 .INIT: Makefile
22230 .MAKEFILEDEPS:
22231 all: Makefile
22232 Makefile: config.status \$(MAKEDEP)
22233 @./config.status Makefile
22234 depend: \$(MAKEDEP)
22235 \$(MAKEDEP)$makedep_flags"
22238 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22239 @./config.status --recheck
22240 include/config.h: include/stamp-h
22241 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22242 @./config.status include/config.h include/stamp-h"
22244 if test "x$enable_maintainer_mode" = xyes
22245 then
22246 wine_fn_append_rule "configure: configure.ac aclocal.m4
22247 autoconf --warnings=all
22248 include/config.h.in: include/stamp-h.in
22249 include/stamp-h.in: configure.ac aclocal.m4
22250 autoheader --warnings=all
22251 @echo timestamp > \$@"
22254 if test "x$enable_tools" != xno
22255 then
22256 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22257 @./config.status tools/makedep
22258 Makefile: tools/makedep$ac_exeext"
22259 else
22260 wine_fn_append_rule "\$(MAKEDEP):
22261 @echo \"You need to run make in $toolsdir first\" && false"
22265 if test -n "$with_wine64"
22266 then
22267 case "$with_wine64" in
22268 /*) reldir="" ;;
22269 *) reldir="../" ;;
22270 esac
22271 rm -f fonts server 2>/dev/null
22272 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22273 loader/wine64 loader/wine64-preloader:
22274 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22275 $with_wine64/loader/wine:
22276 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22277 $with_wine64/loader/wine-preloader:
22278 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22279 clean::
22280 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22281 else
22282 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22283 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22284 fonts \
22285 loader/wine.inf \
22286 nls \
22287 programs/msidb/msidb \
22288 programs/msiexec/msiexec \
22289 programs/notepad/notepad \
22290 programs/regedit/regedit \
22291 programs/regsvr32/regsvr32 \
22292 programs/wineboot/wineboot \
22293 programs/winecfg/winecfg \
22294 programs/wineconsole/wineconsole \
22295 programs/winedbg/winedbg \
22296 programs/winefile/winefile \
22297 programs/winemine/winemine \
22298 programs/winepath/winepath \
22299 server/wineserver"
22301 case $host_os in
22302 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22303 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22304 esac
22308 wine_fn_append_rule "distclean:: clean
22309 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22312 wine_fn_append_rule "install-manpages:: manpages
22313 for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done"
22316 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22317 @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)
22318 programs/winetest/build.rc: dummy
22319 @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)
22320 programs/winetest/build.nfo:
22321 @-\$(CC) -v 2>\$@
22322 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
22323 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22324 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22327 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22329 wine_fn_append_rule "TAGS etags:
22330 rm -f TAGS
22331 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22332 tags ctags:
22333 rm -f tags
22334 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22335 dummy:
22336 .PHONY: depend dummy install-manpages"
22338 printf "%s\n" " done" >&6
22339 cat >confcache <<\_ACEOF
22340 # This file is a shell script that caches the results of configure
22341 # tests run on this system so they can be shared between configure
22342 # scripts and configure runs, see configure's option --config-cache.
22343 # It is not useful on other systems. If it contains results you don't
22344 # want to keep, you may remove or edit it.
22346 # config.status only pays attention to the cache file if you give it
22347 # the --recheck option to rerun configure.
22349 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22350 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22351 # following values.
22353 _ACEOF
22355 # The following way of writing the cache mishandles newlines in values,
22356 # but we know of no workaround that is simple, portable, and efficient.
22357 # So, we kill variables containing newlines.
22358 # Ultrix sh set writes to stderr and can't be redirected directly,
22359 # and sets the high bit in the cache file unless we assign to the vars.
22361 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22362 eval ac_val=\$$ac_var
22363 case $ac_val in #(
22364 *${as_nl}*)
22365 case $ac_var in #(
22366 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22367 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22368 esac
22369 case $ac_var in #(
22370 _ | IFS | as_nl) ;; #(
22371 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22372 *) { eval $ac_var=; unset $ac_var;} ;;
22373 esac ;;
22374 esac
22375 done
22377 (set) 2>&1 |
22378 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22379 *${as_nl}ac_space=\ *)
22380 # `set' does not quote correctly, so add quotes: double-quote
22381 # substitution turns \\\\ into \\, and sed turns \\ into \.
22382 sed -n \
22383 "s/'/'\\\\''/g;
22384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22385 ;; #(
22387 # `set' quotes correctly as required by POSIX, so do not add quotes.
22388 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22390 esac |
22391 sort
22393 sed '
22394 /^ac_cv_env_/b end
22395 t clear
22396 :clear
22397 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22398 t end
22399 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22400 :end' >>confcache
22401 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22402 if test -w "$cache_file"; then
22403 if test "x$cache_file" != "x/dev/null"; then
22404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22405 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22406 if test ! -f "$cache_file" || test -h "$cache_file"; then
22407 cat confcache >"$cache_file"
22408 else
22409 case $cache_file in #(
22410 */* | ?:*)
22411 mv -f confcache "$cache_file"$$ &&
22412 mv -f "$cache_file"$$ "$cache_file" ;; #(
22414 mv -f confcache "$cache_file" ;;
22415 esac
22418 else
22419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22420 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22423 rm -f confcache
22425 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22426 # Let make expand exec_prefix.
22427 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22429 DEFS=-DHAVE_CONFIG_H
22431 ac_libobjs=
22432 ac_ltlibobjs=
22434 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22435 # 1. Remove the extension, and $U if already installed.
22436 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22437 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22438 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22439 # will be set to the directory where LIBOBJS objects are built.
22440 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22441 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22442 done
22443 LIBOBJS=$ac_libobjs
22445 LTLIBOBJS=$ac_ltlibobjs
22449 : "${CONFIG_STATUS=./config.status}"
22450 ac_write_fail=0
22451 ac_clean_files_save=$ac_clean_files
22452 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22454 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22455 as_write_fail=0
22456 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22457 #! $SHELL
22458 # Generated by $as_me.
22459 # Run this file to recreate the current configuration.
22460 # Compiler output produced by configure, useful for debugging
22461 # configure, is in config.log if it exists.
22463 debug=false
22464 ac_cs_recheck=false
22465 ac_cs_silent=false
22467 SHELL=\${CONFIG_SHELL-$SHELL}
22468 export SHELL
22469 _ASEOF
22470 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22471 ## -------------------- ##
22472 ## M4sh Initialization. ##
22473 ## -------------------- ##
22475 # Be more Bourne compatible
22476 DUALCASE=1; export DUALCASE # for MKS sh
22477 as_nop=:
22478 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22479 then :
22480 emulate sh
22481 NULLCMD=:
22482 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22483 # is contrary to our usage. Disable this feature.
22484 alias -g '${1+"$@"}'='"$@"'
22485 setopt NO_GLOB_SUBST
22486 else $as_nop
22487 case `(set -o) 2>/dev/null` in #(
22488 *posix*) :
22489 set -o posix ;; #(
22490 *) :
22492 esac
22497 # Reset variables that may have inherited troublesome values from
22498 # the environment.
22500 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22501 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22502 # side effect of setting IFS to empty, thus disabling word splitting.)
22503 # Quoting is to prevent editors from complaining about space-tab.
22504 as_nl='
22506 export as_nl
22507 IFS=" "" $as_nl"
22509 PS1='$ '
22510 PS2='> '
22511 PS4='+ '
22513 # Ensure predictable behavior from utilities with locale-dependent output.
22514 LC_ALL=C
22515 export LC_ALL
22516 LANGUAGE=C
22517 export LANGUAGE
22519 # We cannot yet rely on "unset" to work, but we need these variables
22520 # to be unset--not just set to an empty or harmless value--now, to
22521 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22522 # also avoids known problems related to "unset" and subshell syntax
22523 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22524 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22525 do eval test \${$as_var+y} \
22526 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22527 done
22529 # Ensure that fds 0, 1, and 2 are open.
22530 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22531 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22532 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22534 # The user is always right.
22535 if ${PATH_SEPARATOR+false} :; then
22536 PATH_SEPARATOR=:
22537 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22538 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22539 PATH_SEPARATOR=';'
22544 # Find who we are. Look in the path if we contain no directory separator.
22545 as_myself=
22546 case $0 in #((
22547 *[\\/]* ) as_myself=$0 ;;
22548 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22549 for as_dir in $PATH
22551 IFS=$as_save_IFS
22552 case $as_dir in #(((
22553 '') as_dir=./ ;;
22554 */) ;;
22555 *) as_dir=$as_dir/ ;;
22556 esac
22557 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22558 done
22559 IFS=$as_save_IFS
22562 esac
22563 # We did not find ourselves, most probably we were run as `sh COMMAND'
22564 # in which case we are not to be found in the path.
22565 if test "x$as_myself" = x; then
22566 as_myself=$0
22568 if test ! -f "$as_myself"; then
22569 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22570 exit 1
22575 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22576 # ----------------------------------------
22577 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22578 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22579 # script with STATUS, using 1 if that was 0.
22580 as_fn_error ()
22582 as_status=$1; test $as_status -eq 0 && as_status=1
22583 if test "$4"; then
22584 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22587 printf "%s\n" "$as_me: error: $2" >&2
22588 as_fn_exit $as_status
22589 } # as_fn_error
22593 # as_fn_set_status STATUS
22594 # -----------------------
22595 # Set $? to STATUS, without forking.
22596 as_fn_set_status ()
22598 return $1
22599 } # as_fn_set_status
22601 # as_fn_exit STATUS
22602 # -----------------
22603 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22604 as_fn_exit ()
22606 set +e
22607 as_fn_set_status $1
22608 exit $1
22609 } # as_fn_exit
22611 # as_fn_unset VAR
22612 # ---------------
22613 # Portably unset VAR.
22614 as_fn_unset ()
22616 { eval $1=; unset $1;}
22618 as_unset=as_fn_unset
22620 # as_fn_append VAR VALUE
22621 # ----------------------
22622 # Append the text in VALUE to the end of the definition contained in VAR. Take
22623 # advantage of any shell optimizations that allow amortized linear growth over
22624 # repeated appends, instead of the typical quadratic growth present in naive
22625 # implementations.
22626 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22627 then :
22628 eval 'as_fn_append ()
22630 eval $1+=\$2
22632 else $as_nop
22633 as_fn_append ()
22635 eval $1=\$$1\$2
22637 fi # as_fn_append
22639 # as_fn_arith ARG...
22640 # ------------------
22641 # Perform arithmetic evaluation on the ARGs, and store the result in the
22642 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22643 # must be portable across $(()) and expr.
22644 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22645 then :
22646 eval 'as_fn_arith ()
22648 as_val=$(( $* ))
22650 else $as_nop
22651 as_fn_arith ()
22653 as_val=`expr "$@" || test $? -eq 1`
22655 fi # as_fn_arith
22658 if expr a : '\(a\)' >/dev/null 2>&1 &&
22659 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22660 as_expr=expr
22661 else
22662 as_expr=false
22665 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22666 as_basename=basename
22667 else
22668 as_basename=false
22671 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22672 as_dirname=dirname
22673 else
22674 as_dirname=false
22677 as_me=`$as_basename -- "$0" ||
22678 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22679 X"$0" : 'X\(//\)$' \| \
22680 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22681 printf "%s\n" X/"$0" |
22682 sed '/^.*\/\([^/][^/]*\)\/*$/{
22683 s//\1/
22686 /^X\/\(\/\/\)$/{
22687 s//\1/
22690 /^X\/\(\/\).*/{
22691 s//\1/
22694 s/.*/./; q'`
22696 # Avoid depending upon Character Ranges.
22697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22700 as_cr_digits='0123456789'
22701 as_cr_alnum=$as_cr_Letters$as_cr_digits
22704 # Determine whether it's possible to make 'echo' print without a newline.
22705 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22706 # for compatibility with existing Makefiles.
22707 ECHO_C= ECHO_N= ECHO_T=
22708 case `echo -n x` in #(((((
22709 -n*)
22710 case `echo 'xy\c'` in
22711 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22712 xy) ECHO_C='\c';;
22713 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22714 ECHO_T=' ';;
22715 esac;;
22717 ECHO_N='-n';;
22718 esac
22720 # For backward compatibility with old third-party macros, we provide
22721 # the shell variables $as_echo and $as_echo_n. New code should use
22722 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22723 as_echo='printf %s\n'
22724 as_echo_n='printf %s'
22726 rm -f conf$$ conf$$.exe conf$$.file
22727 if test -d conf$$.dir; then
22728 rm -f conf$$.dir/conf$$.file
22729 else
22730 rm -f conf$$.dir
22731 mkdir conf$$.dir 2>/dev/null
22733 if (echo >conf$$.file) 2>/dev/null; then
22734 if ln -s conf$$.file conf$$ 2>/dev/null; then
22735 as_ln_s='ln -s'
22736 # ... but there are two gotchas:
22737 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22738 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22739 # In both cases, we have to default to `cp -pR'.
22740 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22741 as_ln_s='cp -pR'
22742 elif ln conf$$.file conf$$ 2>/dev/null; then
22743 as_ln_s=ln
22744 else
22745 as_ln_s='cp -pR'
22747 else
22748 as_ln_s='cp -pR'
22750 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22751 rmdir conf$$.dir 2>/dev/null
22754 # as_fn_mkdir_p
22755 # -------------
22756 # Create "$as_dir" as a directory, including parents if necessary.
22757 as_fn_mkdir_p ()
22760 case $as_dir in #(
22761 -*) as_dir=./$as_dir;;
22762 esac
22763 test -d "$as_dir" || eval $as_mkdir_p || {
22764 as_dirs=
22765 while :; do
22766 case $as_dir in #(
22767 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22768 *) as_qdir=$as_dir;;
22769 esac
22770 as_dirs="'$as_qdir' $as_dirs"
22771 as_dir=`$as_dirname -- "$as_dir" ||
22772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22773 X"$as_dir" : 'X\(//\)[^/]' \| \
22774 X"$as_dir" : 'X\(//\)$' \| \
22775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22776 printf "%s\n" X"$as_dir" |
22777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22778 s//\1/
22781 /^X\(\/\/\)[^/].*/{
22782 s//\1/
22785 /^X\(\/\/\)$/{
22786 s//\1/
22789 /^X\(\/\).*/{
22790 s//\1/
22793 s/.*/./; q'`
22794 test -d "$as_dir" && break
22795 done
22796 test -z "$as_dirs" || eval "mkdir $as_dirs"
22797 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22800 } # as_fn_mkdir_p
22801 if mkdir -p . 2>/dev/null; then
22802 as_mkdir_p='mkdir -p "$as_dir"'
22803 else
22804 test -d ./-p && rmdir ./-p
22805 as_mkdir_p=false
22809 # as_fn_executable_p FILE
22810 # -----------------------
22811 # Test if FILE is an executable regular file.
22812 as_fn_executable_p ()
22814 test -f "$1" && test -x "$1"
22815 } # as_fn_executable_p
22816 as_test_x='test -x'
22817 as_executable_p=as_fn_executable_p
22819 # Sed expression to map a string onto a valid CPP name.
22820 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22822 # Sed expression to map a string onto a valid variable name.
22823 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22826 exec 6>&1
22827 ## ----------------------------------- ##
22828 ## Main body of $CONFIG_STATUS script. ##
22829 ## ----------------------------------- ##
22830 _ASEOF
22831 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22834 # Save the log message, to keep $0 and so on meaningful, and to
22835 # report actual input values of CONFIG_FILES etc. instead of their
22836 # values after options handling.
22837 ac_log="
22838 This file was extended by Wine $as_me 6.21, which was
22839 generated by GNU Autoconf 2.71. Invocation command line was
22841 CONFIG_FILES = $CONFIG_FILES
22842 CONFIG_HEADERS = $CONFIG_HEADERS
22843 CONFIG_LINKS = $CONFIG_LINKS
22844 CONFIG_COMMANDS = $CONFIG_COMMANDS
22845 $ $0 $@
22847 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22850 _ACEOF
22853 case $ac_config_headers in *"
22854 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22855 esac
22858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22859 # Files that config.status was made for.
22860 config_headers="$ac_config_headers"
22861 config_links="$ac_config_links"
22862 config_commands="$ac_config_commands"
22864 _ACEOF
22866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22867 ac_cs_usage="\
22868 \`$as_me' instantiates files and other configuration actions
22869 from templates according to the current configuration. Unless the files
22870 and actions are specified as TAGs, all are instantiated by default.
22872 Usage: $0 [OPTION]... [TAG]...
22874 -h, --help print this help, then exit
22875 -V, --version print version number and configuration settings, then exit
22876 --config print configuration, then exit
22877 -q, --quiet, --silent
22878 do not print progress messages
22879 -d, --debug don't remove temporary files
22880 --recheck update $as_me by reconfiguring in the same conditions
22881 --header=FILE[:TEMPLATE]
22882 instantiate the configuration header FILE
22884 Configuration headers:
22885 $config_headers
22887 Configuration links:
22888 $config_links
22890 Configuration commands:
22891 $config_commands
22893 Report bugs to <wine-devel@winehq.org>.
22894 Wine home page: <https://www.winehq.org>."
22896 _ACEOF
22897 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22898 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22900 ac_cs_config='$ac_cs_config_escaped'
22901 ac_cs_version="\\
22902 Wine config.status 6.21
22903 configured by $0, generated by GNU Autoconf 2.71,
22904 with options \\"\$ac_cs_config\\"
22906 Copyright (C) 2021 Free Software Foundation, Inc.
22907 This config.status script is free software; the Free Software Foundation
22908 gives unlimited permission to copy, distribute and modify it."
22910 ac_pwd='$ac_pwd'
22911 srcdir='$srcdir'
22912 test -n "\$AWK" || AWK=awk
22913 _ACEOF
22915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22916 # The default lists apply if the user does not specify any file.
22917 ac_need_defaults=:
22918 while test $# != 0
22920 case $1 in
22921 --*=?*)
22922 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22923 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22924 ac_shift=:
22926 --*=)
22927 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22928 ac_optarg=
22929 ac_shift=:
22932 ac_option=$1
22933 ac_optarg=$2
22934 ac_shift=shift
22936 esac
22938 case $ac_option in
22939 # Handling of the options.
22940 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22941 ac_cs_recheck=: ;;
22942 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22943 printf "%s\n" "$ac_cs_version"; exit ;;
22944 --config | --confi | --conf | --con | --co | --c )
22945 printf "%s\n" "$ac_cs_config"; exit ;;
22946 --debug | --debu | --deb | --de | --d | -d )
22947 debug=: ;;
22948 --header | --heade | --head | --hea )
22949 $ac_shift
22950 case $ac_optarg in
22951 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22952 esac
22953 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22954 ac_need_defaults=false;;
22955 --he | --h)
22956 # Conflict between --help and --header
22957 as_fn_error $? "ambiguous option: \`$1'
22958 Try \`$0 --help' for more information.";;
22959 --help | --hel | -h )
22960 printf "%s\n" "$ac_cs_usage"; exit ;;
22961 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22962 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22963 ac_cs_silent=: ;;
22965 # This is an error.
22966 -*) as_fn_error $? "unrecognized option: \`$1'
22967 Try \`$0 --help' for more information." ;;
22969 *) as_fn_append ac_config_targets " $1"
22970 ac_need_defaults=false ;;
22972 esac
22973 shift
22974 done
22976 ac_configure_extra_args=
22978 if $ac_cs_silent; then
22979 exec 6>/dev/null
22980 ac_configure_extra_args="$ac_configure_extra_args --silent"
22983 _ACEOF
22984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22985 if \$ac_cs_recheck; then
22986 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22987 shift
22988 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22989 CONFIG_SHELL='$SHELL'
22990 export CONFIG_SHELL
22991 exec "\$@"
22994 _ACEOF
22995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22996 exec 5>>config.log
22998 echo
22999 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23000 ## Running $as_me. ##
23001 _ASBOX
23002 printf "%s\n" "$ac_log"
23003 } >&5
23005 _ACEOF
23006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23008 # INIT-COMMANDS
23010 wine_fn_output_makedep ()
23012 as_dir=tools; as_fn_mkdir_p
23013 $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
23015 wine_fn_output_makefile ()
23017 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23018 # This Makefile understands the following targets:
23020 # all (default): build wine
23021 # clean: remove all intermediate files
23022 # distclean: also remove all files created by configure
23023 # test: run tests
23024 # testclean: clean test results to force running all tests again
23025 # install-lib: install libraries needed to run applications
23026 # install-dev: install development environment
23027 # install: install everything
23028 # uninstall: uninstall everything
23029 # ctags: create a tags file for vim and others.
23030 # etags: create a TAGS file for Emacs.
23031 # manpages: compile manpages for Wine API
23032 # htmlpages: compile html pages for Wine API
23033 # sgmlpages: compile sgml source for the Wine API Guide
23034 # xmlpages: compile xml source for the Wine API Guide
23036 SHELL = $SHELL
23037 PATH_SEPARATOR = $PATH_SEPARATOR
23038 PACKAGE_NAME = $PACKAGE_NAME
23039 PACKAGE_TARNAME = $PACKAGE_TARNAME
23040 PACKAGE_VERSION = $PACKAGE_VERSION
23041 PACKAGE_STRING = $PACKAGE_STRING
23042 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23043 PACKAGE_URL = $PACKAGE_URL
23044 exec_prefix = $exec_prefix
23045 prefix = $prefix
23046 program_transform_name = $program_transform_name
23047 bindir = $bindir
23048 sbindir = $sbindir
23049 libexecdir = $libexecdir
23050 datarootdir = $datarootdir
23051 datadir = $datadir
23052 sysconfdir = $sysconfdir
23053 sharedstatedir = $sharedstatedir
23054 localstatedir = $localstatedir
23055 runstatedir = $runstatedir
23056 includedir = $includedir
23057 oldincludedir = $oldincludedir
23058 docdir = $docdir
23059 infodir = $infodir
23060 htmldir = $htmldir
23061 dvidir = $dvidir
23062 pdfdir = $pdfdir
23063 psdir = $psdir
23064 libdir = $libdir
23065 localedir = $localedir
23066 mandir = $mandir
23067 DEFS = $DEFS
23068 ECHO_C = $ECHO_C
23069 ECHO_N = $ECHO_N
23070 ECHO_T = $ECHO_T
23071 LIBS = $LIBS
23072 build_alias = $build_alias
23073 host_alias = $host_alias
23074 target_alias = $target_alias
23075 build = $build
23076 build_cpu = $build_cpu
23077 build_vendor = $build_vendor
23078 build_os = $build_os
23079 host = $host
23080 host_cpu = $host_cpu
23081 host_vendor = $host_vendor
23082 host_os = $host_os
23083 dlldir = $dlldir
23084 fontdir = $fontdir
23085 nlsdir = $nlsdir
23086 srcdir = $srcdir
23087 SET_MAKE = $SET_MAKE
23088 CC = $CC
23089 CFLAGS = $CFLAGS
23090 LDFLAGS = $LDFLAGS
23091 CPPFLAGS = $CPPFLAGS
23092 ac_ct_CC = $ac_ct_CC
23093 EXEEXT = $EXEEXT
23094 OBJEXT = $OBJEXT
23095 CXX = $CXX
23096 CXXFLAGS = $CXXFLAGS
23097 ac_ct_CXX = $ac_ct_CXX
23098 CPPBIN = $CPPBIN
23099 LD = $LD
23100 TARGETFLAGS = $TARGETFLAGS
23101 toolsext = $toolsext
23102 toolsdir = $toolsdir
23103 MAKEDEP = $MAKEDEP
23104 RUNTESTFLAGS = $RUNTESTFLAGS
23105 SED_CMD = $SED_CMD
23106 api_manext = $api_manext
23107 FLEX = $FLEX
23108 BISON = $BISON
23109 AR = $AR
23110 ac_ct_AR = $ac_ct_AR
23111 STRIP = $STRIP
23112 RANLIB = $RANLIB
23113 LN_S = $LN_S
23114 GREP = $GREP
23115 EGREP = $EGREP
23116 LDCONFIG = $LDCONFIG
23117 MSGFMT = $MSGFMT
23118 PKG_CONFIG = $PKG_CONFIG
23119 FONTFORGE = $FONTFORGE
23120 RSVG = $RSVG
23121 CONVERT = $CONVERT
23122 ICOTOOL = $ICOTOOL
23123 I386_LIBS = $I386_LIBS
23124 OPENGL_LIBS = $OPENGL_LIBS
23125 DLLFLAGS = $DLLFLAGS
23126 LDDLLFLAGS = $LDDLLFLAGS
23127 LDEXECFLAGS = $LDEXECFLAGS
23128 EXTRACFLAGS = $EXTRACFLAGS
23129 UNIXDLLFLAGS = $UNIXDLLFLAGS
23130 UNIXLDFLAGS = $UNIXLDFLAGS
23131 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23132 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23133 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23134 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23135 LDD = $LDD
23136 OTOOL = $OTOOL
23137 READELF = $READELF
23138 SUBDIRS = $SUBDIRS
23139 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23140 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23141 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23142 DLLTOOL = $DLLTOOL
23143 OBJC = $OBJC
23144 OBJCFLAGS = $OBJCFLAGS
23145 ac_ct_OBJC = $ac_ct_OBJC
23146 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23147 IOKIT_LIBS = $IOKIT_LIBS
23148 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23149 CORESERVICES_LIBS = $CORESERVICES_LIBS
23150 APPKIT_LIBS = $APPKIT_LIBS
23151 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23152 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23153 SECURITY_LIBS = $SECURITY_LIBS
23154 COREAUDIO_LIBS = $COREAUDIO_LIBS
23155 OPENAL_LIBS = $OPENAL_LIBS
23156 OPENCL_LIBS = $OPENCL_LIBS
23157 QUICKTIME_LIBS = $QUICKTIME_LIBS
23158 CARBON_LIBS = $CARBON_LIBS
23159 METAL_LIBS = $METAL_LIBS
23160 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23161 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23162 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23163 PRELINK = $PRELINK
23164 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23165 CROSSTARGET = $CROSSTARGET
23166 CROSSCC = $CROSSCC
23167 CROSSCFLAGS = $CROSSCFLAGS
23168 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23169 CROSSLDFLAGS = $CROSSLDFLAGS
23170 DELAYLOADFLAG = $DELAYLOADFLAG
23171 CROSSDEBUG = $CROSSDEBUG
23172 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23173 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23174 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23175 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23176 GSM_PE_LIBS = $GSM_PE_LIBS
23177 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23178 JPEG_PE_LIBS = $JPEG_PE_LIBS
23179 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23180 JXR_PE_LIBS = $JXR_PE_LIBS
23181 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23182 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23183 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23184 MPG123_PE_LIBS = $MPG123_PE_LIBS
23185 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23186 PNG_PE_LIBS = $PNG_PE_LIBS
23187 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23188 TIFF_PE_LIBS = $TIFF_PE_LIBS
23189 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23190 XML2_PE_LIBS = $XML2_PE_LIBS
23191 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23192 XSLT_PE_LIBS = $XSLT_PE_LIBS
23193 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23194 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23195 PTHREAD_LIBS = $PTHREAD_LIBS
23196 XMKMF = $XMKMF
23197 CPP = $CPP
23198 X_CFLAGS = $X_CFLAGS
23199 X_PRE_LIBS = $X_PRE_LIBS
23200 X_LIBS = $X_LIBS
23201 X_EXTRA_LIBS = $X_EXTRA_LIBS
23202 PCAP_LIBS = $PCAP_LIBS
23203 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23204 INOTIFY_LIBS = $INOTIFY_LIBS
23205 DBUS_CFLAGS = $DBUS_CFLAGS
23206 DBUS_LIBS = $DBUS_LIBS
23207 HAL_CFLAGS = $HAL_CFLAGS
23208 HAL_LIBS = $HAL_LIBS
23209 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23210 GNUTLS_LIBS = $GNUTLS_LIBS
23211 SANE_CFLAGS = $SANE_CFLAGS
23212 SANE_LIBS = $SANE_LIBS
23213 USB_CFLAGS = $USB_CFLAGS
23214 USB_LIBS = $USB_LIBS
23215 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23216 GPHOTO2_LIBS = $GPHOTO2_LIBS
23217 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23218 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23219 RESOLV_LIBS = $RESOLV_LIBS
23220 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23221 FREETYPE_LIBS = $FREETYPE_LIBS
23222 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23223 PULSE_CFLAGS = $PULSE_CFLAGS
23224 PULSE_LIBS = $PULSE_LIBS
23225 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23226 GSTREAMER_LIBS = $GSTREAMER_LIBS
23227 ALSA_LIBS = $ALSA_LIBS
23228 OSS4_CFLAGS = $OSS4_CFLAGS
23229 OSS4_LIBS = $OSS4_LIBS
23230 UDEV_CFLAGS = $UDEV_CFLAGS
23231 UDEV_LIBS = $UDEV_LIBS
23232 UNWIND_CFLAGS = $UNWIND_CFLAGS
23233 UNWIND_LIBS = $UNWIND_LIBS
23234 SDL2_CFLAGS = $SDL2_CFLAGS
23235 SDL2_LIBS = $SDL2_LIBS
23236 CAPI20_CFLAGS = $CAPI20_CFLAGS
23237 CAPI20_LIBS = $CAPI20_LIBS
23238 CUPS_CFLAGS = $CUPS_CFLAGS
23239 CUPS_LIBS = $CUPS_LIBS
23240 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23241 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23242 KRB5_CFLAGS = $KRB5_CFLAGS
23243 KRB5_LIBS = $KRB5_LIBS
23244 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23245 GSSAPI_LIBS = $GSSAPI_LIBS
23246 PROCSTAT_LIBS = $PROCSTAT_LIBS
23247 NETAPI_CFLAGS = $NETAPI_CFLAGS
23248 NETAPI_LIBS = $NETAPI_LIBS
23249 VKD3D_CFLAGS = $VKD3D_CFLAGS
23250 VKD3D_LIBS = $VKD3D_LIBS
23251 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23252 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23253 MSVCRTFLAGS = $MSVCRTFLAGS
23254 RT_LIBS = $RT_LIBS
23255 LDAP_CFLAGS = $LDAP_CFLAGS
23256 LDAP_LIBS = $LDAP_LIBS
23257 TAGSFLAGS = $TAGSFLAGS
23258 LIBOBJS = $LIBOBJS
23259 LTLIBOBJS = $LTLIBOBJS
23260 $SET_MAKE
23261 $wine_rules
23262 _WINE_EOF
23263 as_fn_error $? "could not create Makefile" "$LINENO" 5
23266 _ACEOF
23268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23270 # Handling of arguments.
23271 for ac_config_target in $ac_config_targets
23273 case $ac_config_target in
23274 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23275 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23276 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23277 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23278 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23279 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23281 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23282 esac
23283 done
23286 # If the user did not use the arguments to specify the items to instantiate,
23287 # then the envvar interface is used. Set only those that are not.
23288 # We use the long form for the default assignment because of an extremely
23289 # bizarre bug on SunOS 4.1.3.
23290 if $ac_need_defaults; then
23291 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23292 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23293 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23296 # Have a temporary directory for convenience. Make it in the build tree
23297 # simply because there is no reason against having it here, and in addition,
23298 # creating and moving files from /tmp can sometimes cause problems.
23299 # Hook for its removal unless debugging.
23300 # Note that there is a small window in which the directory will not be cleaned:
23301 # after its creation but before its name has been assigned to `$tmp'.
23302 $debug ||
23304 tmp= ac_tmp=
23305 trap 'exit_status=$?
23306 : "${ac_tmp:=$tmp}"
23307 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23309 trap 'as_fn_exit 1' 1 2 13 15
23311 # Create a (secure) tmp directory for tmp files.
23314 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23315 test -d "$tmp"
23316 } ||
23318 tmp=./conf$$-$RANDOM
23319 (umask 077 && mkdir "$tmp")
23320 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23321 ac_tmp=$tmp
23323 # Set up the scripts for CONFIG_HEADERS section.
23324 # No need to generate them if there are no CONFIG_HEADERS.
23325 # This happens for instance with `./config.status Makefile'.
23326 if test -n "$CONFIG_HEADERS"; then
23327 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23328 BEGIN {
23329 _ACEOF
23331 # Transform confdefs.h into an awk script `defines.awk', embedded as
23332 # here-document in config.status, that substitutes the proper values into
23333 # config.h.in to produce config.h.
23335 # Create a delimiter string that does not exist in confdefs.h, to ease
23336 # handling of long lines.
23337 ac_delim='%!_!# '
23338 for ac_last_try in false false :; do
23339 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23340 if test -z "$ac_tt"; then
23341 break
23342 elif $ac_last_try; then
23343 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23344 else
23345 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23347 done
23349 # For the awk script, D is an array of macro values keyed by name,
23350 # likewise P contains macro parameters if any. Preserve backslash
23351 # newline sequences.
23353 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23354 sed -n '
23355 s/.\{148\}/&'"$ac_delim"'/g
23356 t rset
23357 :rset
23358 s/^[ ]*#[ ]*define[ ][ ]*/ /
23359 t def
23361 :def
23362 s/\\$//
23363 t bsnl
23364 s/["\\]/\\&/g
23365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23366 D["\1"]=" \3"/p
23367 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23369 :bsnl
23370 s/["\\]/\\&/g
23371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23372 D["\1"]=" \3\\\\\\n"\\/p
23373 t cont
23374 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23375 t cont
23377 :cont
23379 s/.\{148\}/&'"$ac_delim"'/g
23380 t clear
23381 :clear
23382 s/\\$//
23383 t bsnlc
23384 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23386 :bsnlc
23387 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23388 b cont
23389 ' <confdefs.h | sed '
23390 s/'"$ac_delim"'/"\\\
23391 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23394 for (key in D) D_is_set[key] = 1
23395 FS = "\a"
23397 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23398 line = \$ 0
23399 split(line, arg, " ")
23400 if (arg[1] == "#") {
23401 defundef = arg[2]
23402 mac1 = arg[3]
23403 } else {
23404 defundef = substr(arg[1], 2)
23405 mac1 = arg[2]
23407 split(mac1, mac2, "(") #)
23408 macro = mac2[1]
23409 prefix = substr(line, 1, index(line, defundef) - 1)
23410 if (D_is_set[macro]) {
23411 # Preserve the white space surrounding the "#".
23412 print prefix "define", macro P[macro] D[macro]
23413 next
23414 } else {
23415 # Replace #undef with comments. This is necessary, for example,
23416 # in the case of _POSIX_SOURCE, which is predefined and required
23417 # on some systems where configure will not decide to define it.
23418 if (defundef == "undef") {
23419 print "/*", prefix defundef, macro, "*/"
23420 next
23424 { print }
23425 _ACAWK
23426 _ACEOF
23427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23428 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23429 fi # test -n "$CONFIG_HEADERS"
23432 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23433 shift
23434 for ac_tag
23436 case $ac_tag in
23437 :[FHLC]) ac_mode=$ac_tag; continue;;
23438 esac
23439 case $ac_mode$ac_tag in
23440 :[FHL]*:*);;
23441 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23442 :[FH]-) ac_tag=-:-;;
23443 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23444 esac
23445 ac_save_IFS=$IFS
23446 IFS=:
23447 set x $ac_tag
23448 IFS=$ac_save_IFS
23449 shift
23450 ac_file=$1
23451 shift
23453 case $ac_mode in
23454 :L) ac_source=$1;;
23455 :[FH])
23456 ac_file_inputs=
23457 for ac_f
23459 case $ac_f in
23460 -) ac_f="$ac_tmp/stdin";;
23461 *) # Look for the file first in the build tree, then in the source tree
23462 # (if the path is not absolute). The absolute path cannot be DOS-style,
23463 # because $ac_f cannot contain `:'.
23464 test -f "$ac_f" ||
23465 case $ac_f in
23466 [\\/$]*) false;;
23467 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23468 esac ||
23469 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23470 esac
23471 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23472 as_fn_append ac_file_inputs " '$ac_f'"
23473 done
23475 # Let's still pretend it is `configure' which instantiates (i.e., don't
23476 # use $as_me), people would be surprised to read:
23477 # /* config.h. Generated by config.status. */
23478 configure_input='Generated from '`
23479 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23480 `' by configure.'
23481 if test x"$ac_file" != x-; then
23482 configure_input="$ac_file. $configure_input"
23483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23484 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23486 # Neutralize special characters interpreted by sed in replacement strings.
23487 case $configure_input in #(
23488 *\&* | *\|* | *\\* )
23489 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23490 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23491 *) ac_sed_conf_input=$configure_input;;
23492 esac
23494 case $ac_tag in
23495 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23497 esac
23499 esac
23501 ac_dir=`$as_dirname -- "$ac_file" ||
23502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23503 X"$ac_file" : 'X\(//\)[^/]' \| \
23504 X"$ac_file" : 'X\(//\)$' \| \
23505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23506 printf "%s\n" X"$ac_file" |
23507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23508 s//\1/
23511 /^X\(\/\/\)[^/].*/{
23512 s//\1/
23515 /^X\(\/\/\)$/{
23516 s//\1/
23519 /^X\(\/\).*/{
23520 s//\1/
23523 s/.*/./; q'`
23524 as_dir="$ac_dir"; as_fn_mkdir_p
23525 ac_builddir=.
23527 case "$ac_dir" in
23528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23530 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23531 # A ".." for each directory in $ac_dir_suffix.
23532 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23533 case $ac_top_builddir_sub in
23534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23536 esac ;;
23537 esac
23538 ac_abs_top_builddir=$ac_pwd
23539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23540 # for backward compatibility:
23541 ac_top_builddir=$ac_top_build_prefix
23543 case $srcdir in
23544 .) # We are building in place.
23545 ac_srcdir=.
23546 ac_top_srcdir=$ac_top_builddir_sub
23547 ac_abs_top_srcdir=$ac_pwd ;;
23548 [\\/]* | ?:[\\/]* ) # Absolute name.
23549 ac_srcdir=$srcdir$ac_dir_suffix;
23550 ac_top_srcdir=$srcdir
23551 ac_abs_top_srcdir=$srcdir ;;
23552 *) # Relative name.
23553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23554 ac_top_srcdir=$ac_top_build_prefix$srcdir
23555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23556 esac
23557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23560 case $ac_mode in
23564 # CONFIG_HEADER
23566 if test x"$ac_file" != x-; then
23568 printf "%s\n" "/* $configure_input */" >&1 \
23569 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23570 } >"$ac_tmp/config.h" \
23571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23572 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23574 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23575 else
23576 rm -f "$ac_file"
23577 mv "$ac_tmp/config.h" "$ac_file" \
23578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23580 else
23581 printf "%s\n" "/* $configure_input */" >&1 \
23582 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23583 || as_fn_error $? "could not create -" "$LINENO" 5
23588 # CONFIG_LINK
23591 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23593 else
23594 # Prefer the file from the source tree if names are identical.
23595 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23596 ac_source=$srcdir/$ac_source
23599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23600 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23602 if test ! -r "$ac_source"; then
23603 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23605 rm -f "$ac_file"
23607 # Try a relative symlink, then a hard link, then a copy.
23608 case $ac_source in
23609 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23610 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23611 esac
23612 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23613 ln "$ac_source" "$ac_file" 2>/dev/null ||
23614 cp -p "$ac_source" "$ac_file" ||
23615 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23618 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23619 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23621 esac
23624 case $ac_file$ac_mode in
23625 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23626 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23627 "Makefile":C) wine_fn_output_makefile Makefile ;;
23629 esac
23630 done # for ac_tag
23633 as_fn_exit 0
23634 _ACEOF
23635 ac_clean_files=$ac_clean_files_save
23637 test $ac_write_fail = 0 ||
23638 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23641 # configure is writing to config.log, and then calls config.status.
23642 # config.status does its own redirection, appending to config.log.
23643 # Unfortunately, on DOS this fails, as config.log is still kept open
23644 # by configure, so config.status won't be able to write to it; its
23645 # output is simply discarded. So we exec the FD to /dev/null,
23646 # effectively closing config.log, so it can be properly (re)opened and
23647 # appended to by config.status. When coming back to configure, we
23648 # need to make the FD available again.
23649 if test "$no_create" != yes; then
23650 ac_cs_success=:
23651 ac_config_status_args=
23652 test "$silent" = yes &&
23653 ac_config_status_args="$ac_config_status_args --quiet"
23654 exec 5>/dev/null
23655 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23656 exec 5>>config.log
23657 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23658 # would make configure fail if this is the last instruction.
23659 $ac_cs_success || as_fn_exit 1
23661 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23663 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23667 if test "$no_create" = "yes"
23668 then
23669 exit 0
23672 ac_save_IFS="$IFS"
23673 if test "x$wine_notices" != x; then
23674 echo >&6
23675 IFS="|"
23676 for msg in $wine_notices; do
23677 IFS="$ac_save_IFS"
23678 if ${msg:+false} :
23679 then :
23681 else $as_nop
23682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23683 printf "%s\n" "$as_me: $msg" >&6;}
23685 done
23687 IFS="|"
23688 for msg in $wine_warnings; do
23689 IFS="$ac_save_IFS"
23690 if ${msg:+false} :
23691 then :
23693 else $as_nop
23694 echo >&2
23695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23696 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23698 done
23699 IFS="$ac_save_IFS"
23701 printf "%s\n" "
23702 $as_me: Finished. Do '${ac_make}' to compile Wine.
23703 " >&6