dbghelp: Simplify code for searching alternate debug info files.
[wine.git] / configure
blobae5c8e2734e88386e5bc9b3d1c73c402d7454d8a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 6.22.
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.22'
615 PACKAGE_STRING='Wine 6.22'
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_msctfmonitor
1484 enable_msctfp
1485 enable_msdaps
1486 enable_msdasql
1487 enable_msdelta
1488 enable_msdmo
1489 enable_msdrm
1490 enable_msftedit
1491 enable_msg711_acm
1492 enable_msgsm32_acm
1493 enable_mshtml_tlb
1494 enable_mshtml
1495 enable_msi
1496 enable_msident
1497 enable_msimg32
1498 enable_msimsg
1499 enable_msimtf
1500 enable_msisip
1501 enable_msisys_ocx
1502 enable_msls31
1503 enable_msnet32
1504 enable_mspatcha
1505 enable_msports
1506 enable_msrle32
1507 enable_msscript_ocx
1508 enable_mssign32
1509 enable_mssip32
1510 enable_mstask
1511 enable_msv1_0
1512 enable_msvcirt
1513 enable_msvcm80
1514 enable_msvcm90
1515 enable_msvcp100
1516 enable_msvcp110
1517 enable_msvcp120
1518 enable_msvcp120_app
1519 enable_msvcp140
1520 enable_msvcp140_1
1521 enable_msvcp60
1522 enable_msvcp70
1523 enable_msvcp71
1524 enable_msvcp80
1525 enable_msvcp90
1526 enable_msvcp_win
1527 enable_msvcr100
1528 enable_msvcr110
1529 enable_msvcr120
1530 enable_msvcr120_app
1531 enable_msvcr70
1532 enable_msvcr71
1533 enable_msvcr80
1534 enable_msvcr90
1535 enable_msvcrt
1536 enable_msvcrt20
1537 enable_msvcrt40
1538 enable_msvcrtd
1539 enable_msvfw32
1540 enable_msvidc32
1541 enable_mswsock
1542 enable_msxml
1543 enable_msxml2
1544 enable_msxml3
1545 enable_msxml4
1546 enable_msxml6
1547 enable_mtxdm
1548 enable_ncrypt
1549 enable_nddeapi
1550 enable_ndis_sys
1551 enable_netapi32
1552 enable_netcfgx
1553 enable_netio_sys
1554 enable_netprofm
1555 enable_netutils
1556 enable_newdev
1557 enable_ninput
1558 enable_normaliz
1559 enable_npmshtml
1560 enable_npptools
1561 enable_nsi
1562 enable_nsiproxy_sys
1563 enable_ntdll
1564 enable_ntdsapi
1565 enable_ntoskrnl_exe
1566 enable_ntprint
1567 enable_objsel
1568 enable_odbc32
1569 enable_odbcbcp
1570 enable_odbccp32
1571 enable_odbccu32
1572 enable_ole32
1573 enable_oleacc
1574 enable_oleaut32
1575 enable_olecli32
1576 enable_oledb32
1577 enable_oledlg
1578 enable_olepro32
1579 enable_olesvr32
1580 enable_olethk32
1581 enable_opcservices
1582 enable_openal32
1583 enable_opencl
1584 enable_opengl32
1585 enable_packager
1586 enable_pdh
1587 enable_photometadatahandler
1588 enable_pidgen
1589 enable_powrprof
1590 enable_printui
1591 enable_prntvpt
1592 enable_propsys
1593 enable_psapi
1594 enable_pstorec
1595 enable_pwrshplugin
1596 enable_qasf
1597 enable_qcap
1598 enable_qdvd
1599 enable_qedit
1600 enable_qmgr
1601 enable_qmgrprxy
1602 enable_quartz
1603 enable_query
1604 enable_qwave
1605 enable_rasapi32
1606 enable_rasdlg
1607 enable_regapi
1608 enable_resutils
1609 enable_riched20
1610 enable_riched32
1611 enable_rpcrt4
1612 enable_rsabase
1613 enable_rsaenh
1614 enable_rstrtmgr
1615 enable_rtutils
1616 enable_rtworkq
1617 enable_samlib
1618 enable_sane_ds
1619 enable_sapi
1620 enable_sas
1621 enable_scarddlg
1622 enable_sccbase
1623 enable_schannel
1624 enable_schedsvc
1625 enable_scrobj
1626 enable_scrrun
1627 enable_scsiport_sys
1628 enable_sechost
1629 enable_secur32
1630 enable_security
1631 enable_sensapi
1632 enable_serialui
1633 enable_setupapi
1634 enable_sfc
1635 enable_sfc_os
1636 enable_shcore
1637 enable_shdoclc
1638 enable_shdocvw
1639 enable_shell32
1640 enable_shfolder
1641 enable_shlwapi
1642 enable_slbcsp
1643 enable_slc
1644 enable_snmpapi
1645 enable_softpub
1646 enable_spoolss
1647 enable_sppc
1648 enable_srclient
1649 enable_srvcli
1650 enable_sspicli
1651 enable_stdole2_tlb
1652 enable_stdole32_tlb
1653 enable_sti
1654 enable_strmbase
1655 enable_strmdll
1656 enable_svrapi
1657 enable_sxs
1658 enable_t2embed
1659 enable_tapi32
1660 enable_taskschd
1661 enable_tbs
1662 enable_tdh
1663 enable_tdi_sys
1664 enable_traffic
1665 enable_twain_32
1666 enable_tzres
1667 enable_ucrtbase
1668 enable_uianimation
1669 enable_uiautomationcore
1670 enable_uiribbon
1671 enable_unicows
1672 enable_updspapi
1673 enable_url
1674 enable_urlmon
1675 enable_usbd_sys
1676 enable_user32
1677 enable_userenv
1678 enable_usp10
1679 enable_utildll
1680 enable_uxtheme
1681 enable_vbscript
1682 enable_vcomp
1683 enable_vcomp100
1684 enable_vcomp110
1685 enable_vcomp120
1686 enable_vcomp140
1687 enable_vcomp90
1688 enable_vcruntime140
1689 enable_vcruntime140_1
1690 enable_vdmdbg
1691 enable_version
1692 enable_vga
1693 enable_virtdisk
1694 enable_vssapi
1695 enable_vulkan_1
1696 enable_wbemdisp
1697 enable_wbemprox
1698 enable_wdscore
1699 enable_webservices
1700 enable_websocket
1701 enable_wer
1702 enable_wevtapi
1703 enable_wevtsvc
1704 enable_wiaservc
1705 enable_wimgapi
1706 enable_win32u
1707 enable_windows_devices_enumeration
1708 enable_windows_gaming_input
1709 enable_windows_globalization
1710 enable_windows_media_devices
1711 enable_windows_media_speech
1712 enable_windowscodecs
1713 enable_windowscodecsext
1714 enable_winealsa_drv
1715 enable_wineandroid_drv
1716 enable_winebus_sys
1717 enable_winecoreaudio_drv
1718 enable_winecrt0
1719 enable_wined3d
1720 enable_winegstreamer
1721 enable_winehid_sys
1722 enable_winejoystick_drv
1723 enable_winemac_drv
1724 enable_winemapi
1725 enable_wineoss_drv
1726 enable_wineps_drv
1727 enable_winepulse_drv
1728 enable_wineqtdecoder
1729 enable_wineusb_sys
1730 enable_winevulkan
1731 enable_winex11_drv
1732 enable_winexinput_sys
1733 enable_wing32
1734 enable_winhttp
1735 enable_wininet
1736 enable_winmm
1737 enable_winnls32
1738 enable_winscard
1739 enable_winspool_drv
1740 enable_winsta
1741 enable_wintab32
1742 enable_wintrust
1743 enable_winusb
1744 enable_wlanapi
1745 enable_wlanui
1746 enable_wldap32
1747 enable_wmasf
1748 enable_wmi
1749 enable_wmiutils
1750 enable_wmp
1751 enable_wmphoto
1752 enable_wmvcore
1753 enable_wnaspi32
1754 enable_wow64
1755 enable_wow64cpu
1756 enable_wow64win
1757 enable_wpc
1758 enable_wpcap
1759 enable_ws2_32
1760 enable_wsdapi
1761 enable_wshom_ocx
1762 enable_wsnmp32
1763 enable_wsock32
1764 enable_wtsapi32
1765 enable_wuapi
1766 enable_wuaueng
1767 enable_x3daudio1_0
1768 enable_x3daudio1_1
1769 enable_x3daudio1_2
1770 enable_x3daudio1_3
1771 enable_x3daudio1_4
1772 enable_x3daudio1_5
1773 enable_x3daudio1_6
1774 enable_x3daudio1_7
1775 enable_xactengine2_0
1776 enable_xactengine2_4
1777 enable_xactengine2_7
1778 enable_xactengine2_9
1779 enable_xactengine3_0
1780 enable_xactengine3_1
1781 enable_xactengine3_2
1782 enable_xactengine3_3
1783 enable_xactengine3_4
1784 enable_xactengine3_5
1785 enable_xactengine3_6
1786 enable_xactengine3_7
1787 enable_xapofx1_1
1788 enable_xapofx1_2
1789 enable_xapofx1_3
1790 enable_xapofx1_4
1791 enable_xapofx1_5
1792 enable_xaudio2_0
1793 enable_xaudio2_1
1794 enable_xaudio2_2
1795 enable_xaudio2_3
1796 enable_xaudio2_4
1797 enable_xaudio2_5
1798 enable_xaudio2_6
1799 enable_xaudio2_7
1800 enable_xaudio2_8
1801 enable_xaudio2_9
1802 enable_xinput1_1
1803 enable_xinput1_2
1804 enable_xinput1_3
1805 enable_xinput1_4
1806 enable_xinput9_1_0
1807 enable_xmllite
1808 enable_xolehlp
1809 enable_xpsprint
1810 enable_xpssvcs
1811 enable_fonts
1812 enable_include
1813 enable_adsiid
1814 enable_dmoguids
1815 enable_dxerr8
1816 enable_dxerr9
1817 enable_dxguid
1818 enable_faudio
1819 enable_gsm
1820 enable_jpeg
1821 enable_jxr
1822 enable_lcms2
1823 enable_mfuuid
1824 enable_mpg123
1825 enable_png
1826 enable_strmiids
1827 enable_tiff
1828 enable_uuid
1829 enable_wbemuuid
1830 enable_wine
1831 enable_wmcodecdspuuid
1832 enable_xml2
1833 enable_xslt
1834 enable_zlib
1835 enable_loader
1836 enable_nls
1837 enable_po
1838 enable_arp
1839 enable_aspnet_regiis
1840 enable_attrib
1841 enable_cabarc
1842 enable_cacls
1843 enable_chcp_com
1844 enable_clock
1845 enable_cmd
1846 enable_conhost
1847 enable_control
1848 enable_cscript
1849 enable_dism
1850 enable_dplaysvr
1851 enable_dpnsvr
1852 enable_dpvsetup
1853 enable_dxdiag
1854 enable_eject
1855 enable_expand
1856 enable_explorer
1857 enable_extrac32
1858 enable_fc
1859 enable_find
1860 enable_findstr
1861 enable_fsutil
1862 enable_hh
1863 enable_hostname
1864 enable_icacls
1865 enable_icinfo
1866 enable_iexplore
1867 enable_ipconfig
1868 enable_lodctr
1869 enable_mofcomp
1870 enable_mshta
1871 enable_msidb
1872 enable_msiexec
1873 enable_msinfo32
1874 enable_net
1875 enable_netsh
1876 enable_netstat
1877 enable_ngen
1878 enable_notepad
1879 enable_oleview
1880 enable_ping
1881 enable_plugplay
1882 enable_powershell
1883 enable_presentationfontcache
1884 enable_progman
1885 enable_reg
1886 enable_regasm
1887 enable_regedit
1888 enable_regini
1889 enable_regsvcs
1890 enable_regsvr32
1891 enable_robocopy
1892 enable_rpcss
1893 enable_rundll32
1894 enable_sc
1895 enable_schtasks
1896 enable_sdbinst
1897 enable_secedit
1898 enable_servicemodelreg
1899 enable_services
1900 enable_shutdown
1901 enable_spoolsv
1902 enable_start
1903 enable_subst
1904 enable_svchost
1905 enable_systeminfo
1906 enable_taskkill
1907 enable_tasklist
1908 enable_taskmgr
1909 enable_termsv
1910 enable_uninstaller
1911 enable_unlodctr
1912 enable_view
1913 enable_wevtutil
1914 enable_where
1915 enable_whoami
1916 enable_wineboot
1917 enable_winebrowser
1918 enable_winecfg
1919 enable_wineconsole
1920 enable_winedbg
1921 enable_winedevice
1922 enable_winefile
1923 enable_winemenubuilder
1924 enable_winemine
1925 enable_winemsibuilder
1926 enable_winepath
1927 enable_winetest
1928 enable_winhlp32
1929 enable_winmgmt
1930 enable_winver
1931 enable_wmic
1932 enable_wmplayer
1933 enable_wordpad
1934 enable_write
1935 enable_wscript
1936 enable_wuauserv
1937 enable_wusa
1938 enable_xcopy
1939 enable_server
1940 enable_tools
1941 enable_sfnt2fon
1942 enable_widl
1943 enable_winebuild
1944 enable_winedump
1945 enable_winegcc
1946 enable_winemaker
1947 enable_wmc
1948 enable_wrc
1950 ac_precious_vars='build_alias
1951 host_alias
1952 target_alias
1954 CFLAGS
1955 LDFLAGS
1956 LIBS
1957 CPPFLAGS
1959 CXXFLAGS
1961 OBJC
1962 OBJCFLAGS
1963 FAUDIO_PE_CFLAGS
1964 FAUDIO_PE_LIBS
1965 GSM_PE_CFLAGS
1966 GSM_PE_LIBS
1967 JPEG_PE_CFLAGS
1968 JPEG_PE_LIBS
1969 JXR_PE_CFLAGS
1970 JXR_PE_LIBS
1971 LCMS2_PE_CFLAGS
1972 LCMS2_PE_LIBS
1973 MPG123_PE_CFLAGS
1974 MPG123_PE_LIBS
1975 PNG_PE_CFLAGS
1976 PNG_PE_LIBS
1977 TIFF_PE_CFLAGS
1978 TIFF_PE_LIBS
1979 XML2_PE_CFLAGS
1980 XML2_PE_LIBS
1981 XSLT_PE_CFLAGS
1982 XSLT_PE_LIBS
1983 ZLIB_PE_CFLAGS
1984 ZLIB_PE_LIBS
1985 XMKMF
1987 INOTIFY_CFLAGS
1988 INOTIFY_LIBS
1989 DBUS_CFLAGS
1990 DBUS_LIBS
1991 HAL_CFLAGS
1992 HAL_LIBS
1993 GNUTLS_CFLAGS
1994 GNUTLS_LIBS
1995 SANE_CFLAGS
1996 SANE_LIBS
1997 USB_CFLAGS
1998 USB_LIBS
1999 GPHOTO2_CFLAGS
2000 GPHOTO2_LIBS
2001 GPHOTO2_PORT_CFLAGS
2002 GPHOTO2_PORT_LIBS
2003 FREETYPE_CFLAGS
2004 FREETYPE_LIBS
2005 PULSE_CFLAGS
2006 PULSE_LIBS
2007 GSTREAMER_CFLAGS
2008 GSTREAMER_LIBS
2009 UDEV_CFLAGS
2010 UDEV_LIBS
2011 UNWIND_CFLAGS
2012 UNWIND_LIBS
2013 SDL2_CFLAGS
2014 SDL2_LIBS
2015 CAPI20_CFLAGS
2016 CAPI20_LIBS
2017 CUPS_CFLAGS
2018 CUPS_LIBS
2019 FONTCONFIG_CFLAGS
2020 FONTCONFIG_LIBS
2021 KRB5_CFLAGS
2022 KRB5_LIBS
2023 GSSAPI_CFLAGS
2024 GSSAPI_LIBS
2025 NETAPI_CFLAGS
2026 NETAPI_LIBS
2027 VKD3D_CFLAGS
2028 VKD3D_LIBS
2029 VKD3D_SHADER_CFLAGS
2030 VKD3D_SHADER_LIBS
2031 LDAP_CFLAGS
2032 LDAP_LIBS'
2035 # Initialize some variables set by options.
2036 ac_init_help=
2037 ac_init_version=false
2038 ac_unrecognized_opts=
2039 ac_unrecognized_sep=
2040 # The variables have the same names as the options, with
2041 # dashes changed to underlines.
2042 cache_file=/dev/null
2043 exec_prefix=NONE
2044 no_create=
2045 no_recursion=
2046 prefix=NONE
2047 program_prefix=NONE
2048 program_suffix=NONE
2049 program_transform_name=s,x,x,
2050 silent=
2051 site=
2052 srcdir=
2053 verbose=
2054 x_includes=NONE
2055 x_libraries=NONE
2057 # Installation directory options.
2058 # These are left unexpanded so users can "make install exec_prefix=/foo"
2059 # and all the variables that are supposed to be based on exec_prefix
2060 # by default will actually change.
2061 # Use braces instead of parens because sh, perl, etc. also accept them.
2062 # (The list follows the same order as the GNU Coding Standards.)
2063 bindir='${exec_prefix}/bin'
2064 sbindir='${exec_prefix}/sbin'
2065 libexecdir='${exec_prefix}/libexec'
2066 datarootdir='${prefix}/share'
2067 datadir='${datarootdir}'
2068 sysconfdir='${prefix}/etc'
2069 sharedstatedir='${prefix}/com'
2070 localstatedir='${prefix}/var'
2071 runstatedir='${localstatedir}/run'
2072 includedir='${prefix}/include'
2073 oldincludedir='/usr/include'
2074 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2075 infodir='${datarootdir}/info'
2076 htmldir='${docdir}'
2077 dvidir='${docdir}'
2078 pdfdir='${docdir}'
2079 psdir='${docdir}'
2080 libdir='${exec_prefix}/lib'
2081 localedir='${datarootdir}/locale'
2082 mandir='${datarootdir}/man'
2084 ac_prev=
2085 ac_dashdash=
2086 for ac_option
2088 # If the previous option needs an argument, assign it.
2089 if test -n "$ac_prev"; then
2090 eval $ac_prev=\$ac_option
2091 ac_prev=
2092 continue
2095 case $ac_option in
2096 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2097 *=) ac_optarg= ;;
2098 *) ac_optarg=yes ;;
2099 esac
2101 case $ac_dashdash$ac_option in
2103 ac_dashdash=yes ;;
2105 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2106 ac_prev=bindir ;;
2107 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2108 bindir=$ac_optarg ;;
2110 -build | --build | --buil | --bui | --bu)
2111 ac_prev=build_alias ;;
2112 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2113 build_alias=$ac_optarg ;;
2115 -cache-file | --cache-file | --cache-fil | --cache-fi \
2116 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2117 ac_prev=cache_file ;;
2118 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2119 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2120 cache_file=$ac_optarg ;;
2122 --config-cache | -C)
2123 cache_file=config.cache ;;
2125 -datadir | --datadir | --datadi | --datad)
2126 ac_prev=datadir ;;
2127 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2128 datadir=$ac_optarg ;;
2130 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2131 | --dataroo | --dataro | --datar)
2132 ac_prev=datarootdir ;;
2133 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2134 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2135 datarootdir=$ac_optarg ;;
2137 -disable-* | --disable-*)
2138 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2139 # Reject names that are not valid shell variable names.
2140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2141 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2142 ac_useropt_orig=$ac_useropt
2143 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2144 case $ac_user_opts in
2146 "enable_$ac_useropt"
2147 "*) ;;
2148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2149 ac_unrecognized_sep=', ';;
2150 esac
2151 eval enable_$ac_useropt=no ;;
2153 -docdir | --docdir | --docdi | --doc | --do)
2154 ac_prev=docdir ;;
2155 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2156 docdir=$ac_optarg ;;
2158 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2159 ac_prev=dvidir ;;
2160 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2161 dvidir=$ac_optarg ;;
2163 -enable-* | --enable-*)
2164 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2165 # Reject names that are not valid shell variable names.
2166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2167 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2168 ac_useropt_orig=$ac_useropt
2169 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2170 case $ac_user_opts in
2172 "enable_$ac_useropt"
2173 "*) ;;
2174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2175 ac_unrecognized_sep=', ';;
2176 esac
2177 eval enable_$ac_useropt=\$ac_optarg ;;
2179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2181 | --exec | --exe | --ex)
2182 ac_prev=exec_prefix ;;
2183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2185 | --exec=* | --exe=* | --ex=*)
2186 exec_prefix=$ac_optarg ;;
2188 -gas | --gas | --ga | --g)
2189 # Obsolete; use --with-gas.
2190 with_gas=yes ;;
2192 -help | --help | --hel | --he | -h)
2193 ac_init_help=long ;;
2194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2195 ac_init_help=recursive ;;
2196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2197 ac_init_help=short ;;
2199 -host | --host | --hos | --ho)
2200 ac_prev=host_alias ;;
2201 -host=* | --host=* | --hos=* | --ho=*)
2202 host_alias=$ac_optarg ;;
2204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2205 ac_prev=htmldir ;;
2206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2207 | --ht=*)
2208 htmldir=$ac_optarg ;;
2210 -includedir | --includedir | --includedi | --included | --include \
2211 | --includ | --inclu | --incl | --inc)
2212 ac_prev=includedir ;;
2213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2214 | --includ=* | --inclu=* | --incl=* | --inc=*)
2215 includedir=$ac_optarg ;;
2217 -infodir | --infodir | --infodi | --infod | --info | --inf)
2218 ac_prev=infodir ;;
2219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2220 infodir=$ac_optarg ;;
2222 -libdir | --libdir | --libdi | --libd)
2223 ac_prev=libdir ;;
2224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2225 libdir=$ac_optarg ;;
2227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2228 | --libexe | --libex | --libe)
2229 ac_prev=libexecdir ;;
2230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2231 | --libexe=* | --libex=* | --libe=*)
2232 libexecdir=$ac_optarg ;;
2234 -localedir | --localedir | --localedi | --localed | --locale)
2235 ac_prev=localedir ;;
2236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2237 localedir=$ac_optarg ;;
2239 -localstatedir | --localstatedir | --localstatedi | --localstated \
2240 | --localstate | --localstat | --localsta | --localst | --locals)
2241 ac_prev=localstatedir ;;
2242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2244 localstatedir=$ac_optarg ;;
2246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2247 ac_prev=mandir ;;
2248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2249 mandir=$ac_optarg ;;
2251 -nfp | --nfp | --nf)
2252 # Obsolete; use --without-fp.
2253 with_fp=no ;;
2255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2256 | --no-cr | --no-c | -n)
2257 no_create=yes ;;
2259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2261 no_recursion=yes ;;
2263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2265 | --oldin | --oldi | --old | --ol | --o)
2266 ac_prev=oldincludedir ;;
2267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2270 oldincludedir=$ac_optarg ;;
2272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2273 ac_prev=prefix ;;
2274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2275 prefix=$ac_optarg ;;
2277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2278 | --program-pre | --program-pr | --program-p)
2279 ac_prev=program_prefix ;;
2280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2282 program_prefix=$ac_optarg ;;
2284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2285 | --program-suf | --program-su | --program-s)
2286 ac_prev=program_suffix ;;
2287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2289 program_suffix=$ac_optarg ;;
2291 -program-transform-name | --program-transform-name \
2292 | --program-transform-nam | --program-transform-na \
2293 | --program-transform-n | --program-transform- \
2294 | --program-transform | --program-transfor \
2295 | --program-transfo | --program-transf \
2296 | --program-trans | --program-tran \
2297 | --progr-tra | --program-tr | --program-t)
2298 ac_prev=program_transform_name ;;
2299 -program-transform-name=* | --program-transform-name=* \
2300 | --program-transform-nam=* | --program-transform-na=* \
2301 | --program-transform-n=* | --program-transform-=* \
2302 | --program-transform=* | --program-transfor=* \
2303 | --program-transfo=* | --program-transf=* \
2304 | --program-trans=* | --program-tran=* \
2305 | --progr-tra=* | --program-tr=* | --program-t=*)
2306 program_transform_name=$ac_optarg ;;
2308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2309 ac_prev=pdfdir ;;
2310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2311 pdfdir=$ac_optarg ;;
2313 -psdir | --psdir | --psdi | --psd | --ps)
2314 ac_prev=psdir ;;
2315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2316 psdir=$ac_optarg ;;
2318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2319 | -silent | --silent | --silen | --sile | --sil)
2320 silent=yes ;;
2322 -runstatedir | --runstatedir | --runstatedi | --runstated \
2323 | --runstate | --runstat | --runsta | --runst | --runs \
2324 | --run | --ru | --r)
2325 ac_prev=runstatedir ;;
2326 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2327 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2328 | --run=* | --ru=* | --r=*)
2329 runstatedir=$ac_optarg ;;
2331 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2332 ac_prev=sbindir ;;
2333 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2334 | --sbi=* | --sb=*)
2335 sbindir=$ac_optarg ;;
2337 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2338 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2339 | --sharedst | --shareds | --shared | --share | --shar \
2340 | --sha | --sh)
2341 ac_prev=sharedstatedir ;;
2342 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2343 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2344 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2345 | --sha=* | --sh=*)
2346 sharedstatedir=$ac_optarg ;;
2348 -site | --site | --sit)
2349 ac_prev=site ;;
2350 -site=* | --site=* | --sit=*)
2351 site=$ac_optarg ;;
2353 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2354 ac_prev=srcdir ;;
2355 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2356 srcdir=$ac_optarg ;;
2358 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2359 | --syscon | --sysco | --sysc | --sys | --sy)
2360 ac_prev=sysconfdir ;;
2361 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2362 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2363 sysconfdir=$ac_optarg ;;
2365 -target | --target | --targe | --targ | --tar | --ta | --t)
2366 ac_prev=target_alias ;;
2367 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2368 target_alias=$ac_optarg ;;
2370 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2371 verbose=yes ;;
2373 -version | --version | --versio | --versi | --vers | -V)
2374 ac_init_version=: ;;
2376 -with-* | --with-*)
2377 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2378 # Reject names that are not valid shell variable names.
2379 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2380 as_fn_error $? "invalid package name: \`$ac_useropt'"
2381 ac_useropt_orig=$ac_useropt
2382 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2383 case $ac_user_opts in
2385 "with_$ac_useropt"
2386 "*) ;;
2387 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2388 ac_unrecognized_sep=', ';;
2389 esac
2390 eval with_$ac_useropt=\$ac_optarg ;;
2392 -without-* | --without-*)
2393 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2394 # Reject names that are not valid shell variable names.
2395 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2396 as_fn_error $? "invalid package name: \`$ac_useropt'"
2397 ac_useropt_orig=$ac_useropt
2398 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2399 case $ac_user_opts in
2401 "with_$ac_useropt"
2402 "*) ;;
2403 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2404 ac_unrecognized_sep=', ';;
2405 esac
2406 eval with_$ac_useropt=no ;;
2408 --x)
2409 # Obsolete; use --with-x.
2410 with_x=yes ;;
2412 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2413 | --x-incl | --x-inc | --x-in | --x-i)
2414 ac_prev=x_includes ;;
2415 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2416 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2417 x_includes=$ac_optarg ;;
2419 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2420 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2421 ac_prev=x_libraries ;;
2422 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2423 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2424 x_libraries=$ac_optarg ;;
2426 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2427 Try \`$0 --help' for more information"
2430 *=*)
2431 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2432 # Reject names that are not valid shell variable names.
2433 case $ac_envvar in #(
2434 '' | [0-9]* | *[!_$as_cr_alnum]* )
2435 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2436 esac
2437 eval $ac_envvar=\$ac_optarg
2438 export $ac_envvar ;;
2441 # FIXME: should be removed in autoconf 3.0.
2442 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2443 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2444 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2445 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2448 esac
2449 done
2451 if test -n "$ac_prev"; then
2452 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2453 as_fn_error $? "missing argument to $ac_option"
2456 if test -n "$ac_unrecognized_opts"; then
2457 case $enable_option_checking in
2458 no) ;;
2459 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2460 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2461 esac
2464 # Check all directory arguments for consistency.
2465 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2466 datadir sysconfdir sharedstatedir localstatedir includedir \
2467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2468 libdir localedir mandir runstatedir
2470 eval ac_val=\$$ac_var
2471 # Remove trailing slashes.
2472 case $ac_val in
2473 */ )
2474 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2475 eval $ac_var=\$ac_val;;
2476 esac
2477 # Be sure to have absolute directory names.
2478 case $ac_val in
2479 [\\/$]* | ?:[\\/]* ) continue;;
2480 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2481 esac
2482 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2483 done
2485 # There might be people who depend on the old broken behavior: `$host'
2486 # used to hold the argument of --host etc.
2487 # FIXME: To remove some day.
2488 build=$build_alias
2489 host=$host_alias
2490 target=$target_alias
2492 # FIXME: To remove some day.
2493 if test "x$host_alias" != x; then
2494 if test "x$build_alias" = x; then
2495 cross_compiling=maybe
2496 elif test "x$build_alias" != "x$host_alias"; then
2497 cross_compiling=yes
2501 ac_tool_prefix=
2502 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2504 test "$silent" = yes && exec 6>/dev/null
2507 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2508 ac_ls_di=`ls -di .` &&
2509 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2510 as_fn_error $? "working directory cannot be determined"
2511 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2512 as_fn_error $? "pwd does not report name of working directory"
2515 # Find the source files, if location was not specified.
2516 if test -z "$srcdir"; then
2517 ac_srcdir_defaulted=yes
2518 # Try the directory containing this script, then the parent directory.
2519 ac_confdir=`$as_dirname -- "$as_myself" ||
2520 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2521 X"$as_myself" : 'X\(//\)[^/]' \| \
2522 X"$as_myself" : 'X\(//\)$' \| \
2523 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2524 printf "%s\n" X"$as_myself" |
2525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2526 s//\1/
2529 /^X\(\/\/\)[^/].*/{
2530 s//\1/
2533 /^X\(\/\/\)$/{
2534 s//\1/
2537 /^X\(\/\).*/{
2538 s//\1/
2541 s/.*/./; q'`
2542 srcdir=$ac_confdir
2543 if test ! -r "$srcdir/$ac_unique_file"; then
2544 srcdir=..
2546 else
2547 ac_srcdir_defaulted=no
2549 if test ! -r "$srcdir/$ac_unique_file"; then
2550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2551 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2553 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2554 ac_abs_confdir=`(
2555 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2556 pwd)`
2557 # When building in place, set srcdir=.
2558 if test "$ac_abs_confdir" = "$ac_pwd"; then
2559 srcdir=.
2561 # Remove unnecessary trailing slashes from srcdir.
2562 # Double slashes in file names in object file debugging info
2563 # mess up M-x gdb in Emacs.
2564 case $srcdir in
2565 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2566 esac
2567 for ac_var in $ac_precious_vars; do
2568 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2569 eval ac_env_${ac_var}_value=\$${ac_var}
2570 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2571 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2572 done
2575 # Report the --help message.
2577 if test "$ac_init_help" = "long"; then
2578 # Omit some internal or obsolete options to make the list less imposing.
2579 # This message is too long to be a string in the A/UX 3.1 sh.
2580 cat <<_ACEOF
2581 \`configure' configures Wine 6.22 to adapt to many kinds of systems.
2583 Usage: $0 [OPTION]... [VAR=VALUE]...
2585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2586 VAR=VALUE. See below for descriptions of some of the useful variables.
2588 Defaults for the options are specified in brackets.
2590 Configuration:
2591 -h, --help display this help and exit
2592 --help=short display options specific to this package
2593 --help=recursive display the short help of all the included packages
2594 -V, --version display version information and exit
2595 -q, --quiet, --silent do not print \`checking ...' messages
2596 --cache-file=FILE cache test results in FILE [disabled]
2597 -C, --config-cache alias for \`--cache-file=config.cache'
2598 -n, --no-create do not create output files
2599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2601 Installation directories:
2602 --prefix=PREFIX install architecture-independent files in PREFIX
2603 [$ac_default_prefix]
2604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2605 [PREFIX]
2607 By default, \`make install' will install all the files in
2608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2610 for instance \`--prefix=\$HOME'.
2612 For better control, use the options below.
2614 Fine tuning of the installation directories:
2615 --bindir=DIR user executables [EPREFIX/bin]
2616 --sbindir=DIR system admin executables [EPREFIX/sbin]
2617 --libexecdir=DIR program executables [EPREFIX/libexec]
2618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2621 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2622 --libdir=DIR object code libraries [EPREFIX/lib]
2623 --includedir=DIR C header files [PREFIX/include]
2624 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2625 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2626 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2627 --infodir=DIR info documentation [DATAROOTDIR/info]
2628 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2629 --mandir=DIR man documentation [DATAROOTDIR/man]
2630 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2631 --htmldir=DIR html documentation [DOCDIR]
2632 --dvidir=DIR dvi documentation [DOCDIR]
2633 --pdfdir=DIR pdf documentation [DOCDIR]
2634 --psdir=DIR ps documentation [DOCDIR]
2635 _ACEOF
2637 cat <<\_ACEOF
2639 X features:
2640 --x-includes=DIR X include files are in DIR
2641 --x-libraries=DIR X library files are in DIR
2643 System types:
2644 --build=BUILD configure for building on BUILD [guessed]
2645 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2646 _ACEOF
2649 if test -n "$ac_init_help"; then
2650 case $ac_init_help in
2651 short | recursive ) echo "Configuration of Wine 6.22:";;
2652 esac
2653 cat <<\_ACEOF
2655 Optional Features:
2656 --disable-option-checking ignore unrecognized --enable/--with options
2657 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2658 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2659 --disable-win16 do not include Win16 support
2660 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2661 binaries)
2662 --disable-tests do not build the regression tests
2663 --enable-build-id include .buildid section in output objects
2664 --enable-maintainer-mode
2665 enable maintainer-specific build rules
2666 --enable-silent-rules use silent build rules (override: "make V=1")
2667 --enable-werror treat compilation warnings as errors
2668 --disable-largefile omit support for large files
2670 Optional Packages:
2671 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2672 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2673 --without-alsa do not use the Alsa sound support
2674 --without-capi do not use CAPI (ISDN support)
2675 --without-coreaudio do not use the CoreAudio sound support
2676 --without-cups do not use CUPS
2677 --without-dbus do not use DBus (dynamic device support)
2678 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2679 --without-fontconfig do not use fontconfig
2680 --without-freetype do not use the FreeType library
2681 --without-gettext do not use gettext
2682 --with-gettextpo use the GetTextPO library to rebuild po files
2683 --without-gphoto do not use gphoto (Digital Camera support)
2684 --without-gnutls do not use GnuTLS (schannel support)
2685 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2686 --without-gstreamer do not use GStreamer (codecs support)
2687 --without-hal do not use HAL (dynamic device support)
2688 --without-inotify do not use inotify (filesystem change notifications)
2689 --without-krb5 do not use krb5 (Kerberos)
2690 --without-ldap do not use LDAP
2691 --without-mingw do not use the MinGW cross-compiler
2692 --without-netapi do not use the Samba NetAPI library
2693 --without-openal do not use OpenAL
2694 --without-opencl do not use OpenCL
2695 --without-opengl do not use OpenGL
2696 --without-osmesa do not use the OSMesa library
2697 --without-oss do not use the OSS sound support
2698 --without-pcap do not use the Packet Capture library
2699 --without-pthread do not use the pthread library
2700 --without-pulse do not use PulseAudio sound support
2701 --without-quicktime do not use QuickTime support
2702 --without-sane do not use SANE (scanner support)
2703 --without-sdl do not use SDL
2704 --without-udev do not use udev (plug and play support)
2705 --without-unwind do not use the libunwind library (exception
2706 handling)
2707 --without-usb do not use the libusb library
2708 --without-v4l2 do not use v4l2 (video capture)
2709 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2710 --without-vulkan do not use Vulkan
2711 --without-xcomposite do not use the Xcomposite extension
2712 --without-xcursor do not use the Xcursor extension
2713 --without-xfixes do not use Xfixes for clipboard change notifications
2714 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2715 --without-xinput do not use the Xinput extension
2716 --without-xinput2 do not use the Xinput 2 extension
2717 --without-xrandr do not use Xrandr (multi-monitor support)
2718 --without-xrender do not use the Xrender extension
2719 --without-xshape do not use the Xshape extension
2720 --without-xshm do not use XShm (shared memory extension)
2721 --without-xxf86vm do not use XFree video mode extension
2722 --with-wine-tools=DIR use Wine tools from directory DIR
2723 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2724 --with-x use the X Window System
2726 Some influential environment variables:
2727 CC C compiler command
2728 CFLAGS C compiler flags
2729 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2730 nonstandard directory <lib dir>
2731 LIBS libraries to pass to the linker, e.g. -l<library>
2732 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2733 you have headers in a nonstandard directory <include dir>
2734 CXX C++ compiler command
2735 CXXFLAGS C++ compiler flags
2736 OBJC Objective C compiler command
2737 OBJCFLAGS Objective C compiler flags
2738 FAUDIO_PE_CFLAGS
2739 C compiler flags for the PE faudio, overriding the bundled
2740 version
2741 FAUDIO_PE_LIBS
2742 Linker flags for the PE faudio, overriding the bundled version
2743 GSM_PE_CFLAGS
2744 C compiler flags for the PE gsm, overriding the bundled version
2745 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2746 JPEG_PE_CFLAGS
2747 C compiler flags for the PE jpeg, overriding the bundled version
2748 JPEG_PE_LIBS
2749 Linker flags for the PE jpeg, overriding the bundled version
2750 JXR_PE_CFLAGS
2751 C compiler flags for the PE jxr, overriding the bundled version
2752 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2753 LCMS2_PE_CFLAGS
2754 C compiler flags for the PE lcms2, overriding the bundled
2755 version
2756 LCMS2_PE_LIBS
2757 Linker flags for the PE lcms2, overriding the bundled version
2758 MPG123_PE_CFLAGS
2759 C compiler flags for the PE mpg123, overriding the bundled
2760 version
2761 MPG123_PE_LIBS
2762 Linker flags for the PE mpg123, overriding the bundled version
2763 PNG_PE_CFLAGS
2764 C compiler flags for the PE png, overriding the bundled version
2765 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2766 TIFF_PE_CFLAGS
2767 C compiler flags for the PE tiff, overriding the bundled version
2768 TIFF_PE_LIBS
2769 Linker flags for the PE tiff, overriding the bundled version
2770 XML2_PE_CFLAGS
2771 C compiler flags for the PE libxml2, overriding the bundled
2772 version
2773 XML2_PE_LIBS
2774 Linker flags for the PE libxml2, overriding the bundled version
2775 XSLT_PE_CFLAGS
2776 C compiler flags for the PE libxslt, overriding the bundled
2777 version
2778 XSLT_PE_LIBS
2779 Linker flags for the PE libxslt, overriding the bundled version
2780 ZLIB_PE_CFLAGS
2781 C compiler flags for the PE zlib, overriding the bundled version
2782 ZLIB_PE_LIBS
2783 Linker flags for the PE zlib, overriding the bundled version
2784 XMKMF Path to xmkmf, Makefile generator for X Window System
2785 CPP C preprocessor
2786 INOTIFY_CFLAGS
2787 C compiler flags for libinotify, overriding pkg-config
2788 INOTIFY_LIBS
2789 Linker flags for libinotify, overriding pkg-config
2790 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2791 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2792 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2793 HAL_LIBS Linker flags for hal, overriding pkg-config
2794 GNUTLS_CFLAGS
2795 C compiler flags for gnutls, overriding pkg-config
2796 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2797 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2798 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2799 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2800 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2801 GPHOTO2_CFLAGS
2802 C compiler flags for libgphoto2, overriding pkg-config
2803 GPHOTO2_LIBS
2804 Linker flags for libgphoto2, overriding pkg-config
2805 GPHOTO2_PORT_CFLAGS
2806 C compiler flags for libgphoto2_port, overriding pkg-config
2807 GPHOTO2_PORT_LIBS
2808 Linker flags for libgphoto2_port, overriding pkg-config
2809 FREETYPE_CFLAGS
2810 C compiler flags for freetype2, overriding pkg-config
2811 FREETYPE_LIBS
2812 Linker flags for freetype2, overriding pkg-config
2813 PULSE_CFLAGS
2814 C compiler flags for libpulse, overriding pkg-config
2815 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2816 GSTREAMER_CFLAGS
2817 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2818 gstreamer-audio-1.0, overriding pkg-config
2819 GSTREAMER_LIBS
2820 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2821 gstreamer-audio-1.0, overriding pkg-config
2822 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2823 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2824 UNWIND_CFLAGS
2825 C compiler flags for libunwind, overriding pkg-config
2826 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2827 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2828 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2829 CAPI20_CFLAGS
2830 C compiler flags for capi20, overriding pkg-config
2831 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2832 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2833 CUPS_LIBS Linker flags for cups, overriding pkg-config
2834 FONTCONFIG_CFLAGS
2835 C compiler flags for fontconfig, overriding pkg-config
2836 FONTCONFIG_LIBS
2837 Linker flags for fontconfig, overriding pkg-config
2838 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2839 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2840 GSSAPI_CFLAGS
2841 C compiler flags for krb5-gssapi, overriding pkg-config
2842 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2843 NETAPI_CFLAGS
2844 C compiler flags for netapi, overriding pkg-config
2845 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2846 VKD3D_CFLAGS
2847 C compiler flags for libvkd3d, overriding pkg-config
2848 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2849 VKD3D_SHADER_CFLAGS
2850 C compiler flags for libvkd3d-shader, overriding pkg-config
2851 VKD3D_SHADER_LIBS
2852 Linker flags for libvkd3d-shader, overriding pkg-config
2853 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2854 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2856 Use these variables to override the choices made by `configure' or to help
2857 it to find libraries and programs with nonstandard names/locations.
2859 Report bugs to <wine-devel@winehq.org>.
2860 Wine home page: <https://www.winehq.org>.
2861 _ACEOF
2862 ac_status=$?
2865 if test "$ac_init_help" = "recursive"; then
2866 # If there are subdirs, report their specific --help.
2867 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2868 test -d "$ac_dir" ||
2869 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2870 continue
2871 ac_builddir=.
2873 case "$ac_dir" in
2874 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2876 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2877 # A ".." for each directory in $ac_dir_suffix.
2878 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2879 case $ac_top_builddir_sub in
2880 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2881 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2882 esac ;;
2883 esac
2884 ac_abs_top_builddir=$ac_pwd
2885 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2886 # for backward compatibility:
2887 ac_top_builddir=$ac_top_build_prefix
2889 case $srcdir in
2890 .) # We are building in place.
2891 ac_srcdir=.
2892 ac_top_srcdir=$ac_top_builddir_sub
2893 ac_abs_top_srcdir=$ac_pwd ;;
2894 [\\/]* | ?:[\\/]* ) # Absolute name.
2895 ac_srcdir=$srcdir$ac_dir_suffix;
2896 ac_top_srcdir=$srcdir
2897 ac_abs_top_srcdir=$srcdir ;;
2898 *) # Relative name.
2899 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2900 ac_top_srcdir=$ac_top_build_prefix$srcdir
2901 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2902 esac
2903 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2905 cd "$ac_dir" || { ac_status=$?; continue; }
2906 # Check for configure.gnu first; this name is used for a wrapper for
2907 # Metaconfig's "Configure" on case-insensitive file systems.
2908 if test -f "$ac_srcdir/configure.gnu"; then
2909 echo &&
2910 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2911 elif test -f "$ac_srcdir/configure"; then
2912 echo &&
2913 $SHELL "$ac_srcdir/configure" --help=recursive
2914 else
2915 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2916 fi || ac_status=$?
2917 cd "$ac_pwd" || { ac_status=$?; break; }
2918 done
2921 test -n "$ac_init_help" && exit $ac_status
2922 if $ac_init_version; then
2923 cat <<\_ACEOF
2924 Wine configure 6.22
2925 generated by GNU Autoconf 2.71
2927 Copyright (C) 2021 Free Software Foundation, Inc.
2928 This configure script is free software; the Free Software Foundation
2929 gives unlimited permission to copy, distribute and modify it.
2930 _ACEOF
2931 exit
2934 ## ------------------------ ##
2935 ## Autoconf initialization. ##
2936 ## ------------------------ ##
2938 # ac_fn_c_try_compile LINENO
2939 # --------------------------
2940 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2941 ac_fn_c_try_compile ()
2943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2944 rm -f conftest.$ac_objext conftest.beam
2945 if { { ac_try="$ac_compile"
2946 case "(($ac_try" in
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2949 esac
2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 printf "%s\n" "$ac_try_echo"; } >&5
2952 (eval "$ac_compile") 2>conftest.err
2953 ac_status=$?
2954 if test -s conftest.err; then
2955 grep -v '^ *+' conftest.err >conftest.er1
2956 cat conftest.er1 >&5
2957 mv -f conftest.er1 conftest.err
2959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; } && {
2961 test -z "$ac_c_werror_flag" ||
2962 test ! -s conftest.err
2963 } && test -s conftest.$ac_objext
2964 then :
2965 ac_retval=0
2966 else $as_nop
2967 printf "%s\n" "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2970 ac_retval=1
2972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2973 as_fn_set_status $ac_retval
2975 } # ac_fn_c_try_compile
2977 # ac_fn_cxx_try_compile LINENO
2978 # ----------------------------
2979 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2980 ac_fn_cxx_try_compile ()
2982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2983 rm -f conftest.$ac_objext conftest.beam
2984 if { { ac_try="$ac_compile"
2985 case "(($ac_try" in
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2988 esac
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 printf "%s\n" "$ac_try_echo"; } >&5
2991 (eval "$ac_compile") 2>conftest.err
2992 ac_status=$?
2993 if test -s conftest.err; then
2994 grep -v '^ *+' conftest.err >conftest.er1
2995 cat conftest.er1 >&5
2996 mv -f conftest.er1 conftest.err
2998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; } && {
3000 test -z "$ac_cxx_werror_flag" ||
3001 test ! -s conftest.err
3002 } && test -s conftest.$ac_objext
3003 then :
3004 ac_retval=0
3005 else $as_nop
3006 printf "%s\n" "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 ac_retval=1
3011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3012 as_fn_set_status $ac_retval
3014 } # ac_fn_cxx_try_compile
3016 # ac_fn_c_try_link LINENO
3017 # -----------------------
3018 # Try to link conftest.$ac_ext, and return whether this succeeded.
3019 ac_fn_c_try_link ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3023 if { { ac_try="$ac_link"
3024 case "(($ac_try" in
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3027 esac
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 printf "%s\n" "$ac_try_echo"; } >&5
3030 (eval "$ac_link") 2>conftest.err
3031 ac_status=$?
3032 if test -s conftest.err; then
3033 grep -v '^ *+' conftest.err >conftest.er1
3034 cat conftest.er1 >&5
3035 mv -f conftest.er1 conftest.err
3037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3038 test $ac_status = 0; } && {
3039 test -z "$ac_c_werror_flag" ||
3040 test ! -s conftest.err
3041 } && test -s conftest$ac_exeext && {
3042 test "$cross_compiling" = yes ||
3043 test -x conftest$ac_exeext
3045 then :
3046 ac_retval=0
3047 else $as_nop
3048 printf "%s\n" "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3051 ac_retval=1
3053 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3054 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3055 # interfere with the next link command; also delete a directory that is
3056 # left behind by Apple's compiler. We do this before executing the actions.
3057 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3059 as_fn_set_status $ac_retval
3061 } # ac_fn_c_try_link
3063 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3064 # -------------------------------------------------------
3065 # Tests whether HEADER exists and can be compiled using the include files in
3066 # INCLUDES, setting the cache variable VAR accordingly.
3067 ac_fn_c_check_header_compile ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3071 printf %s "checking for $2... " >&6; }
3072 if eval test \${$3+y}
3073 then :
3074 printf %s "(cached) " >&6
3075 else $as_nop
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3079 #include <$2>
3080 _ACEOF
3081 if ac_fn_c_try_compile "$LINENO"
3082 then :
3083 eval "$3=yes"
3084 else $as_nop
3085 eval "$3=no"
3087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3089 eval ac_res=\$$3
3090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3091 printf "%s\n" "$ac_res" >&6; }
3092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 } # ac_fn_c_check_header_compile
3096 # ac_fn_objc_try_compile LINENO
3097 # -----------------------------
3098 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3099 ac_fn_objc_try_compile ()
3101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3102 rm -f conftest.$ac_objext conftest.beam
3103 if { { ac_try="$ac_compile"
3104 case "(($ac_try" in
3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3107 esac
3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109 printf "%s\n" "$ac_try_echo"; } >&5
3110 (eval "$ac_compile") 2>conftest.err
3111 ac_status=$?
3112 if test -s conftest.err; then
3113 grep -v '^ *+' conftest.err >conftest.er1
3114 cat conftest.er1 >&5
3115 mv -f conftest.er1 conftest.err
3117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3118 test $ac_status = 0; } && {
3119 test -z "$ac_objc_werror_flag" ||
3120 test ! -s conftest.err
3121 } && test -s conftest.$ac_objext
3122 then :
3123 ac_retval=0
3124 else $as_nop
3125 printf "%s\n" "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 ac_retval=1
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_objc_try_compile
3135 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3136 # ----------------------------------------------------------
3137 # Tests whether HEADER exists and can be compiled using the include files in
3138 # INCLUDES, setting the cache variable VAR accordingly.
3139 ac_fn_objc_check_header_compile ()
3141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3143 printf %s "checking for $2... " >&6; }
3144 if eval test \${$3+y}
3145 then :
3146 printf %s "(cached) " >&6
3147 else $as_nop
3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3151 #include <$2>
3152 _ACEOF
3153 if ac_fn_objc_try_compile "$LINENO"
3154 then :
3155 eval "$3=yes"
3156 else $as_nop
3157 eval "$3=no"
3159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3161 eval ac_res=\$$3
3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3163 printf "%s\n" "$ac_res" >&6; }
3164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3166 } # ac_fn_objc_check_header_compile
3168 # ac_fn_c_check_func LINENO FUNC VAR
3169 # ----------------------------------
3170 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3171 ac_fn_c_check_func ()
3173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3175 printf %s "checking for $2... " >&6; }
3176 if eval test \${$3+y}
3177 then :
3178 printf %s "(cached) " >&6
3179 else $as_nop
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3182 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3184 #define $2 innocuous_$2
3186 /* System header to define __stub macros and hopefully few prototypes,
3187 which can conflict with char $2 (); below. */
3189 #include <limits.h>
3190 #undef $2
3192 /* Override any GCC internal prototype to avoid an error.
3193 Use char because int might match the return type of a GCC
3194 builtin and then its argument prototype would still apply. */
3195 #ifdef __cplusplus
3196 extern "C"
3197 #endif
3198 char $2 ();
3199 /* The GNU C library defines this for functions which it implements
3200 to always fail with ENOSYS. Some functions are actually named
3201 something starting with __ and the normal name is an alias. */
3202 #if defined __stub_$2 || defined __stub___$2
3203 choke me
3204 #endif
3207 main (void)
3209 return $2 ();
3211 return 0;
3213 _ACEOF
3214 if ac_fn_c_try_link "$LINENO"
3215 then :
3216 eval "$3=yes"
3217 else $as_nop
3218 eval "$3=no"
3220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3221 conftest$ac_exeext conftest.$ac_ext
3223 eval ac_res=\$$3
3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3225 printf "%s\n" "$ac_res" >&6; }
3226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3228 } # ac_fn_c_check_func
3230 # ac_fn_c_try_cpp LINENO
3231 # ----------------------
3232 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3233 ac_fn_c_try_cpp ()
3235 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3236 if { { ac_try="$ac_cpp conftest.$ac_ext"
3237 case "(($ac_try" in
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3240 esac
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 printf "%s\n" "$ac_try_echo"; } >&5
3243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3244 ac_status=$?
3245 if test -s conftest.err; then
3246 grep -v '^ *+' conftest.err >conftest.er1
3247 cat conftest.er1 >&5
3248 mv -f conftest.er1 conftest.err
3250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251 test $ac_status = 0; } > conftest.i && {
3252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3253 test ! -s conftest.err
3255 then :
3256 ac_retval=0
3257 else $as_nop
3258 printf "%s\n" "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 ac_retval=1
3263 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3264 as_fn_set_status $ac_retval
3266 } # ac_fn_c_try_cpp
3268 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3269 # ----------------------------------------------------
3270 # Tries to find if the field MEMBER exists in type AGGR, after including
3271 # INCLUDES, setting cache variable VAR accordingly.
3272 ac_fn_c_check_member ()
3274 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3276 printf %s "checking for $2.$3... " >&6; }
3277 if eval test \${$4+y}
3278 then :
3279 printf %s "(cached) " >&6
3280 else $as_nop
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3285 main (void)
3287 static $2 ac_aggr;
3288 if (ac_aggr.$3)
3289 return 0;
3291 return 0;
3293 _ACEOF
3294 if ac_fn_c_try_compile "$LINENO"
3295 then :
3296 eval "$4=yes"
3297 else $as_nop
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3302 main (void)
3304 static $2 ac_aggr;
3305 if (sizeof ac_aggr.$3)
3306 return 0;
3308 return 0;
3310 _ACEOF
3311 if ac_fn_c_try_compile "$LINENO"
3312 then :
3313 eval "$4=yes"
3314 else $as_nop
3315 eval "$4=no"
3317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3321 eval ac_res=\$$4
3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3323 printf "%s\n" "$ac_res" >&6; }
3324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3326 } # ac_fn_c_check_member
3328 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3329 # -------------------------------------------
3330 # Tests whether TYPE exists after having included INCLUDES, setting cache
3331 # variable VAR accordingly.
3332 ac_fn_c_check_type ()
3334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3336 printf %s "checking for $2... " >&6; }
3337 if eval test \${$3+y}
3338 then :
3339 printf %s "(cached) " >&6
3340 else $as_nop
3341 eval "$3=no"
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main (void)
3348 if (sizeof ($2))
3349 return 0;
3351 return 0;
3353 _ACEOF
3354 if ac_fn_c_try_compile "$LINENO"
3355 then :
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3360 main (void)
3362 if (sizeof (($2)))
3363 return 0;
3365 return 0;
3367 _ACEOF
3368 if ac_fn_c_try_compile "$LINENO"
3369 then :
3371 else $as_nop
3372 eval "$3=yes"
3374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3378 eval ac_res=\$$3
3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3380 printf "%s\n" "$ac_res" >&6; }
3381 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3383 } # ac_fn_c_check_type
3384 ac_configure_args_raw=
3385 for ac_arg
3387 case $ac_arg in
3388 *\'*)
3389 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3390 esac
3391 as_fn_append ac_configure_args_raw " '$ac_arg'"
3392 done
3394 case $ac_configure_args_raw in
3395 *$as_nl*)
3396 ac_safe_unquote= ;;
3398 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3399 ac_unsafe_a="$ac_unsafe_z#~"
3400 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3401 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3402 esac
3404 cat >config.log <<_ACEOF
3405 This file contains any messages produced by compilers while
3406 running configure, to aid debugging if configure makes a mistake.
3408 It was created by Wine $as_me 6.22, which was
3409 generated by GNU Autoconf 2.71. Invocation command line was
3411 $ $0$ac_configure_args_raw
3413 _ACEOF
3414 exec 5>>config.log
3416 cat <<_ASUNAME
3417 ## --------- ##
3418 ## Platform. ##
3419 ## --------- ##
3421 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3422 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3423 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3424 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3425 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3427 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3428 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3430 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3431 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3432 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3433 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3434 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3435 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3436 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3438 _ASUNAME
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3443 IFS=$as_save_IFS
3444 case $as_dir in #(((
3445 '') as_dir=./ ;;
3446 */) ;;
3447 *) as_dir=$as_dir/ ;;
3448 esac
3449 printf "%s\n" "PATH: $as_dir"
3450 done
3451 IFS=$as_save_IFS
3453 } >&5
3455 cat >&5 <<_ACEOF
3458 ## ----------- ##
3459 ## Core tests. ##
3460 ## ----------- ##
3462 _ACEOF
3465 # Keep a trace of the command line.
3466 # Strip out --no-create and --no-recursion so they do not pile up.
3467 # Strip out --silent because we don't want to record it for future runs.
3468 # Also quote any args containing shell meta-characters.
3469 # Make two passes to allow for proper duplicate-argument suppression.
3470 ac_configure_args=
3471 ac_configure_args0=
3472 ac_configure_args1=
3473 ac_must_keep_next=false
3474 for ac_pass in 1 2
3476 for ac_arg
3478 case $ac_arg in
3479 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3480 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3481 | -silent | --silent | --silen | --sile | --sil)
3482 continue ;;
3483 *\'*)
3484 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3485 esac
3486 case $ac_pass in
3487 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3489 as_fn_append ac_configure_args1 " '$ac_arg'"
3490 if test $ac_must_keep_next = true; then
3491 ac_must_keep_next=false # Got value, back to normal.
3492 else
3493 case $ac_arg in
3494 *=* | --config-cache | -C | -disable-* | --disable-* \
3495 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3496 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3497 | -with-* | --with-* | -without-* | --without-* | --x)
3498 case "$ac_configure_args0 " in
3499 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3500 esac
3502 -* ) ac_must_keep_next=true ;;
3503 esac
3505 as_fn_append ac_configure_args " '$ac_arg'"
3507 esac
3508 done
3509 done
3510 { ac_configure_args0=; unset ac_configure_args0;}
3511 { ac_configure_args1=; unset ac_configure_args1;}
3513 # When interrupted or exit'd, cleanup temporary files, and complete
3514 # config.log. We remove comments because anyway the quotes in there
3515 # would cause problems or look ugly.
3516 # WARNING: Use '\'' to represent an apostrophe within the trap.
3517 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3518 trap 'exit_status=$?
3519 # Sanitize IFS.
3520 IFS=" "" $as_nl"
3521 # Save into config.log some information that might help in debugging.
3523 echo
3525 printf "%s\n" "## ---------------- ##
3526 ## Cache variables. ##
3527 ## ---------------- ##"
3528 echo
3529 # The following way of writing the cache mishandles newlines in values,
3531 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3532 eval ac_val=\$$ac_var
3533 case $ac_val in #(
3534 *${as_nl}*)
3535 case $ac_var in #(
3536 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3537 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3538 esac
3539 case $ac_var in #(
3540 _ | IFS | as_nl) ;; #(
3541 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3542 *) { eval $ac_var=; unset $ac_var;} ;;
3543 esac ;;
3544 esac
3545 done
3546 (set) 2>&1 |
3547 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3548 *${as_nl}ac_space=\ *)
3549 sed -n \
3550 "s/'\''/'\''\\\\'\'''\''/g;
3551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3552 ;; #(
3554 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3556 esac |
3557 sort
3559 echo
3561 printf "%s\n" "## ----------------- ##
3562 ## Output variables. ##
3563 ## ----------------- ##"
3564 echo
3565 for ac_var in $ac_subst_vars
3567 eval ac_val=\$$ac_var
3568 case $ac_val in
3569 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3570 esac
3571 printf "%s\n" "$ac_var='\''$ac_val'\''"
3572 done | sort
3573 echo
3575 if test -n "$ac_subst_files"; then
3576 printf "%s\n" "## ------------------- ##
3577 ## File substitutions. ##
3578 ## ------------------- ##"
3579 echo
3580 for ac_var in $ac_subst_files
3582 eval ac_val=\$$ac_var
3583 case $ac_val in
3584 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3585 esac
3586 printf "%s\n" "$ac_var='\''$ac_val'\''"
3587 done | sort
3588 echo
3591 if test -s confdefs.h; then
3592 printf "%s\n" "## ----------- ##
3593 ## confdefs.h. ##
3594 ## ----------- ##"
3595 echo
3596 cat confdefs.h
3597 echo
3599 test "$ac_signal" != 0 &&
3600 printf "%s\n" "$as_me: caught signal $ac_signal"
3601 printf "%s\n" "$as_me: exit $exit_status"
3602 } >&5
3603 rm -f core *.core core.conftest.* &&
3604 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3605 exit $exit_status
3607 for ac_signal in 1 2 13 15; do
3608 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3609 done
3610 ac_signal=0
3612 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3613 rm -f -r conftest* confdefs.h
3615 printf "%s\n" "/* confdefs.h */" > confdefs.h
3617 # Predefined preprocessor variables.
3619 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3621 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3623 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3625 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3627 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3629 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3632 # Let the site file select an alternate cache file if it wants to.
3633 # Prefer an explicitly selected file to automatically selected ones.
3634 if test -n "$CONFIG_SITE"; then
3635 ac_site_files="$CONFIG_SITE"
3636 elif test "x$prefix" != xNONE; then
3637 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3638 else
3639 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3642 for ac_site_file in $ac_site_files
3644 case $ac_site_file in #(
3645 */*) :
3646 ;; #(
3647 *) :
3648 ac_site_file=./$ac_site_file ;;
3649 esac
3650 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3652 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3653 sed 's/^/| /' "$ac_site_file" >&5
3654 . "$ac_site_file" \
3655 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3657 as_fn_error $? "failed to load site script $ac_site_file
3658 See \`config.log' for more details" "$LINENO" 5; }
3660 done
3662 if test -r "$cache_file"; then
3663 # Some versions of bash will fail to source /dev/null (special files
3664 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3665 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3667 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3668 case $cache_file in
3669 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3670 *) . "./$cache_file";;
3671 esac
3673 else
3674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3675 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3676 >$cache_file
3679 # Test code for whether the C compiler supports C89 (global declarations)
3680 ac_c_conftest_c89_globals='
3681 /* Does the compiler advertise C89 conformance?
3682 Do not test the value of __STDC__, because some compilers set it to 0
3683 while being otherwise adequately conformant. */
3684 #if !defined __STDC__
3685 # error "Compiler does not advertise C89 conformance"
3686 #endif
3688 #include <stddef.h>
3689 #include <stdarg.h>
3690 struct stat;
3691 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3692 struct buf { int x; };
3693 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3694 static char *e (p, i)
3695 char **p;
3696 int i;
3698 return p[i];
3700 static char *f (char * (*g) (char **, int), char **p, ...)
3702 char *s;
3703 va_list v;
3704 va_start (v,p);
3705 s = g (p, va_arg (v,int));
3706 va_end (v);
3707 return s;
3710 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3711 function prototypes and stuff, but not \xHH hex character constants.
3712 These do not provoke an error unfortunately, instead are silently treated
3713 as an "x". The following induces an error, until -std is added to get
3714 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3715 array size at least. It is necessary to write \x00 == 0 to get something
3716 that is true only with -std. */
3717 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3719 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3720 inside strings and character constants. */
3721 #define FOO(x) '\''x'\''
3722 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3724 int test (int i, double x);
3725 struct s1 {int (*f) (int a);};
3726 struct s2 {int (*f) (double a);};
3727 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3728 int, int);'
3730 # Test code for whether the C compiler supports C89 (body of main).
3731 ac_c_conftest_c89_main='
3732 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3735 # Test code for whether the C compiler supports C99 (global declarations)
3736 ac_c_conftest_c99_globals='
3737 // Does the compiler advertise C99 conformance?
3738 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3739 # error "Compiler does not advertise C99 conformance"
3740 #endif
3742 #include <stdbool.h>
3743 extern int puts (const char *);
3744 extern int printf (const char *, ...);
3745 extern int dprintf (int, const char *, ...);
3746 extern void *malloc (size_t);
3748 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3749 // dprintf is used instead of fprintf to avoid needing to declare
3750 // FILE and stderr.
3751 #define debug(...) dprintf (2, __VA_ARGS__)
3752 #define showlist(...) puts (#__VA_ARGS__)
3753 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3754 static void
3755 test_varargs_macros (void)
3757 int x = 1234;
3758 int y = 5678;
3759 debug ("Flag");
3760 debug ("X = %d\n", x);
3761 showlist (The first, second, and third items.);
3762 report (x>y, "x is %d but y is %d", x, y);
3765 // Check long long types.
3766 #define BIG64 18446744073709551615ull
3767 #define BIG32 4294967295ul
3768 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3769 #if !BIG_OK
3770 #error "your preprocessor is broken"
3771 #endif
3772 #if BIG_OK
3773 #else
3774 #error "your preprocessor is broken"
3775 #endif
3776 static long long int bignum = -9223372036854775807LL;
3777 static unsigned long long int ubignum = BIG64;
3779 struct incomplete_array
3781 int datasize;
3782 double data[];
3785 struct named_init {
3786 int number;
3787 const wchar_t *name;
3788 double average;
3791 typedef const char *ccp;
3793 static inline int
3794 test_restrict (ccp restrict text)
3796 // See if C++-style comments work.
3797 // Iterate through items via the restricted pointer.
3798 // Also check for declarations in for loops.
3799 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3800 continue;
3801 return 0;
3804 // Check varargs and va_copy.
3805 static bool
3806 test_varargs (const char *format, ...)
3808 va_list args;
3809 va_start (args, format);
3810 va_list args_copy;
3811 va_copy (args_copy, args);
3813 const char *str = "";
3814 int number = 0;
3815 float fnumber = 0;
3817 while (*format)
3819 switch (*format++)
3821 case '\''s'\'': // string
3822 str = va_arg (args_copy, const char *);
3823 break;
3824 case '\''d'\'': // int
3825 number = va_arg (args_copy, int);
3826 break;
3827 case '\''f'\'': // float
3828 fnumber = va_arg (args_copy, double);
3829 break;
3830 default:
3831 break;
3834 va_end (args_copy);
3835 va_end (args);
3837 return *str && number && fnumber;
3841 # Test code for whether the C compiler supports C99 (body of main).
3842 ac_c_conftest_c99_main='
3843 // Check bool.
3844 _Bool success = false;
3845 success |= (argc != 0);
3847 // Check restrict.
3848 if (test_restrict ("String literal") == 0)
3849 success = true;
3850 char *restrict newvar = "Another string";
3852 // Check varargs.
3853 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3854 test_varargs_macros ();
3856 // Check flexible array members.
3857 struct incomplete_array *ia =
3858 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3859 ia->datasize = 10;
3860 for (int i = 0; i < ia->datasize; ++i)
3861 ia->data[i] = i * 1.234;
3863 // Check named initializers.
3864 struct named_init ni = {
3865 .number = 34,
3866 .name = L"Test wide string",
3867 .average = 543.34343,
3870 ni.number = 58;
3872 int dynamic_array[ni.number];
3873 dynamic_array[0] = argv[0][0];
3874 dynamic_array[ni.number - 1] = 543;
3876 // work around unused variable warnings
3877 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3878 || dynamic_array[ni.number - 1] != 543);
3881 # Test code for whether the C compiler supports C11 (global declarations)
3882 ac_c_conftest_c11_globals='
3883 // Does the compiler advertise C11 conformance?
3884 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3885 # error "Compiler does not advertise C11 conformance"
3886 #endif
3888 // Check _Alignas.
3889 char _Alignas (double) aligned_as_double;
3890 char _Alignas (0) no_special_alignment;
3891 extern char aligned_as_int;
3892 char _Alignas (0) _Alignas (int) aligned_as_int;
3894 // Check _Alignof.
3895 enum
3897 int_alignment = _Alignof (int),
3898 int_array_alignment = _Alignof (int[100]),
3899 char_alignment = _Alignof (char)
3901 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3903 // Check _Noreturn.
3904 int _Noreturn does_not_return (void) { for (;;) continue; }
3906 // Check _Static_assert.
3907 struct test_static_assert
3909 int x;
3910 _Static_assert (sizeof (int) <= sizeof (long int),
3911 "_Static_assert does not work in struct");
3912 long int y;
3915 // Check UTF-8 literals.
3916 #define u8 syntax error!
3917 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3919 // Check duplicate typedefs.
3920 typedef long *long_ptr;
3921 typedef long int *long_ptr;
3922 typedef long_ptr long_ptr;
3924 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3925 struct anonymous
3927 union {
3928 struct { int i; int j; };
3929 struct { int k; long int l; } w;
3931 int m;
3932 } v1;
3935 # Test code for whether the C compiler supports C11 (body of main).
3936 ac_c_conftest_c11_main='
3937 _Static_assert ((offsetof (struct anonymous, i)
3938 == offsetof (struct anonymous, w.k)),
3939 "Anonymous union alignment botch");
3940 v1.i = 2;
3941 v1.w.k = 5;
3942 ok |= v1.i != 5;
3945 # Test code for whether the C compiler supports C11 (complete).
3946 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3947 ${ac_c_conftest_c99_globals}
3948 ${ac_c_conftest_c11_globals}
3951 main (int argc, char **argv)
3953 int ok = 0;
3954 ${ac_c_conftest_c89_main}
3955 ${ac_c_conftest_c99_main}
3956 ${ac_c_conftest_c11_main}
3957 return ok;
3961 # Test code for whether the C compiler supports C99 (complete).
3962 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3963 ${ac_c_conftest_c99_globals}
3966 main (int argc, char **argv)
3968 int ok = 0;
3969 ${ac_c_conftest_c89_main}
3970 ${ac_c_conftest_c99_main}
3971 return ok;
3975 # Test code for whether the C compiler supports C89 (complete).
3976 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3979 main (int argc, char **argv)
3981 int ok = 0;
3982 ${ac_c_conftest_c89_main}
3983 return ok;
3987 # Test code for whether the C++ compiler supports C++98 (global declarations)
3988 ac_cxx_conftest_cxx98_globals='
3989 // Does the compiler advertise C++98 conformance?
3990 #if !defined __cplusplus || __cplusplus < 199711L
3991 # error "Compiler does not advertise C++98 conformance"
3992 #endif
3994 // These inclusions are to reject old compilers that
3995 // lack the unsuffixed header files.
3996 #include <cstdlib>
3997 #include <exception>
3999 // <cassert> and <cstring> are *not* freestanding headers in C++98.
4000 extern void assert (int);
4001 namespace std {
4002 extern int strcmp (const char *, const char *);
4005 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4006 using std::exception;
4007 using std::strcmp;
4009 namespace {
4011 void test_exception_syntax()
4013 try {
4014 throw "test";
4015 } catch (const char *s) {
4016 // Extra parentheses suppress a warning when building autoconf itself,
4017 // due to lint rules shared with more typical C programs.
4018 assert (!(strcmp) (s, "test"));
4022 template <typename T> struct test_template
4024 T const val;
4025 explicit test_template(T t) : val(t) {}
4026 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4029 } // anonymous namespace
4032 # Test code for whether the C++ compiler supports C++98 (body of main)
4033 ac_cxx_conftest_cxx98_main='
4034 assert (argc);
4035 assert (! argv[0]);
4037 test_exception_syntax ();
4038 test_template<double> tt (2.0);
4039 assert (tt.add (4) == 6.0);
4040 assert (true && !false);
4044 # Test code for whether the C++ compiler supports C++11 (global declarations)
4045 ac_cxx_conftest_cxx11_globals='
4046 // Does the compiler advertise C++ 2011 conformance?
4047 #if !defined __cplusplus || __cplusplus < 201103L
4048 # error "Compiler does not advertise C++11 conformance"
4049 #endif
4051 namespace cxx11test
4053 constexpr int get_val() { return 20; }
4055 struct testinit
4057 int i;
4058 double d;
4061 class delegate
4063 public:
4064 delegate(int n) : n(n) {}
4065 delegate(): delegate(2354) {}
4067 virtual int getval() { return this->n; };
4068 protected:
4069 int n;
4072 class overridden : public delegate
4074 public:
4075 overridden(int n): delegate(n) {}
4076 virtual int getval() override final { return this->n * 2; }
4079 class nocopy
4081 public:
4082 nocopy(int i): i(i) {}
4083 nocopy() = default;
4084 nocopy(const nocopy&) = delete;
4085 nocopy & operator=(const nocopy&) = delete;
4086 private:
4087 int i;
4090 // for testing lambda expressions
4091 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4093 return f(v);
4096 // for testing variadic templates and trailing return types
4097 template <typename V> auto sum(V first) -> V
4099 return first;
4101 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4103 return first + sum(rest...);
4108 # Test code for whether the C++ compiler supports C++11 (body of main)
4109 ac_cxx_conftest_cxx11_main='
4111 // Test auto and decltype
4112 auto a1 = 6538;
4113 auto a2 = 48573953.4;
4114 auto a3 = "String literal";
4116 int total = 0;
4117 for (auto i = a3; *i; ++i) { total += *i; }
4119 decltype(a2) a4 = 34895.034;
4122 // Test constexpr
4123 short sa[cxx11test::get_val()] = { 0 };
4126 // Test initializer lists
4127 cxx11test::testinit il = { 4323, 435234.23544 };
4130 // Test range-based for
4131 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4132 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4133 for (auto &x : array) { x += 23; }
4136 // Test lambda expressions
4137 using cxx11test::eval;
4138 assert (eval ([](int x) { return x*2; }, 21) == 42);
4139 double d = 2.0;
4140 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4141 assert (d == 5.0);
4142 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4143 assert (d == 5.0);
4146 // Test use of variadic templates
4147 using cxx11test::sum;
4148 auto a = sum(1);
4149 auto b = sum(1, 2);
4150 auto c = sum(1.0, 2.0, 3.0);
4153 // Test constructor delegation
4154 cxx11test::delegate d1;
4155 cxx11test::delegate d2();
4156 cxx11test::delegate d3(45);
4159 // Test override and final
4160 cxx11test::overridden o1(55464);
4163 // Test nullptr
4164 char *c = nullptr;
4167 // Test template brackets
4168 test_template<::test_template<int>> v(test_template<int>(12));
4171 // Unicode literals
4172 char const *utf8 = u8"UTF-8 string \u2500";
4173 char16_t const *utf16 = u"UTF-8 string \u2500";
4174 char32_t const *utf32 = U"UTF-32 string \u2500";
4178 # Test code for whether the C compiler supports C++11 (complete).
4179 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4180 ${ac_cxx_conftest_cxx11_globals}
4183 main (int argc, char **argv)
4185 int ok = 0;
4186 ${ac_cxx_conftest_cxx98_main}
4187 ${ac_cxx_conftest_cxx11_main}
4188 return ok;
4192 # Test code for whether the C compiler supports C++98 (complete).
4193 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4195 main (int argc, char **argv)
4197 int ok = 0;
4198 ${ac_cxx_conftest_cxx98_main}
4199 return ok;
4203 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4204 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4205 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4206 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4207 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4208 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4209 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4210 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4211 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4213 # Auxiliary files required by this configure script.
4214 ac_aux_files="config.guess config.sub"
4216 # Locations in which to look for auxiliary files.
4217 ac_aux_dir_candidates="${srcdir}/tools"
4219 # Search for a directory containing all of the required auxiliary files,
4220 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4221 # If we don't find one directory that contains all the files we need,
4222 # we report the set of missing files from the *first* directory in
4223 # $ac_aux_dir_candidates and give up.
4224 ac_missing_aux_files=""
4225 ac_first_candidate=:
4226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 as_found=false
4229 for as_dir in $ac_aux_dir_candidates
4231 IFS=$as_save_IFS
4232 case $as_dir in #(((
4233 '') as_dir=./ ;;
4234 */) ;;
4235 *) as_dir=$as_dir/ ;;
4236 esac
4237 as_found=:
4239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4240 ac_aux_dir_found=yes
4241 ac_install_sh=
4242 for ac_aux in $ac_aux_files
4244 # As a special case, if "install-sh" is required, that requirement
4245 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4246 # and $ac_install_sh is set appropriately for whichever one is found.
4247 if test x"$ac_aux" = x"install-sh"
4248 then
4249 if test -f "${as_dir}install-sh"; then
4250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4251 ac_install_sh="${as_dir}install-sh -c"
4252 elif test -f "${as_dir}install.sh"; then
4253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4254 ac_install_sh="${as_dir}install.sh -c"
4255 elif test -f "${as_dir}shtool"; then
4256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4257 ac_install_sh="${as_dir}shtool install -c"
4258 else
4259 ac_aux_dir_found=no
4260 if $ac_first_candidate; then
4261 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4262 else
4263 break
4266 else
4267 if test -f "${as_dir}${ac_aux}"; then
4268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4269 else
4270 ac_aux_dir_found=no
4271 if $ac_first_candidate; then
4272 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4273 else
4274 break
4278 done
4279 if test "$ac_aux_dir_found" = yes; then
4280 ac_aux_dir="$as_dir"
4281 break
4283 ac_first_candidate=false
4285 as_found=false
4286 done
4287 IFS=$as_save_IFS
4288 if $as_found
4289 then :
4291 else $as_nop
4292 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4296 # These three variables are undocumented and unsupported,
4297 # and are intended to be withdrawn in a future Autoconf release.
4298 # They can cause serious problems if a builder's source tree is in a directory
4299 # whose full name contains unusual characters.
4300 if test -f "${ac_aux_dir}config.guess"; then
4301 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4303 if test -f "${ac_aux_dir}config.sub"; then
4304 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4306 if test -f "$ac_aux_dir/configure"; then
4307 ac_configure="$SHELL ${ac_aux_dir}configure"
4310 # Check that the precious variables saved in the cache have kept the same
4311 # value.
4312 ac_cache_corrupted=false
4313 for ac_var in $ac_precious_vars; do
4314 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4315 eval ac_new_set=\$ac_env_${ac_var}_set
4316 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4317 eval ac_new_val=\$ac_env_${ac_var}_value
4318 case $ac_old_set,$ac_new_set in
4319 set,)
4320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4321 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4322 ac_cache_corrupted=: ;;
4323 ,set)
4324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4325 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4326 ac_cache_corrupted=: ;;
4327 ,);;
4329 if test "x$ac_old_val" != "x$ac_new_val"; then
4330 # differences in whitespace do not lead to failure.
4331 ac_old_val_w=`echo x $ac_old_val`
4332 ac_new_val_w=`echo x $ac_new_val`
4333 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4335 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4336 ac_cache_corrupted=:
4337 else
4338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4339 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4340 eval $ac_var=\$ac_old_val
4342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4343 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4345 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4346 fi;;
4347 esac
4348 # Pass precious variables to config.status.
4349 if test "$ac_new_set" = set; then
4350 case $ac_new_val in
4351 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4352 *) ac_arg=$ac_var=$ac_new_val ;;
4353 esac
4354 case " $ac_configure_args " in
4355 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4356 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4357 esac
4359 done
4360 if $ac_cache_corrupted; then
4361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4362 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4364 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4365 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4366 and start over" "$LINENO" 5
4368 ## -------------------- ##
4369 ## Main body of script. ##
4370 ## -------------------- ##
4372 ac_ext=c
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380 ac_config_headers="$ac_config_headers include/config.h"
4384 libwine_version="1.0"
4387 # Check whether --enable-win16 was given.
4388 if test ${enable_win16+y}
4389 then :
4390 enableval=$enable_win16;
4393 # Check whether --enable-win64 was given.
4394 if test ${enable_win64+y}
4395 then :
4396 enableval=$enable_win64;
4399 # Check whether --enable-tests was given.
4400 if test ${enable_tests+y}
4401 then :
4402 enableval=$enable_tests;
4405 # Check whether --enable-build-id was given.
4406 if test ${enable_build_id+y}
4407 then :
4408 enableval=$enable_build_id;
4411 # Check whether --enable-maintainer-mode was given.
4412 if test ${enable_maintainer_mode+y}
4413 then :
4414 enableval=$enable_maintainer_mode;
4417 # Check whether --enable-silent-rules was given.
4418 if test ${enable_silent_rules+y}
4419 then :
4420 enableval=$enable_silent_rules;
4423 # Check whether --enable-werror was given.
4424 if test ${enable_werror+y}
4425 then :
4426 enableval=$enable_werror;
4431 # Check whether --with-alsa was given.
4432 if test ${with_alsa+y}
4433 then :
4434 withval=$with_alsa;
4438 # Check whether --with-capi was given.
4439 if test ${with_capi+y}
4440 then :
4441 withval=$with_capi;
4445 # Check whether --with-coreaudio was given.
4446 if test ${with_coreaudio+y}
4447 then :
4448 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4452 # Check whether --with-cups was given.
4453 if test ${with_cups+y}
4454 then :
4455 withval=$with_cups;
4459 # Check whether --with-dbus was given.
4460 if test ${with_dbus+y}
4461 then :
4462 withval=$with_dbus;
4466 # Check whether --with-float-abi was given.
4467 if test ${with_float_abi+y}
4468 then :
4469 withval=$with_float_abi;
4473 # Check whether --with-fontconfig was given.
4474 if test ${with_fontconfig+y}
4475 then :
4476 withval=$with_fontconfig;
4480 # Check whether --with-freetype was given.
4481 if test ${with_freetype+y}
4482 then :
4483 withval=$with_freetype;
4487 # Check whether --with-gettext was given.
4488 if test ${with_gettext+y}
4489 then :
4490 withval=$with_gettext;
4494 # Check whether --with-gettextpo was given.
4495 if test ${with_gettextpo+y}
4496 then :
4497 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4501 # Check whether --with-gphoto was given.
4502 if test ${with_gphoto+y}
4503 then :
4504 withval=$with_gphoto;
4508 # Check whether --with-gnutls was given.
4509 if test ${with_gnutls+y}
4510 then :
4511 withval=$with_gnutls;
4515 # Check whether --with-gssapi was given.
4516 if test ${with_gssapi+y}
4517 then :
4518 withval=$with_gssapi;
4522 # Check whether --with-gstreamer was given.
4523 if test ${with_gstreamer+y}
4524 then :
4525 withval=$with_gstreamer;
4529 # Check whether --with-hal was given.
4530 if test ${with_hal+y}
4531 then :
4532 withval=$with_hal;
4536 # Check whether --with-inotify was given.
4537 if test ${with_inotify+y}
4538 then :
4539 withval=$with_inotify;
4543 # Check whether --with-krb5 was given.
4544 if test ${with_krb5+y}
4545 then :
4546 withval=$with_krb5;
4550 # Check whether --with-ldap was given.
4551 if test ${with_ldap+y}
4552 then :
4553 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4557 # Check whether --with-mingw was given.
4558 if test ${with_mingw+y}
4559 then :
4560 withval=$with_mingw;
4564 # Check whether --with-netapi was given.
4565 if test ${with_netapi+y}
4566 then :
4567 withval=$with_netapi;
4571 # Check whether --with-openal was given.
4572 if test ${with_openal+y}
4573 then :
4574 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4578 # Check whether --with-opencl was given.
4579 if test ${with_opencl+y}
4580 then :
4581 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4585 # Check whether --with-opengl was given.
4586 if test ${with_opengl+y}
4587 then :
4588 withval=$with_opengl;
4592 # Check whether --with-osmesa was given.
4593 if test ${with_osmesa+y}
4594 then :
4595 withval=$with_osmesa;
4599 # Check whether --with-oss was given.
4600 if test ${with_oss+y}
4601 then :
4602 withval=$with_oss;
4606 # Check whether --with-pcap was given.
4607 if test ${with_pcap+y}
4608 then :
4609 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4613 # Check whether --with-pthread was given.
4614 if test ${with_pthread+y}
4615 then :
4616 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4620 # Check whether --with-pulse was given.
4621 if test ${with_pulse+y}
4622 then :
4623 withval=$with_pulse;
4627 # Check whether --with-quicktime was given.
4628 if test ${with_quicktime+y}
4629 then :
4630 withval=$with_quicktime;
4634 # Check whether --with-sane was given.
4635 if test ${with_sane+y}
4636 then :
4637 withval=$with_sane;
4641 # Check whether --with-sdl was given.
4642 if test ${with_sdl+y}
4643 then :
4644 withval=$with_sdl;
4648 # Check whether --with-udev was given.
4649 if test ${with_udev+y}
4650 then :
4651 withval=$with_udev;
4655 # Check whether --with-unwind was given.
4656 if test ${with_unwind+y}
4657 then :
4658 withval=$with_unwind;
4662 # Check whether --with-usb was given.
4663 if test ${with_usb+y}
4664 then :
4665 withval=$with_usb;
4669 # Check whether --with-v4l2 was given.
4670 if test ${with_v4l2+y}
4671 then :
4672 withval=$with_v4l2;
4676 # Check whether --with-vkd3d was given.
4677 if test ${with_vkd3d+y}
4678 then :
4679 withval=$with_vkd3d;
4683 # Check whether --with-vulkan was given.
4684 if test ${with_vulkan+y}
4685 then :
4686 withval=$with_vulkan;
4690 # Check whether --with-xcomposite was given.
4691 if test ${with_xcomposite+y}
4692 then :
4693 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4697 # Check whether --with-xcursor was given.
4698 if test ${with_xcursor+y}
4699 then :
4700 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4704 # Check whether --with-xfixes was given.
4705 if test ${with_xfixes+y}
4706 then :
4707 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4711 # Check whether --with-xinerama was given.
4712 if test ${with_xinerama+y}
4713 then :
4714 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4718 # Check whether --with-xinput was given.
4719 if test ${with_xinput+y}
4720 then :
4721 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4725 # Check whether --with-xinput2 was given.
4726 if test ${with_xinput2+y}
4727 then :
4728 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4732 # Check whether --with-xrandr was given.
4733 if test ${with_xrandr+y}
4734 then :
4735 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4739 # Check whether --with-xrender was given.
4740 if test ${with_xrender+y}
4741 then :
4742 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4746 # Check whether --with-xshape was given.
4747 if test ${with_xshape+y}
4748 then :
4749 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4753 # Check whether --with-xshm was given.
4754 if test ${with_xshm+y}
4755 then :
4756 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4760 # Check whether --with-xxf86vm was given.
4761 if test ${with_xxf86vm+y}
4762 then :
4763 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
4768 # Check whether --with-wine-tools was given.
4769 if test ${with_wine_tools+y}
4770 then :
4771 withval=$with_wine_tools;
4775 # Check whether --with-wine64 was given.
4776 if test ${with_wine64+y}
4777 then :
4778 withval=$with_wine64;
4785 # Make sure we can run config.sub.
4786 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4787 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4790 printf %s "checking build system type... " >&6; }
4791 if test ${ac_cv_build+y}
4792 then :
4793 printf %s "(cached) " >&6
4794 else $as_nop
4795 ac_build_alias=$build_alias
4796 test "x$ac_build_alias" = x &&
4797 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4798 test "x$ac_build_alias" = x &&
4799 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4800 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4801 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4805 printf "%s\n" "$ac_cv_build" >&6; }
4806 case $ac_cv_build in
4807 *-*-*) ;;
4808 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4809 esac
4810 build=$ac_cv_build
4811 ac_save_IFS=$IFS; IFS='-'
4812 set x $ac_cv_build
4813 shift
4814 build_cpu=$1
4815 build_vendor=$2
4816 shift; shift
4817 # Remember, the first character of IFS is used to create $*,
4818 # except with old shells:
4819 build_os=$*
4820 IFS=$ac_save_IFS
4821 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4825 printf %s "checking host system type... " >&6; }
4826 if test ${ac_cv_host+y}
4827 then :
4828 printf %s "(cached) " >&6
4829 else $as_nop
4830 if test "x$host_alias" = x; then
4831 ac_cv_host=$ac_cv_build
4832 else
4833 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4834 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4839 printf "%s\n" "$ac_cv_host" >&6; }
4840 case $ac_cv_host in
4841 *-*-*) ;;
4842 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4843 esac
4844 host=$ac_cv_host
4845 ac_save_IFS=$IFS; IFS='-'
4846 set x $ac_cv_host
4847 shift
4848 host_cpu=$1
4849 host_vendor=$2
4850 shift; shift
4851 # Remember, the first character of IFS is used to create $*,
4852 # except with old shells:
4853 host_os=$*
4854 IFS=$ac_save_IFS
4855 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4859 dlldir=\${libdir}/wine
4861 fontdir=\${datadir}/wine/fonts
4863 nlsdir=\${datadir}/wine/nls
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4869 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4870 set x ${MAKE-make}
4871 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4872 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4873 then :
4874 printf %s "(cached) " >&6
4875 else $as_nop
4876 cat >conftest.make <<\_ACEOF
4877 SHELL = /bin/sh
4878 all:
4879 @echo '@@@%%%=$(MAKE)=@@@%%%'
4880 _ACEOF
4881 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4882 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4883 *@@@%%%=?*=@@@%%%*)
4884 eval ac_cv_prog_make_${ac_make}_set=yes;;
4886 eval ac_cv_prog_make_${ac_make}_set=no;;
4887 esac
4888 rm -f conftest.make
4890 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4892 printf "%s\n" "yes" >&6; }
4893 SET_MAKE=
4894 else
4895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 printf "%s\n" "no" >&6; }
4897 SET_MAKE="MAKE=${MAKE-make}"
4909 ac_ext=c
4910 ac_cpp='$CPP $CPPFLAGS'
4911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4914 if test -n "$ac_tool_prefix"; then
4915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4916 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 printf %s "checking for $ac_word... " >&6; }
4919 if test ${ac_cv_prog_CC+y}
4920 then :
4921 printf %s "(cached) " >&6
4922 else $as_nop
4923 if test -n "$CC"; then
4924 ac_cv_prog_CC="$CC" # Let the user override the test.
4925 else
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH
4929 IFS=$as_save_IFS
4930 case $as_dir in #(((
4931 '') as_dir=./ ;;
4932 */) ;;
4933 *) as_dir=$as_dir/ ;;
4934 esac
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 CC=$ac_cv_prog_CC
4948 if test -n "$CC"; then
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4950 printf "%s\n" "$CC" >&6; }
4951 else
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 printf "%s\n" "no" >&6; }
4958 if test -z "$ac_cv_prog_CC"; then
4959 ac_ct_CC=$CC
4960 # Extract the first word of "gcc", so it can be a program name with args.
4961 set dummy gcc; ac_word=$2
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 printf %s "checking for $ac_word... " >&6; }
4964 if test ${ac_cv_prog_ac_ct_CC+y}
4965 then :
4966 printf %s "(cached) " >&6
4967 else $as_nop
4968 if test -n "$ac_ct_CC"; then
4969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4970 else
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH
4974 IFS=$as_save_IFS
4975 case $as_dir in #(((
4976 '') as_dir=./ ;;
4977 */) ;;
4978 *) as_dir=$as_dir/ ;;
4979 esac
4980 for ac_exec_ext in '' $ac_executable_extensions; do
4981 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4982 ac_cv_prog_ac_ct_CC="gcc"
4983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4984 break 2
4986 done
4987 done
4988 IFS=$as_save_IFS
4992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4993 if test -n "$ac_ct_CC"; then
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4995 printf "%s\n" "$ac_ct_CC" >&6; }
4996 else
4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 printf "%s\n" "no" >&6; }
5001 if test "x$ac_ct_CC" = x; then
5002 CC=""
5003 else
5004 case $cross_compiling:$ac_tool_warned in
5005 yes:)
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5007 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5008 ac_tool_warned=yes ;;
5009 esac
5010 CC=$ac_ct_CC
5012 else
5013 CC="$ac_cv_prog_CC"
5016 if test -z "$CC"; then
5017 if test -n "$ac_tool_prefix"; then
5018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5019 set dummy ${ac_tool_prefix}cc; ac_word=$2
5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 printf %s "checking for $ac_word... " >&6; }
5022 if test ${ac_cv_prog_CC+y}
5023 then :
5024 printf %s "(cached) " >&6
5025 else $as_nop
5026 if test -n "$CC"; then
5027 ac_cv_prog_CC="$CC" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 case $as_dir in #(((
5034 '') as_dir=./ ;;
5035 */) ;;
5036 *) as_dir=$as_dir/ ;;
5037 esac
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_CC="${ac_tool_prefix}cc"
5041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5042 break 2
5044 done
5045 done
5046 IFS=$as_save_IFS
5050 CC=$ac_cv_prog_CC
5051 if test -n "$CC"; then
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5053 printf "%s\n" "$CC" >&6; }
5054 else
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 printf "%s\n" "no" >&6; }
5062 if test -z "$CC"; then
5063 # Extract the first word of "cc", so it can be a program name with args.
5064 set dummy cc; ac_word=$2
5065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 printf %s "checking for $ac_word... " >&6; }
5067 if test ${ac_cv_prog_CC+y}
5068 then :
5069 printf %s "(cached) " >&6
5070 else $as_nop
5071 if test -n "$CC"; then
5072 ac_cv_prog_CC="$CC" # Let the user override the test.
5073 else
5074 ac_prog_rejected=no
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 case $as_dir in #(((
5080 '') as_dir=./ ;;
5081 */) ;;
5082 *) as_dir=$as_dir/ ;;
5083 esac
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5086 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5087 ac_prog_rejected=yes
5088 continue
5090 ac_cv_prog_CC="cc"
5091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5092 break 2
5094 done
5095 done
5096 IFS=$as_save_IFS
5098 if test $ac_prog_rejected = yes; then
5099 # We found a bogon in the path, so make sure we never use it.
5100 set dummy $ac_cv_prog_CC
5101 shift
5102 if test $# != 0; then
5103 # We chose a different compiler from the bogus one.
5104 # However, it has the same basename, so the bogon will be chosen
5105 # first if we set CC to just the basename; use the full file name.
5106 shift
5107 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5112 CC=$ac_cv_prog_CC
5113 if test -n "$CC"; then
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5115 printf "%s\n" "$CC" >&6; }
5116 else
5117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 printf "%s\n" "no" >&6; }
5123 if test -z "$CC"; then
5124 if test -n "$ac_tool_prefix"; then
5125 for ac_prog in cl.exe
5127 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5128 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 printf %s "checking for $ac_word... " >&6; }
5131 if test ${ac_cv_prog_CC+y}
5132 then :
5133 printf %s "(cached) " >&6
5134 else $as_nop
5135 if test -n "$CC"; then
5136 ac_cv_prog_CC="$CC" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 case $as_dir in #(((
5143 '') as_dir=./ ;;
5144 */) ;;
5145 *) as_dir=$as_dir/ ;;
5146 esac
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 CC=$ac_cv_prog_CC
5160 if test -n "$CC"; then
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5162 printf "%s\n" "$CC" >&6; }
5163 else
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 printf "%s\n" "no" >&6; }
5169 test -n "$CC" && break
5170 done
5172 if test -z "$CC"; then
5173 ac_ct_CC=$CC
5174 for ac_prog in cl.exe
5176 # Extract the first word of "$ac_prog", so it can be a program name with args.
5177 set dummy $ac_prog; ac_word=$2
5178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 printf %s "checking for $ac_word... " >&6; }
5180 if test ${ac_cv_prog_ac_ct_CC+y}
5181 then :
5182 printf %s "(cached) " >&6
5183 else $as_nop
5184 if test -n "$ac_ct_CC"; then
5185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5186 else
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5190 IFS=$as_save_IFS
5191 case $as_dir in #(((
5192 '') as_dir=./ ;;
5193 */) ;;
5194 *) as_dir=$as_dir/ ;;
5195 esac
5196 for ac_exec_ext in '' $ac_executable_extensions; do
5197 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_ac_ct_CC="$ac_prog"
5199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5200 break 2
5202 done
5203 done
5204 IFS=$as_save_IFS
5208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5209 if test -n "$ac_ct_CC"; then
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5211 printf "%s\n" "$ac_ct_CC" >&6; }
5212 else
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 printf "%s\n" "no" >&6; }
5218 test -n "$ac_ct_CC" && break
5219 done
5221 if test "x$ac_ct_CC" = x; then
5222 CC=""
5223 else
5224 case $cross_compiling:$ac_tool_warned in
5225 yes:)
5226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5227 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5228 ac_tool_warned=yes ;;
5229 esac
5230 CC=$ac_ct_CC
5235 if test -z "$CC"; then
5236 if test -n "$ac_tool_prefix"; then
5237 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5238 set dummy ${ac_tool_prefix}clang; ac_word=$2
5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 printf %s "checking for $ac_word... " >&6; }
5241 if test ${ac_cv_prog_CC+y}
5242 then :
5243 printf %s "(cached) " >&6
5244 else $as_nop
5245 if test -n "$CC"; then
5246 ac_cv_prog_CC="$CC" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 case $as_dir in #(((
5253 '') as_dir=./ ;;
5254 */) ;;
5255 *) as_dir=$as_dir/ ;;
5256 esac
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_CC="${ac_tool_prefix}clang"
5260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 CC=$ac_cv_prog_CC
5270 if test -n "$CC"; then
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5272 printf "%s\n" "$CC" >&6; }
5273 else
5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 printf "%s\n" "no" >&6; }
5280 if test -z "$ac_cv_prog_CC"; then
5281 ac_ct_CC=$CC
5282 # Extract the first word of "clang", so it can be a program name with args.
5283 set dummy clang; ac_word=$2
5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 printf %s "checking for $ac_word... " >&6; }
5286 if test ${ac_cv_prog_ac_ct_CC+y}
5287 then :
5288 printf %s "(cached) " >&6
5289 else $as_nop
5290 if test -n "$ac_ct_CC"; then
5291 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5292 else
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH
5296 IFS=$as_save_IFS
5297 case $as_dir in #(((
5298 '') as_dir=./ ;;
5299 */) ;;
5300 *) as_dir=$as_dir/ ;;
5301 esac
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_CC="clang"
5305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5315 if test -n "$ac_ct_CC"; then
5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5317 printf "%s\n" "$ac_ct_CC" >&6; }
5318 else
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 printf "%s\n" "no" >&6; }
5323 if test "x$ac_ct_CC" = x; then
5324 CC=""
5325 else
5326 case $cross_compiling:$ac_tool_warned in
5327 yes:)
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5329 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5330 ac_tool_warned=yes ;;
5331 esac
5332 CC=$ac_ct_CC
5334 else
5335 CC="$ac_cv_prog_CC"
5341 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5342 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5343 as_fn_error $? "no acceptable C compiler found in \$PATH
5344 See \`config.log' for more details" "$LINENO" 5; }
5346 # Provide some information about the compiler.
5347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5348 set X $ac_compile
5349 ac_compiler=$2
5350 for ac_option in --version -v -V -qversion -version; do
5351 { { ac_try="$ac_compiler $ac_option >&5"
5352 case "(($ac_try" in
5353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5354 *) ac_try_echo=$ac_try;;
5355 esac
5356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5357 printf "%s\n" "$ac_try_echo"; } >&5
5358 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5359 ac_status=$?
5360 if test -s conftest.err; then
5361 sed '10a\
5362 ... rest of stderr output deleted ...
5363 10q' conftest.err >conftest.er1
5364 cat conftest.er1 >&5
5366 rm -f conftest.er1 conftest.err
5367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5368 test $ac_status = 0; }
5369 done
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5375 main (void)
5379 return 0;
5381 _ACEOF
5382 ac_clean_files_save=$ac_clean_files
5383 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5384 # Try to create an executable without -o first, disregard a.out.
5385 # It will help us diagnose broken compilers, and finding out an intuition
5386 # of exeext.
5387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5388 printf %s "checking whether the C compiler works... " >&6; }
5389 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5391 # The possible output files:
5392 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5394 ac_rmfiles=
5395 for ac_file in $ac_files
5397 case $ac_file in
5398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5399 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5400 esac
5401 done
5402 rm -f $ac_rmfiles
5404 if { { ac_try="$ac_link_default"
5405 case "(($ac_try" in
5406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407 *) ac_try_echo=$ac_try;;
5408 esac
5409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5410 printf "%s\n" "$ac_try_echo"; } >&5
5411 (eval "$ac_link_default") 2>&5
5412 ac_status=$?
5413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5414 test $ac_status = 0; }
5415 then :
5416 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5417 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5418 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5419 # so that the user can short-circuit this test for compilers unknown to
5420 # Autoconf.
5421 for ac_file in $ac_files ''
5423 test -f "$ac_file" || continue
5424 case $ac_file in
5425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5427 [ab].out )
5428 # We found the default executable, but exeext='' is most
5429 # certainly right.
5430 break;;
5431 *.* )
5432 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5433 then :; else
5434 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5436 # We set ac_cv_exeext here because the later test for it is not
5437 # safe: cross compilers may not add the suffix if given an `-o'
5438 # argument, so we may need to know it at that point already.
5439 # Even if this section looks crufty: it has the advantage of
5440 # actually working.
5441 break;;
5443 break;;
5444 esac
5445 done
5446 test "$ac_cv_exeext" = no && ac_cv_exeext=
5448 else $as_nop
5449 ac_file=''
5451 if test -z "$ac_file"
5452 then :
5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 printf "%s\n" "no" >&6; }
5455 printf "%s\n" "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.$ac_ext >&5
5458 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5459 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5460 as_fn_error 77 "C compiler cannot create executables
5461 See \`config.log' for more details" "$LINENO" 5; }
5462 else $as_nop
5463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5464 printf "%s\n" "yes" >&6; }
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5467 printf %s "checking for C compiler default output file name... " >&6; }
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5469 printf "%s\n" "$ac_file" >&6; }
5470 ac_exeext=$ac_cv_exeext
5472 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5473 ac_clean_files=$ac_clean_files_save
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5475 printf %s "checking for suffix of executables... " >&6; }
5476 if { { ac_try="$ac_link"
5477 case "(($ac_try" in
5478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5479 *) ac_try_echo=$ac_try;;
5480 esac
5481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5482 printf "%s\n" "$ac_try_echo"; } >&5
5483 (eval "$ac_link") 2>&5
5484 ac_status=$?
5485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5486 test $ac_status = 0; }
5487 then :
5488 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5489 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5490 # work properly (i.e., refer to `conftest.exe'), while it won't with
5491 # `rm'.
5492 for ac_file in conftest.exe conftest conftest.*; do
5493 test -f "$ac_file" || continue
5494 case $ac_file in
5495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5496 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5497 break;;
5498 * ) break;;
5499 esac
5500 done
5501 else $as_nop
5502 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5503 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5504 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5505 See \`config.log' for more details" "$LINENO" 5; }
5507 rm -f conftest conftest$ac_cv_exeext
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5509 printf "%s\n" "$ac_cv_exeext" >&6; }
5511 rm -f conftest.$ac_ext
5512 EXEEXT=$ac_cv_exeext
5513 ac_exeext=$EXEEXT
5514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5516 #include <stdio.h>
5518 main (void)
5520 FILE *f = fopen ("conftest.out", "w");
5521 return ferror (f) || fclose (f) != 0;
5524 return 0;
5526 _ACEOF
5527 ac_clean_files="$ac_clean_files conftest.out"
5528 # Check that the compiler produces executables we can run. If not, either
5529 # the compiler is broken, or we cross compile.
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5531 printf %s "checking whether we are cross compiling... " >&6; }
5532 if test "$cross_compiling" != yes; then
5533 { { ac_try="$ac_link"
5534 case "(($ac_try" in
5535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5536 *) ac_try_echo=$ac_try;;
5537 esac
5538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5539 printf "%s\n" "$ac_try_echo"; } >&5
5540 (eval "$ac_link") 2>&5
5541 ac_status=$?
5542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5543 test $ac_status = 0; }
5544 if { ac_try='./conftest$ac_cv_exeext'
5545 { { case "(($ac_try" in
5546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547 *) ac_try_echo=$ac_try;;
5548 esac
5549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5550 printf "%s\n" "$ac_try_echo"; } >&5
5551 (eval "$ac_try") 2>&5
5552 ac_status=$?
5553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5554 test $ac_status = 0; }; }; then
5555 cross_compiling=no
5556 else
5557 if test "$cross_compiling" = maybe; then
5558 cross_compiling=yes
5559 else
5560 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5561 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5562 as_fn_error 77 "cannot run C compiled programs.
5563 If you meant to cross compile, use \`--host'.
5564 See \`config.log' for more details" "$LINENO" 5; }
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5569 printf "%s\n" "$cross_compiling" >&6; }
5571 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5572 ac_clean_files=$ac_clean_files_save
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5574 printf %s "checking for suffix of object files... " >&6; }
5575 if test ${ac_cv_objext+y}
5576 then :
5577 printf %s "(cached) " >&6
5578 else $as_nop
5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5583 main (void)
5587 return 0;
5589 _ACEOF
5590 rm -f conftest.o conftest.obj
5591 if { { ac_try="$ac_compile"
5592 case "(($ac_try" in
5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5595 esac
5596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5597 printf "%s\n" "$ac_try_echo"; } >&5
5598 (eval "$ac_compile") 2>&5
5599 ac_status=$?
5600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5601 test $ac_status = 0; }
5602 then :
5603 for ac_file in conftest.o conftest.obj conftest.*; do
5604 test -f "$ac_file" || continue;
5605 case $ac_file in
5606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5608 break;;
5609 esac
5610 done
5611 else $as_nop
5612 printf "%s\n" "$as_me: failed program was:" >&5
5613 sed 's/^/| /' conftest.$ac_ext >&5
5615 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5616 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5617 as_fn_error $? "cannot compute suffix of object files: cannot compile
5618 See \`config.log' for more details" "$LINENO" 5; }
5620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5623 printf "%s\n" "$ac_cv_objext" >&6; }
5624 OBJEXT=$ac_cv_objext
5625 ac_objext=$OBJEXT
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5627 printf %s "checking whether the compiler supports GNU C... " >&6; }
5628 if test ${ac_cv_c_compiler_gnu+y}
5629 then :
5630 printf %s "(cached) " >&6
5631 else $as_nop
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5636 main (void)
5638 #ifndef __GNUC__
5639 choke me
5640 #endif
5643 return 0;
5645 _ACEOF
5646 if ac_fn_c_try_compile "$LINENO"
5647 then :
5648 ac_compiler_gnu=yes
5649 else $as_nop
5650 ac_compiler_gnu=no
5652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5657 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5660 if test $ac_compiler_gnu = yes; then
5661 GCC=yes
5662 else
5663 GCC=
5665 ac_test_CFLAGS=${CFLAGS+y}
5666 ac_save_CFLAGS=$CFLAGS
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5668 printf %s "checking whether $CC accepts -g... " >&6; }
5669 if test ${ac_cv_prog_cc_g+y}
5670 then :
5671 printf %s "(cached) " >&6
5672 else $as_nop
5673 ac_save_c_werror_flag=$ac_c_werror_flag
5674 ac_c_werror_flag=yes
5675 ac_cv_prog_cc_g=no
5676 CFLAGS="-g"
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5681 main (void)
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_compile "$LINENO"
5689 then :
5690 ac_cv_prog_cc_g=yes
5691 else $as_nop
5692 CFLAGS=""
5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5697 main (void)
5701 return 0;
5703 _ACEOF
5704 if ac_fn_c_try_compile "$LINENO"
5705 then :
5707 else $as_nop
5708 ac_c_werror_flag=$ac_save_c_werror_flag
5709 CFLAGS="-g"
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5714 main (void)
5718 return 0;
5720 _ACEOF
5721 if ac_fn_c_try_compile "$LINENO"
5722 then :
5723 ac_cv_prog_cc_g=yes
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
5729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5730 ac_c_werror_flag=$ac_save_c_werror_flag
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5733 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5734 if test $ac_test_CFLAGS; then
5735 CFLAGS=$ac_save_CFLAGS
5736 elif test $ac_cv_prog_cc_g = yes; then
5737 if test "$GCC" = yes; then
5738 CFLAGS="-g -O2"
5739 else
5740 CFLAGS="-g"
5742 else
5743 if test "$GCC" = yes; then
5744 CFLAGS="-O2"
5745 else
5746 CFLAGS=
5749 ac_prog_cc_stdc=no
5750 if test x$ac_prog_cc_stdc = xno
5751 then :
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5753 printf %s "checking for $CC option to enable C11 features... " >&6; }
5754 if test ${ac_cv_prog_cc_c11+y}
5755 then :
5756 printf %s "(cached) " >&6
5757 else $as_nop
5758 ac_cv_prog_cc_c11=no
5759 ac_save_CC=$CC
5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5762 $ac_c_conftest_c11_program
5763 _ACEOF
5764 for ac_arg in '' -std=gnu11
5766 CC="$ac_save_CC $ac_arg"
5767 if ac_fn_c_try_compile "$LINENO"
5768 then :
5769 ac_cv_prog_cc_c11=$ac_arg
5771 rm -f core conftest.err conftest.$ac_objext conftest.beam
5772 test "x$ac_cv_prog_cc_c11" != "xno" && break
5773 done
5774 rm -f conftest.$ac_ext
5775 CC=$ac_save_CC
5778 if test "x$ac_cv_prog_cc_c11" = xno
5779 then :
5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5781 printf "%s\n" "unsupported" >&6; }
5782 else $as_nop
5783 if test "x$ac_cv_prog_cc_c11" = x
5784 then :
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5786 printf "%s\n" "none needed" >&6; }
5787 else $as_nop
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5789 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5790 CC="$CC $ac_cv_prog_cc_c11"
5792 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5793 ac_prog_cc_stdc=c11
5796 if test x$ac_prog_cc_stdc = xno
5797 then :
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5799 printf %s "checking for $CC option to enable C99 features... " >&6; }
5800 if test ${ac_cv_prog_cc_c99+y}
5801 then :
5802 printf %s "(cached) " >&6
5803 else $as_nop
5804 ac_cv_prog_cc_c99=no
5805 ac_save_CC=$CC
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5808 $ac_c_conftest_c99_program
5809 _ACEOF
5810 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5812 CC="$ac_save_CC $ac_arg"
5813 if ac_fn_c_try_compile "$LINENO"
5814 then :
5815 ac_cv_prog_cc_c99=$ac_arg
5817 rm -f core conftest.err conftest.$ac_objext conftest.beam
5818 test "x$ac_cv_prog_cc_c99" != "xno" && break
5819 done
5820 rm -f conftest.$ac_ext
5821 CC=$ac_save_CC
5824 if test "x$ac_cv_prog_cc_c99" = xno
5825 then :
5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5827 printf "%s\n" "unsupported" >&6; }
5828 else $as_nop
5829 if test "x$ac_cv_prog_cc_c99" = x
5830 then :
5831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5832 printf "%s\n" "none needed" >&6; }
5833 else $as_nop
5834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5835 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5836 CC="$CC $ac_cv_prog_cc_c99"
5838 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5839 ac_prog_cc_stdc=c99
5842 if test x$ac_prog_cc_stdc = xno
5843 then :
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5845 printf %s "checking for $CC option to enable C89 features... " >&6; }
5846 if test ${ac_cv_prog_cc_c89+y}
5847 then :
5848 printf %s "(cached) " >&6
5849 else $as_nop
5850 ac_cv_prog_cc_c89=no
5851 ac_save_CC=$CC
5852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5854 $ac_c_conftest_c89_program
5855 _ACEOF
5856 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5858 CC="$ac_save_CC $ac_arg"
5859 if ac_fn_c_try_compile "$LINENO"
5860 then :
5861 ac_cv_prog_cc_c89=$ac_arg
5863 rm -f core conftest.err conftest.$ac_objext conftest.beam
5864 test "x$ac_cv_prog_cc_c89" != "xno" && break
5865 done
5866 rm -f conftest.$ac_ext
5867 CC=$ac_save_CC
5870 if test "x$ac_cv_prog_cc_c89" = xno
5871 then :
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5873 printf "%s\n" "unsupported" >&6; }
5874 else $as_nop
5875 if test "x$ac_cv_prog_cc_c89" = x
5876 then :
5877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5878 printf "%s\n" "none needed" >&6; }
5879 else $as_nop
5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5881 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5882 CC="$CC $ac_cv_prog_cc_c89"
5884 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5885 ac_prog_cc_stdc=c89
5889 ac_ext=c
5890 ac_cpp='$CPP $CPPFLAGS'
5891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5901 ac_ext=cpp
5902 ac_cpp='$CXXCPP $CPPFLAGS'
5903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5906 if test -z "$CXX"; then
5907 if test -n "$CCC"; then
5908 CXX=$CCC
5909 else
5910 if test -n "$ac_tool_prefix"; then
5911 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 printf %s "checking for $ac_word... " >&6; }
5917 if test ${ac_cv_prog_CXX+y}
5918 then :
5919 printf %s "(cached) " >&6
5920 else $as_nop
5921 if test -n "$CXX"; then
5922 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 case $as_dir in #(((
5929 '') as_dir=./ ;;
5930 */) ;;
5931 *) as_dir=$as_dir/ ;;
5932 esac
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5935 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5937 break 2
5939 done
5940 done
5941 IFS=$as_save_IFS
5945 CXX=$ac_cv_prog_CXX
5946 if test -n "$CXX"; then
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5948 printf "%s\n" "$CXX" >&6; }
5949 else
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 printf "%s\n" "no" >&6; }
5955 test -n "$CXX" && break
5956 done
5958 if test -z "$CXX"; then
5959 ac_ct_CXX=$CXX
5960 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5962 # Extract the first word of "$ac_prog", so it can be a program name with args.
5963 set dummy $ac_prog; ac_word=$2
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 printf %s "checking for $ac_word... " >&6; }
5966 if test ${ac_cv_prog_ac_ct_CXX+y}
5967 then :
5968 printf %s "(cached) " >&6
5969 else $as_nop
5970 if test -n "$ac_ct_CXX"; then
5971 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 case $as_dir in #(((
5978 '') as_dir=./ ;;
5979 */) ;;
5980 *) as_dir=$as_dir/ ;;
5981 esac
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_ac_ct_CXX="$ac_prog"
5985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5995 if test -n "$ac_ct_CXX"; then
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5997 printf "%s\n" "$ac_ct_CXX" >&6; }
5998 else
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 printf "%s\n" "no" >&6; }
6004 test -n "$ac_ct_CXX" && break
6005 done
6007 if test "x$ac_ct_CXX" = x; then
6008 CXX="g++"
6009 else
6010 case $cross_compiling:$ac_tool_warned in
6011 yes:)
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6014 ac_tool_warned=yes ;;
6015 esac
6016 CXX=$ac_ct_CXX
6022 # Provide some information about the compiler.
6023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6024 set X $ac_compile
6025 ac_compiler=$2
6026 for ac_option in --version -v -V -qversion; do
6027 { { ac_try="$ac_compiler $ac_option >&5"
6028 case "(($ac_try" in
6029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6030 *) ac_try_echo=$ac_try;;
6031 esac
6032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6033 printf "%s\n" "$ac_try_echo"; } >&5
6034 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6035 ac_status=$?
6036 if test -s conftest.err; then
6037 sed '10a\
6038 ... rest of stderr output deleted ...
6039 10q' conftest.err >conftest.er1
6040 cat conftest.er1 >&5
6042 rm -f conftest.er1 conftest.err
6043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6044 test $ac_status = 0; }
6045 done
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6048 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6049 if test ${ac_cv_cxx_compiler_gnu+y}
6050 then :
6051 printf %s "(cached) " >&6
6052 else $as_nop
6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6057 main (void)
6059 #ifndef __GNUC__
6060 choke me
6061 #endif
6064 return 0;
6066 _ACEOF
6067 if ac_fn_cxx_try_compile "$LINENO"
6068 then :
6069 ac_compiler_gnu=yes
6070 else $as_nop
6071 ac_compiler_gnu=no
6073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6074 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6078 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6081 if test $ac_compiler_gnu = yes; then
6082 GXX=yes
6083 else
6084 GXX=
6086 ac_test_CXXFLAGS=${CXXFLAGS+y}
6087 ac_save_CXXFLAGS=$CXXFLAGS
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6089 printf %s "checking whether $CXX accepts -g... " >&6; }
6090 if test ${ac_cv_prog_cxx_g+y}
6091 then :
6092 printf %s "(cached) " >&6
6093 else $as_nop
6094 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6095 ac_cxx_werror_flag=yes
6096 ac_cv_prog_cxx_g=no
6097 CXXFLAGS="-g"
6098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6099 /* end confdefs.h. */
6102 main (void)
6106 return 0;
6108 _ACEOF
6109 if ac_fn_cxx_try_compile "$LINENO"
6110 then :
6111 ac_cv_prog_cxx_g=yes
6112 else $as_nop
6113 CXXFLAGS=""
6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6118 main (void)
6122 return 0;
6124 _ACEOF
6125 if ac_fn_cxx_try_compile "$LINENO"
6126 then :
6128 else $as_nop
6129 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6130 CXXFLAGS="-g"
6131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 /* end confdefs.h. */
6135 main (void)
6139 return 0;
6141 _ACEOF
6142 if ac_fn_cxx_try_compile "$LINENO"
6143 then :
6144 ac_cv_prog_cxx_g=yes
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
6150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6151 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6154 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6155 if test $ac_test_CXXFLAGS; then
6156 CXXFLAGS=$ac_save_CXXFLAGS
6157 elif test $ac_cv_prog_cxx_g = yes; then
6158 if test "$GXX" = yes; then
6159 CXXFLAGS="-g -O2"
6160 else
6161 CXXFLAGS="-g"
6163 else
6164 if test "$GXX" = yes; then
6165 CXXFLAGS="-O2"
6166 else
6167 CXXFLAGS=
6170 ac_prog_cxx_stdcxx=no
6171 if test x$ac_prog_cxx_stdcxx = xno
6172 then :
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6174 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6175 if test ${ac_cv_prog_cxx_11+y}
6176 then :
6177 printf %s "(cached) " >&6
6178 else $as_nop
6179 ac_cv_prog_cxx_11=no
6180 ac_save_CXX=$CXX
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6183 $ac_cxx_conftest_cxx11_program
6184 _ACEOF
6185 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6187 CXX="$ac_save_CXX $ac_arg"
6188 if ac_fn_cxx_try_compile "$LINENO"
6189 then :
6190 ac_cv_prog_cxx_cxx11=$ac_arg
6192 rm -f core conftest.err conftest.$ac_objext conftest.beam
6193 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6194 done
6195 rm -f conftest.$ac_ext
6196 CXX=$ac_save_CXX
6199 if test "x$ac_cv_prog_cxx_cxx11" = xno
6200 then :
6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6202 printf "%s\n" "unsupported" >&6; }
6203 else $as_nop
6204 if test "x$ac_cv_prog_cxx_cxx11" = x
6205 then :
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6207 printf "%s\n" "none needed" >&6; }
6208 else $as_nop
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6210 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6211 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6213 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6214 ac_prog_cxx_stdcxx=cxx11
6217 if test x$ac_prog_cxx_stdcxx = xno
6218 then :
6219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6220 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6221 if test ${ac_cv_prog_cxx_98+y}
6222 then :
6223 printf %s "(cached) " >&6
6224 else $as_nop
6225 ac_cv_prog_cxx_98=no
6226 ac_save_CXX=$CXX
6227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6229 $ac_cxx_conftest_cxx98_program
6230 _ACEOF
6231 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6233 CXX="$ac_save_CXX $ac_arg"
6234 if ac_fn_cxx_try_compile "$LINENO"
6235 then :
6236 ac_cv_prog_cxx_cxx98=$ac_arg
6238 rm -f core conftest.err conftest.$ac_objext conftest.beam
6239 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6240 done
6241 rm -f conftest.$ac_ext
6242 CXX=$ac_save_CXX
6245 if test "x$ac_cv_prog_cxx_cxx98" = xno
6246 then :
6247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6248 printf "%s\n" "unsupported" >&6; }
6249 else $as_nop
6250 if test "x$ac_cv_prog_cxx_cxx98" = x
6251 then :
6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6253 printf "%s\n" "none needed" >&6; }
6254 else $as_nop
6255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6256 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6257 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6259 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6260 ac_prog_cxx_stdcxx=cxx98
6264 ac_ext=c
6265 ac_cpp='$CPP $CPPFLAGS'
6266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6270 if test -n "$ac_tool_prefix"; then
6271 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6272 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274 printf %s "checking for $ac_word... " >&6; }
6275 if test ${ac_cv_prog_CPPBIN+y}
6276 then :
6277 printf %s "(cached) " >&6
6278 else $as_nop
6279 if test -n "$CPPBIN"; then
6280 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6281 else
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in $PATH
6285 IFS=$as_save_IFS
6286 case $as_dir in #(((
6287 '') as_dir=./ ;;
6288 */) ;;
6289 *) as_dir=$as_dir/ ;;
6290 esac
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6293 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6295 break 2
6297 done
6298 done
6299 IFS=$as_save_IFS
6303 CPPBIN=$ac_cv_prog_CPPBIN
6304 if test -n "$CPPBIN"; then
6305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6306 printf "%s\n" "$CPPBIN" >&6; }
6307 else
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309 printf "%s\n" "no" >&6; }
6314 if test -z "$ac_cv_prog_CPPBIN"; then
6315 ac_ct_CPPBIN=$CPPBIN
6316 # Extract the first word of "cpp", so it can be a program name with args.
6317 set dummy cpp; ac_word=$2
6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319 printf %s "checking for $ac_word... " >&6; }
6320 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6321 then :
6322 printf %s "(cached) " >&6
6323 else $as_nop
6324 if test -n "$ac_ct_CPPBIN"; then
6325 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6326 else
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $PATH
6330 IFS=$as_save_IFS
6331 case $as_dir in #(((
6332 '') as_dir=./ ;;
6333 */) ;;
6334 *) as_dir=$as_dir/ ;;
6335 esac
6336 for ac_exec_ext in '' $ac_executable_extensions; do
6337 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6338 ac_cv_prog_ac_ct_CPPBIN="cpp"
6339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6340 break 2
6342 done
6343 done
6344 IFS=$as_save_IFS
6348 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6349 if test -n "$ac_ct_CPPBIN"; then
6350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6351 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6352 else
6353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 printf "%s\n" "no" >&6; }
6357 if test "x$ac_ct_CPPBIN" = x; then
6358 CPPBIN="cpp"
6359 else
6360 case $cross_compiling:$ac_tool_warned in
6361 yes:)
6362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6363 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6364 ac_tool_warned=yes ;;
6365 esac
6366 CPPBIN=$ac_ct_CPPBIN
6368 else
6369 CPPBIN="$ac_cv_prog_CPPBIN"
6373 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6375 if test -n "$ac_tool_prefix"; then
6376 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}ld; ac_word=$2
6378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 printf %s "checking for $ac_word... " >&6; }
6380 if test ${ac_cv_prog_LD+y}
6381 then :
6382 printf %s "(cached) " >&6
6383 else $as_nop
6384 if test -n "$LD"; then
6385 ac_cv_prog_LD="$LD" # Let the user override the test.
6386 else
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 for as_dir in $PATH
6390 IFS=$as_save_IFS
6391 case $as_dir in #(((
6392 '') as_dir=./ ;;
6393 */) ;;
6394 *) as_dir=$as_dir/ ;;
6395 esac
6396 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6398 ac_cv_prog_LD="${ac_tool_prefix}ld"
6399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6400 break 2
6402 done
6403 done
6404 IFS=$as_save_IFS
6408 LD=$ac_cv_prog_LD
6409 if test -n "$LD"; then
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6411 printf "%s\n" "$LD" >&6; }
6412 else
6413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 printf "%s\n" "no" >&6; }
6419 if test -z "$ac_cv_prog_LD"; then
6420 ac_ct_LD=$LD
6421 # Extract the first word of "ld", so it can be a program name with args.
6422 set dummy ld; ac_word=$2
6423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 printf %s "checking for $ac_word... " >&6; }
6425 if test ${ac_cv_prog_ac_ct_LD+y}
6426 then :
6427 printf %s "(cached) " >&6
6428 else $as_nop
6429 if test -n "$ac_ct_LD"; then
6430 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6431 else
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH
6435 IFS=$as_save_IFS
6436 case $as_dir in #(((
6437 '') as_dir=./ ;;
6438 */) ;;
6439 *) as_dir=$as_dir/ ;;
6440 esac
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_ac_ct_LD="ld"
6444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6454 if test -n "$ac_ct_LD"; then
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6456 printf "%s\n" "$ac_ct_LD" >&6; }
6457 else
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 printf "%s\n" "no" >&6; }
6462 if test "x$ac_ct_LD" = x; then
6463 LD=""
6464 else
6465 case $cross_compiling:$ac_tool_warned in
6466 yes:)
6467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6468 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6469 ac_tool_warned=yes ;;
6470 esac
6471 LD=$ac_ct_LD
6473 else
6474 LD="$ac_cv_prog_LD"
6478 case $host in
6479 *-darwin*)
6480 with_fontconfig=${with_fontconfig:-no}
6482 *-mingw32*|*-cygwin*)
6483 enable_win16=${enable_win16:-no}
6484 with_mingw=${with_mingw:-no}
6486 esac
6489 case $host in
6490 x86_64*|amd64*)
6491 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6492 then
6493 CC="$CC -m32"
6494 CXX="$CXX -m32"
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6497 printf %s "checking whether $CC works... " >&6; }
6498 if test ${wine_cv_cc_m32+y}
6499 then :
6500 printf %s "(cached) " >&6
6501 else $as_nop
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6506 main (void)
6510 return 0;
6512 _ACEOF
6513 if ac_fn_c_try_link "$LINENO"
6514 then :
6515 wine_cv_cc_m32=yes
6516 else $as_nop
6517 wine_cv_cc_m32=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6520 conftest$ac_exeext conftest.$ac_ext
6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6523 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6524 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
6525 host_cpu="i386"
6526 notice_platform="32-bit "
6527 TARGETFLAGS="$TARGETFLAGS -m32"
6528 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6529 export PKG_CONFIG_PATH
6530 enable_win16=${enable_win16:-yes}
6531 with_unwind=${with_unwind:-no}
6532 else
6533 if test "x${GCC}" = "xyes"
6534 then
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6536 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6537 if test ${wine_cv_builtin_ms_va_list+y}
6538 then :
6539 printf %s "(cached) " >&6
6540 else $as_nop
6541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6543 #include <stdarg.h>
6545 main (void)
6547 void func(__builtin_ms_va_list *args);
6549 return 0;
6551 _ACEOF
6552 if ac_fn_c_try_compile "$LINENO"
6553 then :
6554 wine_cv_builtin_ms_va_list=yes
6555 else $as_nop
6556 wine_cv_builtin_ms_va_list=no
6558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6561 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6562 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
6564 CC="$CC -m64"
6565 CXX="$CXX -m64"
6566 host_cpu="x86_64"
6567 notice_platform="64-bit "
6568 TARGETFLAGS="$TARGETFLAGS -m64"
6569 enable_wow64=${enable_wow64:-yes}
6570 enable_wow64win=${enable_wow64win:-yes}
6571 enable_wow64cpu=${enable_wow64cpu:-yes}
6574 arm*)
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6576 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6577 if test ${wine_cv_thumb2+y}
6578 then :
6579 printf %s "(cached) " >&6
6580 else $as_nop
6581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6585 main (void)
6587 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6589 return 0;
6591 _ACEOF
6592 if ac_fn_c_try_link "$LINENO"
6593 then :
6594 wine_cv_thumb2=yes
6595 else $as_nop
6596 wine_cv_thumb2=no
6598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6599 conftest$ac_exeext conftest.$ac_ext
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6602 printf "%s\n" "$wine_cv_thumb2" >&6; }
6603 if test x"$wine_cv_thumb2" = xyes
6604 then
6605 CFLAGS="$CFLAGS -mthumb"
6606 TARGETFLAGS="$TARGETFLAGS -mthumb"
6607 else
6608 CFLAGS="$CFLAGS -marm"
6609 TARGETFLAGS="$TARGETFLAGS -marm"
6611 case $with_float_abi in
6612 soft|softfp|hard)
6613 float_abi=$with_float_abi ;;
6615 case $host_os in
6616 *eabihf)
6617 float_abi=hard ;;
6619 float_abi=softfp
6620 saved_CFLAGS=$CFLAGS
6621 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6623 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6624 if test ${wine_cv_float_abi+y}
6625 then :
6626 printf %s "(cached) " >&6
6627 else $as_nop
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6632 main (void)
6634 asm("vmrs r2,fpscr");
6636 return 0;
6638 _ACEOF
6639 if ac_fn_c_try_link "$LINENO"
6640 then :
6641 wine_cv_float_abi=yes
6642 else $as_nop
6643 wine_cv_float_abi=no
6645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6646 conftest$ac_exeext conftest.$ac_ext
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6649 printf "%s\n" "$wine_cv_float_abi" >&6; }
6650 if test $wine_cv_float_abi = no
6651 then
6652 float_abi=soft
6653 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6655 CFLAGS=$saved_CFLAGS
6656 esac
6658 esac
6659 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6660 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6662 aarch64*)
6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6664 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6665 if test ${wine_cv_builtin_ms_va_list+y}
6666 then :
6667 printf %s "(cached) " >&6
6668 else $as_nop
6669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6670 /* end confdefs.h. */
6671 #include <stdarg.h>
6673 main (void)
6675 void func(__builtin_ms_va_list *args);
6677 return 0;
6679 _ACEOF
6680 if ac_fn_c_try_compile "$LINENO"
6681 then :
6682 wine_cv_builtin_ms_va_list=yes
6683 else $as_nop
6684 wine_cv_builtin_ms_va_list=no
6686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6689 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6690 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6691 enable_wow64=${enable_wow64:-yes}
6692 enable_wow64win=${enable_wow64win:-yes}
6694 i[3456789]86*)
6695 enable_win16=${enable_win16:-yes}
6696 with_unwind=${with_unwind:-no}
6698 esac
6700 enable_win16=${enable_win16:-no}
6701 enable_win64=${enable_win64:-no}
6702 enable_wow64=${enable_wow64:-no}
6703 enable_wow64win=${enable_wow64win:-no}
6704 enable_wow64cpu=${enable_wow64cpu:-no}
6706 enable_winetest=${enable_winetest:-$enable_tests}
6708 if test "x$enable_win64" = "xyes"
6709 then
6710 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6711 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6714 case $build_os in
6715 cygwin*|mingw32*) toolsext=".exe"
6717 *) toolsext=""
6719 esac
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6722 printf %s "checking for the directory containing the Wine tools... " >&6; }
6723 if test ${wine_cv_toolsdir+y}
6724 then :
6725 printf %s "(cached) " >&6
6726 else $as_nop
6727 wine_cv_toolsdir="$with_wine_tools"
6728 if test -z "$with_wine_tools"; then
6729 if test "$cross_compiling" = "yes"; then
6730 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6731 elif test -n "$with_wine64"; then
6732 wine_cv_toolsdir="$with_wine64"
6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6737 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6738 if test -z "$wine_cv_toolsdir"; then
6739 wine_makedep=tools/makedep$toolsext
6740 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6741 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6742 enable_tools=${enable_tools:-no}
6743 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6744 else
6745 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6747 toolsdir=$wine_cv_toolsdir
6749 MAKEDEP=$wine_makedep
6751 RUNTESTFLAGS="-q -P wine"
6753 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'"
6755 api_manext=3w
6758 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6759 then
6760 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6763 for ac_prog in flex
6765 # Extract the first word of "$ac_prog", so it can be a program name with args.
6766 set dummy $ac_prog; ac_word=$2
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 printf %s "checking for $ac_word... " >&6; }
6769 if test ${ac_cv_prog_FLEX+y}
6770 then :
6771 printf %s "(cached) " >&6
6772 else $as_nop
6773 if test -n "$FLEX"; then
6774 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6779 IFS=$as_save_IFS
6780 case $as_dir in #(((
6781 '') as_dir=./ ;;
6782 */) ;;
6783 *) as_dir=$as_dir/ ;;
6784 esac
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_FLEX="$ac_prog"
6788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6789 break 2
6791 done
6792 done
6793 IFS=$as_save_IFS
6797 FLEX=$ac_cv_prog_FLEX
6798 if test -n "$FLEX"; then
6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6800 printf "%s\n" "$FLEX" >&6; }
6801 else
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 printf "%s\n" "no" >&6; }
6807 test -n "$FLEX" && break
6808 done
6809 test -n "$FLEX" || FLEX="none"
6811 if test "$FLEX" = "none"
6812 then
6813 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6816 printf %s "checking whether flex is recent enough... " >&6; }
6817 if test ${wine_cv_recent_flex+y}
6818 then :
6819 printf %s "(cached) " >&6
6820 else $as_nop
6821 cat >conftest.l <<EOF
6822 %top{
6823 #include "prediluvian.h"
6827 if $FLEX -t conftest.l >/dev/null 2>&5
6828 then
6829 wine_cv_recent_flex=yes
6830 else
6831 wine_cv_recent_flex=no
6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6835 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6836 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
6838 for ac_prog in bison
6840 # Extract the first word of "$ac_prog", so it can be a program name with args.
6841 set dummy $ac_prog; ac_word=$2
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 printf %s "checking for $ac_word... " >&6; }
6844 if test ${ac_cv_prog_BISON+y}
6845 then :
6846 printf %s "(cached) " >&6
6847 else $as_nop
6848 if test -n "$BISON"; then
6849 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6850 else
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 for as_dir in $PATH
6854 IFS=$as_save_IFS
6855 case $as_dir in #(((
6856 '') as_dir=./ ;;
6857 */) ;;
6858 *) as_dir=$as_dir/ ;;
6859 esac
6860 for ac_exec_ext in '' $ac_executable_extensions; do
6861 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6862 ac_cv_prog_BISON="$ac_prog"
6863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6864 break 2
6866 done
6867 done
6868 IFS=$as_save_IFS
6872 BISON=$ac_cv_prog_BISON
6873 if test -n "$BISON"; then
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6875 printf "%s\n" "$BISON" >&6; }
6876 else
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 printf "%s\n" "no" >&6; }
6882 test -n "$BISON" && break
6883 done
6884 test -n "$BISON" || BISON="none"
6886 if test "$BISON" = "none"
6887 then
6888 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6891 printf %s "checking whether bison is recent enough... " >&6; }
6892 if test ${wine_cv_recent_bison+y}
6893 then :
6894 printf %s "(cached) " >&6
6895 else $as_nop
6896 cat >conftest.y <<EOF
6897 %define parse.error verbose
6899 empty: ;
6901 if $BISON conftest.y >/dev/null 2>&5
6902 then
6903 wine_cv_recent_bison=yes
6904 else
6905 wine_cv_recent_bison=no
6908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6909 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6910 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
6912 if test -n "$ac_tool_prefix"; then
6913 for ac_prog in ar gar
6915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6916 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 printf %s "checking for $ac_word... " >&6; }
6919 if test ${ac_cv_prog_AR+y}
6920 then :
6921 printf %s "(cached) " >&6
6922 else $as_nop
6923 if test -n "$AR"; then
6924 ac_cv_prog_AR="$AR" # Let the user override the test.
6925 else
6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 for as_dir in $PATH
6929 IFS=$as_save_IFS
6930 case $as_dir in #(((
6931 '') as_dir=./ ;;
6932 */) ;;
6933 *) as_dir=$as_dir/ ;;
6934 esac
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6937 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6939 break 2
6941 done
6942 done
6943 IFS=$as_save_IFS
6947 AR=$ac_cv_prog_AR
6948 if test -n "$AR"; then
6949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6950 printf "%s\n" "$AR" >&6; }
6951 else
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 printf "%s\n" "no" >&6; }
6957 test -n "$AR" && break
6958 done
6960 if test -z "$AR"; then
6961 ac_ct_AR=$AR
6962 for ac_prog in ar gar
6964 # Extract the first word of "$ac_prog", so it can be a program name with args.
6965 set dummy $ac_prog; ac_word=$2
6966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967 printf %s "checking for $ac_word... " >&6; }
6968 if test ${ac_cv_prog_ac_ct_AR+y}
6969 then :
6970 printf %s "(cached) " >&6
6971 else $as_nop
6972 if test -n "$ac_ct_AR"; then
6973 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6974 else
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 for as_dir in $PATH
6978 IFS=$as_save_IFS
6979 case $as_dir in #(((
6980 '') as_dir=./ ;;
6981 */) ;;
6982 *) as_dir=$as_dir/ ;;
6983 esac
6984 for ac_exec_ext in '' $ac_executable_extensions; do
6985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6986 ac_cv_prog_ac_ct_AR="$ac_prog"
6987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6988 break 2
6990 done
6991 done
6992 IFS=$as_save_IFS
6996 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6997 if test -n "$ac_ct_AR"; then
6998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6999 printf "%s\n" "$ac_ct_AR" >&6; }
7000 else
7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002 printf "%s\n" "no" >&6; }
7006 test -n "$ac_ct_AR" && break
7007 done
7009 if test "x$ac_ct_AR" = x; then
7010 AR="ar"
7011 else
7012 case $cross_compiling:$ac_tool_warned in
7013 yes:)
7014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7015 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7016 ac_tool_warned=yes ;;
7017 esac
7018 AR=$ac_ct_AR
7022 if test -n "$ac_tool_prefix"; then
7023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7024 set dummy ${ac_tool_prefix}strip; ac_word=$2
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 printf %s "checking for $ac_word... " >&6; }
7027 if test ${ac_cv_prog_STRIP+y}
7028 then :
7029 printf %s "(cached) " >&6
7030 else $as_nop
7031 if test -n "$STRIP"; then
7032 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7033 else
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 for as_dir in $PATH
7037 IFS=$as_save_IFS
7038 case $as_dir in #(((
7039 '') as_dir=./ ;;
7040 */) ;;
7041 *) as_dir=$as_dir/ ;;
7042 esac
7043 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7045 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7047 break 2
7049 done
7050 done
7051 IFS=$as_save_IFS
7055 STRIP=$ac_cv_prog_STRIP
7056 if test -n "$STRIP"; then
7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7058 printf "%s\n" "$STRIP" >&6; }
7059 else
7060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 printf "%s\n" "no" >&6; }
7066 if test -z "$ac_cv_prog_STRIP"; then
7067 ac_ct_STRIP=$STRIP
7068 # Extract the first word of "strip", so it can be a program name with args.
7069 set dummy strip; ac_word=$2
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 printf %s "checking for $ac_word... " >&6; }
7072 if test ${ac_cv_prog_ac_ct_STRIP+y}
7073 then :
7074 printf %s "(cached) " >&6
7075 else $as_nop
7076 if test -n "$ac_ct_STRIP"; then
7077 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7078 else
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 for as_dir in $PATH
7082 IFS=$as_save_IFS
7083 case $as_dir in #(((
7084 '') as_dir=./ ;;
7085 */) ;;
7086 *) as_dir=$as_dir/ ;;
7087 esac
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_ac_ct_STRIP="strip"
7091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7092 break 2
7094 done
7095 done
7096 IFS=$as_save_IFS
7100 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7101 if test -n "$ac_ct_STRIP"; then
7102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7103 printf "%s\n" "$ac_ct_STRIP" >&6; }
7104 else
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 printf "%s\n" "no" >&6; }
7109 if test "x$ac_ct_STRIP" = x; then
7110 STRIP="strip"
7111 else
7112 case $cross_compiling:$ac_tool_warned in
7113 yes:)
7114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7115 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7116 ac_tool_warned=yes ;;
7117 esac
7118 STRIP=$ac_ct_STRIP
7120 else
7121 STRIP="$ac_cv_prog_STRIP"
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 printf %s "checking for $ac_word... " >&6; }
7129 if test ${ac_cv_prog_RANLIB+y}
7130 then :
7131 printf %s "(cached) " >&6
7132 else $as_nop
7133 if test -n "$RANLIB"; then
7134 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7139 IFS=$as_save_IFS
7140 case $as_dir in #(((
7141 '') as_dir=./ ;;
7142 */) ;;
7143 *) as_dir=$as_dir/ ;;
7144 esac
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7149 break 2
7151 done
7152 done
7153 IFS=$as_save_IFS
7157 RANLIB=$ac_cv_prog_RANLIB
7158 if test -n "$RANLIB"; then
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7160 printf "%s\n" "$RANLIB" >&6; }
7161 else
7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 printf "%s\n" "no" >&6; }
7168 if test -z "$ac_cv_prog_RANLIB"; then
7169 ac_ct_RANLIB=$RANLIB
7170 # Extract the first word of "ranlib", so it can be a program name with args.
7171 set dummy ranlib; ac_word=$2
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 printf %s "checking for $ac_word... " >&6; }
7174 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7175 then :
7176 printf %s "(cached) " >&6
7177 else $as_nop
7178 if test -n "$ac_ct_RANLIB"; then
7179 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7180 else
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 for as_dir in $PATH
7184 IFS=$as_save_IFS
7185 case $as_dir in #(((
7186 '') as_dir=./ ;;
7187 */) ;;
7188 *) as_dir=$as_dir/ ;;
7189 esac
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_ac_ct_RANLIB="ranlib"
7193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7194 break 2
7196 done
7197 done
7198 IFS=$as_save_IFS
7202 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7203 if test -n "$ac_ct_RANLIB"; then
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7205 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7206 else
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 printf "%s\n" "no" >&6; }
7211 if test "x$ac_ct_RANLIB" = x; then
7212 RANLIB=":"
7213 else
7214 case $cross_compiling:$ac_tool_warned in
7215 yes:)
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7217 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7218 ac_tool_warned=yes ;;
7219 esac
7220 RANLIB=$ac_ct_RANLIB
7222 else
7223 RANLIB="$ac_cv_prog_RANLIB"
7226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7227 printf %s "checking whether ln -s works... " >&6; }
7228 LN_S=$as_ln_s
7229 if test "$LN_S" = "ln -s"; then
7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7231 printf "%s\n" "yes" >&6; }
7232 else
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7234 printf "%s\n" "no, using $LN_S" >&6; }
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7238 printf %s "checking for grep that handles long lines and -e... " >&6; }
7239 if test ${ac_cv_path_GREP+y}
7240 then :
7241 printf %s "(cached) " >&6
7242 else $as_nop
7243 if test -z "$GREP"; then
7244 ac_path_GREP_found=false
7245 # Loop through the user's path and test for each of PROGNAME-LIST
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7249 IFS=$as_save_IFS
7250 case $as_dir in #(((
7251 '') as_dir=./ ;;
7252 */) ;;
7253 *) as_dir=$as_dir/ ;;
7254 esac
7255 for ac_prog in grep ggrep
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7259 as_fn_executable_p "$ac_path_GREP" || continue
7260 # Check for GNU ac_path_GREP and select it if it is found.
7261 # Check for GNU $ac_path_GREP
7262 case `"$ac_path_GREP" --version 2>&1` in
7263 *GNU*)
7264 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7266 ac_count=0
7267 printf %s 0123456789 >"conftest.in"
7268 while :
7270 cat "conftest.in" "conftest.in" >"conftest.tmp"
7271 mv "conftest.tmp" "conftest.in"
7272 cp "conftest.in" "conftest.nl"
7273 printf "%s\n" 'GREP' >> "conftest.nl"
7274 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7275 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7276 as_fn_arith $ac_count + 1 && ac_count=$as_val
7277 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7278 # Best one so far, save it but keep looking for a better one
7279 ac_cv_path_GREP="$ac_path_GREP"
7280 ac_path_GREP_max=$ac_count
7282 # 10*(2^10) chars as input seems more than enough
7283 test $ac_count -gt 10 && break
7284 done
7285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7286 esac
7288 $ac_path_GREP_found && break 3
7289 done
7290 done
7291 done
7292 IFS=$as_save_IFS
7293 if test -z "$ac_cv_path_GREP"; then
7294 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7296 else
7297 ac_cv_path_GREP=$GREP
7301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7302 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7303 GREP="$ac_cv_path_GREP"
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7307 printf %s "checking for egrep... " >&6; }
7308 if test ${ac_cv_path_EGREP+y}
7309 then :
7310 printf %s "(cached) " >&6
7311 else $as_nop
7312 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7313 then ac_cv_path_EGREP="$GREP -E"
7314 else
7315 if test -z "$EGREP"; then
7316 ac_path_EGREP_found=false
7317 # Loop through the user's path and test for each of PROGNAME-LIST
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7321 IFS=$as_save_IFS
7322 case $as_dir in #(((
7323 '') as_dir=./ ;;
7324 */) ;;
7325 *) as_dir=$as_dir/ ;;
7326 esac
7327 for ac_prog in egrep
7329 for ac_exec_ext in '' $ac_executable_extensions; do
7330 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7331 as_fn_executable_p "$ac_path_EGREP" || continue
7332 # Check for GNU ac_path_EGREP and select it if it is found.
7333 # Check for GNU $ac_path_EGREP
7334 case `"$ac_path_EGREP" --version 2>&1` in
7335 *GNU*)
7336 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7338 ac_count=0
7339 printf %s 0123456789 >"conftest.in"
7340 while :
7342 cat "conftest.in" "conftest.in" >"conftest.tmp"
7343 mv "conftest.tmp" "conftest.in"
7344 cp "conftest.in" "conftest.nl"
7345 printf "%s\n" 'EGREP' >> "conftest.nl"
7346 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7347 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7348 as_fn_arith $ac_count + 1 && ac_count=$as_val
7349 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7350 # Best one so far, save it but keep looking for a better one
7351 ac_cv_path_EGREP="$ac_path_EGREP"
7352 ac_path_EGREP_max=$ac_count
7354 # 10*(2^10) chars as input seems more than enough
7355 test $ac_count -gt 10 && break
7356 done
7357 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7358 esac
7360 $ac_path_EGREP_found && break 3
7361 done
7362 done
7363 done
7364 IFS=$as_save_IFS
7365 if test -z "$ac_cv_path_EGREP"; then
7366 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7368 else
7369 ac_cv_path_EGREP=$EGREP
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7375 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7376 EGREP="$ac_cv_path_EGREP"
7379 # Extract the first word of "ldconfig", so it can be a program name with args.
7380 set dummy ldconfig; ac_word=$2
7381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 printf %s "checking for $ac_word... " >&6; }
7383 if test ${ac_cv_path_LDCONFIG+y}
7384 then :
7385 printf %s "(cached) " >&6
7386 else $as_nop
7387 case $LDCONFIG in
7388 [\\/]* | ?:[\\/]*)
7389 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in /sbin /usr/sbin $PATH
7395 IFS=$as_save_IFS
7396 case $as_dir in #(((
7397 '') as_dir=./ ;;
7398 */) ;;
7399 *) as_dir=$as_dir/ ;;
7400 esac
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7403 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7405 break 2
7407 done
7408 done
7409 IFS=$as_save_IFS
7411 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7413 esac
7415 LDCONFIG=$ac_cv_path_LDCONFIG
7416 if test -n "$LDCONFIG"; then
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7418 printf "%s\n" "$LDCONFIG" >&6; }
7419 else
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 printf "%s\n" "no" >&6; }
7425 for ac_prog in msgfmt
7427 # Extract the first word of "$ac_prog", so it can be a program name with args.
7428 set dummy $ac_prog; ac_word=$2
7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 printf %s "checking for $ac_word... " >&6; }
7431 if test ${ac_cv_prog_MSGFMT+y}
7432 then :
7433 printf %s "(cached) " >&6
7434 else $as_nop
7435 if test -n "$MSGFMT"; then
7436 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7441 IFS=$as_save_IFS
7442 case $as_dir in #(((
7443 '') as_dir=./ ;;
7444 */) ;;
7445 *) as_dir=$as_dir/ ;;
7446 esac
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_MSGFMT="$ac_prog"
7450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7451 break 2
7453 done
7454 done
7455 IFS=$as_save_IFS
7459 MSGFMT=$ac_cv_prog_MSGFMT
7460 if test -n "$MSGFMT"; then
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7462 printf "%s\n" "$MSGFMT" >&6; }
7463 else
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 printf "%s\n" "no" >&6; }
7469 test -n "$MSGFMT" && break
7470 done
7471 test -n "$MSGFMT" || MSGFMT="false"
7473 if test ${ac_tool_prefix+y}
7474 then :
7475 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7476 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 printf %s "checking for $ac_word... " >&6; }
7479 if test ${ac_cv_prog_PKG_CONFIG+y}
7480 then :
7481 printf %s "(cached) " >&6
7482 else $as_nop
7483 if test -n "$PKG_CONFIG"; then
7484 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7485 else
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 for as_dir in $PATH
7489 IFS=$as_save_IFS
7490 case $as_dir in #(((
7491 '') as_dir=./ ;;
7492 */) ;;
7493 *) as_dir=$as_dir/ ;;
7494 esac
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7499 break 2
7501 done
7502 done
7503 IFS=$as_save_IFS
7507 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7508 if test -n "$PKG_CONFIG"; then
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7510 printf "%s\n" "$PKG_CONFIG" >&6; }
7511 else
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 printf "%s\n" "no" >&6; }
7518 if ${ac_cv_prog_PKG_CONFIG:+false} :
7519 then :
7520 if test "x$cross_compiling" = xyes
7521 then :
7523 else $as_nop
7524 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7525 # Extract the first word of "pkg-config", so it can be a program name with args.
7526 set dummy pkg-config; ac_word=$2
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 printf %s "checking for $ac_word... " >&6; }
7529 if test ${ac_cv_prog_PKG_CONFIG+y}
7530 then :
7531 printf %s "(cached) " >&6
7532 else $as_nop
7533 if test -n "$PKG_CONFIG"; then
7534 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539 IFS=$as_save_IFS
7540 case $as_dir in #(((
7541 '') as_dir=./ ;;
7542 */) ;;
7543 *) as_dir=$as_dir/ ;;
7544 esac
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7547 ac_cv_prog_PKG_CONFIG="pkg-config"
7548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7549 break 2
7551 done
7552 done
7553 IFS=$as_save_IFS
7557 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7558 if test -n "$PKG_CONFIG"; then
7559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7560 printf "%s\n" "$PKG_CONFIG" >&6; }
7561 else
7562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 printf "%s\n" "no" >&6; }
7568 else $as_nop
7569 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7572 if test "x$enable_maintainer_mode" != "xyes"
7573 then
7574 FONTFORGE=""
7575 RSVG=""
7576 CONVERT=""
7577 ICOTOOL=""
7578 else
7579 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7580 for ac_prog in fontforge
7582 # Extract the first word of "$ac_prog", so it can be a program name with args.
7583 set dummy $ac_prog; ac_word=$2
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 printf %s "checking for $ac_word... " >&6; }
7586 if test ${ac_cv_prog_FONTFORGE+y}
7587 then :
7588 printf %s "(cached) " >&6
7589 else $as_nop
7590 if test -n "$FONTFORGE"; then
7591 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7596 IFS=$as_save_IFS
7597 case $as_dir in #(((
7598 '') as_dir=./ ;;
7599 */) ;;
7600 *) as_dir=$as_dir/ ;;
7601 esac
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_FONTFORGE="$ac_prog"
7605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7606 break 2
7608 done
7609 done
7610 IFS=$as_save_IFS
7614 FONTFORGE=$ac_cv_prog_FONTFORGE
7615 if test -n "$FONTFORGE"; then
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7617 printf "%s\n" "$FONTFORGE" >&6; }
7618 else
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 printf "%s\n" "no" >&6; }
7624 test -n "$FONTFORGE" && break
7625 done
7626 test -n "$FONTFORGE" || FONTFORGE="false"
7628 for ac_prog in rsvg-convert rsvg
7630 # Extract the first word of "$ac_prog", so it can be a program name with args.
7631 set dummy $ac_prog; ac_word=$2
7632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7633 printf %s "checking for $ac_word... " >&6; }
7634 if test ${ac_cv_prog_RSVG+y}
7635 then :
7636 printf %s "(cached) " >&6
7637 else $as_nop
7638 if test -n "$RSVG"; then
7639 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7640 else
7641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 for as_dir in $PATH
7644 IFS=$as_save_IFS
7645 case $as_dir in #(((
7646 '') as_dir=./ ;;
7647 */) ;;
7648 *) as_dir=$as_dir/ ;;
7649 esac
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7652 ac_cv_prog_RSVG="$ac_prog"
7653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7654 break 2
7656 done
7657 done
7658 IFS=$as_save_IFS
7662 RSVG=$ac_cv_prog_RSVG
7663 if test -n "$RSVG"; then
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7665 printf "%s\n" "$RSVG" >&6; }
7666 else
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 printf "%s\n" "no" >&6; }
7672 test -n "$RSVG" && break
7673 done
7674 test -n "$RSVG" || RSVG="false"
7676 for ac_prog in convert
7678 # Extract the first word of "$ac_prog", so it can be a program name with args.
7679 set dummy $ac_prog; ac_word=$2
7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7681 printf %s "checking for $ac_word... " >&6; }
7682 if test ${ac_cv_prog_CONVERT+y}
7683 then :
7684 printf %s "(cached) " >&6
7685 else $as_nop
7686 if test -n "$CONVERT"; then
7687 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7688 else
7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7690 for as_dir in $PATH
7692 IFS=$as_save_IFS
7693 case $as_dir in #(((
7694 '') as_dir=./ ;;
7695 */) ;;
7696 *) as_dir=$as_dir/ ;;
7697 esac
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7700 ac_cv_prog_CONVERT="$ac_prog"
7701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7702 break 2
7704 done
7705 done
7706 IFS=$as_save_IFS
7710 CONVERT=$ac_cv_prog_CONVERT
7711 if test -n "$CONVERT"; then
7712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7713 printf "%s\n" "$CONVERT" >&6; }
7714 else
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 printf "%s\n" "no" >&6; }
7720 test -n "$CONVERT" && break
7721 done
7722 test -n "$CONVERT" || CONVERT="false"
7724 for ac_prog in icotool
7726 # Extract the first word of "$ac_prog", so it can be a program name with args.
7727 set dummy $ac_prog; ac_word=$2
7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729 printf %s "checking for $ac_word... " >&6; }
7730 if test ${ac_cv_prog_ICOTOOL+y}
7731 then :
7732 printf %s "(cached) " >&6
7733 else $as_nop
7734 if test -n "$ICOTOOL"; then
7735 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7736 else
7737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738 for as_dir in $PATH
7740 IFS=$as_save_IFS
7741 case $as_dir in #(((
7742 '') as_dir=./ ;;
7743 */) ;;
7744 *) as_dir=$as_dir/ ;;
7745 esac
7746 for ac_exec_ext in '' $ac_executable_extensions; do
7747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7748 ac_cv_prog_ICOTOOL="$ac_prog"
7749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7750 break 2
7752 done
7753 done
7754 IFS=$as_save_IFS
7758 ICOTOOL=$ac_cv_prog_ICOTOOL
7759 if test -n "$ICOTOOL"; then
7760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7761 printf "%s\n" "$ICOTOOL" >&6; }
7762 else
7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7764 printf "%s\n" "no" >&6; }
7768 test -n "$ICOTOOL" && break
7769 done
7770 test -n "$ICOTOOL" || ICOTOOL="false"
7772 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7773 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7775 if test "$CONVERT" = false
7776 then
7777 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7778 else
7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7780 printf %s "checking for recent enough imagemagick... " >&6; }
7781 convert_version=`convert --version | head -n1`
7782 if test "x$convert_version" != "x"
7783 then
7784 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7785 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7786 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7787 then
7788 CONVERT=false
7791 if test "$CONVERT" = false
7792 then
7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7794 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7795 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7796 else
7797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7798 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7802 if test "$ICOTOOL" = false
7803 then
7804 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7805 else
7806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7807 printf %s "checking for recent enough icotool... " >&6; }
7808 icotool_version=`icotool --version | head -n1`
7809 if test "x$icotool_version" != "x"
7810 then
7811 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7812 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7813 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7814 then
7815 ICOTOOL=false
7816 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7819 if test "$ICOTOOL" = false
7820 then
7821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7822 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7823 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7824 else
7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7826 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7830 with_gettext=yes
7831 with_gettextpo=yes
7833 enable_werror=yes
7836 test "x$with_gettext" != xno || MSGFMT=false
7837 if test "$MSGFMT" != "false"
7838 then
7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7840 printf %s "checking whether msgfmt supports contexts... " >&6; }
7841 if test ${wine_cv_msgfmt_contexts+y}
7842 then :
7843 printf %s "(cached) " >&6
7844 else $as_nop
7845 cat >conftest.po <<EOF
7846 # comment
7847 msgctxt "ctxt"
7848 msgid "id"
7849 msgstr "str"
7851 if $MSGFMT -o /dev/null conftest.po 2>&5
7852 then
7853 wine_cv_msgfmt_contexts=yes
7854 else
7855 wine_cv_msgfmt_contexts=no
7858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7859 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7860 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7862 if test "$MSGFMT" = false
7863 then :
7864 case "x$with_gettext" in
7865 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7866 xno) ;;
7867 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7868 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7869 esac
7870 enable_po=${enable_po:-no}
7874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7875 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7876 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7877 then :
7878 printf %s "(cached) " >&6
7879 else $as_nop
7880 ac_check_lib_save_LIBS=$LIBS
7881 LIBS="-li386 $LIBS"
7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7883 /* end confdefs.h. */
7885 /* Override any GCC internal prototype to avoid an error.
7886 Use char because int might match the return type of a GCC
7887 builtin and then its argument prototype would still apply. */
7888 char i386_set_ldt ();
7890 main (void)
7892 return i386_set_ldt ();
7894 return 0;
7896 _ACEOF
7897 if ac_fn_c_try_link "$LINENO"
7898 then :
7899 ac_cv_lib_i386_i386_set_ldt=yes
7900 else $as_nop
7901 ac_cv_lib_i386_i386_set_ldt=no
7903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7904 conftest$ac_exeext conftest.$ac_ext
7905 LIBS=$ac_check_lib_save_LIBS
7907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7908 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7909 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7910 then :
7911 I386_LIBS="-li386"
7916 OPENGL_LIBS=""
7920 # Check whether --enable-largefile was given.
7921 if test ${enable_largefile+y}
7922 then :
7923 enableval=$enable_largefile;
7926 if test "$enable_largefile" != no; then
7928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7929 printf %s "checking for special C compiler options needed for large files... " >&6; }
7930 if test ${ac_cv_sys_largefile_CC+y}
7931 then :
7932 printf %s "(cached) " >&6
7933 else $as_nop
7934 ac_cv_sys_largefile_CC=no
7935 if test "$GCC" != yes; then
7936 ac_save_CC=$CC
7937 while :; do
7938 # IRIX 6.2 and later do not support large files by default,
7939 # so use the C compiler's -n32 option if that helps.
7940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7941 /* end confdefs.h. */
7942 #include <sys/types.h>
7943 /* Check that off_t can represent 2**63 - 1 correctly.
7944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7945 since some C++ compilers masquerading as C compilers
7946 incorrectly reject 9223372036854775807. */
7947 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7949 && LARGE_OFF_T % 2147483647 == 1)
7950 ? 1 : -1];
7952 main (void)
7956 return 0;
7958 _ACEOF
7959 if ac_fn_c_try_compile "$LINENO"
7960 then :
7961 break
7963 rm -f core conftest.err conftest.$ac_objext conftest.beam
7964 CC="$CC -n32"
7965 if ac_fn_c_try_compile "$LINENO"
7966 then :
7967 ac_cv_sys_largefile_CC=' -n32'; break
7969 rm -f core conftest.err conftest.$ac_objext conftest.beam
7970 break
7971 done
7972 CC=$ac_save_CC
7973 rm -f conftest.$ac_ext
7976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7977 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7978 if test "$ac_cv_sys_largefile_CC" != no; then
7979 CC=$CC$ac_cv_sys_largefile_CC
7982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7983 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7984 if test ${ac_cv_sys_file_offset_bits+y}
7985 then :
7986 printf %s "(cached) " >&6
7987 else $as_nop
7988 while :; do
7989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7990 /* end confdefs.h. */
7991 #include <sys/types.h>
7992 /* Check that off_t can represent 2**63 - 1 correctly.
7993 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7994 since some C++ compilers masquerading as C compilers
7995 incorrectly reject 9223372036854775807. */
7996 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7997 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7998 && LARGE_OFF_T % 2147483647 == 1)
7999 ? 1 : -1];
8001 main (void)
8005 return 0;
8007 _ACEOF
8008 if ac_fn_c_try_compile "$LINENO"
8009 then :
8010 ac_cv_sys_file_offset_bits=no; break
8012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8015 #define _FILE_OFFSET_BITS 64
8016 #include <sys/types.h>
8017 /* Check that off_t can represent 2**63 - 1 correctly.
8018 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8019 since some C++ compilers masquerading as C compilers
8020 incorrectly reject 9223372036854775807. */
8021 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8022 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8023 && LARGE_OFF_T % 2147483647 == 1)
8024 ? 1 : -1];
8026 main (void)
8030 return 0;
8032 _ACEOF
8033 if ac_fn_c_try_compile "$LINENO"
8034 then :
8035 ac_cv_sys_file_offset_bits=64; break
8037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8038 ac_cv_sys_file_offset_bits=unknown
8039 break
8040 done
8042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8043 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8044 case $ac_cv_sys_file_offset_bits in #(
8045 no | unknown) ;;
8047 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8049 esac
8050 rm -rf conftest*
8051 if test $ac_cv_sys_file_offset_bits = unknown; then
8052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8053 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8054 if test ${ac_cv_sys_large_files+y}
8055 then :
8056 printf %s "(cached) " >&6
8057 else $as_nop
8058 while :; do
8059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8060 /* end confdefs.h. */
8061 #include <sys/types.h>
8062 /* Check that off_t can represent 2**63 - 1 correctly.
8063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8064 since some C++ compilers masquerading as C compilers
8065 incorrectly reject 9223372036854775807. */
8066 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8068 && LARGE_OFF_T % 2147483647 == 1)
8069 ? 1 : -1];
8071 main (void)
8075 return 0;
8077 _ACEOF
8078 if ac_fn_c_try_compile "$LINENO"
8079 then :
8080 ac_cv_sys_large_files=no; break
8082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8085 #define _LARGE_FILES 1
8086 #include <sys/types.h>
8087 /* Check that off_t can represent 2**63 - 1 correctly.
8088 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8089 since some C++ compilers masquerading as C compilers
8090 incorrectly reject 9223372036854775807. */
8091 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8092 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8093 && LARGE_OFF_T % 2147483647 == 1)
8094 ? 1 : -1];
8096 main (void)
8100 return 0;
8102 _ACEOF
8103 if ac_fn_c_try_compile "$LINENO"
8104 then :
8105 ac_cv_sys_large_files=1; break
8107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8108 ac_cv_sys_large_files=unknown
8109 break
8110 done
8112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8113 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8114 case $ac_cv_sys_large_files in #(
8115 no | unknown) ;;
8117 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8119 esac
8120 rm -rf conftest*
8125 ac_header= ac_cache=
8126 for ac_item in $ac_header_c_list
8128 if test $ac_cache; then
8129 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8130 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8131 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8133 ac_header= ac_cache=
8134 elif test $ac_header; then
8135 ac_cache=$ac_item
8136 else
8137 ac_header=$ac_item
8139 done
8148 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8149 then :
8151 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_AL_al_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_CL_cl_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_EGL_egl_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "QuickTime/ImageCompression.h" "ac_cv_header_QuickTime_ImageCompression_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_QuickTime_ImageCompression_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_QUICKTIME_IMAGECOMPRESSION_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_Security_Security_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "alias.h" "ac_cv_header_alias_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_alias_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_ALIAS_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_arpa_inet_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_asm_types_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_asm_user_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_dirent_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_elf_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_float_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_gettext_po_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_ieeefp_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_libproc_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_link_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_linux_filter_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_linux_input_h" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8346 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8348 then :
8349 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8352 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
8353 if test "x$ac_cv_header_linux_joystick_h" = xyes
8354 then :
8355 printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h
8358 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8359 if test "x$ac_cv_header_linux_major_h" = xyes
8360 then :
8361 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8364 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8365 if test "x$ac_cv_header_linux_param_h" = xyes
8366 then :
8367 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8370 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8371 if test "x$ac_cv_header_linux_serial_h" = xyes
8372 then :
8373 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8376 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8377 if test "x$ac_cv_header_linux_types_h" = xyes
8378 then :
8379 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8382 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8383 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8384 then :
8385 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8388 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8389 if test "x$ac_cv_header_lwp_h" = xyes
8390 then :
8391 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8394 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8395 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8396 then :
8397 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8400 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8401 if test "x$ac_cv_header_mach_mach_h" = xyes
8402 then :
8403 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8406 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8407 if test "x$ac_cv_header_machine_cpu_h" = xyes
8408 then :
8409 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8412 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8413 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8414 then :
8415 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8418 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8419 if test "x$ac_cv_header_mntent_h" = xyes
8420 then :
8421 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8425 if test "x$ac_cv_header_netdb_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8431 if test "x$ac_cv_header_netinet_in_h" = xyes
8432 then :
8433 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8436 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8437 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8438 then :
8439 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8443 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8444 then :
8445 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8448 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8449 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8455 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8456 then :
8457 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8460 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8461 if test "x$ac_cv_header_port_h" = xyes
8462 then :
8463 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8466 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8467 if test "x$ac_cv_header_pthread_h" = xyes
8468 then :
8469 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8472 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8473 if test "x$ac_cv_header_pwd_h" = xyes
8474 then :
8475 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8478 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8479 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8480 then :
8481 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8484 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8485 if test "x$ac_cv_header_sched_h" = xyes
8486 then :
8487 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8490 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8491 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8492 then :
8493 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8497 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8498 then :
8499 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8502 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8503 if test "x$ac_cv_header_scsi_sg_h" = xyes
8504 then :
8505 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8508 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8509 if test "x$ac_cv_header_stdint_h" = xyes
8510 then :
8511 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8514 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8515 if test "x$ac_cv_header_sys_attr_h" = xyes
8516 then :
8517 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8520 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8521 if test "x$ac_cv_header_sys_auxv_h" = xyes
8522 then :
8523 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8526 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8527 if test "x$ac_cv_header_sys_cdio_h" = xyes
8528 then :
8529 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8532 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8533 if test "x$ac_cv_header_sys_epoll_h" = xyes
8534 then :
8535 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8538 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8539 if test "x$ac_cv_header_sys_event_h" = xyes
8540 then :
8541 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8544 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8545 if test "x$ac_cv_header_sys_filio_h" = xyes
8546 then :
8547 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
8551 if test "x$ac_cv_header_sys_ioctl_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8557 if test "x$ac_cv_header_sys_ipc_h" = xyes
8558 then :
8559 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8563 if test "x$ac_cv_header_sys_link_h" = xyes
8564 then :
8565 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8568 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
8569 if test "x$ac_cv_header_sys_mman_h" = xyes
8570 then :
8571 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8575 if test "x$ac_cv_header_sys_modem_h" = xyes
8576 then :
8577 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8580 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8581 if test "x$ac_cv_header_sys_mtio_h" = xyes
8582 then :
8583 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8586 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8587 if test "x$ac_cv_header_sys_param_h" = xyes
8588 then :
8589 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8592 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8593 if test "x$ac_cv_header_sys_prctl_h" = xyes
8594 then :
8595 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8598 ac_fn_c_check_header_compile "$LINENO" "sys/protosw.h" "ac_cv_header_sys_protosw_h" "$ac_includes_default"
8599 if test "x$ac_cv_header_sys_protosw_h" = xyes
8600 then :
8601 printf "%s\n" "#define HAVE_SYS_PROTOSW_H 1" >>confdefs.h
8604 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8605 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8606 then :
8607 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8610 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8611 if test "x$ac_cv_header_sys_queue_h" = xyes
8612 then :
8613 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8616 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8617 if test "x$ac_cv_header_sys_random_h" = xyes
8618 then :
8619 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8622 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8623 if test "x$ac_cv_header_sys_resource_h" = xyes
8624 then :
8625 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8629 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8635 if test "x$ac_cv_header_sys_shm_h" = xyes
8636 then :
8637 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8641 if test "x$ac_cv_header_sys_signal_h" = xyes
8642 then :
8643 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8646 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8647 if test "x$ac_cv_header_sys_socket_h" = xyes
8648 then :
8649 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8653 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8654 then :
8655 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8658 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8659 if test "x$ac_cv_header_sys_sockio_h" = xyes
8660 then :
8661 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8664 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8665 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8666 then :
8667 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8670 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8671 if test "x$ac_cv_header_sys_strtio_h" = xyes
8672 then :
8673 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8676 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8677 if test "x$ac_cv_header_sys_syscall_h" = xyes
8678 then :
8679 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8682 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8683 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8684 then :
8685 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8688 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
8689 if test "x$ac_cv_header_sys_time_h" = xyes
8690 then :
8691 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
8694 ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default"
8695 if test "x$ac_cv_header_sys_timeout_h" = xyes
8696 then :
8697 printf "%s\n" "#define HAVE_SYS_TIMEOUT_H 1" >>confdefs.h
8700 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8701 if test "x$ac_cv_header_sys_times_h" = xyes
8702 then :
8703 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8706 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8707 if test "x$ac_cv_header_sys_uio_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8713 if test "x$ac_cv_header_sys_user_h" = xyes
8714 then :
8715 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8719 if test "x$ac_cv_header_sys_utsname_h" = xyes
8720 then :
8721 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8724 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8725 if test "x$ac_cv_header_sys_vnode_h" = xyes
8726 then :
8727 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
8731 if test "x$ac_cv_header_sys_wait_h" = xyes
8732 then :
8733 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8736 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8737 if test "x$ac_cv_header_syscall_h" = xyes
8738 then :
8739 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8742 ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
8743 if test "x$ac_cv_header_termios_h" = xyes
8744 then :
8745 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
8748 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
8749 if test "x$ac_cv_header_unistd_h" = xyes
8750 then :
8751 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
8754 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8755 if test "x$ac_cv_header_utime_h" = xyes
8756 then :
8757 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8760 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8761 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8762 then :
8763 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8766 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8767 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8768 then :
8769 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8773 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8774 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8775 then :
8777 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8781 if test $ac_cv_header_sys_mkdev_h = no; then
8782 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8783 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8784 then :
8786 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8792 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8793 if test ${ac_cv_header_stat_broken+y}
8794 then :
8795 printf %s "(cached) " >&6
8796 else $as_nop
8797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8799 #include <sys/types.h>
8800 #include <sys/stat.h>
8802 #if defined S_ISBLK && defined S_IFDIR
8803 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8804 #endif
8806 #if defined S_ISBLK && defined S_IFCHR
8807 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8808 #endif
8810 #if defined S_ISLNK && defined S_IFREG
8811 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8812 #endif
8814 #if defined S_ISSOCK && defined S_IFREG
8815 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8816 #endif
8818 _ACEOF
8819 if ac_fn_c_try_compile "$LINENO"
8820 then :
8821 ac_cv_header_stat_broken=no
8822 else $as_nop
8823 ac_cv_header_stat_broken=yes
8825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8828 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8829 if test $ac_cv_header_stat_broken = yes; then
8831 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8837 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8838 #ifdef HAVE_SYS_PARAM_H
8839 # include <sys/param.h>
8840 #endif
8842 if test "x$ac_cv_header_sys_conf_h" = xyes
8843 then :
8844 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8847 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8848 #ifdef HAVE_SYS_PARAM_H
8849 # include <sys/param.h>
8850 #endif
8852 if test "x$ac_cv_header_sys_mount_h" = xyes
8853 then :
8854 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8857 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8858 #ifdef HAVE_SYS_PARAM_H
8859 # include <sys/param.h>
8860 #endif
8862 if test "x$ac_cv_header_sys_statfs_h" = xyes
8863 then :
8864 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8867 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8868 #ifdef HAVE_SYS_PARAM_H
8869 # include <sys/param.h>
8870 #endif
8872 if test "x$ac_cv_header_sys_user_h" = xyes
8873 then :
8874 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8877 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8878 #ifdef HAVE_SYS_PARAM_H
8879 # include <sys/param.h>
8880 #endif
8882 if test "x$ac_cv_header_sys_vfs_h" = xyes
8883 then :
8884 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8889 saved_sysctl_h_CFLAGS=$CFLAGS
8890 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8891 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8892 #ifdef HAVE_SYS_PARAM_H
8893 # include <sys/param.h>
8894 #endif
8896 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8897 then :
8898 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8902 CFLAGS=$saved_sysctl_h_CFLAGS
8904 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8905 #ifdef HAVE_SYS_SOCKET_H
8906 # include <sys/socket.h>
8907 #endif
8908 #ifdef HAVE_SYS_SOCKETVAR_H
8909 # include <sys/socketvar.h>
8910 #endif
8911 #ifdef HAVE_NET_ROUTE_H
8912 # include <net/route.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IN_H
8915 # include <netinet/in.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IN_SYSTM_H
8918 # include <netinet/in_systm.h>
8919 #endif
8920 #ifdef HAVE_NET_IF_H
8921 # include <net/if.h>
8922 #endif
8923 #ifdef HAVE_NETINET_IP_H
8924 # include <netinet/ip.h>
8925 #endif
8927 if test "x$ac_cv_header_netinet_ip_h" = xyes
8928 then :
8929 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8932 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8933 #ifdef HAVE_SYS_SOCKET_H
8934 # include <sys/socket.h>
8935 #endif
8936 #ifdef HAVE_SYS_SOCKETVAR_H
8937 # include <sys/socketvar.h>
8938 #endif
8939 #ifdef HAVE_NET_ROUTE_H
8940 # include <net/route.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IN_H
8943 # include <netinet/in.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IN_SYSTM_H
8946 # include <netinet/in_systm.h>
8947 #endif
8948 #ifdef HAVE_NET_IF_H
8949 # include <net/if.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_H
8952 # include <netinet/ip.h>
8953 #endif
8955 if test "x$ac_cv_header_net_if_h" = xyes
8956 then :
8957 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8960 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8961 #ifdef HAVE_SYS_SOCKET_H
8962 # include <sys/socket.h>
8963 #endif
8964 #ifdef HAVE_SYS_SOCKETVAR_H
8965 # include <sys/socketvar.h>
8966 #endif
8967 #ifdef HAVE_NET_ROUTE_H
8968 # include <net/route.h>
8969 #endif
8970 #ifdef HAVE_NETINET_IN_H
8971 # include <netinet/in.h>
8972 #endif
8973 #ifdef HAVE_NETINET_IN_SYSTM_H
8974 # include <netinet/in_systm.h>
8975 #endif
8976 #ifdef HAVE_NET_IF_H
8977 # include <net/if.h>
8978 #endif
8979 #ifdef HAVE_NETINET_IP_H
8980 # include <netinet/ip.h>
8981 #endif
8983 if test "x$ac_cv_header_net_if_arp_h" = xyes
8984 then :
8985 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8988 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8989 #ifdef HAVE_SYS_SOCKET_H
8990 # include <sys/socket.h>
8991 #endif
8992 #ifdef HAVE_SYS_SOCKETVAR_H
8993 # include <sys/socketvar.h>
8994 #endif
8995 #ifdef HAVE_NET_ROUTE_H
8996 # include <net/route.h>
8997 #endif
8998 #ifdef HAVE_NETINET_IN_H
8999 # include <netinet/in.h>
9000 #endif
9001 #ifdef HAVE_NETINET_IN_SYSTM_H
9002 # include <netinet/in_systm.h>
9003 #endif
9004 #ifdef HAVE_NET_IF_H
9005 # include <net/if.h>
9006 #endif
9007 #ifdef HAVE_NETINET_IP_H
9008 # include <netinet/ip.h>
9009 #endif
9011 if test "x$ac_cv_header_net_if_dl_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
9017 #ifdef HAVE_SYS_SOCKET_H
9018 # include <sys/socket.h>
9019 #endif
9020 #ifdef HAVE_SYS_SOCKETVAR_H
9021 # include <sys/socketvar.h>
9022 #endif
9023 #ifdef HAVE_NET_ROUTE_H
9024 # include <net/route.h>
9025 #endif
9026 #ifdef HAVE_NETINET_IN_H
9027 # include <netinet/in.h>
9028 #endif
9029 #ifdef HAVE_NETINET_IN_SYSTM_H
9030 # include <netinet/in_systm.h>
9031 #endif
9032 #ifdef HAVE_NET_IF_H
9033 # include <net/if.h>
9034 #endif
9035 #ifdef HAVE_NETINET_IP_H
9036 # include <netinet/ip.h>
9037 #endif
9039 if test "x$ac_cv_header_net_if_types_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
9045 #ifdef HAVE_SYS_SOCKET_H
9046 # include <sys/socket.h>
9047 #endif
9048 #ifdef HAVE_SYS_SOCKETVAR_H
9049 # include <sys/socketvar.h>
9050 #endif
9051 #ifdef HAVE_NET_ROUTE_H
9052 # include <net/route.h>
9053 #endif
9054 #ifdef HAVE_NETINET_IN_H
9055 # include <netinet/in.h>
9056 #endif
9057 #ifdef HAVE_NETINET_IN_SYSTM_H
9058 # include <netinet/in_systm.h>
9059 #endif
9060 #ifdef HAVE_NET_IF_H
9061 # include <net/if.h>
9062 #endif
9063 #ifdef HAVE_NETINET_IP_H
9064 # include <netinet/ip.h>
9065 #endif
9067 if test "x$ac_cv_header_net_route_h" = xyes
9068 then :
9069 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
9072 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
9073 #ifdef HAVE_SYS_SOCKET_H
9074 # include <sys/socket.h>
9075 #endif
9076 #ifdef HAVE_SYS_SOCKETVAR_H
9077 # include <sys/socketvar.h>
9078 #endif
9079 #ifdef HAVE_NET_ROUTE_H
9080 # include <net/route.h>
9081 #endif
9082 #ifdef HAVE_NETINET_IN_H
9083 # include <netinet/in.h>
9084 #endif
9085 #ifdef HAVE_NETINET_IN_SYSTM_H
9086 # include <netinet/in_systm.h>
9087 #endif
9088 #ifdef HAVE_NET_IF_H
9089 # include <net/if.h>
9090 #endif
9091 #ifdef HAVE_NETINET_IP_H
9092 # include <netinet/ip.h>
9093 #endif
9095 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
9096 then :
9097 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
9100 ac_fn_c_check_header_compile "$LINENO" "netinet/if_inarp.h" "ac_cv_header_netinet_if_inarp_h" "#include <sys/types.h>
9101 #ifdef HAVE_SYS_SOCKET_H
9102 # include <sys/socket.h>
9103 #endif
9104 #ifdef HAVE_SYS_SOCKETVAR_H
9105 # include <sys/socketvar.h>
9106 #endif
9107 #ifdef HAVE_NET_ROUTE_H
9108 # include <net/route.h>
9109 #endif
9110 #ifdef HAVE_NETINET_IN_H
9111 # include <netinet/in.h>
9112 #endif
9113 #ifdef HAVE_NETINET_IN_SYSTM_H
9114 # include <netinet/in_systm.h>
9115 #endif
9116 #ifdef HAVE_NET_IF_H
9117 # include <net/if.h>
9118 #endif
9119 #ifdef HAVE_NETINET_IP_H
9120 # include <netinet/ip.h>
9121 #endif
9123 if test "x$ac_cv_header_netinet_if_inarp_h" = xyes
9124 then :
9125 printf "%s\n" "#define HAVE_NETINET_IF_INARP_H 1" >>confdefs.h
9128 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
9129 #ifdef HAVE_SYS_SOCKET_H
9130 # include <sys/socket.h>
9131 #endif
9132 #ifdef HAVE_SYS_SOCKETVAR_H
9133 # include <sys/socketvar.h>
9134 #endif
9135 #ifdef HAVE_NET_ROUTE_H
9136 # include <net/route.h>
9137 #endif
9138 #ifdef HAVE_NETINET_IN_H
9139 # include <netinet/in.h>
9140 #endif
9141 #ifdef HAVE_NETINET_IN_SYSTM_H
9142 # include <netinet/in_systm.h>
9143 #endif
9144 #ifdef HAVE_NET_IF_H
9145 # include <net/if.h>
9146 #endif
9147 #ifdef HAVE_NETINET_IP_H
9148 # include <netinet/ip.h>
9149 #endif
9151 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9152 then :
9153 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9156 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9157 #ifdef HAVE_SYS_SOCKET_H
9158 # include <sys/socket.h>
9159 #endif
9160 #ifdef HAVE_SYS_SOCKETVAR_H
9161 # include <sys/socketvar.h>
9162 #endif
9163 #ifdef HAVE_NET_ROUTE_H
9164 # include <net/route.h>
9165 #endif
9166 #ifdef HAVE_NETINET_IN_H
9167 # include <netinet/in.h>
9168 #endif
9169 #ifdef HAVE_NETINET_IN_SYSTM_H
9170 # include <netinet/in_systm.h>
9171 #endif
9172 #ifdef HAVE_NET_IF_H
9173 # include <net/if.h>
9174 #endif
9175 #ifdef HAVE_NETINET_IP_H
9176 # include <netinet/ip.h>
9177 #endif
9179 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9180 then :
9181 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9184 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9185 #ifdef HAVE_SYS_SOCKET_H
9186 # include <sys/socket.h>
9187 #endif
9188 #ifdef HAVE_SYS_SOCKETVAR_H
9189 # include <sys/socketvar.h>
9190 #endif
9191 #ifdef HAVE_NET_ROUTE_H
9192 # include <net/route.h>
9193 #endif
9194 #ifdef HAVE_NETINET_IN_H
9195 # include <netinet/in.h>
9196 #endif
9197 #ifdef HAVE_NETINET_IN_SYSTM_H
9198 # include <netinet/in_systm.h>
9199 #endif
9200 #ifdef HAVE_NET_IF_H
9201 # include <net/if.h>
9202 #endif
9203 #ifdef HAVE_NETINET_IP_H
9204 # include <netinet/ip.h>
9205 #endif
9207 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9208 then :
9209 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9212 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9213 #ifdef HAVE_SYS_SOCKET_H
9214 # include <sys/socket.h>
9215 #endif
9216 #ifdef HAVE_SYS_SOCKETVAR_H
9217 # include <sys/socketvar.h>
9218 #endif
9219 #ifdef HAVE_NET_ROUTE_H
9220 # include <net/route.h>
9221 #endif
9222 #ifdef HAVE_NETINET_IN_H
9223 # include <netinet/in.h>
9224 #endif
9225 #ifdef HAVE_NETINET_IN_SYSTM_H
9226 # include <netinet/in_systm.h>
9227 #endif
9228 #ifdef HAVE_NET_IF_H
9229 # include <net/if.h>
9230 #endif
9231 #ifdef HAVE_NETINET_IP_H
9232 # include <netinet/ip.h>
9233 #endif
9235 if test "x$ac_cv_header_netinet_udp_h" = xyes
9236 then :
9237 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9240 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9241 #ifdef HAVE_SYS_SOCKET_H
9242 # include <sys/socket.h>
9243 #endif
9244 #ifdef HAVE_SYS_SOCKETVAR_H
9245 # include <sys/socketvar.h>
9246 #endif
9247 #ifdef HAVE_NET_ROUTE_H
9248 # include <net/route.h>
9249 #endif
9250 #ifdef HAVE_NETINET_IN_H
9251 # include <netinet/in.h>
9252 #endif
9253 #ifdef HAVE_NETINET_IN_SYSTM_H
9254 # include <netinet/in_systm.h>
9255 #endif
9256 #ifdef HAVE_NET_IF_H
9257 # include <net/if.h>
9258 #endif
9259 #ifdef HAVE_NETINET_IP_H
9260 # include <netinet/ip.h>
9261 #endif
9263 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9264 then :
9265 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9268 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9269 #ifdef HAVE_SYS_SOCKET_H
9270 # include <sys/socket.h>
9271 #endif
9272 #ifdef HAVE_SYS_SOCKETVAR_H
9273 # include <sys/socketvar.h>
9274 #endif
9275 #ifdef HAVE_NET_ROUTE_H
9276 # include <net/route.h>
9277 #endif
9278 #ifdef HAVE_NETINET_IN_H
9279 # include <netinet/in.h>
9280 #endif
9281 #ifdef HAVE_NETINET_IN_SYSTM_H
9282 # include <netinet/in_systm.h>
9283 #endif
9284 #ifdef HAVE_NET_IF_H
9285 # include <net/if.h>
9286 #endif
9287 #ifdef HAVE_NETINET_IP_H
9288 # include <netinet/ip.h>
9289 #endif
9291 if test "x$ac_cv_header_sys_un_h" = xyes
9292 then :
9293 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9298 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_timer.h" "ac_cv_header_netinet_tcp_timer_h" "#include <sys/types.h>
9299 #ifdef HAVE_ALIAS_H
9300 # include <alias.h>
9301 #endif
9302 #ifdef HAVE_SYS_SOCKET_H
9303 # include <sys/socket.h>
9304 #endif
9305 #ifdef HAVE_SYS_SOCKETVAR_H
9306 # include <sys/socketvar.h>
9307 #endif
9308 #ifdef HAVE_SYS_TIMEOUT_H
9309 # include <sys/timeout.h>
9310 #endif
9311 #ifdef HAVE_NETINET_IN_H
9312 # include <netinet/in.h>
9313 #endif
9314 #ifdef HAVE_NETINET_IN_SYSTM_H
9315 # include <netinet/in_systm.h>
9316 #endif
9317 #ifdef HAVE_NETINET_IP_H
9318 # include <netinet/ip.h>
9319 #endif
9320 #ifdef HAVE_NETINET_IP_VAR_H
9321 # include <netinet/ip_var.h>
9322 #endif
9323 #ifdef HAVE_NETINET_IP_ICMP_H
9324 # include <netinet/ip_icmp.h>
9325 #endif
9326 #ifdef HAVE_NETINET_UDP_H
9327 # include <netinet/udp.h>
9328 #endif
9329 #ifdef HAVE_NETINET_TCP_H
9330 # include <netinet/tcp.h>
9331 #endif
9332 #ifdef HAVE_NETINET_TCP_TIMER_H
9333 #include <netinet/tcp_timer.h>
9334 #endif
9336 if test "x$ac_cv_header_netinet_tcp_timer_h" = xyes
9337 then :
9338 printf "%s\n" "#define HAVE_NETINET_TCP_TIMER_H 1" >>confdefs.h
9341 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9342 #ifdef HAVE_ALIAS_H
9343 # include <alias.h>
9344 #endif
9345 #ifdef HAVE_SYS_SOCKET_H
9346 # include <sys/socket.h>
9347 #endif
9348 #ifdef HAVE_SYS_SOCKETVAR_H
9349 # include <sys/socketvar.h>
9350 #endif
9351 #ifdef HAVE_SYS_TIMEOUT_H
9352 # include <sys/timeout.h>
9353 #endif
9354 #ifdef HAVE_NETINET_IN_H
9355 # include <netinet/in.h>
9356 #endif
9357 #ifdef HAVE_NETINET_IN_SYSTM_H
9358 # include <netinet/in_systm.h>
9359 #endif
9360 #ifdef HAVE_NETINET_IP_H
9361 # include <netinet/ip.h>
9362 #endif
9363 #ifdef HAVE_NETINET_IP_VAR_H
9364 # include <netinet/ip_var.h>
9365 #endif
9366 #ifdef HAVE_NETINET_IP_ICMP_H
9367 # include <netinet/ip_icmp.h>
9368 #endif
9369 #ifdef HAVE_NETINET_UDP_H
9370 # include <netinet/udp.h>
9371 #endif
9372 #ifdef HAVE_NETINET_TCP_H
9373 # include <netinet/tcp.h>
9374 #endif
9375 #ifdef HAVE_NETINET_TCP_TIMER_H
9376 #include <netinet/tcp_timer.h>
9377 #endif
9379 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9380 then :
9381 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9384 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9385 #ifdef HAVE_ALIAS_H
9386 # include <alias.h>
9387 #endif
9388 #ifdef HAVE_SYS_SOCKET_H
9389 # include <sys/socket.h>
9390 #endif
9391 #ifdef HAVE_SYS_SOCKETVAR_H
9392 # include <sys/socketvar.h>
9393 #endif
9394 #ifdef HAVE_SYS_TIMEOUT_H
9395 # include <sys/timeout.h>
9396 #endif
9397 #ifdef HAVE_NETINET_IN_H
9398 # include <netinet/in.h>
9399 #endif
9400 #ifdef HAVE_NETINET_IN_SYSTM_H
9401 # include <netinet/in_systm.h>
9402 #endif
9403 #ifdef HAVE_NETINET_IP_H
9404 # include <netinet/ip.h>
9405 #endif
9406 #ifdef HAVE_NETINET_IP_VAR_H
9407 # include <netinet/ip_var.h>
9408 #endif
9409 #ifdef HAVE_NETINET_IP_ICMP_H
9410 # include <netinet/ip_icmp.h>
9411 #endif
9412 #ifdef HAVE_NETINET_UDP_H
9413 # include <netinet/udp.h>
9414 #endif
9415 #ifdef HAVE_NETINET_TCP_H
9416 # include <netinet/tcp.h>
9417 #endif
9418 #ifdef HAVE_NETINET_TCP_TIMER_H
9419 #include <netinet/tcp_timer.h>
9420 #endif
9422 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9423 then :
9424 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9427 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9428 #ifdef HAVE_ALIAS_H
9429 # include <alias.h>
9430 #endif
9431 #ifdef HAVE_SYS_SOCKET_H
9432 # include <sys/socket.h>
9433 #endif
9434 #ifdef HAVE_SYS_SOCKETVAR_H
9435 # include <sys/socketvar.h>
9436 #endif
9437 #ifdef HAVE_SYS_TIMEOUT_H
9438 # include <sys/timeout.h>
9439 #endif
9440 #ifdef HAVE_NETINET_IN_H
9441 # include <netinet/in.h>
9442 #endif
9443 #ifdef HAVE_NETINET_IN_SYSTM_H
9444 # include <netinet/in_systm.h>
9445 #endif
9446 #ifdef HAVE_NETINET_IP_H
9447 # include <netinet/ip.h>
9448 #endif
9449 #ifdef HAVE_NETINET_IP_VAR_H
9450 # include <netinet/ip_var.h>
9451 #endif
9452 #ifdef HAVE_NETINET_IP_ICMP_H
9453 # include <netinet/ip_icmp.h>
9454 #endif
9455 #ifdef HAVE_NETINET_UDP_H
9456 # include <netinet/udp.h>
9457 #endif
9458 #ifdef HAVE_NETINET_TCP_H
9459 # include <netinet/tcp.h>
9460 #endif
9461 #ifdef HAVE_NETINET_TCP_TIMER_H
9462 #include <netinet/tcp_timer.h>
9463 #endif
9465 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9466 then :
9467 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9472 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9473 #ifdef HAVE_ASM_TYPES_H
9474 # include <asm/types.h>
9475 #endif
9476 #ifdef HAVE_SYS_SOCKET_H
9477 # include <sys/socket.h>
9478 #endif
9479 #ifdef HAVE_LINUX_TYPES_H
9480 # include <linux/types.h>
9481 #endif
9483 if test "x$ac_cv_header_linux_ipx_h" = xyes
9484 then :
9485 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9488 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9489 #ifdef HAVE_ASM_TYPES_H
9490 # include <asm/types.h>
9491 #endif
9492 #ifdef HAVE_SYS_SOCKET_H
9493 # include <sys/socket.h>
9494 #endif
9495 #ifdef HAVE_LINUX_TYPES_H
9496 # include <linux/types.h>
9497 #endif
9499 if test "x$ac_cv_header_linux_irda_h" = xyes
9500 then :
9501 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9504 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9505 #ifdef HAVE_ASM_TYPES_H
9506 # include <asm/types.h>
9507 #endif
9508 #ifdef HAVE_SYS_SOCKET_H
9509 # include <sys/socket.h>
9510 #endif
9511 #ifdef HAVE_LINUX_TYPES_H
9512 # include <linux/types.h>
9513 #endif
9515 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9516 then :
9517 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9522 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9523 #ifdef HAVE_SYS_SOCKET_H
9524 # include <sys/socket.h>
9525 #endif
9526 #ifdef HAVE_NETINET_IN_H
9527 # include <netinet/in.h>
9528 #endif
9529 #ifdef HAVE_ARPA_NAMESER_H
9530 # include <arpa/nameser.h>
9531 #endif
9533 if test "x$ac_cv_header_resolv_h" = xyes
9534 then :
9535 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9540 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9542 if test "x$ac_cv_header_ifaddrs_h" = xyes
9543 then :
9544 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9549 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9551 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9552 then :
9553 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9558 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9559 #ifdef HAVE_SYS_UCONTEXT_H
9560 #include <sys/ucontext.h>
9561 #endif
9563 if test "x$ac_cv_header_sys_thr_h" = xyes
9564 then :
9565 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9570 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9571 #include <pthread.h>
9572 #endif
9574 if test "x$ac_cv_header_pthread_np_h" = xyes
9575 then :
9576 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9581 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
9582 #include <sys/time.h>
9583 #endif
9584 #include <sys/types.h>
9585 #ifdef HAVE_ASM_TYPES_H
9586 #include <asm/types.h>
9587 #endif
9589 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9590 then :
9591 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9596 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9597 #include <sys/param.h>
9598 #endif
9599 #ifdef HAVE_SYS_QUEUE_H
9600 #include <sys/queue.h>
9601 #endif
9602 #ifdef HAVE_SYS_SOCKET_H
9603 #include <sys/socket.h>
9604 #endif
9606 if test "x$ac_cv_header_libprocstat_h" = xyes
9607 then :
9608 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9614 DLLFLAGS=""
9616 LDDLLFLAGS=""
9618 LDEXECFLAGS=""
9620 EXTRACFLAGS=""
9622 UNIXDLLFLAGS="-fPIC"
9624 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9626 TOP_INSTALL_LIB=""
9628 TOP_INSTALL_DEV=""
9630 WINELOADER_LDFLAGS=""
9632 WINEPRELOADER_LDFLAGS=""
9634 LIBEXT="so"
9635 # Extract the first word of "ldd", so it can be a program name with args.
9636 set dummy ldd; ac_word=$2
9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9638 printf %s "checking for $ac_word... " >&6; }
9639 if test ${ac_cv_path_LDD+y}
9640 then :
9641 printf %s "(cached) " >&6
9642 else $as_nop
9643 case $LDD in
9644 [\\/]* | ?:[\\/]*)
9645 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9649 as_dummy="/sbin:/usr/sbin:$PATH"
9650 for as_dir in $as_dummy
9652 IFS=$as_save_IFS
9653 case $as_dir in #(((
9654 '') as_dir=./ ;;
9655 */) ;;
9656 *) as_dir=$as_dir/ ;;
9657 esac
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9660 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9662 break 2
9664 done
9665 done
9666 IFS=$as_save_IFS
9668 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9670 esac
9672 LDD=$ac_cv_path_LDD
9673 if test -n "$LDD"; then
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9675 printf "%s\n" "$LDD" >&6; }
9676 else
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 printf "%s\n" "no" >&6; }
9682 if test -n "$ac_tool_prefix"; then
9683 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9684 set dummy ${ac_tool_prefix}otool; ac_word=$2
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9686 printf %s "checking for $ac_word... " >&6; }
9687 if test ${ac_cv_prog_OTOOL+y}
9688 then :
9689 printf %s "(cached) " >&6
9690 else $as_nop
9691 if test -n "$OTOOL"; then
9692 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9693 else
9694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9695 for as_dir in $PATH
9697 IFS=$as_save_IFS
9698 case $as_dir in #(((
9699 '') as_dir=./ ;;
9700 */) ;;
9701 *) as_dir=$as_dir/ ;;
9702 esac
9703 for ac_exec_ext in '' $ac_executable_extensions; do
9704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9705 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9707 break 2
9709 done
9710 done
9711 IFS=$as_save_IFS
9715 OTOOL=$ac_cv_prog_OTOOL
9716 if test -n "$OTOOL"; then
9717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9718 printf "%s\n" "$OTOOL" >&6; }
9719 else
9720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9721 printf "%s\n" "no" >&6; }
9726 if test -z "$ac_cv_prog_OTOOL"; then
9727 ac_ct_OTOOL=$OTOOL
9728 # Extract the first word of "otool", so it can be a program name with args.
9729 set dummy otool; ac_word=$2
9730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9731 printf %s "checking for $ac_word... " >&6; }
9732 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9733 then :
9734 printf %s "(cached) " >&6
9735 else $as_nop
9736 if test -n "$ac_ct_OTOOL"; then
9737 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9738 else
9739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9740 for as_dir in $PATH
9742 IFS=$as_save_IFS
9743 case $as_dir in #(((
9744 '') as_dir=./ ;;
9745 */) ;;
9746 *) as_dir=$as_dir/ ;;
9747 esac
9748 for ac_exec_ext in '' $ac_executable_extensions; do
9749 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9750 ac_cv_prog_ac_ct_OTOOL="otool"
9751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9752 break 2
9754 done
9755 done
9756 IFS=$as_save_IFS
9760 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9761 if test -n "$ac_ct_OTOOL"; then
9762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9763 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9764 else
9765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9766 printf "%s\n" "no" >&6; }
9769 if test "x$ac_ct_OTOOL" = x; then
9770 OTOOL="otool"
9771 else
9772 case $cross_compiling:$ac_tool_warned in
9773 yes:)
9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9775 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9776 ac_tool_warned=yes ;;
9777 esac
9778 OTOOL=$ac_ct_OTOOL
9780 else
9781 OTOOL="$ac_cv_prog_OTOOL"
9784 if test -n "$ac_tool_prefix"; then
9785 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9786 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9788 printf %s "checking for $ac_word... " >&6; }
9789 if test ${ac_cv_prog_READELF+y}
9790 then :
9791 printf %s "(cached) " >&6
9792 else $as_nop
9793 if test -n "$READELF"; then
9794 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9795 else
9796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9797 for as_dir in $PATH
9799 IFS=$as_save_IFS
9800 case $as_dir in #(((
9801 '') as_dir=./ ;;
9802 */) ;;
9803 *) as_dir=$as_dir/ ;;
9804 esac
9805 for ac_exec_ext in '' $ac_executable_extensions; do
9806 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9807 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9809 break 2
9811 done
9812 done
9813 IFS=$as_save_IFS
9817 READELF=$ac_cv_prog_READELF
9818 if test -n "$READELF"; then
9819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9820 printf "%s\n" "$READELF" >&6; }
9821 else
9822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9823 printf "%s\n" "no" >&6; }
9828 if test -z "$ac_cv_prog_READELF"; then
9829 ac_ct_READELF=$READELF
9830 # Extract the first word of "readelf", so it can be a program name with args.
9831 set dummy readelf; ac_word=$2
9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9833 printf %s "checking for $ac_word... " >&6; }
9834 if test ${ac_cv_prog_ac_ct_READELF+y}
9835 then :
9836 printf %s "(cached) " >&6
9837 else $as_nop
9838 if test -n "$ac_ct_READELF"; then
9839 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9840 else
9841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9842 for as_dir in $PATH
9844 IFS=$as_save_IFS
9845 case $as_dir in #(((
9846 '') as_dir=./ ;;
9847 */) ;;
9848 *) as_dir=$as_dir/ ;;
9849 esac
9850 for ac_exec_ext in '' $ac_executable_extensions; do
9851 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9852 ac_cv_prog_ac_ct_READELF="readelf"
9853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9854 break 2
9856 done
9857 done
9858 IFS=$as_save_IFS
9862 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9863 if test -n "$ac_ct_READELF"; then
9864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9865 printf "%s\n" "$ac_ct_READELF" >&6; }
9866 else
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9868 printf "%s\n" "no" >&6; }
9871 if test "x$ac_ct_READELF" = x; then
9872 READELF="true"
9873 else
9874 case $cross_compiling:$ac_tool_warned in
9875 yes:)
9876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9877 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9878 ac_tool_warned=yes ;;
9879 esac
9880 READELF=$ac_ct_READELF
9882 else
9883 READELF="$ac_cv_prog_READELF"
9886 wine_rules="all:"
9887 SUBDIRS=""
9889 DISABLED_SUBDIRS=""
9891 CONFIGURE_TARGETS=""
9894 wine_fn_append_file ()
9896 as_fn_append $1 " \\$as_nl $2"
9899 wine_fn_append_rule ()
9901 as_fn_append wine_rules "$as_nl$1"
9904 wine_fn_config_makefile ()
9906 wine_fn_append_file SUBDIRS $1
9907 if eval test \"x\$"$2"\" = x"no"
9908 then :
9909 wine_fn_append_file DISABLED_SUBDIRS $1
9913 wine_fn_config_symlink ()
9915 ac_links=$@
9916 wine_fn_append_rule \
9917 "$ac_links:
9918 @./config.status \$@"
9919 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9922 wine_binary="wine"
9923 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9924 WINELOADER_PROGRAMS="$wine_binary"
9926 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9928 case $host_os in
9929 cygwin*|mingw32*)
9930 if test -n "$ac_tool_prefix"; then
9931 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9932 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9934 printf %s "checking for $ac_word... " >&6; }
9935 if test ${ac_cv_prog_DLLTOOL+y}
9936 then :
9937 printf %s "(cached) " >&6
9938 else $as_nop
9939 if test -n "$DLLTOOL"; then
9940 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9941 else
9942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9943 for as_dir in $PATH
9945 IFS=$as_save_IFS
9946 case $as_dir in #(((
9947 '') as_dir=./ ;;
9948 */) ;;
9949 *) as_dir=$as_dir/ ;;
9950 esac
9951 for ac_exec_ext in '' $ac_executable_extensions; do
9952 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9953 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9955 break 2
9957 done
9958 done
9959 IFS=$as_save_IFS
9963 DLLTOOL=$ac_cv_prog_DLLTOOL
9964 if test -n "$DLLTOOL"; then
9965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9966 printf "%s\n" "$DLLTOOL" >&6; }
9967 else
9968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9969 printf "%s\n" "no" >&6; }
9974 if test -z "$ac_cv_prog_DLLTOOL"; then
9975 ac_ct_DLLTOOL=$DLLTOOL
9976 # Extract the first word of "dlltool", so it can be a program name with args.
9977 set dummy dlltool; ac_word=$2
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9979 printf %s "checking for $ac_word... " >&6; }
9980 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9981 then :
9982 printf %s "(cached) " >&6
9983 else $as_nop
9984 if test -n "$ac_ct_DLLTOOL"; then
9985 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9986 else
9987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 for as_dir in $PATH
9990 IFS=$as_save_IFS
9991 case $as_dir in #(((
9992 '') as_dir=./ ;;
9993 */) ;;
9994 *) as_dir=$as_dir/ ;;
9995 esac
9996 for ac_exec_ext in '' $ac_executable_extensions; do
9997 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9998 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10000 break 2
10002 done
10003 done
10004 IFS=$as_save_IFS
10008 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10009 if test -n "$ac_ct_DLLTOOL"; then
10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10011 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
10012 else
10013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10014 printf "%s\n" "no" >&6; }
10017 if test "x$ac_ct_DLLTOOL" = x; then
10018 DLLTOOL="false"
10019 else
10020 case $cross_compiling:$ac_tool_warned in
10021 yes:)
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10023 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10024 ac_tool_warned=yes ;;
10025 esac
10026 DLLTOOL=$ac_ct_DLLTOOL
10028 else
10029 DLLTOOL="$ac_cv_prog_DLLTOOL"
10032 LIBEXT="dll"
10033 EXTRACFLAGS="-D__WINE_PE_BUILD"
10034 case $host_cpu in
10035 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
10036 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
10037 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
10038 then :
10039 printf %s "(cached) " >&6
10040 else $as_nop
10041 ac_wine_try_cflags_saved=$CFLAGS
10042 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10045 int main(int argc, char **argv) { return 0; }
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"
10048 then :
10049 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
10050 else $as_nop
10051 ac_cv_cflags__Wl___disable_stdcall_fixup=no
10053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10054 conftest$ac_exeext conftest.$ac_ext
10055 CFLAGS=$ac_wine_try_cflags_saved
10057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
10058 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
10059 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
10060 then :
10061 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
10062 fi ;;
10063 esac
10064 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
10065 enable_loader=${enable_loader:-no}
10066 enable_server=${enable_server:-no}
10067 with_x=${with_x:-no}
10068 with_pthread=${with_pthread:-no}
10071 darwin*|macosx*)
10072 ac_ext=m
10073 ac_cpp='$OBJCPP $CPPFLAGS'
10074 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10075 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10076 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10078 ac_ext=m
10079 ac_cpp='$OBJCPP $CPPFLAGS'
10080 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10081 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10082 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10083 if test -n "$ac_tool_prefix"; then
10084 for ac_prog in gcc objcc objc cc CC clang
10086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10089 printf %s "checking for $ac_word... " >&6; }
10090 if test ${ac_cv_prog_OBJC+y}
10091 then :
10092 printf %s "(cached) " >&6
10093 else $as_nop
10094 if test -n "$OBJC"; then
10095 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
10096 else
10097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10098 for as_dir in $PATH
10100 IFS=$as_save_IFS
10101 case $as_dir in #(((
10102 '') as_dir=./ ;;
10103 */) ;;
10104 *) as_dir=$as_dir/ ;;
10105 esac
10106 for ac_exec_ext in '' $ac_executable_extensions; do
10107 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10108 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
10109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10110 break 2
10112 done
10113 done
10114 IFS=$as_save_IFS
10118 OBJC=$ac_cv_prog_OBJC
10119 if test -n "$OBJC"; then
10120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
10121 printf "%s\n" "$OBJC" >&6; }
10122 else
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124 printf "%s\n" "no" >&6; }
10128 test -n "$OBJC" && break
10129 done
10131 if test -z "$OBJC"; then
10132 ac_ct_OBJC=$OBJC
10133 for ac_prog in gcc objcc objc cc CC clang
10135 # Extract the first word of "$ac_prog", so it can be a program name with args.
10136 set dummy $ac_prog; ac_word=$2
10137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10138 printf %s "checking for $ac_word... " >&6; }
10139 if test ${ac_cv_prog_ac_ct_OBJC+y}
10140 then :
10141 printf %s "(cached) " >&6
10142 else $as_nop
10143 if test -n "$ac_ct_OBJC"; then
10144 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
10145 else
10146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10147 for as_dir in $PATH
10149 IFS=$as_save_IFS
10150 case $as_dir in #(((
10151 '') as_dir=./ ;;
10152 */) ;;
10153 *) as_dir=$as_dir/ ;;
10154 esac
10155 for ac_exec_ext in '' $ac_executable_extensions; do
10156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10157 ac_cv_prog_ac_ct_OBJC="$ac_prog"
10158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10159 break 2
10161 done
10162 done
10163 IFS=$as_save_IFS
10167 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
10168 if test -n "$ac_ct_OBJC"; then
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
10170 printf "%s\n" "$ac_ct_OBJC" >&6; }
10171 else
10172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10173 printf "%s\n" "no" >&6; }
10177 test -n "$ac_ct_OBJC" && break
10178 done
10180 if test "x$ac_ct_OBJC" = x; then
10181 OBJC="gcc"
10182 else
10183 case $cross_compiling:$ac_tool_warned in
10184 yes:)
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10186 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10187 ac_tool_warned=yes ;;
10188 esac
10189 OBJC=$ac_ct_OBJC
10193 # Provide some information about the compiler.
10194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
10195 set X $ac_compile
10196 ac_compiler=$2
10197 for ac_option in --version -v -V -qversion; do
10198 { { ac_try="$ac_compiler $ac_option >&5"
10199 case "(($ac_try" in
10200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10201 *) ac_try_echo=$ac_try;;
10202 esac
10203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10204 printf "%s\n" "$ac_try_echo"; } >&5
10205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10206 ac_status=$?
10207 if test -s conftest.err; then
10208 sed '10a\
10209 ... rest of stderr output deleted ...
10210 10q' conftest.err >conftest.er1
10211 cat conftest.er1 >&5
10213 rm -f conftest.er1 conftest.err
10214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10215 test $ac_status = 0; }
10216 done
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
10219 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
10220 if test ${ac_cv_objc_compiler_gnu+y}
10221 then :
10222 printf %s "(cached) " >&6
10223 else $as_nop
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10228 main (void)
10230 #ifndef __GNUC__
10231 choke me
10232 #endif
10235 return 0;
10237 _ACEOF
10238 if ac_fn_objc_try_compile "$LINENO"
10239 then :
10240 ac_compiler_gnu=yes
10241 else $as_nop
10242 ac_compiler_gnu=no
10244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10245 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10249 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10250 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10252 if test $ac_compiler_gnu = yes; then
10253 GOBJC=yes
10254 else
10255 GOBJC=
10257 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10258 ac_save_OBJCFLAGS=$OBJCFLAGS
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10260 printf %s "checking whether $OBJC accepts -g... " >&6; }
10261 if test ${ac_cv_prog_objc_g+y}
10262 then :
10263 printf %s "(cached) " >&6
10264 else $as_nop
10265 ac_save_objc_werror_flag=$ac_objc_werror_flag
10266 ac_objc_werror_flag=yes
10267 ac_cv_prog_objc_g=no
10268 OBJCFLAGS="-g"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10273 main (void)
10277 return 0;
10279 _ACEOF
10280 if ac_fn_objc_try_compile "$LINENO"
10281 then :
10282 ac_cv_prog_objc_g=yes
10283 else $as_nop
10284 OBJCFLAGS=""
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10289 main (void)
10293 return 0;
10295 _ACEOF
10296 if ac_fn_objc_try_compile "$LINENO"
10297 then :
10299 else $as_nop
10300 ac_objc_werror_flag=$ac_save_objc_werror_flag
10301 OBJCFLAGS="-g"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10306 main (void)
10310 return 0;
10312 _ACEOF
10313 if ac_fn_objc_try_compile "$LINENO"
10314 then :
10315 ac_cv_prog_objc_g=yes
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
10321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10322 ac_objc_werror_flag=$ac_save_objc_werror_flag
10324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10325 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10326 if test $ac_test_OBJCFLAGS; then
10327 OBJCFLAGS=$ac_save_OBJCFLAGS
10328 elif test $ac_cv_prog_objc_g = yes; then
10329 if test "$GOBJC" = yes; then
10330 OBJCFLAGS="-g -O2"
10331 else
10332 OBJCFLAGS="-g"
10334 else
10335 if test "$GOBJC" = yes; then
10336 OBJCFLAGS="-O2"
10337 else
10338 OBJCFLAGS=
10341 ac_ext=m
10342 ac_cpp='$OBJCPP $CPPFLAGS'
10343 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10344 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10345 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10348 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10349 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10350 then :
10351 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10355 ac_ext=c
10356 ac_cpp='$CPP $CPPFLAGS'
10357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10361 LIBEXT="dylib"
10362 DLLFLAGS="$DLLFLAGS -fPIC"
10363 LDDLLFLAGS="-fPIC"
10364 COREFOUNDATION_LIBS="-framework CoreFoundation"
10366 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10368 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10370 CORESERVICES_LIBS="-framework CoreServices"
10372 APPKIT_LIBS="-framework AppKit"
10374 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10377 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10379 wine_can_build_preloader=yes
10380 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"
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10382 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10383 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10384 then :
10385 printf %s "(cached) " >&6
10386 else $as_nop
10387 ac_wine_try_cflags_saved=$CFLAGS
10388 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int main(int argc, char **argv) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"
10394 then :
10395 ac_cv_cflags__Wl__no_new_main__e__main=yes
10396 else $as_nop
10397 ac_cv_cflags__Wl__no_new_main__e__main=no
10399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10404 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10405 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10406 then :
10407 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10408 { 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
10409 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10410 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10411 then :
10412 printf %s "(cached) " >&6
10413 else $as_nop
10414 ac_wine_try_cflags_saved=$CFLAGS
10415 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10418 int main(int argc, char **argv) { return 0; }
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"
10421 then :
10422 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10423 else $as_nop
10424 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10427 conftest$ac_exeext conftest.$ac_ext
10428 CFLAGS=$ac_wine_try_cflags_saved
10430 { 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
10431 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10432 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10433 then :
10434 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10435 else $as_nop
10436 wine_can_build_preloader=no
10438 else $as_nop
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10440 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10441 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10442 then :
10443 printf %s "(cached) " >&6
10444 else $as_nop
10445 ac_wine_try_cflags_saved=$CFLAGS
10446 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10449 int main(int argc, char **argv) { return 0; }
10450 _ACEOF
10451 if ac_fn_c_try_link "$LINENO"
10452 then :
10453 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10454 else $as_nop
10455 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10458 conftest$ac_exeext conftest.$ac_ext
10459 CFLAGS=$ac_wine_try_cflags_saved
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10462 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10463 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10464 then :
10465 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10466 else $as_nop
10467 wine_can_build_preloader=no
10470 if test "$wine_can_build_preloader" = "yes"
10471 then
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10473 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10474 if test ${ac_cv_cflags__Wl__no_pie+y}
10475 then :
10476 printf %s "(cached) " >&6
10477 else $as_nop
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 CFLAGS="$CFLAGS -Wl,-no_pie"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10482 int main(int argc, char **argv) { return 0; }
10483 _ACEOF
10484 if ac_fn_c_try_link "$LINENO"
10485 then :
10486 ac_cv_cflags__Wl__no_pie=yes
10487 else $as_nop
10488 ac_cv_cflags__Wl__no_pie=no
10490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10491 conftest$ac_exeext conftest.$ac_ext
10492 CFLAGS=$ac_wine_try_cflags_saved
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10495 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10496 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10497 then :
10498 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10500 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10501 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10502 else
10503 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10506 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10507 then
10508 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10511 if test "$ac_cv_header_Security_Security_h" = "yes"
10512 then
10513 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10516 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10517 then
10518 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10520 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10522 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10523 then
10524 OPENAL_LIBS="-framework OpenAL"
10527 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10529 ac_cv_lib_openal=yes
10531 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10532 then
10533 OPENCL_LIBS="-framework OpenCL"
10535 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10537 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10538 then
10539 ac_save_LIBS="$LIBS"
10540 LIBS="$LIBS $IOKIT_LIBS"
10541 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10542 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10543 then :
10544 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10548 LIBS="$ac_save_LIBS"
10551 if test "x$with_quicktime" != "xno"
10552 then
10553 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
10554 then
10555 ac_save_LIBS="$LIBS"
10556 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
10558 printf %s "checking for the QuickTime framework... " >&6; }
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10561 #include <QuickTime/ImageCompression.h>
10563 main (void)
10565 CodecManagerVersion(NULL);
10567 return 0;
10569 _ACEOF
10570 if ac_fn_c_try_link "$LINENO"
10571 then :
10572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10573 printf "%s\n" "yes" >&6; }
10574 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
10576 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
10577 else $as_nop
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10579 printf "%s\n" "no" >&6; }
10580 ac_cv_header_QuickTime_ImageCompression_h=no
10582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS="$ac_save_LIBS"
10587 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
10588 then :
10589 case "x$with_quicktime" in
10590 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
10591 xno) ;;
10592 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
10593 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
10594 esac
10598 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10599 then
10600 CARBON_LIBS="-framework Carbon"
10603 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10604 then
10605 METAL_LIBS="-framework Metal -framework QuartzCore"
10609 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10610 then
10611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10612 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10613 ac_ext=m
10614 ac_cpp='$OBJCPP $CPPFLAGS'
10615 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10616 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10617 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10621 #include <Metal/Metal.h>
10623 main (void)
10625 id<MTLDevice> device; device.registryID;
10627 return 0;
10629 _ACEOF
10630 if ac_fn_objc_try_compile "$LINENO"
10631 then :
10632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10633 printf "%s\n" "yes" >&6; }
10635 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10637 else $as_nop
10638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10639 printf "%s\n" "no" >&6; }
10641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10642 ac_ext=c
10643 ac_cpp='$CPP $CPPFLAGS'
10644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10650 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10651 then
10652 ac_save_LIBS="$LIBS"
10653 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10654 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10655 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10656 then :
10657 enable_winemac_drv=${enable_winemac_drv:-yes}
10660 LIBS="$ac_save_LIBS"
10663 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10664 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10666 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10668 WINELOADER_DEPENDS="wine_info.plist"
10670 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10673 linux-android*)
10675 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10677 DLLFLAGS="$DLLFLAGS -fPIC"
10678 LDDLLFLAGS="-fPIC"
10679 LDEXECFLAGS="-Wl,-pie"
10680 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10682 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10683 if test ${ac_cv_cflags__Wl__z_defs+y}
10684 then :
10685 printf %s "(cached) " >&6
10686 else $as_nop
10687 ac_wine_try_cflags_saved=$CFLAGS
10688 CFLAGS="$CFLAGS -Wl,-z,defs"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10691 int main(int argc, char **argv) { return 0; }
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"
10694 then :
10695 ac_cv_cflags__Wl__z_defs=yes
10696 else $as_nop
10697 ac_cv_cflags__Wl__z_defs=no
10699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10700 conftest$ac_exeext conftest.$ac_ext
10701 CFLAGS=$ac_wine_try_cflags_saved
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10704 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10705 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10706 then :
10707 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10710 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10711 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10712 then :
10713 printf %s "(cached) " >&6
10714 else $as_nop
10715 ac_wine_try_cflags_saved=$CFLAGS
10716 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 int main(int argc, char **argv) { return 0; }
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"
10722 then :
10723 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10724 else $as_nop
10725 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10728 conftest$ac_exeext conftest.$ac_ext
10729 CFLAGS=$ac_wine_try_cflags_saved
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10732 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10733 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10734 then :
10735 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10737 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10740 printf %s "checking for -lEGL... " >&6; }
10741 if test ${ac_cv_lib_soname_EGL+y}
10742 then :
10743 printf %s "(cached) " >&6
10744 else $as_nop
10745 ac_check_soname_save_LIBS=$LIBS
10746 LIBS="-lEGL $LIBS"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 char eglGetProcAddress ();
10755 main (void)
10757 return eglGetProcAddress ();
10759 return 0;
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"
10763 then :
10764 case "$LIBEXT" in
10765 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10766 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'` ;;
10767 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10768 if ${ac_cv_lib_soname_EGL:+false} :
10769 then :
10770 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10771 fi ;;
10772 esac
10773 else $as_nop
10774 ac_cv_lib_soname_EGL=
10776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_soname_save_LIBS
10780 if ${ac_cv_lib_soname_EGL:+false} :
10781 then :
10782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10783 printf "%s\n" "not found" >&6; }
10785 else $as_nop
10786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10787 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10789 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10794 printf %s "checking for -lGLESv2... " >&6; }
10795 if test ${ac_cv_lib_soname_GLESv2+y}
10796 then :
10797 printf %s "(cached) " >&6
10798 else $as_nop
10799 ac_check_soname_save_LIBS=$LIBS
10800 LIBS="-lGLESv2 $LIBS"
10801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10804 /* Override any GCC internal prototype to avoid an error.
10805 Use char because int might match the return type of a GCC
10806 builtin and then its argument prototype would still apply. */
10807 char glFlush ();
10809 main (void)
10811 return glFlush ();
10813 return 0;
10815 _ACEOF
10816 if ac_fn_c_try_link "$LINENO"
10817 then :
10818 case "$LIBEXT" in
10819 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10820 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'` ;;
10821 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10822 if ${ac_cv_lib_soname_GLESv2:+false} :
10823 then :
10824 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10825 fi ;;
10826 esac
10827 else $as_nop
10828 ac_cv_lib_soname_GLESv2=
10830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10831 conftest$ac_exeext conftest.$ac_ext
10832 LIBS=$ac_check_soname_save_LIBS
10834 if ${ac_cv_lib_soname_GLESv2:+false} :
10835 then :
10836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10837 printf "%s\n" "not found" >&6; }
10839 else $as_nop
10840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10841 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10843 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10848 if test "x$exec_prefix" = xNONE
10849 then
10850 case $host_cpu in
10851 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10852 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10853 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10854 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10855 esac
10861 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10863 case $host_cpu in
10864 *i[3456789]86*)
10865 DLLFLAGS="$DLLFLAGS -fno-PIC"
10866 LDDLLFLAGS="-fno-PIC"
10867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10868 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10869 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10870 then :
10871 printf %s "(cached) " >&6
10872 else $as_nop
10873 ac_wine_try_cflags_saved=$CFLAGS
10874 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10877 int main(int argc, char **argv) { return 0; }
10878 _ACEOF
10879 if ac_fn_c_try_link "$LINENO"
10880 then :
10881 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10882 else $as_nop
10883 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10886 conftest$ac_exeext conftest.$ac_ext
10887 CFLAGS=$ac_wine_try_cflags_saved
10889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10890 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10891 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10892 then :
10893 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10897 DLLFLAGS="$DLLFLAGS -fPIC"
10898 LDDLLFLAGS="-fPIC" ;;
10899 esac
10900 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10902 echo '{ global: *; };' >conftest.map
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10904 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10905 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10906 then :
10907 printf %s "(cached) " >&6
10908 else $as_nop
10909 ac_wine_try_cflags_saved=$CFLAGS
10910 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10913 int main(int argc, char **argv) { return 0; }
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"
10916 then :
10917 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10918 else $as_nop
10919 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10922 conftest$ac_exeext conftest.$ac_ext
10923 CFLAGS=$ac_wine_try_cflags_saved
10925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10926 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10927 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10928 then :
10929 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10931 rm -f conftest.map
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10934 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10935 if test ${ac_cv_cflags__Wl__z_defs+y}
10936 then :
10937 printf %s "(cached) " >&6
10938 else $as_nop
10939 ac_wine_try_cflags_saved=$CFLAGS
10940 CFLAGS="$CFLAGS -Wl,-z,defs"
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 int main(int argc, char **argv) { return 0; }
10944 _ACEOF
10945 if ac_fn_c_try_link "$LINENO"
10946 then :
10947 ac_cv_cflags__Wl__z_defs=yes
10948 else $as_nop
10949 ac_cv_cflags__Wl__z_defs=no
10951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10952 conftest$ac_exeext conftest.$ac_ext
10953 CFLAGS=$ac_wine_try_cflags_saved
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10956 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10957 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10958 then :
10959 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10962 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10963 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10964 then :
10965 printf %s "(cached) " >&6
10966 else $as_nop
10967 ac_wine_try_cflags_saved=$CFLAGS
10968 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10971 int main(int argc, char **argv) { return 0; }
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"
10974 then :
10975 ac_cv_cflags__Wl___export_dynamic=yes
10976 else $as_nop
10977 ac_cv_cflags__Wl___export_dynamic=no
10979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10980 conftest$ac_exeext conftest.$ac_ext
10981 CFLAGS=$ac_wine_try_cflags_saved
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10984 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10985 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10986 then :
10987 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10989 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10991 case $host_cpu in
10992 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10994 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10995 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10996 then :
10997 printf %s "(cached) " >&6
10998 else $as_nop
10999 ac_wine_try_cflags_saved=$CFLAGS
11000 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11003 int main(int argc, char **argv) { return 0; }
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"
11006 then :
11007 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
11008 else $as_nop
11009 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
11011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11012 conftest$ac_exeext conftest.$ac_ext
11013 CFLAGS=$ac_wine_try_cflags_saved
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
11016 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
11017 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
11018 then :
11019 case $host_os in
11020 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
11021 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
11022 esac
11023 else $as_nop
11024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
11025 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
11026 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
11027 then :
11028 printf %s "(cached) " >&6
11029 else $as_nop
11030 ac_wine_try_cflags_saved=$CFLAGS
11031 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11034 int main(int argc, char **argv) { return 0; }
11035 _ACEOF
11036 if ac_fn_c_try_link "$LINENO"
11037 then :
11038 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
11039 else $as_nop
11040 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
11042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11043 conftest$ac_exeext conftest.$ac_ext
11044 CFLAGS=$ac_wine_try_cflags_saved
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
11047 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
11048 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
11049 then :
11050 case $host_os in
11051 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
11052 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
11053 esac
11055 # Extract the first word of "prelink", so it can be a program name with args.
11056 set dummy prelink; ac_word=$2
11057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11058 printf %s "checking for $ac_word... " >&6; }
11059 if test ${ac_cv_path_PRELINK+y}
11060 then :
11061 printf %s "(cached) " >&6
11062 else $as_nop
11063 case $PRELINK in
11064 [\\/]* | ?:[\\/]*)
11065 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
11068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11069 for as_dir in /sbin /usr/sbin $PATH
11071 IFS=$as_save_IFS
11072 case $as_dir in #(((
11073 '') as_dir=./ ;;
11074 */) ;;
11075 *) as_dir=$as_dir/ ;;
11076 esac
11077 for ac_exec_ext in '' $ac_executable_extensions; do
11078 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11079 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
11080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11081 break 2
11083 done
11084 done
11085 IFS=$as_save_IFS
11087 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
11089 esac
11091 PRELINK=$ac_cv_path_PRELINK
11092 if test -n "$PRELINK"; then
11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
11094 printf "%s\n" "$PRELINK" >&6; }
11095 else
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 printf "%s\n" "no" >&6; }
11101 if test "x$PRELINK" = xfalse
11102 then
11103 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
11106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
11107 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
11108 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
11109 then :
11110 printf %s "(cached) " >&6
11111 else $as_nop
11112 ac_wine_try_cflags_saved=$CFLAGS
11113 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11116 int main(int argc, char **argv) { return 0; }
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"
11119 then :
11120 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
11121 else $as_nop
11122 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
11124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11125 conftest$ac_exeext conftest.$ac_ext
11126 CFLAGS=$ac_wine_try_cflags_saved
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
11129 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
11130 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
11131 then :
11132 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
11135 esac
11136 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
11138 LIBWINE_DEPENDS="wine.map"
11140 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
11142 esac
11144 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11145 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
11146 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
11147 enable_winemac_drv=${enable_winemac_drv:-no}
11148 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11151 if test "x$with_mingw" != xno
11152 then
11153 case "x$with_mingw" in
11154 x|xyes) case "$host_cpu" in
11155 aarch64*)
11156 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
11157 arm*)
11158 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
11159 i[3456789]86*)
11160 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
11161 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
11162 mingw32-gcc clang" ;;
11163 x86_64)
11164 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
11165 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
11167 ac_prefix_list="" ;;
11168 esac
11169 for ac_prog in $ac_prefix_list
11171 # Extract the first word of "$ac_prog", so it can be a program name with args.
11172 set dummy $ac_prog; ac_word=$2
11173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11174 printf %s "checking for $ac_word... " >&6; }
11175 if test ${ac_cv_prog_CROSSCC+y}
11176 then :
11177 printf %s "(cached) " >&6
11178 else $as_nop
11179 if test -n "$CROSSCC"; then
11180 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11181 else
11182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11183 for as_dir in $PATH
11185 IFS=$as_save_IFS
11186 case $as_dir in #(((
11187 '') as_dir=./ ;;
11188 */) ;;
11189 *) as_dir=$as_dir/ ;;
11190 esac
11191 for ac_exec_ext in '' $ac_executable_extensions; do
11192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11193 ac_cv_prog_CROSSCC="$ac_prog"
11194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11195 break 2
11197 done
11198 done
11199 IFS=$as_save_IFS
11203 CROSSCC=$ac_cv_prog_CROSSCC
11204 if test -n "$CROSSCC"; then
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
11206 printf "%s\n" "$CROSSCC" >&6; }
11207 else
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11209 printf "%s\n" "no" >&6; }
11213 test -n "$CROSSCC" && break
11214 done
11215 test -n "$CROSSCC" || CROSSCC="false"
11217 *) CROSSCC=$with_mingw ;;
11218 esac
11219 if test "$CROSSCC" != "false"
11220 then
11221 ac_save_CC="$CC"
11222 saved_CFLAGS=$CFLAGS
11223 saved_LDFLAGS=$LDFLAGS
11224 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
11226 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
11230 CC="$CROSSCC"
11231 CFLAGS=$CROSSCFLAGS
11232 LDFLAGS=$CROSSLDFLAGS
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
11234 printf %s "checking whether $CROSSCC works... " >&6; }
11235 if test ${wine_cv_crosscc+y}
11236 then :
11237 printf %s "(cached) " >&6
11238 else $as_nop
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11243 main (void)
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_compile "$LINENO"
11251 then :
11252 wine_cv_crosscc=yes
11253 else $as_nop
11254 wine_cv_crosscc=no
11256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
11259 printf "%s\n" "$wine_cv_crosscc" >&6; }
11260 if test $wine_cv_crosscc = yes
11261 then
11262 set x $CROSSCC
11263 shift
11264 while test $# -ge 1
11266 case "$1" in
11267 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
11268 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
11269 esac
11270 shift
11271 done
11273 llvm_target=$CROSSTARGET
11274 llvm_cflags="-fuse-ld=lld"
11275 if test -z "$llvm_target"
11276 then
11277 case $host_cpu in
11278 *i[3456789]86*) llvm_target=i686-windows ;;
11279 *) llvm_target=$host_cpu-windows ;;
11280 esac
11282 case $llvm_target in
11283 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11284 esac
11285 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11287 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11288 if eval test \${$as_ac_var+y}
11289 then :
11290 printf %s "(cached) " >&6
11291 else $as_nop
11292 ac_wine_try_cflags_saved=$CFLAGS
11293 ac_wine_try_cflags_saved_cc=$CC
11294 ac_wine_try_cflags_saved_exeext=$ac_exeext
11295 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11296 CC="$CROSSCC"
11297 ac_exeext=".exe"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11300 int __cdecl mainCRTStartup(void) { return 0; }
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"
11303 then :
11304 eval "$as_ac_var=yes"
11305 else $as_nop
11306 eval "$as_ac_var=no"
11308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11309 conftest$ac_exeext conftest.$ac_ext
11310 CFLAGS=$ac_wine_try_cflags_saved
11311 CC=$ac_wine_try_cflags_saved_cc
11312 ac_exeext=$ac_wine_try_cflags_saved_exeext
11314 eval ac_res=\$$as_ac_var
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11316 printf "%s\n" "$ac_res" >&6; }
11317 if eval test \"x\$"$as_ac_var"\" = x"yes"
11318 then :
11319 CROSSTARGET=$llvm_target
11320 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11321 DELAYLOADFLAG="-Wl,-delayload,"
11323 CFLAGS="$CFLAGS $llvm_cflags"
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11327 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11328 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11329 then :
11330 printf %s "(cached) " >&6
11331 else $as_nop
11332 ac_wine_try_cflags_saved=$CFLAGS
11333 ac_wine_try_cflags_saved_cc=$CC
11334 ac_wine_try_cflags_saved_exeext=$ac_exeext
11335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11336 CC="$CROSSCC"
11337 ac_exeext=".exe"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11340 int __cdecl mainCRTStartup(void) { return 0; }
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"
11343 then :
11344 ac_cv_crosscflags__fno_strict_aliasing=yes
11345 else $as_nop
11346 ac_cv_crosscflags__fno_strict_aliasing=no
11348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11349 conftest$ac_exeext conftest.$ac_ext
11350 CFLAGS=$ac_wine_try_cflags_saved
11351 CC=$ac_wine_try_cflags_saved_cc
11352 ac_exeext=$ac_wine_try_cflags_saved_exeext
11354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11355 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11356 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11357 then :
11358 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11361 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11362 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11363 then :
11364 printf %s "(cached) " >&6
11365 else $as_nop
11366 ac_wine_try_cflags_saved=$CFLAGS
11367 ac_wine_try_cflags_saved_cc=$CC
11368 ac_wine_try_cflags_saved_exeext=$ac_exeext
11369 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11370 CC="$CROSSCC"
11371 ac_exeext=".exe"
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11374 int __cdecl mainCRTStartup(void) { return 0; }
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"
11377 then :
11378 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11379 else $as_nop
11380 ac_cv_crosscflags__Werror_unknown_warning_option=no
11382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11383 conftest$ac_exeext conftest.$ac_ext
11384 CFLAGS=$ac_wine_try_cflags_saved
11385 CC=$ac_wine_try_cflags_saved_cc
11386 ac_exeext=$ac_wine_try_cflags_saved_exeext
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11389 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11390 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11391 then :
11392 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11395 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11396 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11397 then :
11398 printf %s "(cached) " >&6
11399 else $as_nop
11400 ac_wine_try_cflags_saved=$CFLAGS
11401 ac_wine_try_cflags_saved_cc=$CC
11402 ac_wine_try_cflags_saved_exeext=$ac_exeext
11403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11404 CC="$CROSSCC"
11405 ac_exeext=".exe"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11408 int __cdecl mainCRTStartup(void) { return 0; }
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"
11411 then :
11412 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11413 else $as_nop
11414 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11417 conftest$ac_exeext conftest.$ac_ext
11418 CFLAGS=$ac_wine_try_cflags_saved
11419 CC=$ac_wine_try_cflags_saved_cc
11420 ac_exeext=$ac_wine_try_cflags_saved_exeext
11422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11423 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11424 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11425 then :
11426 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11429 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11430 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11431 then :
11432 printf %s "(cached) " >&6
11433 else $as_nop
11434 ac_wine_try_cflags_saved=$CFLAGS
11435 ac_wine_try_cflags_saved_cc=$CC
11436 ac_wine_try_cflags_saved_exeext=$ac_exeext
11437 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11438 CC="$CROSSCC"
11439 ac_exeext=".exe"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442 int __cdecl mainCRTStartup(void) { return 0; }
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"
11445 then :
11446 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11447 else $as_nop
11448 ac_cv_crosscflags__Wdeclaration_after_statement=no
11450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11451 conftest$ac_exeext conftest.$ac_ext
11452 CFLAGS=$ac_wine_try_cflags_saved
11453 CC=$ac_wine_try_cflags_saved_cc
11454 ac_exeext=$ac_wine_try_cflags_saved_exeext
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11457 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11458 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11459 then :
11460 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11463 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11464 if test ${ac_cv_crosscflags__Wempty_body+y}
11465 then :
11466 printf %s "(cached) " >&6
11467 else $as_nop
11468 ac_wine_try_cflags_saved=$CFLAGS
11469 ac_wine_try_cflags_saved_cc=$CC
11470 ac_wine_try_cflags_saved_exeext=$ac_exeext
11471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11472 CC="$CROSSCC"
11473 ac_exeext=".exe"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11476 int __cdecl mainCRTStartup(void) { return 0; }
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"
11479 then :
11480 ac_cv_crosscflags__Wempty_body=yes
11481 else $as_nop
11482 ac_cv_crosscflags__Wempty_body=no
11484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11485 conftest$ac_exeext conftest.$ac_ext
11486 CFLAGS=$ac_wine_try_cflags_saved
11487 CC=$ac_wine_try_cflags_saved_cc
11488 ac_exeext=$ac_wine_try_cflags_saved_exeext
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11491 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11492 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11493 then :
11494 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11497 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11498 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11499 then :
11500 printf %s "(cached) " >&6
11501 else $as_nop
11502 ac_wine_try_cflags_saved=$CFLAGS
11503 ac_wine_try_cflags_saved_cc=$CC
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11506 CC="$CROSSCC"
11507 ac_exeext=".exe"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510 int __cdecl mainCRTStartup(void) { return 0; }
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"
11513 then :
11514 ac_cv_crosscflags__Wignored_qualifiers=yes
11515 else $as_nop
11516 ac_cv_crosscflags__Wignored_qualifiers=no
11518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11519 conftest$ac_exeext conftest.$ac_ext
11520 CFLAGS=$ac_wine_try_cflags_saved
11521 CC=$ac_wine_try_cflags_saved_cc
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11525 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11526 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11527 then :
11528 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11531 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11532 if test ${ac_cv_crosscflags__Winit_self+y}
11533 then :
11534 printf %s "(cached) " >&6
11535 else $as_nop
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_cc=$CC
11538 ac_wine_try_cflags_saved_exeext=$ac_exeext
11539 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11540 CC="$CROSSCC"
11541 ac_exeext=".exe"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"
11547 then :
11548 ac_cv_crosscflags__Winit_self=yes
11549 else $as_nop
11550 ac_cv_crosscflags__Winit_self=no
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 CC=$ac_wine_try_cflags_saved_cc
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11559 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11560 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11561 then :
11562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11565 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11566 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11567 then :
11568 printf %s "(cached) " >&6
11569 else $as_nop
11570 ac_wine_try_cflags_saved=$CFLAGS
11571 ac_wine_try_cflags_saved_cc=$CC
11572 ac_wine_try_cflags_saved_exeext=$ac_exeext
11573 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11574 CC="$CROSSCC"
11575 ac_exeext=".exe"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 int __cdecl mainCRTStartup(void) { return 0; }
11579 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"
11581 then :
11582 ac_cv_crosscflags__Wpacked_not_aligned=yes
11583 else $as_nop
11584 ac_cv_crosscflags__Wpacked_not_aligned=no
11586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11587 conftest$ac_exeext conftest.$ac_ext
11588 CFLAGS=$ac_wine_try_cflags_saved
11589 CC=$ac_wine_try_cflags_saved_cc
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11593 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11594 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11595 then :
11596 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11599 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11600 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11601 then :
11602 printf %s "(cached) " >&6
11603 else $as_nop
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_cc=$CC
11606 ac_wine_try_cflags_saved_exeext=$ac_exeext
11607 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11608 CC="$CROSSCC"
11609 ac_exeext=".exe"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 int __cdecl mainCRTStartup(void) { return 0; }
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"
11615 then :
11616 ac_cv_crosscflags__Wpragma_pack=yes
11617 else $as_nop
11618 ac_cv_crosscflags__Wpragma_pack=no
11620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11621 conftest$ac_exeext conftest.$ac_ext
11622 CFLAGS=$ac_wine_try_cflags_saved
11623 CC=$ac_wine_try_cflags_saved_cc
11624 ac_exeext=$ac_wine_try_cflags_saved_exeext
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11627 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11628 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11629 then :
11630 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11633 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11634 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11635 then :
11636 printf %s "(cached) " >&6
11637 else $as_nop
11638 ac_wine_try_cflags_saved=$CFLAGS
11639 ac_wine_try_cflags_saved_cc=$CC
11640 ac_wine_try_cflags_saved_exeext=$ac_exeext
11641 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11642 CC="$CROSSCC"
11643 ac_exeext=".exe"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11646 int __cdecl mainCRTStartup(void) { return 0; }
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"
11649 then :
11650 ac_cv_crosscflags__Wshift_overflow_2=yes
11651 else $as_nop
11652 ac_cv_crosscflags__Wshift_overflow_2=no
11654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11655 conftest$ac_exeext conftest.$ac_ext
11656 CFLAGS=$ac_wine_try_cflags_saved
11657 CC=$ac_wine_try_cflags_saved_cc
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11661 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11662 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11663 then :
11664 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11667 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11668 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11669 then :
11670 printf %s "(cached) " >&6
11671 else $as_nop
11672 ac_wine_try_cflags_saved=$CFLAGS
11673 ac_wine_try_cflags_saved_cc=$CC
11674 ac_wine_try_cflags_saved_exeext=$ac_exeext
11675 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11676 CC="$CROSSCC"
11677 ac_exeext=".exe"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 int __cdecl mainCRTStartup(void) { return 0; }
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"
11683 then :
11684 ac_cv_crosscflags__Wstrict_prototypes=yes
11685 else $as_nop
11686 ac_cv_crosscflags__Wstrict_prototypes=no
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 CC=$ac_wine_try_cflags_saved_cc
11692 ac_exeext=$ac_wine_try_cflags_saved_exeext
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11695 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11696 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11697 then :
11698 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11701 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11702 if test ${ac_cv_crosscflags__Wtype_limits+y}
11703 then :
11704 printf %s "(cached) " >&6
11705 else $as_nop
11706 ac_wine_try_cflags_saved=$CFLAGS
11707 ac_wine_try_cflags_saved_cc=$CC
11708 ac_wine_try_cflags_saved_exeext=$ac_exeext
11709 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11710 CC="$CROSSCC"
11711 ac_exeext=".exe"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11714 int __cdecl mainCRTStartup(void) { return 0; }
11715 _ACEOF
11716 if ac_fn_c_try_link "$LINENO"
11717 then :
11718 ac_cv_crosscflags__Wtype_limits=yes
11719 else $as_nop
11720 ac_cv_crosscflags__Wtype_limits=no
11722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11723 conftest$ac_exeext conftest.$ac_ext
11724 CFLAGS=$ac_wine_try_cflags_saved
11725 CC=$ac_wine_try_cflags_saved_cc
11726 ac_exeext=$ac_wine_try_cflags_saved_exeext
11728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11729 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11730 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11731 then :
11732 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11735 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11736 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11737 then :
11738 printf %s "(cached) " >&6
11739 else $as_nop
11740 ac_wine_try_cflags_saved=$CFLAGS
11741 ac_wine_try_cflags_saved_cc=$CC
11742 ac_wine_try_cflags_saved_exeext=$ac_exeext
11743 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11744 CC="$CROSSCC"
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 int __cdecl mainCRTStartup(void) { return 0; }
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"
11751 then :
11752 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11753 else $as_nop
11754 ac_cv_crosscflags__Wunused_but_set_parameter=no
11756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11757 conftest$ac_exeext conftest.$ac_ext
11758 CFLAGS=$ac_wine_try_cflags_saved
11759 CC=$ac_wine_try_cflags_saved_cc
11760 ac_exeext=$ac_wine_try_cflags_saved_exeext
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11763 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11764 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11765 then :
11766 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11769 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11770 if test ${ac_cv_crosscflags__Wvla+y}
11771 then :
11772 printf %s "(cached) " >&6
11773 else $as_nop
11774 ac_wine_try_cflags_saved=$CFLAGS
11775 ac_wine_try_cflags_saved_cc=$CC
11776 ac_wine_try_cflags_saved_exeext=$ac_exeext
11777 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11778 CC="$CROSSCC"
11779 ac_exeext=".exe"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11782 int __cdecl mainCRTStartup(void) { return 0; }
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"
11785 then :
11786 ac_cv_crosscflags__Wvla=yes
11787 else $as_nop
11788 ac_cv_crosscflags__Wvla=no
11790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11791 conftest$ac_exeext conftest.$ac_ext
11792 CFLAGS=$ac_wine_try_cflags_saved
11793 CC=$ac_wine_try_cflags_saved_cc
11794 ac_exeext=$ac_wine_try_cflags_saved_exeext
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11797 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11798 if test "x$ac_cv_crosscflags__Wvla" = xyes
11799 then :
11800 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11803 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11804 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11805 then :
11806 printf %s "(cached) " >&6
11807 else $as_nop
11808 ac_wine_try_cflags_saved=$CFLAGS
11809 ac_wine_try_cflags_saved_cc=$CC
11810 ac_wine_try_cflags_saved_exeext=$ac_exeext
11811 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11812 CC="$CROSSCC"
11813 ac_exeext=".exe"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11816 int __cdecl mainCRTStartup(void) { return 0; }
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"
11819 then :
11820 ac_cv_crosscflags__Wwrite_strings=yes
11821 else $as_nop
11822 ac_cv_crosscflags__Wwrite_strings=no
11824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11825 conftest$ac_exeext conftest.$ac_ext
11826 CFLAGS=$ac_wine_try_cflags_saved
11827 CC=$ac_wine_try_cflags_saved_cc
11828 ac_exeext=$ac_wine_try_cflags_saved_exeext
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11831 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11832 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11833 then :
11834 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11837 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11838 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11839 then :
11840 printf %s "(cached) " >&6
11841 else $as_nop
11842 ac_wine_try_cflags_saved=$CFLAGS
11843 ac_wine_try_cflags_saved_cc=$CC
11844 ac_wine_try_cflags_saved_exeext=$ac_exeext
11845 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11846 CC="$CROSSCC"
11847 ac_exeext=".exe"
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11850 int __cdecl mainCRTStartup(void) { return 0; }
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"
11853 then :
11854 ac_cv_crosscflags__Wpointer_arith=yes
11855 else $as_nop
11856 ac_cv_crosscflags__Wpointer_arith=no
11858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11859 conftest$ac_exeext conftest.$ac_ext
11860 CFLAGS=$ac_wine_try_cflags_saved
11861 CC=$ac_wine_try_cflags_saved_cc
11862 ac_exeext=$ac_wine_try_cflags_saved_exeext
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11865 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11866 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11867 then :
11868 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11871 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11872 if test ${ac_cv_crosscflags__Wlogical_op+y}
11873 then :
11874 printf %s "(cached) " >&6
11875 else $as_nop
11876 ac_wine_try_cflags_saved=$CFLAGS
11877 ac_wine_try_cflags_saved_cc=$CC
11878 ac_wine_try_cflags_saved_exeext=$ac_exeext
11879 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11880 CC="$CROSSCC"
11881 ac_exeext=".exe"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11884 int __cdecl mainCRTStartup(void) { return 0; }
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"
11887 then :
11888 ac_cv_crosscflags__Wlogical_op=yes
11889 else $as_nop
11890 ac_cv_crosscflags__Wlogical_op=no
11892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11893 conftest$ac_exeext conftest.$ac_ext
11894 CFLAGS=$ac_wine_try_cflags_saved
11895 CC=$ac_wine_try_cflags_saved_cc
11896 ac_exeext=$ac_wine_try_cflags_saved_exeext
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11899 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11900 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11901 then :
11902 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11905 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11906 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11907 then :
11908 printf %s "(cached) " >&6
11909 else $as_nop
11910 ac_wine_try_cflags_saved=$CFLAGS
11911 ac_wine_try_cflags_saved_cc=$CC
11912 ac_wine_try_cflags_saved_exeext=$ac_exeext
11913 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11914 CC="$CROSSCC"
11915 ac_exeext=".exe"
11916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11917 /* end confdefs.h. */
11918 int __cdecl mainCRTStartup(void) { return 0; }
11919 _ACEOF
11920 if ac_fn_c_try_link "$LINENO"
11921 then :
11922 ac_cv_crosscflags__Wabsolute_value=yes
11923 else $as_nop
11924 ac_cv_crosscflags__Wabsolute_value=no
11926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11927 conftest$ac_exeext conftest.$ac_ext
11928 CFLAGS=$ac_wine_try_cflags_saved
11929 CC=$ac_wine_try_cflags_saved_cc
11930 ac_exeext=$ac_wine_try_cflags_saved_exeext
11932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11933 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11934 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11935 then :
11936 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11939 case $host_cpu in
11940 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11941 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11942 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11943 then :
11944 printf %s "(cached) " >&6
11945 else $as_nop
11946 ac_wine_try_cflags_saved=$CFLAGS
11947 ac_wine_try_cflags_saved_cc=$CC
11948 ac_wine_try_cflags_saved_exeext=$ac_exeext
11949 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11950 CC="$CROSSCC"
11951 ac_exeext=".exe"
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11954 int __cdecl mainCRTStartup(void) { return 0; }
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"
11957 then :
11958 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11959 else $as_nop
11960 ac_cv_crosscflags__fno_omit_frame_pointer=no
11962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11963 conftest$ac_exeext conftest.$ac_ext
11964 CFLAGS=$ac_wine_try_cflags_saved
11965 CC=$ac_wine_try_cflags_saved_cc
11966 ac_exeext=$ac_wine_try_cflags_saved_exeext
11968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11969 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11970 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11971 then :
11972 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11973 fi ;;
11974 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11975 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11976 if test ${ac_cv_crosscflags__Wno_format+y}
11977 then :
11978 printf %s "(cached) " >&6
11979 else $as_nop
11980 ac_wine_try_cflags_saved=$CFLAGS
11981 ac_wine_try_cflags_saved_cc=$CC
11982 ac_wine_try_cflags_saved_exeext=$ac_exeext
11983 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11984 CC="$CROSSCC"
11985 ac_exeext=".exe"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11988 int __cdecl mainCRTStartup(void) { return 0; }
11989 _ACEOF
11990 if ac_fn_c_try_link "$LINENO"
11991 then :
11992 ac_cv_crosscflags__Wno_format=yes
11993 else $as_nop
11994 ac_cv_crosscflags__Wno_format=no
11996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11997 conftest$ac_exeext conftest.$ac_ext
11998 CFLAGS=$ac_wine_try_cflags_saved
11999 CC=$ac_wine_try_cflags_saved_cc
12000 ac_exeext=$ac_wine_try_cflags_saved_exeext
12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12003 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12004 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12005 then :
12006 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
12009 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
12010 if test ${ac_cv_crosscflags__Wformat_overflow+y}
12011 then :
12012 printf %s "(cached) " >&6
12013 else $as_nop
12014 ac_wine_try_cflags_saved=$CFLAGS
12015 ac_wine_try_cflags_saved_cc=$CC
12016 ac_wine_try_cflags_saved_exeext=$ac_exeext
12017 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
12018 CC="$CROSSCC"
12019 ac_exeext=".exe"
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12022 int __cdecl mainCRTStartup(void) { return 0; }
12023 _ACEOF
12024 if ac_fn_c_try_link "$LINENO"
12025 then :
12026 ac_cv_crosscflags__Wformat_overflow=yes
12027 else $as_nop
12028 ac_cv_crosscflags__Wformat_overflow=no
12030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12031 conftest$ac_exeext conftest.$ac_ext
12032 CFLAGS=$ac_wine_try_cflags_saved
12033 CC=$ac_wine_try_cflags_saved_cc
12034 ac_exeext=$ac_wine_try_cflags_saved_exeext
12036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
12037 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
12038 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
12039 then :
12040 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
12042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
12043 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
12044 if test ${ac_cv_crosscflags__Wnonnull+y}
12045 then :
12046 printf %s "(cached) " >&6
12047 else $as_nop
12048 ac_wine_try_cflags_saved=$CFLAGS
12049 ac_wine_try_cflags_saved_cc=$CC
12050 ac_wine_try_cflags_saved_exeext=$ac_exeext
12051 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
12052 CC="$CROSSCC"
12053 ac_exeext=".exe"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12056 int __cdecl mainCRTStartup(void) { return 0; }
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"
12059 then :
12060 ac_cv_crosscflags__Wnonnull=yes
12061 else $as_nop
12062 ac_cv_crosscflags__Wnonnull=no
12064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12065 conftest$ac_exeext conftest.$ac_ext
12066 CFLAGS=$ac_wine_try_cflags_saved
12067 CC=$ac_wine_try_cflags_saved_cc
12068 ac_exeext=$ac_wine_try_cflags_saved_exeext
12070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
12071 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
12072 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
12073 then :
12074 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
12076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
12077 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
12078 if test ${ac_cv_crosscflags__mcx16+y}
12079 then :
12080 printf %s "(cached) " >&6
12081 else $as_nop
12082 ac_wine_try_cflags_saved=$CFLAGS
12083 ac_wine_try_cflags_saved_cc=$CC
12084 ac_wine_try_cflags_saved_exeext=$ac_exeext
12085 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
12086 CC="$CROSSCC"
12087 ac_exeext=".exe"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12090 int __cdecl mainCRTStartup(void) { return 0; }
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"
12093 then :
12094 ac_cv_crosscflags__mcx16=yes
12095 else $as_nop
12096 ac_cv_crosscflags__mcx16=no
12098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12099 conftest$ac_exeext conftest.$ac_ext
12100 CFLAGS=$ac_wine_try_cflags_saved
12101 CC=$ac_wine_try_cflags_saved_cc
12102 ac_exeext=$ac_wine_try_cflags_saved_exeext
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
12105 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
12106 if test "x$ac_cv_crosscflags__mcx16" = xyes
12107 then :
12108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
12109 fi ;;
12110 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
12111 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
12112 if test ${ac_cv_crosscflags__Wno_format+y}
12113 then :
12114 printf %s "(cached) " >&6
12115 else $as_nop
12116 ac_wine_try_cflags_saved=$CFLAGS
12117 ac_wine_try_cflags_saved_cc=$CC
12118 ac_wine_try_cflags_saved_exeext=$ac_exeext
12119 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
12120 CC="$CROSSCC"
12121 ac_exeext=".exe"
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12124 int __cdecl mainCRTStartup(void) { return 0; }
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"
12127 then :
12128 ac_cv_crosscflags__Wno_format=yes
12129 else $as_nop
12130 ac_cv_crosscflags__Wno_format=no
12132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12133 conftest$ac_exeext conftest.$ac_ext
12134 CFLAGS=$ac_wine_try_cflags_saved
12135 CC=$ac_wine_try_cflags_saved_cc
12136 ac_exeext=$ac_wine_try_cflags_saved_exeext
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12139 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12140 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12141 then :
12142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12143 fi ;;
12144 esac
12147 if test -z "$CROSSDEBUG"
12148 then
12149 for ac_flag in $CROSSCFLAGS; do
12150 case $ac_flag in
12151 -gdwarf*) CROSSDEBUG=dwarf ;;
12152 -gcodeview) CROSSDEBUG=pdb ;;
12153 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
12154 esac
12155 done
12158 ac_debug_format_seen=""
12159 for ac_flag in $CROSSCFLAGS; do
12160 case $ac_flag in
12161 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
12162 esac
12163 done
12164 if test "x$ac_debug_format_seen" = x
12165 then
12166 case $CROSSDEBUG in
12167 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
12168 printf %s "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
12169 if test ${ac_cv_crosscflags__gdwarf_2+y}
12170 then :
12171 printf %s "(cached) " >&6
12172 else $as_nop
12173 ac_wine_try_cflags_saved=$CFLAGS
12174 ac_wine_try_cflags_saved_cc=$CC
12175 ac_wine_try_cflags_saved_exeext=$ac_exeext
12176 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
12177 CC="$CROSSCC"
12178 ac_exeext=".exe"
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12181 int __cdecl mainCRTStartup(void) { return 0; }
12182 _ACEOF
12183 if ac_fn_c_try_link "$LINENO"
12184 then :
12185 ac_cv_crosscflags__gdwarf_2=yes
12186 else $as_nop
12187 ac_cv_crosscflags__gdwarf_2=no
12189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12190 conftest$ac_exeext conftest.$ac_ext
12191 CFLAGS=$ac_wine_try_cflags_saved
12192 CC=$ac_wine_try_cflags_saved_cc
12193 ac_exeext=$ac_wine_try_cflags_saved_exeext
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
12196 printf "%s\n" "$ac_cv_crosscflags__gdwarf_2" >&6; }
12197 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes
12198 then :
12199 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
12201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
12202 printf %s "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
12203 if test ${ac_cv_crosscflags__gstrict_dwarf+y}
12204 then :
12205 printf %s "(cached) " >&6
12206 else $as_nop
12207 ac_wine_try_cflags_saved=$CFLAGS
12208 ac_wine_try_cflags_saved_cc=$CC
12209 ac_wine_try_cflags_saved_exeext=$ac_exeext
12210 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
12211 CC="$CROSSCC"
12212 ac_exeext=".exe"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12215 int __cdecl mainCRTStartup(void) { return 0; }
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"
12218 then :
12219 ac_cv_crosscflags__gstrict_dwarf=yes
12220 else $as_nop
12221 ac_cv_crosscflags__gstrict_dwarf=no
12223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12224 conftest$ac_exeext conftest.$ac_ext
12225 CFLAGS=$ac_wine_try_cflags_saved
12226 CC=$ac_wine_try_cflags_saved_cc
12227 ac_exeext=$ac_wine_try_cflags_saved_exeext
12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
12230 printf "%s\n" "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
12231 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes
12232 then :
12233 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
12234 fi ;;
12235 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
12236 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
12237 if test ${ac_cv_crosscflags__gcodeview+y}
12238 then :
12239 printf %s "(cached) " >&6
12240 else $as_nop
12241 ac_wine_try_cflags_saved=$CFLAGS
12242 ac_wine_try_cflags_saved_cc=$CC
12243 ac_wine_try_cflags_saved_exeext=$ac_exeext
12244 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
12245 CC="$CROSSCC"
12246 ac_exeext=".exe"
12247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12248 /* end confdefs.h. */
12249 int __cdecl mainCRTStartup(void) { return 0; }
12250 _ACEOF
12251 if ac_fn_c_try_link "$LINENO"
12252 then :
12253 ac_cv_crosscflags__gcodeview=yes
12254 else $as_nop
12255 ac_cv_crosscflags__gcodeview=no
12257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12258 conftest$ac_exeext conftest.$ac_ext
12259 CFLAGS=$ac_wine_try_cflags_saved
12260 CC=$ac_wine_try_cflags_saved_cc
12261 ac_exeext=$ac_wine_try_cflags_saved_exeext
12263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
12264 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
12265 if test "x$ac_cv_crosscflags__gcodeview" = xyes
12266 then :
12267 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
12268 fi ;;
12269 esac
12272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
12273 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
12274 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
12275 then :
12276 printf %s "(cached) " >&6
12277 else $as_nop
12278 ac_wine_try_cflags_saved=$CFLAGS
12279 ac_wine_try_cflags_saved_cc=$CC
12280 ac_wine_try_cflags_saved_exeext=$ac_exeext
12281 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
12282 CC="$CROSSCC"
12283 ac_exeext=".exe"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 int __cdecl mainCRTStartup(void) { return 0; }
12287 _ACEOF
12288 if ac_fn_c_try_link "$LINENO"
12289 then :
12290 ac_cv_crosscflags__fexcess_precision_standard=yes
12291 else $as_nop
12292 ac_cv_crosscflags__fexcess_precision_standard=no
12294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12295 conftest$ac_exeext conftest.$ac_ext
12296 CFLAGS=$ac_wine_try_cflags_saved
12297 CC=$ac_wine_try_cflags_saved_cc
12298 ac_exeext=$ac_wine_try_cflags_saved_exeext
12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
12301 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
12302 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
12303 then :
12304 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
12308 if test "x$enable_werror" = "xyes"
12309 then
12310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
12311 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12312 if test ${ac_cv_crosscflags__Werror+y}
12313 then :
12314 printf %s "(cached) " >&6
12315 else $as_nop
12316 ac_wine_try_cflags_saved=$CFLAGS
12317 ac_wine_try_cflags_saved_cc=$CC
12318 ac_wine_try_cflags_saved_exeext=$ac_exeext
12319 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12320 CC="$CROSSCC"
12321 ac_exeext=".exe"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12324 int __cdecl mainCRTStartup(void) { return 0; }
12325 _ACEOF
12326 if ac_fn_c_try_link "$LINENO"
12327 then :
12328 ac_cv_crosscflags__Werror=yes
12329 else $as_nop
12330 ac_cv_crosscflags__Werror=no
12332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12333 conftest$ac_exeext conftest.$ac_ext
12334 CFLAGS=$ac_wine_try_cflags_saved
12335 CC=$ac_wine_try_cflags_saved_cc
12336 ac_exeext=$ac_wine_try_cflags_saved_exeext
12338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12339 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12340 if test "x$ac_cv_crosscflags__Werror" = xyes
12341 then :
12342 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12345 if test "x$enable_build_id" = "xyes"
12346 then
12347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12348 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12349 if test ${ac_cv_crosscflags__Wl___build_id+y}
12350 then :
12351 printf %s "(cached) " >&6
12352 else $as_nop
12353 ac_wine_try_cflags_saved=$CFLAGS
12354 ac_wine_try_cflags_saved_cc=$CC
12355 ac_wine_try_cflags_saved_exeext=$ac_exeext
12356 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12357 CC="$CROSSCC"
12358 ac_exeext=".exe"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12361 int __cdecl mainCRTStartup(void) { return 0; }
12362 _ACEOF
12363 if ac_fn_c_try_link "$LINENO"
12364 then :
12365 ac_cv_crosscflags__Wl___build_id=yes
12366 else $as_nop
12367 ac_cv_crosscflags__Wl___build_id=no
12369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12370 conftest$ac_exeext conftest.$ac_ext
12371 CFLAGS=$ac_wine_try_cflags_saved
12372 CC=$ac_wine_try_cflags_saved_cc
12373 ac_exeext=$ac_wine_try_cflags_saved_exeext
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12376 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12377 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12378 then :
12379 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12380 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12384 CFLAGS=$saved_CFLAGS
12385 LDFLAGS=$saved_LDFLAGS
12386 CC="$ac_save_CC"
12389 if test "x$CROSSTARGET" = "x"
12390 then :
12391 case "x$with_mingw" in
12392 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12393 xno) ;;
12394 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12395 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12396 esac
12401 if ${FAUDIO_PE_CFLAGS:+false} :
12402 then :
12403 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
12404 else $as_nop
12405 enable_faudio=no
12407 if ${FAUDIO_PE_LIBS:+false} :
12408 then :
12409 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
12410 else $as_nop
12411 enable_faudio=no
12413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
12414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
12416 if ${GSM_PE_CFLAGS:+false} :
12417 then :
12418 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
12419 else $as_nop
12420 enable_gsm=no
12422 if ${GSM_PE_LIBS:+false} :
12423 then :
12424 GSM_PE_LIBS=gsm
12425 else $as_nop
12426 enable_gsm=no
12428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
12429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
12431 if ${JPEG_PE_CFLAGS:+false} :
12432 then :
12433 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
12434 else $as_nop
12435 enable_jpeg=no
12437 if ${JPEG_PE_LIBS:+false} :
12438 then :
12439 JPEG_PE_LIBS=jpeg
12440 else $as_nop
12441 enable_jpeg=no
12443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
12444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
12446 if ${JXR_PE_CFLAGS:+false} :
12447 then :
12448 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
12449 else $as_nop
12450 enable_jxr=no
12452 if ${JXR_PE_LIBS:+false} :
12453 then :
12454 JXR_PE_LIBS=jxr
12455 else $as_nop
12456 enable_jxr=no
12458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
12459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
12461 if ${LCMS2_PE_CFLAGS:+false} :
12462 then :
12463 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
12464 else $as_nop
12465 enable_lcms2=no
12467 if ${LCMS2_PE_LIBS:+false} :
12468 then :
12469 LCMS2_PE_LIBS=lcms2
12470 else $as_nop
12471 enable_lcms2=no
12473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
12474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
12476 if ${MPG123_PE_CFLAGS:+false} :
12477 then :
12478 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
12479 else $as_nop
12480 enable_mpg123=no
12482 if ${MPG123_PE_LIBS:+false} :
12483 then :
12484 MPG123_PE_LIBS=mpg123
12485 else $as_nop
12486 enable_mpg123=no
12488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
12489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
12491 if ${PNG_PE_CFLAGS:+false} :
12492 then :
12493 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
12494 else $as_nop
12495 enable_png=no
12497 if ${PNG_PE_LIBS:+false} :
12498 then :
12499 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
12500 else $as_nop
12501 enable_png=no
12503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
12504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
12506 if ${TIFF_PE_CFLAGS:+false} :
12507 then :
12508 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
12509 else $as_nop
12510 enable_tiff=no
12512 if ${TIFF_PE_LIBS:+false} :
12513 then :
12514 TIFF_PE_LIBS=tiff
12515 else $as_nop
12516 enable_tiff=no
12518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
12519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
12521 if ${XML2_PE_CFLAGS:+false} :
12522 then :
12523 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
12524 else $as_nop
12525 enable_libxml2=no
12527 if ${XML2_PE_LIBS:+false} :
12528 then :
12529 XML2_PE_LIBS=xml2
12530 else $as_nop
12531 enable_libxml2=no
12533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
12534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
12536 if ${XSLT_PE_CFLAGS:+false} :
12537 then :
12538 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
12539 else $as_nop
12540 enable_libxslt=no
12542 if ${XSLT_PE_LIBS:+false} :
12543 then :
12544 XSLT_PE_LIBS=xslt
12545 else $as_nop
12546 enable_libxslt=no
12548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
12549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
12551 if ${ZLIB_PE_CFLAGS:+false} :
12552 then :
12553 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
12554 else $as_nop
12555 enable_zlib=no
12557 if ${ZLIB_PE_LIBS:+false} :
12558 then :
12559 ZLIB_PE_LIBS=z
12560 else $as_nop
12561 enable_zlib=no
12563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
12564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
12568 if test "$ac_cv_header_pthread_h" = "yes"
12569 then
12570 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
12571 if test "x$ac_cv_func_pthread_create" = xyes
12572 then :
12574 else $as_nop
12575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
12576 printf %s "checking for pthread_create in -lpthread... " >&6; }
12577 if test ${ac_cv_lib_pthread_pthread_create+y}
12578 then :
12579 printf %s "(cached) " >&6
12580 else $as_nop
12581 ac_check_lib_save_LIBS=$LIBS
12582 LIBS="-lpthread $LIBS"
12583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12584 /* end confdefs.h. */
12586 /* Override any GCC internal prototype to avoid an error.
12587 Use char because int might match the return type of a GCC
12588 builtin and then its argument prototype would still apply. */
12589 char pthread_create ();
12591 main (void)
12593 return pthread_create ();
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_link "$LINENO"
12599 then :
12600 ac_cv_lib_pthread_pthread_create=yes
12601 else $as_nop
12602 ac_cv_lib_pthread_pthread_create=no
12604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12605 conftest$ac_exeext conftest.$ac_ext
12606 LIBS=$ac_check_lib_save_LIBS
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
12609 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
12610 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
12611 then :
12612 PTHREAD_LIBS="-lpthread"
12619 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
12620 then :
12621 case "x$with_pthread" in
12622 xno) ;;
12623 *) as_fn_error $? "pthread ${notice_platform}development files not found.
12624 Wine cannot support threads without libpthread.
12625 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
12626 esac
12631 ac_ext=c
12632 ac_cpp='$CPP $CPPFLAGS'
12633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12637 printf %s "checking how to run the C preprocessor... " >&6; }
12638 # On Suns, sometimes $CPP names a directory.
12639 if test -n "$CPP" && test -d "$CPP"; then
12640 CPP=
12642 if test -z "$CPP"; then
12643 if test ${ac_cv_prog_CPP+y}
12644 then :
12645 printf %s "(cached) " >&6
12646 else $as_nop
12647 # Double quotes because $CC needs to be expanded
12648 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
12650 ac_preproc_ok=false
12651 for ac_c_preproc_warn_flag in '' yes
12653 # Use a header file that comes with gcc, so configuring glibc
12654 # with a fresh cross-compiler works.
12655 # On the NeXT, cc -E runs the code through the compiler's parser,
12656 # not just through cpp. "Syntax error" is here to catch this case.
12657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12659 #include <limits.h>
12660 Syntax error
12661 _ACEOF
12662 if ac_fn_c_try_cpp "$LINENO"
12663 then :
12665 else $as_nop
12666 # Broken: fails on valid input.
12667 continue
12669 rm -f conftest.err conftest.i conftest.$ac_ext
12671 # OK, works on sane cases. Now check whether nonexistent headers
12672 # can be detected and how.
12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12675 #include <ac_nonexistent.h>
12676 _ACEOF
12677 if ac_fn_c_try_cpp "$LINENO"
12678 then :
12679 # Broken: success on invalid input.
12680 continue
12681 else $as_nop
12682 # Passes both tests.
12683 ac_preproc_ok=:
12684 break
12686 rm -f conftest.err conftest.i conftest.$ac_ext
12688 done
12689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12690 rm -f conftest.i conftest.err conftest.$ac_ext
12691 if $ac_preproc_ok
12692 then :
12693 break
12696 done
12697 ac_cv_prog_CPP=$CPP
12700 CPP=$ac_cv_prog_CPP
12701 else
12702 ac_cv_prog_CPP=$CPP
12704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12705 printf "%s\n" "$CPP" >&6; }
12706 ac_preproc_ok=false
12707 for ac_c_preproc_warn_flag in '' yes
12709 # Use a header file that comes with gcc, so configuring glibc
12710 # with a fresh cross-compiler works.
12711 # On the NeXT, cc -E runs the code through the compiler's parser,
12712 # not just through cpp. "Syntax error" is here to catch this case.
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12715 #include <limits.h>
12716 Syntax error
12717 _ACEOF
12718 if ac_fn_c_try_cpp "$LINENO"
12719 then :
12721 else $as_nop
12722 # Broken: fails on valid input.
12723 continue
12725 rm -f conftest.err conftest.i conftest.$ac_ext
12727 # OK, works on sane cases. Now check whether nonexistent headers
12728 # can be detected and how.
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12731 #include <ac_nonexistent.h>
12732 _ACEOF
12733 if ac_fn_c_try_cpp "$LINENO"
12734 then :
12735 # Broken: success on invalid input.
12736 continue
12737 else $as_nop
12738 # Passes both tests.
12739 ac_preproc_ok=:
12740 break
12742 rm -f conftest.err conftest.i conftest.$ac_ext
12744 done
12745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12746 rm -f conftest.i conftest.err conftest.$ac_ext
12747 if $ac_preproc_ok
12748 then :
12750 else $as_nop
12751 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12752 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
12753 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12754 See \`config.log' for more details" "$LINENO" 5; }
12757 ac_ext=c
12758 ac_cpp='$CPP $CPPFLAGS'
12759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12765 printf %s "checking for X... " >&6; }
12768 # Check whether --with-x was given.
12769 if test ${with_x+y}
12770 then :
12771 withval=$with_x;
12774 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12775 if test "x$with_x" = xno; then
12776 # The user explicitly disabled X.
12777 have_x=disabled
12778 else
12779 case $x_includes,$x_libraries in #(
12780 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12781 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
12782 then :
12783 printf %s "(cached) " >&6
12784 else $as_nop
12785 # One or both of the vars are not set, and there is no cached value.
12786 ac_x_includes=no
12787 ac_x_libraries=no
12788 # Do we need to do anything special at all?
12789 ac_save_LIBS=$LIBS
12790 LIBS="-lX11 $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12793 #include <X11/Xlib.h>
12795 main (void)
12797 XrmInitialize ()
12799 return 0;
12801 _ACEOF
12802 if ac_fn_c_try_link "$LINENO"
12803 then :
12804 # We can compile and link X programs with no special options.
12805 ac_x_includes=
12806 ac_x_libraries=
12808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12809 conftest$ac_exeext conftest.$ac_ext
12810 LIBS="$ac_save_LIBS"
12811 # If that didn't work, only try xmkmf and file system searches
12812 # for native compilation.
12813 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
12814 then :
12815 rm -f -r conftest.dir
12816 if mkdir conftest.dir; then
12817 cd conftest.dir
12818 cat >Imakefile <<'_ACEOF'
12819 incroot:
12820 @echo incroot='${INCROOT}'
12821 usrlibdir:
12822 @echo usrlibdir='${USRLIBDIR}'
12823 libdir:
12824 @echo libdir='${LIBDIR}'
12825 _ACEOF
12826 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12827 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12828 for ac_var in incroot usrlibdir libdir; do
12829 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12830 done
12831 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12832 for ac_extension in a so sl dylib la dll; do
12833 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12834 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12835 ac_im_usrlibdir=$ac_im_libdir; break
12837 done
12838 # Screen out bogus values from the imake configuration. They are
12839 # bogus both because they are the default anyway, and because
12840 # using them would break gcc on systems where it needs fixed includes.
12841 case $ac_im_incroot in
12842 /usr/include) ac_x_includes= ;;
12843 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12844 esac
12845 case $ac_im_usrlibdir in
12846 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12847 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12848 esac
12850 cd ..
12851 rm -f -r conftest.dir
12854 # Standard set of common directories for X headers.
12855 # Check X11 before X11Rn because it is often a symlink to the current release.
12856 ac_x_header_dirs='
12857 /usr/X11/include
12858 /usr/X11R7/include
12859 /usr/X11R6/include
12860 /usr/X11R5/include
12861 /usr/X11R4/include
12863 /usr/include/X11
12864 /usr/include/X11R7
12865 /usr/include/X11R6
12866 /usr/include/X11R5
12867 /usr/include/X11R4
12869 /usr/local/X11/include
12870 /usr/local/X11R7/include
12871 /usr/local/X11R6/include
12872 /usr/local/X11R5/include
12873 /usr/local/X11R4/include
12875 /usr/local/include/X11
12876 /usr/local/include/X11R7
12877 /usr/local/include/X11R6
12878 /usr/local/include/X11R5
12879 /usr/local/include/X11R4
12881 /opt/X11/include
12883 /usr/X386/include
12884 /usr/x386/include
12885 /usr/XFree86/include/X11
12887 /usr/include
12888 /usr/local/include
12889 /usr/unsupported/include
12890 /usr/athena/include
12891 /usr/local/x11r5/include
12892 /usr/lpp/Xamples/include
12894 /usr/openwin/include
12895 /usr/openwin/share/include'
12897 if test "$ac_x_includes" = no; then
12898 # Guess where to find include files, by looking for Xlib.h.
12899 # First, try using that file with no special directory specified.
12900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12902 #include <X11/Xlib.h>
12903 _ACEOF
12904 if ac_fn_c_try_cpp "$LINENO"
12905 then :
12906 # We can compile using X headers with no special include directory.
12907 ac_x_includes=
12908 else $as_nop
12909 for ac_dir in $ac_x_header_dirs; do
12910 if test -r "$ac_dir/X11/Xlib.h"; then
12911 ac_x_includes=$ac_dir
12912 break
12914 done
12916 rm -f conftest.err conftest.i conftest.$ac_ext
12917 fi # $ac_x_includes = no
12919 if test "$ac_x_libraries" = no; then
12920 # Check for the libraries.
12921 # See if we find them without any special options.
12922 # Don't add to $LIBS permanently.
12923 ac_save_LIBS=$LIBS
12924 LIBS="-lX11 $LIBS"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12927 #include <X11/Xlib.h>
12929 main (void)
12931 XrmInitialize ()
12933 return 0;
12935 _ACEOF
12936 if ac_fn_c_try_link "$LINENO"
12937 then :
12938 LIBS=$ac_save_LIBS
12939 # We can link X programs with no special library path.
12940 ac_x_libraries=
12941 else $as_nop
12942 LIBS=$ac_save_LIBS
12943 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12945 # Don't even attempt the hair of trying to link an X program!
12946 for ac_extension in a so sl dylib la dll; do
12947 if test -r "$ac_dir/libX11.$ac_extension"; then
12948 ac_x_libraries=$ac_dir
12949 break 2
12951 done
12952 done
12954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12955 conftest$ac_exeext conftest.$ac_ext
12956 fi # $ac_x_libraries = no
12959 # Record the results.
12960 case $ac_x_includes,$ac_x_libraries in #(
12961 no,* | *,no | *\'*) :
12962 # Didn't find X, or a directory has "'" in its name.
12963 ac_cv_have_x="have_x=no" ;; #(
12964 *) :
12965 # Record where we found X for the cache.
12966 ac_cv_have_x="have_x=yes\
12967 ac_x_includes='$ac_x_includes'\
12968 ac_x_libraries='$ac_x_libraries'" ;;
12969 esac
12971 ;; #(
12972 *) have_x=yes;;
12973 esac
12974 eval "$ac_cv_have_x"
12975 fi # $with_x != no
12977 if test "$have_x" != yes; then
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12979 printf "%s\n" "$have_x" >&6; }
12980 no_x=yes
12981 else
12982 # If each of the values was on the command line, it overrides each guess.
12983 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12984 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12985 # Update the cache value to reflect the command line values.
12986 ac_cv_have_x="have_x=yes\
12987 ac_x_includes='$x_includes'\
12988 ac_x_libraries='$x_libraries'"
12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12990 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
12993 if test "$no_x" = yes; then
12994 # Not all programs may use this symbol, but it does not hurt to define it.
12996 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
12998 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12999 else
13000 if test -n "$x_includes"; then
13001 X_CFLAGS="$X_CFLAGS -I$x_includes"
13004 # It would also be nice to do this for all -L options, not just this one.
13005 if test -n "$x_libraries"; then
13006 X_LIBS="$X_LIBS -L$x_libraries"
13007 # For Solaris; some versions of Sun CC require a space after -R and
13008 # others require no space. Words are not sufficient . . . .
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13010 printf %s "checking whether -R must be followed by a space... " >&6; }
13011 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13012 ac_xsave_c_werror_flag=$ac_c_werror_flag
13013 ac_c_werror_flag=yes
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13018 main (void)
13022 return 0;
13024 _ACEOF
13025 if ac_fn_c_try_link "$LINENO"
13026 then :
13027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 printf "%s\n" "no" >&6; }
13029 X_LIBS="$X_LIBS -R$x_libraries"
13030 else $as_nop
13031 LIBS="$ac_xsave_LIBS -R $x_libraries"
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13036 main (void)
13040 return 0;
13042 _ACEOF
13043 if ac_fn_c_try_link "$LINENO"
13044 then :
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13046 printf "%s\n" "yes" >&6; }
13047 X_LIBS="$X_LIBS -R $x_libraries"
13048 else $as_nop
13049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13050 printf "%s\n" "neither works" >&6; }
13052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13053 conftest$ac_exeext conftest.$ac_ext
13055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13056 conftest$ac_exeext conftest.$ac_ext
13057 ac_c_werror_flag=$ac_xsave_c_werror_flag
13058 LIBS=$ac_xsave_LIBS
13061 # Check for system-dependent libraries X programs must link with.
13062 # Do this before checking for the system-independent R6 libraries
13063 # (-lICE), since we may need -lsocket or whatever for X linking.
13065 if test "$ISC" = yes; then
13066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13067 else
13068 # Martyn Johnson says this is needed for Ultrix, if the X
13069 # libraries were built with DECnet support. And Karl Berry says
13070 # the Alpha needs dnet_stub (dnet does not exist).
13071 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073 /* end confdefs.h. */
13075 /* Override any GCC internal prototype to avoid an error.
13076 Use char because int might match the return type of a GCC
13077 builtin and then its argument prototype would still apply. */
13078 char XOpenDisplay ();
13080 main (void)
13082 return XOpenDisplay ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"
13088 then :
13090 else $as_nop
13091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13092 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13093 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13094 then :
13095 printf %s "(cached) " >&6
13096 else $as_nop
13097 ac_check_lib_save_LIBS=$LIBS
13098 LIBS="-ldnet $LIBS"
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 char dnet_ntoa ();
13107 main (void)
13109 return dnet_ntoa ();
13111 return 0;
13113 _ACEOF
13114 if ac_fn_c_try_link "$LINENO"
13115 then :
13116 ac_cv_lib_dnet_dnet_ntoa=yes
13117 else $as_nop
13118 ac_cv_lib_dnet_dnet_ntoa=no
13120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13121 conftest$ac_exeext conftest.$ac_ext
13122 LIBS=$ac_check_lib_save_LIBS
13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13125 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13126 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13127 then :
13128 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13131 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13133 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13134 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13135 then :
13136 printf %s "(cached) " >&6
13137 else $as_nop
13138 ac_check_lib_save_LIBS=$LIBS
13139 LIBS="-ldnet_stub $LIBS"
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13146 char dnet_ntoa ();
13148 main (void)
13150 return dnet_ntoa ();
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_link "$LINENO"
13156 then :
13157 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13158 else $as_nop
13159 ac_cv_lib_dnet_stub_dnet_ntoa=no
13161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13162 conftest$ac_exeext conftest.$ac_ext
13163 LIBS=$ac_check_lib_save_LIBS
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13166 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13167 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13168 then :
13169 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS="$ac_xsave_LIBS"
13178 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13179 # to get the SysV transport functions.
13180 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13181 # needs -lnsl.
13182 # The nsl library prevents programs from opening the X display
13183 # on Irix 5.2, according to T.E. Dickey.
13184 # The functions gethostbyname, getservbyname, and inet_addr are
13185 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13186 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13187 if test "x$ac_cv_func_gethostbyname" = xyes
13188 then :
13192 if test $ac_cv_func_gethostbyname = no; then
13193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13194 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13195 if test ${ac_cv_lib_nsl_gethostbyname+y}
13196 then :
13197 printf %s "(cached) " >&6
13198 else $as_nop
13199 ac_check_lib_save_LIBS=$LIBS
13200 LIBS="-lnsl $LIBS"
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13207 char gethostbyname ();
13209 main (void)
13211 return gethostbyname ();
13213 return 0;
13215 _ACEOF
13216 if ac_fn_c_try_link "$LINENO"
13217 then :
13218 ac_cv_lib_nsl_gethostbyname=yes
13219 else $as_nop
13220 ac_cv_lib_nsl_gethostbyname=no
13222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13223 conftest$ac_exeext conftest.$ac_ext
13224 LIBS=$ac_check_lib_save_LIBS
13226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13227 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13228 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13229 then :
13230 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13233 if test $ac_cv_lib_nsl_gethostbyname = no; then
13234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13235 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13236 if test ${ac_cv_lib_bsd_gethostbyname+y}
13237 then :
13238 printf %s "(cached) " >&6
13239 else $as_nop
13240 ac_check_lib_save_LIBS=$LIBS
13241 LIBS="-lbsd $LIBS"
13242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13248 char gethostbyname ();
13250 main (void)
13252 return gethostbyname ();
13254 return 0;
13256 _ACEOF
13257 if ac_fn_c_try_link "$LINENO"
13258 then :
13259 ac_cv_lib_bsd_gethostbyname=yes
13260 else $as_nop
13261 ac_cv_lib_bsd_gethostbyname=no
13263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13264 conftest$ac_exeext conftest.$ac_ext
13265 LIBS=$ac_check_lib_save_LIBS
13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13268 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13269 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13270 then :
13271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13277 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13278 # socket/setsockopt and other routines are undefined under SCO ODT
13279 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13280 # on later versions), says Simon Leinen: it contains gethostby*
13281 # variants that don't use the name server (or something). -lsocket
13282 # must be given before -lnsl if both are needed. We assume that
13283 # if connect needs -lnsl, so does gethostbyname.
13284 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13285 if test "x$ac_cv_func_connect" = xyes
13286 then :
13290 if test $ac_cv_func_connect = no; then
13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13292 printf %s "checking for connect in -lsocket... " >&6; }
13293 if test ${ac_cv_lib_socket_connect+y}
13294 then :
13295 printf %s "(cached) " >&6
13296 else $as_nop
13297 ac_check_lib_save_LIBS=$LIBS
13298 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13305 char connect ();
13307 main (void)
13309 return connect ();
13311 return 0;
13313 _ACEOF
13314 if ac_fn_c_try_link "$LINENO"
13315 then :
13316 ac_cv_lib_socket_connect=yes
13317 else $as_nop
13318 ac_cv_lib_socket_connect=no
13320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13321 conftest$ac_exeext conftest.$ac_ext
13322 LIBS=$ac_check_lib_save_LIBS
13324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13325 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
13326 if test "x$ac_cv_lib_socket_connect" = xyes
13327 then :
13328 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13333 # Guillermo Gomez says -lposix is necessary on A/UX.
13334 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13335 if test "x$ac_cv_func_remove" = xyes
13336 then :
13340 if test $ac_cv_func_remove = no; then
13341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13342 printf %s "checking for remove in -lposix... " >&6; }
13343 if test ${ac_cv_lib_posix_remove+y}
13344 then :
13345 printf %s "(cached) " >&6
13346 else $as_nop
13347 ac_check_lib_save_LIBS=$LIBS
13348 LIBS="-lposix $LIBS"
13349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13350 /* end confdefs.h. */
13352 /* Override any GCC internal prototype to avoid an error.
13353 Use char because int might match the return type of a GCC
13354 builtin and then its argument prototype would still apply. */
13355 char remove ();
13357 main (void)
13359 return remove ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"
13365 then :
13366 ac_cv_lib_posix_remove=yes
13367 else $as_nop
13368 ac_cv_lib_posix_remove=no
13370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13375 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
13376 if test "x$ac_cv_lib_posix_remove" = xyes
13377 then :
13378 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13383 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13384 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13385 if test "x$ac_cv_func_shmat" = xyes
13386 then :
13390 if test $ac_cv_func_shmat = no; then
13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13392 printf %s "checking for shmat in -lipc... " >&6; }
13393 if test ${ac_cv_lib_ipc_shmat+y}
13394 then :
13395 printf %s "(cached) " >&6
13396 else $as_nop
13397 ac_check_lib_save_LIBS=$LIBS
13398 LIBS="-lipc $LIBS"
13399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13405 char shmat ();
13407 main (void)
13409 return shmat ();
13411 return 0;
13413 _ACEOF
13414 if ac_fn_c_try_link "$LINENO"
13415 then :
13416 ac_cv_lib_ipc_shmat=yes
13417 else $as_nop
13418 ac_cv_lib_ipc_shmat=no
13420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13421 conftest$ac_exeext conftest.$ac_ext
13422 LIBS=$ac_check_lib_save_LIBS
13424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13425 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
13426 if test "x$ac_cv_lib_ipc_shmat" = xyes
13427 then :
13428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13434 # Check for libraries that X11R6 Xt/Xaw programs need.
13435 ac_save_LDFLAGS=$LDFLAGS
13436 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13437 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13438 # check for ICE first), but we must link in the order -lSM -lICE or
13439 # we get undefined symbols. So assume we have SM if we have ICE.
13440 # These have to be linked with before -lX11, unlike the other
13441 # libraries we check for below, so use a different variable.
13442 # John Interrante, Karl Berry
13443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13444 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
13445 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
13446 then :
13447 printf %s "(cached) " >&6
13448 else $as_nop
13449 ac_check_lib_save_LIBS=$LIBS
13450 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13457 char IceConnectionNumber ();
13459 main (void)
13461 return IceConnectionNumber ();
13463 return 0;
13465 _ACEOF
13466 if ac_fn_c_try_link "$LINENO"
13467 then :
13468 ac_cv_lib_ICE_IceConnectionNumber=yes
13469 else $as_nop
13470 ac_cv_lib_ICE_IceConnectionNumber=no
13472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13473 conftest$ac_exeext conftest.$ac_ext
13474 LIBS=$ac_check_lib_save_LIBS
13476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13477 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13478 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
13479 then :
13480 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13483 LDFLAGS=$ac_save_LDFLAGS
13488 if test "$have_x" = "yes"
13489 then
13490 ac_save_CPPFLAGS="$CPPFLAGS"
13491 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
13494 printf %s "checking for -lX11... " >&6; }
13495 if test ${ac_cv_lib_soname_X11+y}
13496 then :
13497 printf %s "(cached) " >&6
13498 else $as_nop
13499 ac_check_soname_save_LIBS=$LIBS
13500 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13507 char XCreateWindow ();
13509 main (void)
13511 return XCreateWindow ();
13513 return 0;
13515 _ACEOF
13516 if ac_fn_c_try_link "$LINENO"
13517 then :
13518 case "$LIBEXT" in
13519 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13520 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'` ;;
13521 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13522 if ${ac_cv_lib_soname_X11:+false} :
13523 then :
13524 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13525 fi ;;
13526 esac
13527 else $as_nop
13528 ac_cv_lib_soname_X11=
13530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13531 conftest$ac_exeext conftest.$ac_ext
13532 LIBS=$ac_check_soname_save_LIBS
13534 if ${ac_cv_lib_soname_X11:+false} :
13535 then :
13536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13537 printf "%s\n" "not found" >&6; }
13539 else $as_nop
13540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
13541 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
13543 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
13547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
13548 printf %s "checking for -lXext... " >&6; }
13549 if test ${ac_cv_lib_soname_Xext+y}
13550 then :
13551 printf %s "(cached) " >&6
13552 else $as_nop
13553 ac_check_soname_save_LIBS=$LIBS
13554 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13558 /* Override any GCC internal prototype to avoid an error.
13559 Use char because int might match the return type of a GCC
13560 builtin and then its argument prototype would still apply. */
13561 char XextCreateExtension ();
13563 main (void)
13565 return XextCreateExtension ();
13567 return 0;
13569 _ACEOF
13570 if ac_fn_c_try_link "$LINENO"
13571 then :
13572 case "$LIBEXT" in
13573 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13574 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'` ;;
13575 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13576 if ${ac_cv_lib_soname_Xext:+false} :
13577 then :
13578 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13579 fi ;;
13580 esac
13581 else $as_nop
13582 ac_cv_lib_soname_Xext=
13584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_soname_save_LIBS
13588 if ${ac_cv_lib_soname_Xext:+false} :
13589 then :
13590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13591 printf "%s\n" "not found" >&6; }
13593 else $as_nop
13594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
13595 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
13597 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
13599 X_LIBS="$X_LIBS -lXext"
13601 X_LIBS="$X_LIBS -lX11"
13603 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
13604 # include <X11/Xlib.h>
13605 #endif
13606 #ifdef HAVE_X11_XUTIL_H
13607 # include <X11/Xutil.h>
13608 #endif
13610 if test "x$ac_cv_header_X11_Xlib_h" = xyes
13611 then :
13612 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
13615 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
13616 # include <X11/Xlib.h>
13617 #endif
13618 #ifdef HAVE_X11_XUTIL_H
13619 # include <X11/Xutil.h>
13620 #endif
13622 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
13623 then :
13624 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
13627 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
13628 # include <X11/Xlib.h>
13629 #endif
13630 #ifdef HAVE_X11_XUTIL_H
13631 # include <X11/Xutil.h>
13632 #endif
13634 if test "x$ac_cv_header_X11_Xutil_h" = xyes
13635 then :
13636 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
13639 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
13640 # include <X11/Xlib.h>
13641 #endif
13642 #ifdef HAVE_X11_XUTIL_H
13643 # include <X11/Xutil.h>
13644 #endif
13646 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
13647 then :
13648 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
13651 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
13652 # include <X11/Xlib.h>
13653 #endif
13654 #ifdef HAVE_X11_XUTIL_H
13655 # include <X11/Xutil.h>
13656 #endif
13658 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
13659 then :
13660 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
13663 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
13664 # include <X11/Xlib.h>
13665 #endif
13666 #ifdef HAVE_X11_XUTIL_H
13667 # include <X11/Xutil.h>
13668 #endif
13670 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
13671 then :
13672 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
13675 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
13676 # include <X11/Xlib.h>
13677 #endif
13678 #ifdef HAVE_X11_XUTIL_H
13679 # include <X11/Xutil.h>
13680 #endif
13682 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
13683 then :
13684 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
13687 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
13688 # include <X11/Xlib.h>
13689 #endif
13690 #ifdef HAVE_X11_XUTIL_H
13691 # include <X11/Xutil.h>
13692 #endif
13694 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
13695 then :
13696 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
13699 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
13700 # include <X11/Xlib.h>
13701 #endif
13702 #ifdef HAVE_X11_XUTIL_H
13703 # include <X11/Xutil.h>
13704 #endif
13706 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
13707 then :
13708 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
13711 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
13712 # include <X11/Xlib.h>
13713 #endif
13714 #ifdef HAVE_X11_XUTIL_H
13715 # include <X11/Xutil.h>
13716 #endif
13718 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
13719 then :
13720 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
13723 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
13724 # include <X11/Xlib.h>
13725 #endif
13726 #ifdef HAVE_X11_XUTIL_H
13727 # include <X11/Xutil.h>
13728 #endif
13730 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
13731 then :
13732 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
13735 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
13736 # include <X11/Xlib.h>
13737 #endif
13738 #ifdef HAVE_X11_XUTIL_H
13739 # include <X11/Xutil.h>
13740 #endif
13742 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
13743 then :
13744 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
13747 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
13748 # include <X11/Xlib.h>
13749 #endif
13750 #ifdef HAVE_X11_XUTIL_H
13751 # include <X11/Xutil.h>
13752 #endif
13754 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
13755 then :
13756 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
13759 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
13760 # include <X11/Xlib.h>
13761 #endif
13762 #ifdef HAVE_X11_XUTIL_H
13763 # include <X11/Xutil.h>
13764 #endif
13766 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
13767 then :
13768 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
13771 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
13772 # include <X11/Xlib.h>
13773 #endif
13774 #ifdef HAVE_X11_XUTIL_H
13775 # include <X11/Xutil.h>
13776 #endif
13778 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
13779 then :
13780 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
13785 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
13786 then
13787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13788 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
13789 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
13790 then :
13791 printf %s "(cached) " >&6
13792 else $as_nop
13793 ac_check_lib_save_LIBS=$LIBS
13794 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13798 /* Override any GCC internal prototype to avoid an error.
13799 Use char because int might match the return type of a GCC
13800 builtin and then its argument prototype would still apply. */
13801 char XkbQueryExtension ();
13803 main (void)
13805 return XkbQueryExtension ();
13807 return 0;
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"
13811 then :
13812 ac_cv_lib_X11_XkbQueryExtension=yes
13813 else $as_nop
13814 ac_cv_lib_X11_XkbQueryExtension=no
13816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13817 conftest$ac_exeext conftest.$ac_ext
13818 LIBS=$ac_check_lib_save_LIBS
13820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13821 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13822 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
13823 then :
13825 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
13831 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
13832 then
13833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
13834 printf %s "checking for -lXcursor... " >&6; }
13835 if test ${ac_cv_lib_soname_Xcursor+y}
13836 then :
13837 printf %s "(cached) " >&6
13838 else $as_nop
13839 ac_check_soname_save_LIBS=$LIBS
13840 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13844 /* Override any GCC internal prototype to avoid an error.
13845 Use char because int might match the return type of a GCC
13846 builtin and then its argument prototype would still apply. */
13847 char XcursorImageLoadCursor ();
13849 main (void)
13851 return XcursorImageLoadCursor ();
13853 return 0;
13855 _ACEOF
13856 if ac_fn_c_try_link "$LINENO"
13857 then :
13858 case "$LIBEXT" in
13859 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13860 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'` ;;
13861 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13862 if ${ac_cv_lib_soname_Xcursor:+false} :
13863 then :
13864 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13865 fi ;;
13866 esac
13867 else $as_nop
13868 ac_cv_lib_soname_Xcursor=
13870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_Xcursor:+false} :
13875 then :
13876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13877 printf "%s\n" "not found" >&6; }
13879 else $as_nop
13880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
13881 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
13883 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
13888 if test "x$ac_cv_lib_soname_Xcursor" = "x"
13889 then :
13890 case "x$with_xcursor" in
13891 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
13892 xno) ;;
13893 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
13894 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
13895 esac
13899 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
13900 then
13901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
13902 printf %s "checking for -lXi... " >&6; }
13903 if test ${ac_cv_lib_soname_Xi+y}
13904 then :
13905 printf %s "(cached) " >&6
13906 else $as_nop
13907 ac_check_soname_save_LIBS=$LIBS
13908 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 /* Override any GCC internal prototype to avoid an error.
13913 Use char because int might match the return type of a GCC
13914 builtin and then its argument prototype would still apply. */
13915 char XOpenDevice ();
13917 main (void)
13919 return XOpenDevice ();
13921 return 0;
13923 _ACEOF
13924 if ac_fn_c_try_link "$LINENO"
13925 then :
13926 case "$LIBEXT" in
13927 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13928 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'` ;;
13929 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13930 if ${ac_cv_lib_soname_Xi:+false} :
13931 then :
13932 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13933 fi ;;
13934 esac
13935 else $as_nop
13936 ac_cv_lib_soname_Xi=
13938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13939 conftest$ac_exeext conftest.$ac_ext
13940 LIBS=$ac_check_soname_save_LIBS
13942 if ${ac_cv_lib_soname_Xi:+false} :
13943 then :
13944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13945 printf "%s\n" "not found" >&6; }
13947 else $as_nop
13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
13949 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
13951 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
13956 if test "x$ac_cv_lib_soname_Xi" = "x"
13957 then :
13958 case "x$with_xinput" in
13959 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
13960 xno) ;;
13961 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
13962 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
13963 esac
13967 if test "x$ac_cv_lib_soname_Xi" != x
13968 then
13969 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
13970 then :
13971 case "x$with_xinput2" in
13972 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
13973 xno) ;;
13974 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
13975 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
13976 esac
13981 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
13982 then
13983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13984 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
13985 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
13986 then :
13987 printf %s "(cached) " >&6
13988 else $as_nop
13989 ac_check_lib_save_LIBS=$LIBS
13990 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 char XShmQueryExtension ();
13999 main (void)
14001 return XShmQueryExtension ();
14003 return 0;
14005 _ACEOF
14006 if ac_fn_c_try_link "$LINENO"
14007 then :
14008 ac_cv_lib_Xext_XShmQueryExtension=yes
14009 else $as_nop
14010 ac_cv_lib_Xext_XShmQueryExtension=no
14012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14013 conftest$ac_exeext conftest.$ac_ext
14014 LIBS=$ac_check_lib_save_LIBS
14016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14017 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14018 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14019 then :
14021 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14026 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14027 then :
14028 case "x$with_xshm" in
14029 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14030 xno) ;;
14031 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14032 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14033 esac
14037 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14038 then
14039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14040 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14041 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14042 then :
14043 printf %s "(cached) " >&6
14044 else $as_nop
14045 ac_check_lib_save_LIBS=$LIBS
14046 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 char XShapeQueryExtension ();
14055 main (void)
14057 return XShapeQueryExtension ();
14059 return 0;
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"
14063 then :
14064 ac_cv_lib_Xext_XShapeQueryExtension=yes
14065 else $as_nop
14066 ac_cv_lib_Xext_XShapeQueryExtension=no
14068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14069 conftest$ac_exeext conftest.$ac_ext
14070 LIBS=$ac_check_lib_save_LIBS
14072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14073 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14074 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14075 then :
14077 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14082 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14083 then :
14084 case "x$with_xshape" in
14085 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14086 xno) ;;
14087 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14088 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14089 esac
14093 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14094 then
14095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14096 printf %s "checking for -lXxf86vm... " >&6; }
14097 if test ${ac_cv_lib_soname_Xxf86vm+y}
14098 then :
14099 printf %s "(cached) " >&6
14100 else $as_nop
14101 ac_check_soname_save_LIBS=$LIBS
14102 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 /* Override any GCC internal prototype to avoid an error.
14107 Use char because int might match the return type of a GCC
14108 builtin and then its argument prototype would still apply. */
14109 char XF86VidModeQueryExtension ();
14111 main (void)
14113 return XF86VidModeQueryExtension ();
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"
14119 then :
14120 case "$LIBEXT" in
14121 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14122 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'` ;;
14123 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14124 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14125 then :
14126 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14127 fi ;;
14128 esac
14129 else $as_nop
14130 ac_cv_lib_soname_Xxf86vm=
14132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14133 conftest$ac_exeext conftest.$ac_ext
14134 LIBS=$ac_check_soname_save_LIBS
14136 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14137 then :
14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14139 printf "%s\n" "not found" >&6; }
14141 else $as_nop
14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14143 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14145 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14150 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14151 then :
14152 case "x$with_xxf86vm" in
14153 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14154 xno) ;;
14155 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14156 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14157 esac
14161 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14162 then
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14164 printf %s "checking for -lXrender... " >&6; }
14165 if test ${ac_cv_lib_soname_Xrender+y}
14166 then :
14167 printf %s "(cached) " >&6
14168 else $as_nop
14169 ac_check_soname_save_LIBS=$LIBS
14170 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14177 char XRenderQueryExtension ();
14179 main (void)
14181 return XRenderQueryExtension ();
14183 return 0;
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"
14187 then :
14188 case "$LIBEXT" in
14189 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14190 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'` ;;
14191 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14192 if ${ac_cv_lib_soname_Xrender:+false} :
14193 then :
14194 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14195 fi ;;
14196 esac
14197 else $as_nop
14198 ac_cv_lib_soname_Xrender=
14200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14201 conftest$ac_exeext conftest.$ac_ext
14202 LIBS=$ac_check_soname_save_LIBS
14204 if ${ac_cv_lib_soname_Xrender:+false} :
14205 then :
14206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14207 printf "%s\n" "not found" >&6; }
14209 else $as_nop
14210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14211 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14213 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14216 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14217 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14218 then :
14219 printf %s "(cached) " >&6
14220 else $as_nop
14221 ac_check_lib_save_LIBS=$LIBS
14222 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14226 /* Override any GCC internal prototype to avoid an error.
14227 Use char because int might match the return type of a GCC
14228 builtin and then its argument prototype would still apply. */
14229 char XRenderSetPictureTransform ();
14231 main (void)
14233 return XRenderSetPictureTransform ();
14235 return 0;
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"
14239 then :
14240 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14241 else $as_nop
14242 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14245 conftest$ac_exeext conftest.$ac_ext
14246 LIBS=$ac_check_lib_save_LIBS
14248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14249 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14250 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14251 then :
14253 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14258 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14259 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14260 then :
14261 printf %s "(cached) " >&6
14262 else $as_nop
14263 ac_check_lib_save_LIBS=$LIBS
14264 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 /* Override any GCC internal prototype to avoid an error.
14269 Use char because int might match the return type of a GCC
14270 builtin and then its argument prototype would still apply. */
14271 char XRenderCreateLinearGradient ();
14273 main (void)
14275 return XRenderCreateLinearGradient ();
14277 return 0;
14279 _ACEOF
14280 if ac_fn_c_try_link "$LINENO"
14281 then :
14282 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14283 else $as_nop
14284 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14287 conftest$ac_exeext conftest.$ac_ext
14288 LIBS=$ac_check_lib_save_LIBS
14290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14291 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14292 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14293 then :
14295 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14302 if test "x$ac_cv_lib_soname_Xrender" = "x"
14303 then :
14304 case "x$with_xrender" in
14305 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14306 xno) ;;
14307 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14308 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14309 esac
14313 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14314 then
14315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14317 #include <X11/Xlib.h>
14318 #include <X11/extensions/Xrandr.h>
14320 main (void)
14322 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14324 return 0;
14326 _ACEOF
14327 if ac_fn_c_try_compile "$LINENO"
14328 then :
14329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14330 printf %s "checking for -lXrandr... " >&6; }
14331 if test ${ac_cv_lib_soname_Xrandr+y}
14332 then :
14333 printf %s "(cached) " >&6
14334 else $as_nop
14335 ac_check_soname_save_LIBS=$LIBS
14336 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14340 /* Override any GCC internal prototype to avoid an error.
14341 Use char because int might match the return type of a GCC
14342 builtin and then its argument prototype would still apply. */
14343 char XRRQueryExtension ();
14345 main (void)
14347 return XRRQueryExtension ();
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"
14353 then :
14354 case "$LIBEXT" in
14355 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14356 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'` ;;
14357 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14358 if ${ac_cv_lib_soname_Xrandr:+false} :
14359 then :
14360 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14361 fi ;;
14362 esac
14363 else $as_nop
14364 ac_cv_lib_soname_Xrandr=
14366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14367 conftest$ac_exeext conftest.$ac_ext
14368 LIBS=$ac_check_soname_save_LIBS
14370 if ${ac_cv_lib_soname_Xrandr:+false} :
14371 then :
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14373 printf "%s\n" "not found" >&6; }
14375 else $as_nop
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14377 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14379 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 #include <X11/Xlib.h>
14384 #include <X11/extensions/Xrandr.h>
14386 main (void)
14388 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14390 return 0;
14392 _ACEOF
14393 if ac_fn_c_try_compile "$LINENO"
14394 then :
14396 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14398 else $as_nop
14399 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14406 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14407 then :
14408 case "x$with_xrandr" in
14409 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14410 xno) ;;
14411 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14412 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14413 esac
14417 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14418 then
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14421 #include <X11/Xlib.h>
14422 #include <X11/extensions/Xfixes.h>
14424 main (void)
14426 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14428 return 0;
14430 _ACEOF
14431 if ac_fn_c_try_compile "$LINENO"
14432 then :
14433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14434 printf %s "checking for -lXfixes... " >&6; }
14435 if test ${ac_cv_lib_soname_Xfixes+y}
14436 then :
14437 printf %s "(cached) " >&6
14438 else $as_nop
14439 ac_check_soname_save_LIBS=$LIBS
14440 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14444 /* Override any GCC internal prototype to avoid an error.
14445 Use char because int might match the return type of a GCC
14446 builtin and then its argument prototype would still apply. */
14447 char XFixesQueryVersion ();
14449 main (void)
14451 return XFixesQueryVersion ();
14453 return 0;
14455 _ACEOF
14456 if ac_fn_c_try_link "$LINENO"
14457 then :
14458 case "$LIBEXT" in
14459 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14460 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'` ;;
14461 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14462 if ${ac_cv_lib_soname_Xfixes:+false} :
14463 then :
14464 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14465 fi ;;
14466 esac
14467 else $as_nop
14468 ac_cv_lib_soname_Xfixes=
14470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14471 conftest$ac_exeext conftest.$ac_ext
14472 LIBS=$ac_check_soname_save_LIBS
14474 if ${ac_cv_lib_soname_Xfixes:+false} :
14475 then :
14476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14477 printf "%s\n" "not found" >&6; }
14479 else $as_nop
14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
14481 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
14483 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
14488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14490 if test "x$ac_cv_lib_soname_Xfixes" = "x"
14491 then :
14492 case "x$with_xfixes" in
14493 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
14494 xno) ;;
14495 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
14496 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
14497 esac
14501 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
14502 then
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14505 #include <X11/Xlib.h>
14506 #include <X11/extensions/Xinerama.h>
14508 main (void)
14510 static typeof(XineramaQueryScreens) * func; if (func) return 0;
14512 return 0;
14514 _ACEOF
14515 if ac_fn_c_try_compile "$LINENO"
14516 then :
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
14518 printf %s "checking for -lXinerama... " >&6; }
14519 if test ${ac_cv_lib_soname_Xinerama+y}
14520 then :
14521 printf %s "(cached) " >&6
14522 else $as_nop
14523 ac_check_soname_save_LIBS=$LIBS
14524 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
14525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14528 /* Override any GCC internal prototype to avoid an error.
14529 Use char because int might match the return type of a GCC
14530 builtin and then its argument prototype would still apply. */
14531 char XineramaQueryScreens ();
14533 main (void)
14535 return XineramaQueryScreens ();
14537 return 0;
14539 _ACEOF
14540 if ac_fn_c_try_link "$LINENO"
14541 then :
14542 case "$LIBEXT" in
14543 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14544 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'` ;;
14545 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14546 if ${ac_cv_lib_soname_Xinerama:+false} :
14547 then :
14548 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14549 fi ;;
14550 esac
14551 else $as_nop
14552 ac_cv_lib_soname_Xinerama=
14554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14555 conftest$ac_exeext conftest.$ac_ext
14556 LIBS=$ac_check_soname_save_LIBS
14558 if ${ac_cv_lib_soname_Xinerama:+false} :
14559 then :
14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14561 printf "%s\n" "not found" >&6; }
14563 else $as_nop
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
14565 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
14567 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
14572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14574 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14575 then :
14576 case "x$with_xinerama" in
14577 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
14578 xno) ;;
14579 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
14580 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
14581 esac
14585 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
14586 then
14587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
14588 printf %s "checking for -lXcomposite... " >&6; }
14589 if test ${ac_cv_lib_soname_Xcomposite+y}
14590 then :
14591 printf %s "(cached) " >&6
14592 else $as_nop
14593 ac_check_soname_save_LIBS=$LIBS
14594 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14598 /* Override any GCC internal prototype to avoid an error.
14599 Use char because int might match the return type of a GCC
14600 builtin and then its argument prototype would still apply. */
14601 char XCompositeRedirectWindow ();
14603 main (void)
14605 return XCompositeRedirectWindow ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"
14611 then :
14612 case "$LIBEXT" in
14613 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14614 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'` ;;
14615 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14616 if ${ac_cv_lib_soname_Xcomposite:+false} :
14617 then :
14618 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14619 fi ;;
14620 esac
14621 else $as_nop
14622 ac_cv_lib_soname_Xcomposite=
14624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LIBS=$ac_check_soname_save_LIBS
14628 if ${ac_cv_lib_soname_Xcomposite:+false} :
14629 then :
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14631 printf "%s\n" "not found" >&6; }
14633 else $as_nop
14634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
14635 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
14637 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
14642 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
14643 then :
14644 case "x$with_xcomposite" in
14645 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
14646 xno) ;;
14647 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
14648 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
14649 esac
14653 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
14654 #include <X11/Xlib.h>
14655 #endif
14657 if test "x$ac_cv_member_XICCallback_callback" = xyes
14658 then :
14660 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
14664 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
14665 #include <X11/Xlib.h>
14666 #endif
14668 if test "x$ac_cv_member_XEvent_xcookie" = xyes
14669 then :
14671 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
14678 opengl_msg=""
14679 if test "x$with_opengl" != "xno"
14680 then
14681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14682 printf %s "checking for -lGL... " >&6; }
14683 if test ${ac_cv_lib_soname_GL+y}
14684 then :
14685 printf %s "(cached) " >&6
14686 else $as_nop
14687 ac_check_soname_save_LIBS=$LIBS
14688 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h. */
14692 /* Override any GCC internal prototype to avoid an error.
14693 Use char because int might match the return type of a GCC
14694 builtin and then its argument prototype would still apply. */
14695 char glXCreateContext ();
14697 main (void)
14699 return glXCreateContext ();
14701 return 0;
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"
14705 then :
14706 case "$LIBEXT" in
14707 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14708 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'` ;;
14709 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14710 if ${ac_cv_lib_soname_GL:+false} :
14711 then :
14712 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14713 fi ;;
14714 esac
14715 else $as_nop
14716 ac_cv_lib_soname_GL=
14718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14719 conftest$ac_exeext conftest.$ac_ext
14720 LIBS=$ac_check_soname_save_LIBS
14722 if ${ac_cv_lib_soname_GL:+false} :
14723 then :
14724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14725 printf "%s\n" "not found" >&6; }
14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14727 printf %s "checking for -lGL... " >&6; }
14728 if test ${ac_cv_lib_soname_GL+y}
14729 then :
14730 printf %s "(cached) " >&6
14731 else $as_nop
14732 ac_check_soname_save_LIBS=$LIBS
14733 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"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14737 /* Override any GCC internal prototype to avoid an error.
14738 Use char because int might match the return type of a GCC
14739 builtin and then its argument prototype would still apply. */
14740 char glXCreateContext ();
14742 main (void)
14744 return glXCreateContext ();
14746 return 0;
14748 _ACEOF
14749 if ac_fn_c_try_link "$LINENO"
14750 then :
14751 case "$LIBEXT" in
14752 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14753 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'` ;;
14754 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14755 if ${ac_cv_lib_soname_GL:+false} :
14756 then :
14757 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14758 fi ;;
14759 esac
14760 else $as_nop
14761 ac_cv_lib_soname_GL=
14763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14764 conftest$ac_exeext conftest.$ac_ext
14765 LIBS=$ac_check_soname_save_LIBS
14767 if ${ac_cv_lib_soname_GL:+false} :
14768 then :
14769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14770 printf "%s\n" "not found" >&6; }
14771 if test -f /usr/X11R6/lib/libGL.a
14772 then
14773 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
14774 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
14775 else
14776 opengl_msg="No OpenGL library found on this system."
14778 else $as_nop
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14780 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14782 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14784 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"
14786 else $as_nop
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14788 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14790 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14792 OPENGL_LIBS="-lGL"
14794 if test "x$with_osmesa" != "xno"
14795 then
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
14797 printf %s "checking for -lOSMesa... " >&6; }
14798 if test ${ac_cv_lib_soname_OSMesa+y}
14799 then :
14800 printf %s "(cached) " >&6
14801 else $as_nop
14802 ac_check_soname_save_LIBS=$LIBS
14803 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 /* Override any GCC internal prototype to avoid an error.
14808 Use char because int might match the return type of a GCC
14809 builtin and then its argument prototype would still apply. */
14810 char OSMesaGetProcAddress ();
14812 main (void)
14814 return OSMesaGetProcAddress ();
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"
14820 then :
14821 case "$LIBEXT" in
14822 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14823 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'` ;;
14824 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14825 if ${ac_cv_lib_soname_OSMesa:+false} :
14826 then :
14827 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14828 fi ;;
14829 esac
14830 else $as_nop
14831 ac_cv_lib_soname_OSMesa=
14833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14834 conftest$ac_exeext conftest.$ac_ext
14835 LIBS=$ac_check_soname_save_LIBS
14837 if ${ac_cv_lib_soname_OSMesa:+false} :
14838 then :
14839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14840 printf "%s\n" "not found" >&6; }
14842 else $as_nop
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
14844 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
14846 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
14850 if test "x$ac_cv_lib_soname_OSMesa" = "x"
14851 then :
14852 case "x$with_osmesa" in
14853 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
14854 xno) ;;
14855 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
14856 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
14857 esac
14862 if test -n "$opengl_msg"
14863 then :
14864 case "x$with_opengl" in
14865 x) as_fn_append wine_warnings "|$opengl_msg
14866 OpenGL and Direct3D won't be supported." ;;
14867 xno) ;;
14868 *) as_fn_error $? "$opengl_msg
14869 OpenGL and Direct3D won't be supported.
14870 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
14871 esac
14875 CPPFLAGS="$ac_save_CPPFLAGS"
14876 else
14877 X_CFLAGS=""
14878 X_LIBS=""
14881 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
14882 then
14883 if test "x$X_LIBS" = "x"
14884 then :
14885 case "x$with_x" in
14886 xno) ;;
14887 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
14888 without X support, which probably isn't what you want. You will need
14889 to install ${notice_platform}development packages of Xlib at the very least.
14890 Use the --without-x option if you really want this." "$LINENO" 5 ;;
14891 esac
14892 enable_winex11_drv=${enable_winex11_drv:-no}
14894 else
14895 if test "x$X_LIBS" = "x"
14896 then :
14897 case "x$with_x" in
14898 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
14899 xno) ;;
14900 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
14901 This is an error since --with-x was requested." "$LINENO" 5 ;;
14902 esac
14903 enable_winex11_drv=${enable_winex11_drv:-no}
14907 if test "$ac_cv_header_CL_cl_h" = "yes"
14908 then
14909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
14910 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
14911 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
14912 then :
14913 printf %s "(cached) " >&6
14914 else $as_nop
14915 ac_check_lib_save_LIBS=$LIBS
14916 LIBS="-lOpenCL $LIBS"
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14920 /* Override any GCC internal prototype to avoid an error.
14921 Use char because int might match the return type of a GCC
14922 builtin and then its argument prototype would still apply. */
14923 char clGetPlatformInfo ();
14925 main (void)
14927 return clGetPlatformInfo ();
14929 return 0;
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"
14933 then :
14934 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
14935 else $as_nop
14936 ac_cv_lib_OpenCL_clGetPlatformInfo=no
14938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14939 conftest$ac_exeext conftest.$ac_ext
14940 LIBS=$ac_check_lib_save_LIBS
14942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
14943 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
14944 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
14945 then :
14946 OPENCL_LIBS="-lOpenCL"
14951 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
14952 then :
14953 case "x$with_opencl" in
14954 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
14955 xno) ;;
14956 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
14957 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
14958 esac
14959 enable_opencl=${enable_opencl:-no}
14962 if test "$ac_cv_header_pcap_pcap_h" = "yes"
14963 then
14964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
14965 printf %s "checking for pcap_create in -lpcap... " >&6; }
14966 if test ${ac_cv_lib_pcap_pcap_create+y}
14967 then :
14968 printf %s "(cached) " >&6
14969 else $as_nop
14970 ac_check_lib_save_LIBS=$LIBS
14971 LIBS="-lpcap $LIBS"
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14975 /* Override any GCC internal prototype to avoid an error.
14976 Use char because int might match the return type of a GCC
14977 builtin and then its argument prototype would still apply. */
14978 char pcap_create ();
14980 main (void)
14982 return pcap_create ();
14984 return 0;
14986 _ACEOF
14987 if ac_fn_c_try_link "$LINENO"
14988 then :
14989 ac_cv_lib_pcap_pcap_create=yes
14990 else $as_nop
14991 ac_cv_lib_pcap_pcap_create=no
14993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_check_lib_save_LIBS
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
14998 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
14999 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15000 then :
15001 PCAP_LIBS="-lpcap"
15006 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15007 then :
15008 case "x$with_pcap" in
15009 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15010 xno) ;;
15011 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15012 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15013 esac
15014 enable_wpcap=${enable_wpcap:-no}
15017 if test "x$with_inotify" != "xno"
15018 then
15019 if ${INOTIFY_CFLAGS:+false} :
15020 then :
15021 if test ${PKG_CONFIG+y}
15022 then :
15023 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15027 if ${INOTIFY_LIBS:+false} :
15028 then :
15029 if test ${PKG_CONFIG+y}
15030 then :
15031 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15038 ac_save_CPPFLAGS=$CPPFLAGS
15039 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15040 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15041 if test "x$ac_cv_header_sys_inotify_h" = xyes
15042 then :
15043 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15048 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15049 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15050 then :
15051 printf %s "(cached) " >&6
15052 else $as_nop
15053 ac_check_lib_save_LIBS=$LIBS
15054 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15058 /* Override any GCC internal prototype to avoid an error.
15059 Use char because int might match the return type of a GCC
15060 builtin and then its argument prototype would still apply. */
15061 char inotify_add_watch ();
15063 main (void)
15065 return inotify_add_watch ();
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"
15071 then :
15072 ac_cv_lib_inotify_inotify_add_watch=yes
15073 else $as_nop
15074 ac_cv_lib_inotify_inotify_add_watch=no
15076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_check_lib_save_LIBS
15080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15081 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15082 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15083 then :
15085 else $as_nop
15086 INOTIFY_LIBS=""
15089 CPPFLAGS=$ac_save_CPPFLAGS
15092 if test "$ac_cv_header_sys_inotify_h" != "yes"
15093 then :
15094 case "x$with_inotify" in
15095 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15096 xno) ;;
15097 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15098 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15099 esac
15103 if test "x$with_dbus" != "xno"
15104 then
15105 if ${DBUS_CFLAGS:+false} :
15106 then :
15107 if test ${PKG_CONFIG+y}
15108 then :
15109 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15113 if ${DBUS_LIBS:+false} :
15114 then :
15115 if test ${PKG_CONFIG+y}
15116 then :
15117 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15124 ac_save_CPPFLAGS=$CPPFLAGS
15125 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15126 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15127 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15128 then :
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15130 printf %s "checking for -ldbus-1... " >&6; }
15131 if test ${ac_cv_lib_soname_dbus_1+y}
15132 then :
15133 printf %s "(cached) " >&6
15134 else $as_nop
15135 ac_check_soname_save_LIBS=$LIBS
15136 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15140 /* Override any GCC internal prototype to avoid an error.
15141 Use char because int might match the return type of a GCC
15142 builtin and then its argument prototype would still apply. */
15143 char dbus_connection_close ();
15145 main (void)
15147 return dbus_connection_close ();
15149 return 0;
15151 _ACEOF
15152 if ac_fn_c_try_link "$LINENO"
15153 then :
15154 case "$LIBEXT" in
15155 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15156 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'` ;;
15157 *) 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'`
15158 if ${ac_cv_lib_soname_dbus_1:+false} :
15159 then :
15160 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15161 fi ;;
15162 esac
15163 else $as_nop
15164 ac_cv_lib_soname_dbus_1=
15166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_check_soname_save_LIBS
15170 if ${ac_cv_lib_soname_dbus_1:+false} :
15171 then :
15172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15173 printf "%s\n" "not found" >&6; }
15174 DBUS_CFLAGS=""
15175 else $as_nop
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15177 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15179 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15183 else $as_nop
15184 DBUS_CFLAGS=""
15187 CPPFLAGS=$ac_save_CPPFLAGS
15190 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15191 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15192 then :
15193 case "x$with_dbus" in
15194 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15195 xno) ;;
15196 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15197 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15198 esac
15202 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
15203 then
15204 if ${HAL_CFLAGS:+false} :
15205 then :
15206 if test ${PKG_CONFIG+y}
15207 then :
15208 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
15212 if ${HAL_LIBS:+false} :
15213 then :
15214 if test ${PKG_CONFIG+y}
15215 then :
15216 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
15220 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
15221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
15222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
15223 ac_save_CPPFLAGS=$CPPFLAGS
15224 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
15225 ac_fn_c_check_header_compile "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
15226 if test "x$ac_cv_header_hal_libhal_h" = xyes
15227 then :
15228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
15229 printf %s "checking for -lhal... " >&6; }
15230 if test ${ac_cv_lib_soname_hal+y}
15231 then :
15232 printf %s "(cached) " >&6
15233 else $as_nop
15234 ac_check_soname_save_LIBS=$LIBS
15235 LIBS="-lhal $HAL_LIBS $LIBS"
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15242 char libhal_ctx_new ();
15244 main (void)
15246 return libhal_ctx_new ();
15248 return 0;
15250 _ACEOF
15251 if ac_fn_c_try_link "$LINENO"
15252 then :
15253 case "$LIBEXT" in
15254 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15255 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'` ;;
15256 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15257 if ${ac_cv_lib_soname_hal:+false} :
15258 then :
15259 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15260 fi ;;
15261 esac
15262 else $as_nop
15263 ac_cv_lib_soname_hal=
15265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15266 conftest$ac_exeext conftest.$ac_ext
15267 LIBS=$ac_check_soname_save_LIBS
15269 if ${ac_cv_lib_soname_hal:+false} :
15270 then :
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15272 printf "%s\n" "not found" >&6; }
15273 HAL_CFLAGS=""
15274 else $as_nop
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
15276 printf "%s\n" "$ac_cv_lib_soname_hal" >&6; }
15278 printf "%s\n" "#define SONAME_LIBHAL \"$ac_cv_lib_soname_hal\"" >>confdefs.h
15282 else $as_nop
15283 HAL_CFLAGS=""
15286 CPPFLAGS=$ac_save_CPPFLAGS
15288 if test "x$ac_cv_lib_soname_hal" = "x" -a \
15289 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15290 then :
15291 case "x$with_hal" in
15292 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
15293 xno) ;;
15294 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
15295 This is an error since --with-hal was requested." "$LINENO" 5 ;;
15296 esac
15301 if test "x$with_gnutls" != "xno"
15302 then
15303 if ${GNUTLS_CFLAGS:+false} :
15304 then :
15305 if test ${PKG_CONFIG+y}
15306 then :
15307 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15311 if ${GNUTLS_LIBS:+false} :
15312 then :
15313 if test ${PKG_CONFIG+y}
15314 then :
15315 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15319 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15322 ac_save_CPPFLAGS=$CPPFLAGS
15323 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15324 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15325 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15326 then :
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329 #include <gnutls/gnutls.h>
15330 #include <gnutls/crypto.h>
15332 main (void)
15334 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15336 return 0;
15338 _ACEOF
15339 if ac_fn_c_try_compile "$LINENO"
15340 then :
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15342 printf %s "checking for -lgnutls... " >&6; }
15343 if test ${ac_cv_lib_soname_gnutls+y}
15344 then :
15345 printf %s "(cached) " >&6
15346 else $as_nop
15347 ac_check_soname_save_LIBS=$LIBS
15348 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15352 /* Override any GCC internal prototype to avoid an error.
15353 Use char because int might match the return type of a GCC
15354 builtin and then its argument prototype would still apply. */
15355 char gnutls_global_init ();
15357 main (void)
15359 return gnutls_global_init ();
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_link "$LINENO"
15365 then :
15366 case "$LIBEXT" in
15367 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15368 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'` ;;
15369 *) 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'`
15370 if ${ac_cv_lib_soname_gnutls:+false} :
15371 then :
15372 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'`
15373 fi ;;
15374 esac
15375 else $as_nop
15376 ac_cv_lib_soname_gnutls=
15378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15379 conftest$ac_exeext conftest.$ac_ext
15380 LIBS=$ac_check_soname_save_LIBS
15382 if ${ac_cv_lib_soname_gnutls:+false} :
15383 then :
15384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15385 printf "%s\n" "not found" >&6; }
15386 GNUTLS_CFLAGS=""
15387 else $as_nop
15388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
15389 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
15391 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
15395 ac_wine_check_funcs_save_LIBS="$LIBS"
15396 LIBS="$LIBS $GNUTLS_LIBS"
15398 for ac_func in gnutls_cipher_init
15399 do :
15400 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
15401 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
15402 then :
15403 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
15405 else $as_nop
15406 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
15409 done
15410 LIBS="$ac_wine_check_funcs_save_LIBS"
15412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15413 else $as_nop
15414 GNUTLS_CFLAGS=""
15417 CPPFLAGS=$ac_save_CPPFLAGS
15420 if test "x$ac_cv_lib_soname_gnutls" = "x"
15421 then :
15422 case "x$with_gnutls" in
15423 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
15424 xno) ;;
15425 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
15426 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
15427 esac
15431 if test "x$with_sane" != "xno"
15432 then
15433 if ${SANE_CFLAGS:+false} :
15434 then :
15435 if test ${PKG_CONFIG+y}
15436 then :
15437 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
15440 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
15441 if ${SANE_LIBS:+false} :
15442 then :
15443 if test ${PKG_CONFIG+y}
15444 then :
15445 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
15448 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
15450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
15451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
15452 ac_save_CPPFLAGS=$CPPFLAGS
15453 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
15454 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
15455 if test "x$ac_cv_header_sane_sane_h" = xyes
15456 then :
15457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
15458 printf %s "checking for sane_init in -lsane... " >&6; }
15459 if test ${ac_cv_lib_sane_sane_init+y}
15460 then :
15461 printf %s "(cached) " >&6
15462 else $as_nop
15463 ac_check_lib_save_LIBS=$LIBS
15464 LIBS="-lsane $SANE_LIBS $LIBS"
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15468 /* Override any GCC internal prototype to avoid an error.
15469 Use char because int might match the return type of a GCC
15470 builtin and then its argument prototype would still apply. */
15471 char sane_init ();
15473 main (void)
15475 return sane_init ();
15477 return 0;
15479 _ACEOF
15480 if ac_fn_c_try_link "$LINENO"
15481 then :
15482 ac_cv_lib_sane_sane_init=yes
15483 else $as_nop
15484 ac_cv_lib_sane_sane_init=no
15486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15487 conftest$ac_exeext conftest.$ac_ext
15488 LIBS=$ac_check_lib_save_LIBS
15490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
15491 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
15492 if test "x$ac_cv_lib_sane_sane_init" = xyes
15493 then :
15499 CPPFLAGS=$ac_save_CPPFLAGS
15502 if test "$ac_cv_lib_sane_sane_init" != "yes"
15503 then :
15504 case "x$with_sane" in
15505 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
15506 xno) ;;
15507 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
15508 This is an error since --with-sane was requested." "$LINENO" 5 ;;
15509 esac
15510 enable_sane_ds=${enable_sane_ds:-no}
15513 if test "x$with_usb" != "xno"
15514 then
15515 if ${USB_CFLAGS:+false} :
15516 then :
15517 if test ${PKG_CONFIG+y}
15518 then :
15519 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
15523 if ${USB_LIBS:+false} :
15524 then :
15525 if test ${PKG_CONFIG+y}
15526 then :
15527 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
15531 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
15532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
15533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
15534 ac_save_CPPFLAGS=$CPPFLAGS
15535 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
15536 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
15537 if test "x$ac_cv_header_libusb_h" = xyes
15538 then :
15539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
15540 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
15541 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
15542 then :
15543 printf %s "(cached) " >&6
15544 else $as_nop
15545 ac_check_lib_save_LIBS=$LIBS
15546 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15553 char libusb_interrupt_event_handler ();
15555 main (void)
15557 return libusb_interrupt_event_handler ();
15559 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"
15563 then :
15564 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
15565 else $as_nop
15566 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
15568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15569 conftest$ac_exeext conftest.$ac_ext
15570 LIBS=$ac_check_lib_save_LIBS
15572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
15573 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
15574 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
15575 then :
15577 else $as_nop
15578 USB_LIBS=""
15581 else $as_nop
15582 USB_LIBS=""
15585 CPPFLAGS=$ac_save_CPPFLAGS
15588 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
15589 then :
15590 case "x$with_usb" in
15591 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
15592 xno) ;;
15593 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
15594 This is an error since --with-usb was requested." "$LINENO" 5 ;;
15595 esac
15596 enable_wineusb_sys=${enable_wineusb_sys:-no}
15599 if test "x$with_v4l2" != "xno"
15600 then
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
15602 printf %s "checking for -lv4l2... " >&6; }
15603 if test ${ac_cv_lib_soname_v4l2+y}
15604 then :
15605 printf %s "(cached) " >&6
15606 else $as_nop
15607 ac_check_soname_save_LIBS=$LIBS
15608 LIBS="-lv4l2 $LIBS"
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15612 /* Override any GCC internal prototype to avoid an error.
15613 Use char because int might match the return type of a GCC
15614 builtin and then its argument prototype would still apply. */
15615 char v4l2_open ();
15617 main (void)
15619 return v4l2_open ();
15621 return 0;
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"
15625 then :
15626 case "$LIBEXT" in
15627 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15628 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'` ;;
15629 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15630 if ${ac_cv_lib_soname_v4l2:+false} :
15631 then :
15632 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15633 fi ;;
15634 esac
15635 else $as_nop
15636 ac_cv_lib_soname_v4l2=
15638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15639 conftest$ac_exeext conftest.$ac_ext
15640 LIBS=$ac_check_soname_save_LIBS
15642 if ${ac_cv_lib_soname_v4l2:+false} :
15643 then :
15644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15645 printf "%s\n" "not found" >&6; }
15647 else $as_nop
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
15649 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
15651 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
15656 if test "x$ac_cv_lib_soname_v4l2" = "x"
15657 then :
15658 case "x$with_v4l2" in
15659 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
15660 xno) ;;
15661 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
15662 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
15663 esac
15667 if test "x$with_gphoto" != "xno"
15668 then
15669 if ${GPHOTO2_CFLAGS:+false} :
15670 then :
15671 if test ${PKG_CONFIG+y}
15672 then :
15673 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
15676 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
15677 if ${GPHOTO2_LIBS:+false} :
15678 then :
15679 if test ${PKG_CONFIG+y}
15680 then :
15681 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
15684 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
15685 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
15686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
15687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
15688 ac_save_CPPFLAGS=$CPPFLAGS
15689 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
15690 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
15691 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
15692 then :
15693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
15694 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
15695 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
15696 then :
15697 printf %s "(cached) " >&6
15698 else $as_nop
15699 ac_check_lib_save_LIBS=$LIBS
15700 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15704 /* Override any GCC internal prototype to avoid an error.
15705 Use char because int might match the return type of a GCC
15706 builtin and then its argument prototype would still apply. */
15707 char gp_camera_new ();
15709 main (void)
15711 return gp_camera_new ();
15713 return 0;
15715 _ACEOF
15716 if ac_fn_c_try_link "$LINENO"
15717 then :
15718 ac_cv_lib_gphoto2_gp_camera_new=yes
15719 else $as_nop
15720 ac_cv_lib_gphoto2_gp_camera_new=no
15722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_check_lib_save_LIBS
15726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
15727 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
15728 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
15729 then :
15735 CPPFLAGS=$ac_save_CPPFLAGS
15737 if ${GPHOTO2_PORT_CFLAGS:+false} :
15738 then :
15739 if test ${PKG_CONFIG+y}
15740 then :
15741 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
15744 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
15745 if ${GPHOTO2_PORT_LIBS:+false} :
15746 then :
15747 if test ${PKG_CONFIG+y}
15748 then :
15749 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
15752 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
15753 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
15754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
15755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
15756 ac_save_CPPFLAGS=$CPPFLAGS
15757 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
15758 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
15759 if test "x$ac_cv_header_gphoto2_port_h" = xyes
15760 then :
15761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
15762 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
15763 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
15764 then :
15765 printf %s "(cached) " >&6
15766 else $as_nop
15767 ac_check_lib_save_LIBS=$LIBS
15768 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 char gp_port_info_list_new ();
15777 main (void)
15779 return gp_port_info_list_new ();
15781 return 0;
15783 _ACEOF
15784 if ac_fn_c_try_link "$LINENO"
15785 then :
15786 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
15787 else $as_nop
15788 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
15790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_lib_save_LIBS
15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
15795 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
15796 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
15797 then :
15799 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
15801 else $as_nop
15802 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15805 else $as_nop
15806 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15809 CPPFLAGS=$ac_save_CPPFLAGS
15812 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
15813 then :
15814 case "x$with_gphoto" in
15815 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
15816 xno) ;;
15817 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
15818 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15819 esac
15820 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
15822 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
15823 then :
15824 case "x$with_gphoto" in
15825 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
15826 xno) ;;
15827 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
15828 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15829 esac
15834 if test "$ac_cv_header_resolv_h" = "yes"
15835 then
15836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
15837 printf %s "checking for resolver library... " >&6; }
15838 if test ${ac_cv_have_resolv+y}
15839 then :
15840 printf %s "(cached) " >&6
15841 else $as_nop
15842 ac_save_LIBS="$LIBS"
15843 for lib in '' -lresolv
15845 LIBS="$lib $ac_save_LIBS"
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848 #ifdef HAVE_NETINET_IN_H
15849 #include <netinet/in.h>
15850 #endif
15851 #include <resolv.h>
15853 main (void)
15855 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
15857 return 0;
15859 _ACEOF
15860 if ac_fn_c_try_link "$LINENO"
15861 then :
15862 ac_cv_have_resolv=${lib:-"none required"}
15863 else $as_nop
15864 ac_cv_have_resolv="not found"
15866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15867 conftest$ac_exeext conftest.$ac_ext
15868 test "x$ac_cv_have_resolv" = "xnot found" || break
15869 done
15870 LIBS="$ac_save_LIBS"
15872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
15873 printf "%s\n" "$ac_cv_have_resolv" >&6; }
15875 case "$ac_cv_have_resolv" in
15876 "not found") ;;
15877 "none required")
15879 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15882 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15884 RESOLV_LIBS=$ac_cv_have_resolv
15886 esac
15888 if test "x$ac_cv_have_resolv" != "xnot found"
15889 then
15890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
15891 printf %s "checking for res_getservers... " >&6; }
15892 if test ${ac_cv_have_res_getservers+y}
15893 then :
15894 printf %s "(cached) " >&6
15895 else $as_nop
15896 ac_save_LIBS="$LIBS"
15897 LIBS="$RESOLV_LIBS $LIBS"
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #include <resolv.h>
15902 main (void)
15904 res_getservers(NULL, NULL, 0);
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_link "$LINENO"
15910 then :
15911 ac_cv_have_res_getservers=yes
15912 else $as_nop
15913 ac_cv_have_res_getservers=no
15915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15916 conftest$ac_exeext conftest.$ac_ext
15917 LIBS="$ac_save_LIBS"
15919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
15920 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
15921 if test "$ac_cv_have_res_getservers" = "yes"
15922 then
15924 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
15930 if test "x$with_freetype" != "xno"
15931 then
15932 if ${FREETYPE_CFLAGS:+false} :
15933 then :
15934 if test ${PKG_CONFIG+y}
15935 then :
15936 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
15939 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
15940 if ${FREETYPE_LIBS:+false} :
15941 then :
15942 if test ${PKG_CONFIG+y}
15943 then :
15944 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
15947 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
15948 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
15949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
15950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
15951 ac_save_CPPFLAGS=$CPPFLAGS
15952 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
15953 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
15954 if test "x$ac_cv_header_ft2build_h" = xyes
15955 then :
15956 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
15960 if test "$ac_cv_header_ft2build_h" = "yes"
15961 then
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
15963 printf %s "checking for -lfreetype... " >&6; }
15964 if test ${ac_cv_lib_soname_freetype+y}
15965 then :
15966 printf %s "(cached) " >&6
15967 else $as_nop
15968 ac_check_soname_save_LIBS=$LIBS
15969 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15973 /* Override any GCC internal prototype to avoid an error.
15974 Use char because int might match the return type of a GCC
15975 builtin and then its argument prototype would still apply. */
15976 char FT_Init_FreeType ();
15978 main (void)
15980 return FT_Init_FreeType ();
15982 return 0;
15984 _ACEOF
15985 if ac_fn_c_try_link "$LINENO"
15986 then :
15987 case "$LIBEXT" in
15988 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15989 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'` ;;
15990 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15991 if ${ac_cv_lib_soname_freetype:+false} :
15992 then :
15993 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15994 fi ;;
15995 esac
15996 else $as_nop
15997 ac_cv_lib_soname_freetype=
15999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16000 conftest$ac_exeext conftest.$ac_ext
16001 LIBS=$ac_check_soname_save_LIBS
16003 if ${ac_cv_lib_soname_freetype:+false} :
16004 then :
16005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16006 printf "%s\n" "not found" >&6; }
16007 FREETYPE_LIBS=""
16008 else $as_nop
16009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16010 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16012 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16015 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16017 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16018 #include FT_MODULE_H
16020 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16021 then :
16023 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16029 else
16030 FREETYPE_CFLAGS=""
16031 FREETYPE_LIBS=""
16033 CPPFLAGS=$ac_save_CPPFLAGS
16036 if test "x$ac_cv_lib_soname_freetype" = x
16037 then :
16038 case "x$with_freetype" in
16039 xno) ;;
16040 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16041 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16042 esac
16043 enable_fonts=${enable_fonts:-no}
16046 ac_wine_check_funcs_save_LIBS="$LIBS"
16047 LIBS="$LIBS $PTHREAD_LIBS"
16048 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16049 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16050 then :
16051 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16055 LIBS="$ac_wine_check_funcs_save_LIBS"
16057 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16058 then
16059 if test "$ac_cv_header_gettext_po_h" = "yes"
16060 then
16061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16062 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16063 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16064 then :
16065 printf %s "(cached) " >&6
16066 else $as_nop
16067 ac_check_lib_save_LIBS=$LIBS
16068 LIBS="-lgettextpo $LIBS"
16069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16070 /* end confdefs.h. */
16072 /* Override any GCC internal prototype to avoid an error.
16073 Use char because int might match the return type of a GCC
16074 builtin and then its argument prototype would still apply. */
16075 char po_message_msgctxt ();
16077 main (void)
16079 return po_message_msgctxt ();
16081 return 0;
16083 _ACEOF
16084 if ac_fn_c_try_link "$LINENO"
16085 then :
16086 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16087 else $as_nop
16088 ac_cv_lib_gettextpo_po_message_msgctxt=no
16090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16091 conftest$ac_exeext conftest.$ac_ext
16092 LIBS=$ac_check_lib_save_LIBS
16094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16095 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16096 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16097 then :
16099 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16101 GETTEXTPO_LIBS="-lgettextpo"
16106 if test "x$GETTEXTPO_LIBS" = "x"
16107 then :
16108 case "x$with_gettextpo" in
16109 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16110 xno) ;;
16111 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16112 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16113 esac
16116 if test "$srcdir" != .
16117 then :
16118 case "x$with_gettextpo" in
16119 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16120 xno) ;;
16121 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16122 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16123 esac
16128 if test "x$with_pulse" != "xno";
16129 then
16130 if ${PULSE_CFLAGS:+false} :
16131 then :
16132 if test ${PKG_CONFIG+y}
16133 then :
16134 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16138 if ${PULSE_LIBS:+false} :
16139 then :
16140 if test ${PKG_CONFIG+y}
16141 then :
16142 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16149 ac_save_CPPFLAGS=$CPPFLAGS
16150 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16151 for ac_header in pulse/pulseaudio.h
16152 do :
16153 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16154 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16155 then :
16156 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16158 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16159 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16160 then :
16161 printf %s "(cached) " >&6
16162 else $as_nop
16163 ac_check_lib_save_LIBS=$LIBS
16164 LIBS="-lpulse $PULSE_LIBS $LIBS"
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16168 /* Override any GCC internal prototype to avoid an error.
16169 Use char because int might match the return type of a GCC
16170 builtin and then its argument prototype would still apply. */
16171 char pa_stream_is_corked ();
16173 main (void)
16175 return pa_stream_is_corked ();
16177 return 0;
16179 _ACEOF
16180 if ac_fn_c_try_link "$LINENO"
16181 then :
16182 ac_cv_lib_pulse_pa_stream_is_corked=yes
16183 else $as_nop
16184 ac_cv_lib_pulse_pa_stream_is_corked=no
16186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16187 conftest$ac_exeext conftest.$ac_ext
16188 LIBS=$ac_check_lib_save_LIBS
16190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16191 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16192 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16193 then :
16195 else $as_nop
16196 PULSE_LIBS=""
16199 else $as_nop
16200 PULSE_LIBS=""
16203 done
16204 CPPFLAGS=$ac_save_CPPFLAGS
16207 if test -z "$PULSE_LIBS"
16208 then :
16209 case "x$with_pulse" in
16210 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16211 xno) ;;
16212 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16213 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16214 esac
16215 enable_winepulse_drv=${enable_winepulse_drv:-no}
16218 if test "x$with_gstreamer" != "xno"
16219 then
16220 if ${GSTREAMER_CFLAGS:+false} :
16221 then :
16222 if test ${PKG_CONFIG+y}
16223 then :
16224 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16228 if ${GSTREAMER_LIBS:+false} :
16229 then :
16230 if test ${PKG_CONFIG+y}
16231 then :
16232 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16239 ac_save_CPPFLAGS=$CPPFLAGS
16240 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16241 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16242 if test "x$ac_cv_header_gst_gst_h" = xyes
16243 then :
16244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16245 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16248 #include <gst/gst.h>
16250 main (void)
16252 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16254 return 0;
16256 _ACEOF
16257 if ac_fn_c_try_compile "$LINENO"
16258 then :
16259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16260 printf "%s\n" "yes" >&6; }
16261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16262 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16263 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16264 then :
16265 printf %s "(cached) " >&6
16266 else $as_nop
16267 ac_check_lib_save_LIBS=$LIBS
16268 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16272 /* Override any GCC internal prototype to avoid an error.
16273 Use char because int might match the return type of a GCC
16274 builtin and then its argument prototype would still apply. */
16275 char gst_pad_new ();
16277 main (void)
16279 return gst_pad_new ();
16281 return 0;
16283 _ACEOF
16284 if ac_fn_c_try_link "$LINENO"
16285 then :
16286 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16287 else $as_nop
16288 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16291 conftest$ac_exeext conftest.$ac_ext
16292 LIBS=$ac_check_lib_save_LIBS
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16295 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16296 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16297 then :
16301 else $as_nop
16302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16303 printf "%s\n" "no" >&6; }
16304 ac_glib2_broken=yes
16305 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16310 CPPFLAGS=$ac_save_CPPFLAGS
16313 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
16314 then
16315 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16316 then :
16317 case "x$with_gstreamer" in
16318 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16319 xno) ;;
16320 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16321 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16322 esac
16326 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
16328 ALSA_LIBS=""
16330 if test "x$with_alsa" != "xno"
16331 then
16332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16333 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16334 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16335 then :
16336 printf %s "(cached) " >&6
16337 else $as_nop
16338 ac_check_lib_save_LIBS=$LIBS
16339 LIBS="-lasound $LIBS"
16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h. */
16343 /* Override any GCC internal prototype to avoid an error.
16344 Use char because int might match the return type of a GCC
16345 builtin and then its argument prototype would still apply. */
16346 char snd_pcm_hw_params_get_access_mask ();
16348 main (void)
16350 return snd_pcm_hw_params_get_access_mask ();
16352 return 0;
16354 _ACEOF
16355 if ac_fn_c_try_link "$LINENO"
16356 then :
16357 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
16358 else $as_nop
16359 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
16361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16362 conftest$ac_exeext conftest.$ac_ext
16363 LIBS=$ac_check_lib_save_LIBS
16365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
16366 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
16367 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
16368 then :
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #include <alsa/asoundlib.h>
16373 main (void)
16375 snd_pcm_hw_params_get_access_mask(NULL, NULL)
16377 return 0;
16379 _ACEOF
16380 if ac_fn_c_try_compile "$LINENO"
16381 then :
16382 ALSA_LIBS="-lasound"
16384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16388 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
16390 if test "x$with_oss" != xno
16391 then
16392 ac_save_CPPFLAGS="$CPPFLAGS"
16393 if test -f /etc/oss.conf
16394 then
16395 . /etc/oss.conf
16397 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
16398 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
16399 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
16400 if test "x$ac_cv_header_sys_soundcard_h" = xyes
16401 then :
16402 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
16404 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
16405 then :
16407 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
16409 OSS4_CFLAGS="$ac_oss_incl"
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16412 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
16413 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
16414 then :
16415 printf %s "(cached) " >&6
16416 else $as_nop
16417 ac_check_lib_save_LIBS=$LIBS
16418 LIBS="-lossaudio $LIBS"
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16422 /* Override any GCC internal prototype to avoid an error.
16423 Use char because int might match the return type of a GCC
16424 builtin and then its argument prototype would still apply. */
16425 char _oss_ioctl ();
16427 main (void)
16429 return _oss_ioctl ();
16431 return 0;
16433 _ACEOF
16434 if ac_fn_c_try_link "$LINENO"
16435 then :
16436 ac_cv_lib_ossaudio__oss_ioctl=yes
16437 else $as_nop
16438 ac_cv_lib_ossaudio__oss_ioctl=no
16440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16441 conftest$ac_exeext conftest.$ac_ext
16442 LIBS=$ac_check_lib_save_LIBS
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16445 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16446 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
16447 then :
16448 OSS4_LIBS="-lossaudio"
16456 CPPFLAGS="$ac_save_CPPFLAGS"
16458 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
16459 then :
16460 case "x$with_oss" in
16461 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
16462 xno) ;;
16463 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
16464 This is an error since --with-oss was requested." "$LINENO" 5 ;;
16465 esac
16466 enable_wineoss_drv=${enable_wineoss_drv:-no}
16469 if test "x$with_udev" != "xno"
16470 then
16471 if ${UDEV_CFLAGS:+false} :
16472 then :
16473 if test ${PKG_CONFIG+y}
16474 then :
16475 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
16479 if ${UDEV_LIBS:+false} :
16480 then :
16481 if test ${PKG_CONFIG+y}
16482 then :
16483 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
16487 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
16488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
16489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
16490 ac_save_CPPFLAGS=$CPPFLAGS
16491 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
16492 for ac_header in libudev.h
16493 do :
16494 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
16495 if test "x$ac_cv_header_libudev_h" = xyes
16496 then :
16497 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
16498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
16499 printf %s "checking for udev_new in -ludev... " >&6; }
16500 if test ${ac_cv_lib_udev_udev_new+y}
16501 then :
16502 printf %s "(cached) " >&6
16503 else $as_nop
16504 ac_check_lib_save_LIBS=$LIBS
16505 LIBS="-ludev $UDEV_LIBS $LIBS"
16506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h. */
16509 /* Override any GCC internal prototype to avoid an error.
16510 Use char because int might match the return type of a GCC
16511 builtin and then its argument prototype would still apply. */
16512 char udev_new ();
16514 main (void)
16516 return udev_new ();
16518 return 0;
16520 _ACEOF
16521 if ac_fn_c_try_link "$LINENO"
16522 then :
16523 ac_cv_lib_udev_udev_new=yes
16524 else $as_nop
16525 ac_cv_lib_udev_udev_new=no
16527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16528 conftest$ac_exeext conftest.$ac_ext
16529 LIBS=$ac_check_lib_save_LIBS
16531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
16532 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
16533 if test "x$ac_cv_lib_udev_udev_new" = xyes
16534 then :
16536 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
16538 else $as_nop
16539 UDEV_LIBS=""
16542 else $as_nop
16543 UDEV_LIBS=""
16546 done
16547 CPPFLAGS=$ac_save_CPPFLAGS
16550 if test "x$UDEV_LIBS" = "x"
16551 then :
16552 case "x$with_udev" in
16553 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
16554 xno) ;;
16555 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
16556 This is an error since --with-udev was requested." "$LINENO" 5 ;;
16557 esac
16561 if test "x$with_unwind" != xno
16562 then
16563 if ${UNWIND_CFLAGS:+false} :
16564 then :
16565 if test ${PKG_CONFIG+y}
16566 then :
16567 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
16571 if ${UNWIND_LIBS:+false} :
16572 then :
16573 if test ${PKG_CONFIG+y}
16574 then :
16575 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
16579 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
16580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
16581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
16582 ac_save_CPPFLAGS=$CPPFLAGS
16583 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
16584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
16585 printf %s "checking for unw_step... " >&6; }
16586 if test ${wine_cv_have_unw_step+y}
16587 then :
16588 printf %s "(cached) " >&6
16589 else $as_nop
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #define UNW_LOCAL_ONLY
16593 #include <libunwind.h>
16595 main (void)
16597 unw_cursor_t cursor; unw_step( &cursor );
16599 return 0;
16601 _ACEOF
16602 if ac_fn_c_try_link "$LINENO"
16603 then :
16604 wine_cv_have_unw_step="yes"
16605 else $as_nop
16606 wine_cv_have_unw_step="no"
16608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16609 conftest$ac_exeext conftest.$ac_ext
16611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
16612 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
16613 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
16614 then
16615 save_libs=$LIBS
16616 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
16617 LIBS="$UNWIND_LIBS $LIBS"
16618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
16619 printf %s "checking for unw_step in libunwind... " >&6; }
16620 if test ${wine_cv_have_libunwind_unw_step+y}
16621 then :
16622 printf %s "(cached) " >&6
16623 else $as_nop
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 #define UNW_LOCAL_ONLY
16627 #include <libunwind.h>
16629 main (void)
16631 unw_cursor_t cursor; unw_step( &cursor );
16633 return 0;
16635 _ACEOF
16636 if ac_fn_c_try_link "$LINENO"
16637 then :
16638 wine_cv_have_libunwind_unw_step="yes"
16639 else $as_nop
16640 wine_cv_have_libunwind_unw_step="no"
16642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16643 conftest$ac_exeext conftest.$ac_ext
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
16646 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
16647 LIBS=$save_libs
16649 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
16650 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
16651 then
16653 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
16656 CPPFLAGS=$ac_save_CPPFLAGS
16659 case $host in
16660 aarch64*|*-darwin*)
16661 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
16662 then :
16663 case "x$with_unwind" in
16664 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
16665 xno) ;;
16666 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
16667 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
16668 esac
16670 fi ;;
16671 esac
16673 if test "x$with_sdl" != "xno"
16674 then
16675 if ${SDL2_CFLAGS:+false} :
16676 then :
16677 if test ${PKG_CONFIG+y}
16678 then :
16679 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
16683 if ${SDL2_LIBS:+false} :
16684 then :
16685 if test ${PKG_CONFIG+y}
16686 then :
16687 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
16691 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
16692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
16693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
16694 ac_save_CPPFLAGS=$CPPFLAGS
16695 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
16696 for ac_header in SDL.h
16697 do :
16698 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
16699 if test "x$ac_cv_header_SDL_h" = xyes
16700 then :
16701 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
16702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
16703 printf %s "checking for -lSDL2... " >&6; }
16704 if test ${ac_cv_lib_soname_SDL2+y}
16705 then :
16706 printf %s "(cached) " >&6
16707 else $as_nop
16708 ac_check_soname_save_LIBS=$LIBS
16709 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16713 /* Override any GCC internal prototype to avoid an error.
16714 Use char because int might match the return type of a GCC
16715 builtin and then its argument prototype would still apply. */
16716 char SDL_Init ();
16718 main (void)
16720 return SDL_Init ();
16722 return 0;
16724 _ACEOF
16725 if ac_fn_c_try_link "$LINENO"
16726 then :
16727 case "$LIBEXT" in
16728 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16729 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'` ;;
16730 *) 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'`
16731 if ${ac_cv_lib_soname_SDL2:+false} :
16732 then :
16733 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16734 fi ;;
16735 esac
16736 else $as_nop
16737 ac_cv_lib_soname_SDL2=
16739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16740 conftest$ac_exeext conftest.$ac_ext
16741 LIBS=$ac_check_soname_save_LIBS
16743 if ${ac_cv_lib_soname_SDL2:+false} :
16744 then :
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16746 printf "%s\n" "not found" >&6; }
16748 else $as_nop
16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
16750 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
16752 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
16758 done
16759 CPPFLAGS=$ac_save_CPPFLAGS
16762 if test "x$ac_cv_lib_soname_SDL2" = "x"
16763 then :
16764 case "x$with_sdl" in
16765 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
16766 xno) ;;
16767 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
16768 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
16769 esac
16773 if test "x$with_capi" != "xno"
16774 then
16775 if ${CAPI20_CFLAGS:+false} :
16776 then :
16777 if test ${PKG_CONFIG+y}
16778 then :
16779 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
16783 if ${CAPI20_LIBS:+false} :
16784 then :
16785 if test ${PKG_CONFIG+y}
16786 then :
16787 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
16792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
16793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
16794 ac_save_CPPFLAGS=$CPPFLAGS
16795 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
16796 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
16798 if test "x$ac_cv_header_capi20_h" = xyes
16799 then :
16800 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
16803 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
16805 if test "x$ac_cv_header_linux_capi_h" = xyes
16806 then :
16807 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
16811 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
16812 then
16813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
16814 printf %s "checking for capi20_register in -lcapi20... " >&6; }
16815 if test ${ac_cv_lib_capi20_capi20_register+y}
16816 then :
16817 printf %s "(cached) " >&6
16818 else $as_nop
16819 ac_check_lib_save_LIBS=$LIBS
16820 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16824 /* Override any GCC internal prototype to avoid an error.
16825 Use char because int might match the return type of a GCC
16826 builtin and then its argument prototype would still apply. */
16827 char capi20_register ();
16829 main (void)
16831 return capi20_register ();
16833 return 0;
16835 _ACEOF
16836 if ac_fn_c_try_link "$LINENO"
16837 then :
16838 ac_cv_lib_capi20_capi20_register=yes
16839 else $as_nop
16840 ac_cv_lib_capi20_capi20_register=no
16842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16843 conftest$ac_exeext conftest.$ac_ext
16844 LIBS=$ac_check_lib_save_LIBS
16846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
16847 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
16848 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
16849 then :
16851 else $as_nop
16852 CAPI20_LIBS=""
16856 CPPFLAGS=$ac_save_CPPFLAGS
16859 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
16860 then :
16861 case "x$with_capi" in
16862 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
16863 xno) ;;
16864 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
16865 This is an error since --with-capi was requested." "$LINENO" 5 ;;
16866 esac
16867 enable_capi2032=${enable_capi2032:-no}
16870 if test "x$with_cups" != "xno"
16871 then
16872 if ${CUPS_CFLAGS:+false} :
16873 then :
16874 if test ${PKG_CONFIG+y}
16875 then :
16876 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
16879 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
16880 if ${CUPS_LIBS:+false} :
16881 then :
16882 if test ${PKG_CONFIG+y}
16883 then :
16884 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
16887 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
16888 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
16889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
16890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
16891 ac_save_CPPFLAGS=$CPPFLAGS
16892 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
16893 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
16894 if test "x$ac_cv_header_cups_cups_h" = xyes
16895 then :
16896 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
16899 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
16900 if test "x$ac_cv_header_cups_ppd_h" = xyes
16901 then :
16902 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
16906 if test "$ac_cv_header_cups_cups_h" = "yes"
16907 then
16908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
16909 printf %s "checking for -lcups... " >&6; }
16910 if test ${ac_cv_lib_soname_cups+y}
16911 then :
16912 printf %s "(cached) " >&6
16913 else $as_nop
16914 ac_check_soname_save_LIBS=$LIBS
16915 LIBS="-lcups $CUPS_LIBS $LIBS"
16916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16919 /* Override any GCC internal prototype to avoid an error.
16920 Use char because int might match the return type of a GCC
16921 builtin and then its argument prototype would still apply. */
16922 char cupsGetDefault ();
16924 main (void)
16926 return cupsGetDefault ();
16928 return 0;
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"
16932 then :
16933 case "$LIBEXT" in
16934 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16935 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'` ;;
16936 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16937 if ${ac_cv_lib_soname_cups:+false} :
16938 then :
16939 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16940 fi ;;
16941 esac
16942 else $as_nop
16943 ac_cv_lib_soname_cups=
16945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16946 conftest$ac_exeext conftest.$ac_ext
16947 LIBS=$ac_check_soname_save_LIBS
16949 if ${ac_cv_lib_soname_cups:+false} :
16950 then :
16951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16952 printf "%s\n" "not found" >&6; }
16953 CUPS_LIBS=""
16954 else $as_nop
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
16956 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
16958 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
16962 else
16963 CUPS_CFLAGS=""
16964 CUPS_LIBS=""
16966 CPPFLAGS=$ac_save_CPPFLAGS
16969 if test "x$ac_cv_lib_soname_cups" = "x"
16970 then :
16971 case "x$with_cups" in
16972 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
16973 xno) ;;
16974 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
16975 This is an error since --with-cups was requested." "$LINENO" 5 ;;
16976 esac
16980 if test "x$with_fontconfig" != "xno"
16981 then
16982 if ${FONTCONFIG_CFLAGS:+false} :
16983 then :
16984 if test ${PKG_CONFIG+y}
16985 then :
16986 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
16989 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
16990 if ${FONTCONFIG_LIBS:+false} :
16991 then :
16992 if test ${PKG_CONFIG+y}
16993 then :
16994 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
16997 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
16999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17001 ac_save_CPPFLAGS=$CPPFLAGS
17002 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17003 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17004 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17005 then :
17006 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17010 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17011 then
17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17013 printf %s "checking for -lfontconfig... " >&6; }
17014 if test ${ac_cv_lib_soname_fontconfig+y}
17015 then :
17016 printf %s "(cached) " >&6
17017 else $as_nop
17018 ac_check_soname_save_LIBS=$LIBS
17019 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17023 /* Override any GCC internal prototype to avoid an error.
17024 Use char because int might match the return type of a GCC
17025 builtin and then its argument prototype would still apply. */
17026 char FcInit ();
17028 main (void)
17030 return FcInit ();
17032 return 0;
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"
17036 then :
17037 case "$LIBEXT" in
17038 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17039 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'` ;;
17040 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17041 if ${ac_cv_lib_soname_fontconfig:+false} :
17042 then :
17043 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17044 fi ;;
17045 esac
17046 else $as_nop
17047 ac_cv_lib_soname_fontconfig=
17049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17050 conftest$ac_exeext conftest.$ac_ext
17051 LIBS=$ac_check_soname_save_LIBS
17053 if ${ac_cv_lib_soname_fontconfig:+false} :
17054 then :
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17056 printf "%s\n" "not found" >&6; }
17057 FONTCONFIG_CFLAGS=""
17058 else $as_nop
17059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17060 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17062 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17066 else
17067 FONTCONFIG_CFLAGS=""
17069 CPPFLAGS=$ac_save_CPPFLAGS
17072 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17073 then :
17074 case "x$with_fontconfig" in
17075 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17076 xno) ;;
17077 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17078 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17079 esac
17083 if test "x$with_krb5" != "xno"
17084 then
17085 if ${KRB5_CFLAGS:+false} :
17086 then :
17087 if test ${PKG_CONFIG+y}
17088 then :
17089 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17092 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17093 if ${KRB5_LIBS:+false} :
17094 then :
17095 if test ${PKG_CONFIG+y}
17096 then :
17097 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17100 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17104 ac_save_CPPFLAGS=$CPPFLAGS
17105 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17106 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17107 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17108 then :
17109 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17113 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17114 then
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17116 printf %s "checking for -lkrb5... " >&6; }
17117 if test ${ac_cv_lib_soname_krb5+y}
17118 then :
17119 printf %s "(cached) " >&6
17120 else $as_nop
17121 ac_check_soname_save_LIBS=$LIBS
17122 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17126 /* Override any GCC internal prototype to avoid an error.
17127 Use char because int might match the return type of a GCC
17128 builtin and then its argument prototype would still apply. */
17129 char krb5_is_config_principal ();
17131 main (void)
17133 return krb5_is_config_principal ();
17135 return 0;
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"
17139 then :
17140 case "$LIBEXT" in
17141 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17142 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'` ;;
17143 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17144 if ${ac_cv_lib_soname_krb5:+false} :
17145 then :
17146 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17147 fi ;;
17148 esac
17149 else $as_nop
17150 ac_cv_lib_soname_krb5=
17152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17153 conftest$ac_exeext conftest.$ac_ext
17154 LIBS=$ac_check_soname_save_LIBS
17156 if ${ac_cv_lib_soname_krb5:+false} :
17157 then :
17158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17159 printf "%s\n" "not found" >&6; }
17160 KRB5_CFLAGS=""
17161 else $as_nop
17162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17163 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17165 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17169 else
17170 KRB5_CFLAGS=""
17172 CPPFLAGS=$ac_save_CPPFLAGS
17175 if test "x$ac_cv_lib_soname_krb5" = "x"
17176 then :
17177 case "x$with_krb5" in
17178 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17179 xno) ;;
17180 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17181 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17182 esac
17185 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17187 if test "x$with_gssapi" != "xno"
17188 then
17189 if ${GSSAPI_CFLAGS:+false} :
17190 then :
17191 if test ${PKG_CONFIG+y}
17192 then :
17193 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17196 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17197 if ${GSSAPI_LIBS:+false} :
17198 then :
17199 if test ${PKG_CONFIG+y}
17200 then :
17201 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17204 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17208 ac_save_CPPFLAGS=$CPPFLAGS
17209 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17210 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17211 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17212 then :
17213 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17216 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17217 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17218 then :
17219 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17223 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17224 then
17225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17226 printf %s "checking for -lgssapi_krb5... " >&6; }
17227 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17228 then :
17229 printf %s "(cached) " >&6
17230 else $as_nop
17231 ac_check_soname_save_LIBS=$LIBS
17232 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 /* Override any GCC internal prototype to avoid an error.
17237 Use char because int might match the return type of a GCC
17238 builtin and then its argument prototype would still apply. */
17239 char gss_init_sec_context ();
17241 main (void)
17243 return gss_init_sec_context ();
17245 return 0;
17247 _ACEOF
17248 if ac_fn_c_try_link "$LINENO"
17249 then :
17250 case "$LIBEXT" in
17251 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17252 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'` ;;
17253 *) 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'`
17254 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17255 then :
17256 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17257 fi ;;
17258 esac
17259 else $as_nop
17260 ac_cv_lib_soname_gssapi_krb5=
17262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17263 conftest$ac_exeext conftest.$ac_ext
17264 LIBS=$ac_check_soname_save_LIBS
17266 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17267 then :
17268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17269 printf "%s\n" "not found" >&6; }
17270 GSSAPI_CFLAGS=""
17271 else $as_nop
17272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17273 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17275 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17279 else
17280 GSSAPI_CFLAGS=""
17282 CPPFLAGS=$ac_save_CPPFLAGS
17285 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17286 then :
17287 case "x$with_gssapi" in
17288 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17289 xno) ;;
17290 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17291 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17292 esac
17296 if test "$ac_cv_header_AL_al_h" = "yes"
17297 then
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17299 printf %s "checking for -lopenal... " >&6; }
17300 if test ${ac_cv_lib_soname_openal+y}
17301 then :
17302 printf %s "(cached) " >&6
17303 else $as_nop
17304 ac_check_soname_save_LIBS=$LIBS
17305 LIBS="-lopenal $LIBS"
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17309 /* Override any GCC internal prototype to avoid an error.
17310 Use char because int might match the return type of a GCC
17311 builtin and then its argument prototype would still apply. */
17312 char alGetSource3i ();
17314 main (void)
17316 return alGetSource3i ();
17318 return 0;
17320 _ACEOF
17321 if ac_fn_c_try_link "$LINENO"
17322 then :
17323 case "$LIBEXT" in
17324 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17325 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'` ;;
17326 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17327 if ${ac_cv_lib_soname_openal:+false} :
17328 then :
17329 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17330 fi ;;
17331 esac
17332 else $as_nop
17333 ac_cv_lib_soname_openal=
17335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17336 conftest$ac_exeext conftest.$ac_ext
17337 LIBS=$ac_check_soname_save_LIBS
17339 if ${ac_cv_lib_soname_openal:+false} :
17340 then :
17341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17342 printf "%s\n" "not found" >&6; }
17344 else $as_nop
17345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17346 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17348 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17350 OPENAL_LIBS="-lopenal"
17352 ac_cv_lib_openal=yes
17354 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
17358 if test "x$ac_cv_lib_openal" != xyes
17359 then :
17360 case "x$with_openal" in
17361 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
17362 xno) ;;
17363 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
17364 This is an error since --with-openal was requested." "$LINENO" 5 ;;
17365 esac
17366 enable_openal32=${enable_openal32:-no}
17369 if test "$ac_cv_header_libprocstat_h" = "yes"
17370 then
17371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17372 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17373 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
17374 then :
17375 printf %s "(cached) " >&6
17376 else $as_nop
17377 ac_check_lib_save_LIBS=$LIBS
17378 LIBS="-lprocstat $LIBS"
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17382 /* Override any GCC internal prototype to avoid an error.
17383 Use char because int might match the return type of a GCC
17384 builtin and then its argument prototype would still apply. */
17385 char procstat_open_sysctl ();
17387 main (void)
17389 return procstat_open_sysctl ();
17391 return 0;
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"
17395 then :
17396 ac_cv_lib_procstat_procstat_open_sysctl=yes
17397 else $as_nop
17398 ac_cv_lib_procstat_procstat_open_sysctl=no
17400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17401 conftest$ac_exeext conftest.$ac_ext
17402 LIBS=$ac_check_lib_save_LIBS
17404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
17405 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
17406 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
17407 then :
17409 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
17411 PROCSTAT_LIBS="-lprocstat"
17417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
17418 printf %s "checking for -lodbc... " >&6; }
17419 if test ${ac_cv_lib_soname_odbc+y}
17420 then :
17421 printf %s "(cached) " >&6
17422 else $as_nop
17423 ac_check_soname_save_LIBS=$LIBS
17424 LIBS="-lodbc $LIBS"
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17428 /* Override any GCC internal prototype to avoid an error.
17429 Use char because int might match the return type of a GCC
17430 builtin and then its argument prototype would still apply. */
17431 char SQLConnect ();
17433 main (void)
17435 return SQLConnect ();
17437 return 0;
17439 _ACEOF
17440 if ac_fn_c_try_link "$LINENO"
17441 then :
17442 case "$LIBEXT" in
17443 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17444 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'` ;;
17445 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17446 if ${ac_cv_lib_soname_odbc:+false} :
17447 then :
17448 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17449 fi ;;
17450 esac
17451 else $as_nop
17452 ac_cv_lib_soname_odbc=
17454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17455 conftest$ac_exeext conftest.$ac_ext
17456 LIBS=$ac_check_soname_save_LIBS
17458 if ${ac_cv_lib_soname_odbc:+false} :
17459 then :
17460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17461 printf "%s\n" "not found" >&6; }
17462 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
17464 else $as_nop
17465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
17466 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
17468 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
17473 if test "x$with_netapi" != "xno"
17474 then
17475 if ${NETAPI_CFLAGS:+false} :
17476 then :
17477 if test ${PKG_CONFIG+y}
17478 then :
17479 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
17483 if ${NETAPI_LIBS:+false} :
17484 then :
17485 if test ${PKG_CONFIG+y}
17486 then :
17487 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
17492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
17493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
17494 ac_save_CPPFLAGS=$CPPFLAGS
17495 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
17496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
17497 printf %s "checking for -lnetapi... " >&6; }
17498 if test ${ac_cv_lib_soname_netapi+y}
17499 then :
17500 printf %s "(cached) " >&6
17501 else $as_nop
17502 ac_check_soname_save_LIBS=$LIBS
17503 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17507 /* Override any GCC internal prototype to avoid an error.
17508 Use char because int might match the return type of a GCC
17509 builtin and then its argument prototype would still apply. */
17510 char libnetapi_init ();
17512 main (void)
17514 return libnetapi_init ();
17516 return 0;
17518 _ACEOF
17519 if ac_fn_c_try_link "$LINENO"
17520 then :
17521 case "$LIBEXT" in
17522 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17523 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'` ;;
17524 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17525 if ${ac_cv_lib_soname_netapi:+false} :
17526 then :
17527 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17528 fi ;;
17529 esac
17530 else $as_nop
17531 ac_cv_lib_soname_netapi=
17533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17534 conftest$ac_exeext conftest.$ac_ext
17535 LIBS=$ac_check_soname_save_LIBS
17537 if ${ac_cv_lib_soname_netapi:+false} :
17538 then :
17539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17540 printf "%s\n" "not found" >&6; }
17541 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
17543 else $as_nop
17544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
17545 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
17547 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
17551 CPPFLAGS=$ac_save_CPPFLAGS
17555 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
17556 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
17557 then
17558 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
17561 if test "x$with_vulkan" != "xno"
17562 then
17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
17564 printf %s "checking for -lvulkan... " >&6; }
17565 if test ${ac_cv_lib_soname_vulkan+y}
17566 then :
17567 printf %s "(cached) " >&6
17568 else $as_nop
17569 ac_check_soname_save_LIBS=$LIBS
17570 LIBS="-lvulkan $LIBS"
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17574 /* Override any GCC internal prototype to avoid an error.
17575 Use char because int might match the return type of a GCC
17576 builtin and then its argument prototype would still apply. */
17577 char vkGetInstanceProcAddr ();
17579 main (void)
17581 return vkGetInstanceProcAddr ();
17583 return 0;
17585 _ACEOF
17586 if ac_fn_c_try_link "$LINENO"
17587 then :
17588 case "$LIBEXT" in
17589 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17590 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'` ;;
17591 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17592 if ${ac_cv_lib_soname_vulkan:+false} :
17593 then :
17594 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17595 fi ;;
17596 esac
17597 else $as_nop
17598 ac_cv_lib_soname_vulkan=
17600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17601 conftest$ac_exeext conftest.$ac_ext
17602 LIBS=$ac_check_soname_save_LIBS
17604 if ${ac_cv_lib_soname_vulkan:+false} :
17605 then :
17606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17607 printf "%s\n" "not found" >&6; }
17609 else $as_nop
17610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
17611 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
17613 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
17617 if test "x$ac_cv_lib_soname_vulkan" = "x"
17618 then
17619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
17620 printf %s "checking for -lMoltenVK... " >&6; }
17621 if test ${ac_cv_lib_soname_MoltenVK+y}
17622 then :
17623 printf %s "(cached) " >&6
17624 else $as_nop
17625 ac_check_soname_save_LIBS=$LIBS
17626 LIBS="-lMoltenVK $LIBS"
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17630 /* Override any GCC internal prototype to avoid an error.
17631 Use char because int might match the return type of a GCC
17632 builtin and then its argument prototype would still apply. */
17633 char vkGetInstanceProcAddr ();
17635 main (void)
17637 return vkGetInstanceProcAddr ();
17639 return 0;
17641 _ACEOF
17642 if ac_fn_c_try_link "$LINENO"
17643 then :
17644 case "$LIBEXT" in
17645 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17646 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'` ;;
17647 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17648 if ${ac_cv_lib_soname_MoltenVK:+false} :
17649 then :
17650 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17651 fi ;;
17652 esac
17653 else $as_nop
17654 ac_cv_lib_soname_MoltenVK=
17656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17657 conftest$ac_exeext conftest.$ac_ext
17658 LIBS=$ac_check_soname_save_LIBS
17660 if ${ac_cv_lib_soname_MoltenVK:+false} :
17661 then :
17662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17663 printf "%s\n" "not found" >&6; }
17665 else $as_nop
17666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17667 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
17669 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
17675 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
17676 then :
17677 case "x$with_vulkan" in
17678 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17679 xno) ;;
17680 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17681 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17682 esac
17686 if test "x$with_vkd3d" != "xno"
17687 then
17688 if ${VKD3D_CFLAGS:+false} :
17689 then :
17690 if test ${PKG_CONFIG+y}
17691 then :
17692 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17696 if ${VKD3D_LIBS:+false} :
17697 then :
17698 if test ${PKG_CONFIG+y}
17699 then :
17700 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17707 ac_save_CPPFLAGS=$CPPFLAGS
17708 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17710 printf %s "checking for -lvkd3d... " >&6; }
17711 if test ${ac_cv_lib_soname_vkd3d+y}
17712 then :
17713 printf %s "(cached) " >&6
17714 else $as_nop
17715 ac_check_soname_save_LIBS=$LIBS
17716 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17720 /* Override any GCC internal prototype to avoid an error.
17721 Use char because int might match the return type of a GCC
17722 builtin and then its argument prototype would still apply. */
17723 char vkd3d_serialize_versioned_root_signature ();
17725 main (void)
17727 return vkd3d_serialize_versioned_root_signature ();
17729 return 0;
17731 _ACEOF
17732 if ac_fn_c_try_link "$LINENO"
17733 then :
17734 case "$LIBEXT" in
17735 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17736 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'` ;;
17737 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17738 if ${ac_cv_lib_soname_vkd3d:+false} :
17739 then :
17740 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17741 fi ;;
17742 esac
17743 else $as_nop
17744 ac_cv_lib_soname_vkd3d=
17746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17747 conftest$ac_exeext conftest.$ac_ext
17748 LIBS=$ac_check_soname_save_LIBS
17750 if ${ac_cv_lib_soname_vkd3d:+false} :
17751 then :
17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17753 printf "%s\n" "not found" >&6; }
17755 else $as_nop
17756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17757 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
17759 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
17763 CPPFLAGS=$ac_save_CPPFLAGS
17765 if ${VKD3D_SHADER_CFLAGS:+false} :
17766 then :
17767 if test ${PKG_CONFIG+y}
17768 then :
17769 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
17773 if ${VKD3D_SHADER_LIBS:+false} :
17774 then :
17775 if test ${PKG_CONFIG+y}
17776 then :
17777 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
17783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
17784 ac_save_CPPFLAGS=$CPPFLAGS
17785 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
17786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
17787 printf %s "checking for -lvkd3d-shader... " >&6; }
17788 if test ${ac_cv_lib_soname_vkd3d_shader+y}
17789 then :
17790 printf %s "(cached) " >&6
17791 else $as_nop
17792 ac_check_soname_save_LIBS=$LIBS
17793 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17800 char vkd3d_shader_compile ();
17802 main (void)
17804 return vkd3d_shader_compile ();
17806 return 0;
17808 _ACEOF
17809 if ac_fn_c_try_link "$LINENO"
17810 then :
17811 case "$LIBEXT" in
17812 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17813 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'` ;;
17814 *) 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'`
17815 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17816 then :
17817 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17818 fi ;;
17819 esac
17820 else $as_nop
17821 ac_cv_lib_soname_vkd3d_shader=
17823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17824 conftest$ac_exeext conftest.$ac_ext
17825 LIBS=$ac_check_soname_save_LIBS
17827 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17828 then :
17829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17830 printf "%s\n" "not found" >&6; }
17832 else $as_nop
17833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
17834 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
17836 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
17840 CPPFLAGS=$ac_save_CPPFLAGS
17843 if test "x$ac_cv_lib_soname_vkd3d" = "x"
17844 then :
17845 case "x$with_vkd3d" in
17846 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17847 xno) ;;
17848 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17849 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17850 esac
17853 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17856 if test "x${GCC}" = "xyes"
17857 then
17858 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
17860 saved_CFLAGS=$CFLAGS
17861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17862 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17863 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
17864 then :
17865 printf %s "(cached) " >&6
17866 else $as_nop
17867 ac_wine_try_cflags_saved=$CFLAGS
17868 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 int main(int argc, char **argv) { return 0; }
17872 _ACEOF
17873 if ac_fn_c_try_link "$LINENO"
17874 then :
17875 ac_cv_cflags__Werror_unknown_warning_option=yes
17876 else $as_nop
17877 ac_cv_cflags__Werror_unknown_warning_option=no
17879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17880 conftest$ac_exeext conftest.$ac_ext
17881 CFLAGS=$ac_wine_try_cflags_saved
17883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17884 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17885 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
17886 then :
17887 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17890 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17891 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
17892 then :
17893 printf %s "(cached) " >&6
17894 else $as_nop
17895 ac_wine_try_cflags_saved=$CFLAGS
17896 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17899 int main(int argc, char **argv) { return 0; }
17900 _ACEOF
17901 if ac_fn_c_try_link "$LINENO"
17902 then :
17903 ac_cv_cflags__Werror_unused_command_line_argument=yes
17904 else $as_nop
17905 ac_cv_cflags__Werror_unused_command_line_argument=no
17907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17908 conftest$ac_exeext conftest.$ac_ext
17909 CFLAGS=$ac_wine_try_cflags_saved
17911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17912 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17913 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
17914 then :
17915 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17918 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17919 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
17920 then :
17921 printf %s "(cached) " >&6
17922 else $as_nop
17923 ac_wine_try_cflags_saved=$CFLAGS
17924 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17927 int main(int argc, char **argv) { return 0; }
17928 _ACEOF
17929 if ac_fn_c_try_link "$LINENO"
17930 then :
17931 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17932 else $as_nop
17933 ac_cv_cflags__Werror_ignored_optimization_argument=no
17935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17936 conftest$ac_exeext conftest.$ac_ext
17937 CFLAGS=$ac_wine_try_cflags_saved
17939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17940 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17941 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
17942 then :
17943 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17946 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
17947 if test ${ac_cv_cflags__fcf_protection_none+y}
17948 then :
17949 printf %s "(cached) " >&6
17950 else $as_nop
17951 ac_wine_try_cflags_saved=$CFLAGS
17952 CFLAGS="$CFLAGS -fcf-protection=none"
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17955 int main(int argc, char **argv) { return 0; }
17956 _ACEOF
17957 if ac_fn_c_try_link "$LINENO"
17958 then :
17959 ac_cv_cflags__fcf_protection_none=yes
17960 else $as_nop
17961 ac_cv_cflags__fcf_protection_none=no
17963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17964 conftest$ac_exeext conftest.$ac_ext
17965 CFLAGS=$ac_wine_try_cflags_saved
17967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17968 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
17969 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
17970 then :
17971 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17974 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
17975 if test ${ac_cv_cflags__fno_stack_protector+y}
17976 then :
17977 printf %s "(cached) " >&6
17978 else $as_nop
17979 ac_wine_try_cflags_saved=$CFLAGS
17980 CFLAGS="$CFLAGS -fno-stack-protector"
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17983 int main(int argc, char **argv) { return 0; }
17984 _ACEOF
17985 if ac_fn_c_try_link "$LINENO"
17986 then :
17987 ac_cv_cflags__fno_stack_protector=yes
17988 else $as_nop
17989 ac_cv_cflags__fno_stack_protector=no
17991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17992 conftest$ac_exeext conftest.$ac_ext
17993 CFLAGS=$ac_wine_try_cflags_saved
17995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17996 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
17997 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
17998 then :
17999 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18002 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18003 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18004 then :
18005 printf %s "(cached) " >&6
18006 else $as_nop
18007 ac_wine_try_cflags_saved=$CFLAGS
18008 CFLAGS="$CFLAGS -fno-strict-aliasing"
18009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18011 int main(int argc, char **argv) { return 0; }
18012 _ACEOF
18013 if ac_fn_c_try_link "$LINENO"
18014 then :
18015 ac_cv_cflags__fno_strict_aliasing=yes
18016 else $as_nop
18017 ac_cv_cflags__fno_strict_aliasing=no
18019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18020 conftest$ac_exeext conftest.$ac_ext
18021 CFLAGS=$ac_wine_try_cflags_saved
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18024 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18025 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18026 then :
18027 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18030 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18031 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18032 then :
18033 printf %s "(cached) " >&6
18034 else $as_nop
18035 ac_wine_try_cflags_saved=$CFLAGS
18036 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18039 int main(int argc, char **argv) { return 0; }
18040 _ACEOF
18041 if ac_fn_c_try_link "$LINENO"
18042 then :
18043 ac_cv_cflags__Wdeclaration_after_statement=yes
18044 else $as_nop
18045 ac_cv_cflags__Wdeclaration_after_statement=no
18047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18048 conftest$ac_exeext conftest.$ac_ext
18049 CFLAGS=$ac_wine_try_cflags_saved
18051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18052 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18053 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18054 then :
18055 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18058 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18059 if test ${ac_cv_cflags__Wempty_body+y}
18060 then :
18061 printf %s "(cached) " >&6
18062 else $as_nop
18063 ac_wine_try_cflags_saved=$CFLAGS
18064 CFLAGS="$CFLAGS -Wempty-body"
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067 int main(int argc, char **argv) { return 0; }
18068 _ACEOF
18069 if ac_fn_c_try_link "$LINENO"
18070 then :
18071 ac_cv_cflags__Wempty_body=yes
18072 else $as_nop
18073 ac_cv_cflags__Wempty_body=no
18075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18076 conftest$ac_exeext conftest.$ac_ext
18077 CFLAGS=$ac_wine_try_cflags_saved
18079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18080 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18081 if test "x$ac_cv_cflags__Wempty_body" = xyes
18082 then :
18083 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18086 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18087 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18088 then :
18089 printf %s "(cached) " >&6
18090 else $as_nop
18091 ac_wine_try_cflags_saved=$CFLAGS
18092 CFLAGS="$CFLAGS -Wignored-qualifiers"
18093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18095 int main(int argc, char **argv) { return 0; }
18096 _ACEOF
18097 if ac_fn_c_try_link "$LINENO"
18098 then :
18099 ac_cv_cflags__Wignored_qualifiers=yes
18100 else $as_nop
18101 ac_cv_cflags__Wignored_qualifiers=no
18103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18104 conftest$ac_exeext conftest.$ac_ext
18105 CFLAGS=$ac_wine_try_cflags_saved
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18108 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18109 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18110 then :
18111 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18114 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18115 if test ${ac_cv_cflags__Winit_self+y}
18116 then :
18117 printf %s "(cached) " >&6
18118 else $as_nop
18119 ac_wine_try_cflags_saved=$CFLAGS
18120 CFLAGS="$CFLAGS -Winit-self"
18121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h. */
18123 int main(int argc, char **argv) { return 0; }
18124 _ACEOF
18125 if ac_fn_c_try_link "$LINENO"
18126 then :
18127 ac_cv_cflags__Winit_self=yes
18128 else $as_nop
18129 ac_cv_cflags__Winit_self=no
18131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18132 conftest$ac_exeext conftest.$ac_ext
18133 CFLAGS=$ac_wine_try_cflags_saved
18135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18136 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18137 if test "x$ac_cv_cflags__Winit_self" = xyes
18138 then :
18139 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18142 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18143 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18144 then :
18145 printf %s "(cached) " >&6
18146 else $as_nop
18147 ac_wine_try_cflags_saved=$CFLAGS
18148 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18151 int main(int argc, char **argv) { return 0; }
18152 _ACEOF
18153 if ac_fn_c_try_link "$LINENO"
18154 then :
18155 ac_cv_cflags__Wpacked_not_aligned=yes
18156 else $as_nop
18157 ac_cv_cflags__Wpacked_not_aligned=no
18159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18160 conftest$ac_exeext conftest.$ac_ext
18161 CFLAGS=$ac_wine_try_cflags_saved
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18164 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18165 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18166 then :
18167 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18170 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18171 if test ${ac_cv_cflags__Wpragma_pack+y}
18172 then :
18173 printf %s "(cached) " >&6
18174 else $as_nop
18175 ac_wine_try_cflags_saved=$CFLAGS
18176 CFLAGS="$CFLAGS -Wpragma-pack"
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18179 int main(int argc, char **argv) { return 0; }
18180 _ACEOF
18181 if ac_fn_c_try_link "$LINENO"
18182 then :
18183 ac_cv_cflags__Wpragma_pack=yes
18184 else $as_nop
18185 ac_cv_cflags__Wpragma_pack=no
18187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18188 conftest$ac_exeext conftest.$ac_ext
18189 CFLAGS=$ac_wine_try_cflags_saved
18191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18192 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18193 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18194 then :
18195 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18198 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18199 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18200 then :
18201 printf %s "(cached) " >&6
18202 else $as_nop
18203 ac_wine_try_cflags_saved=$CFLAGS
18204 CFLAGS="$CFLAGS -Wshift-overflow=2"
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18207 int main(int argc, char **argv) { return 0; }
18208 _ACEOF
18209 if ac_fn_c_try_link "$LINENO"
18210 then :
18211 ac_cv_cflags__Wshift_overflow_2=yes
18212 else $as_nop
18213 ac_cv_cflags__Wshift_overflow_2=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18216 conftest$ac_exeext conftest.$ac_ext
18217 CFLAGS=$ac_wine_try_cflags_saved
18219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18220 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18221 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18222 then :
18223 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18226 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18227 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18228 then :
18229 printf %s "(cached) " >&6
18230 else $as_nop
18231 ac_wine_try_cflags_saved=$CFLAGS
18232 CFLAGS="$CFLAGS -Wstrict-prototypes"
18233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18234 /* end confdefs.h. */
18235 int main(int argc, char **argv) { return 0; }
18236 _ACEOF
18237 if ac_fn_c_try_link "$LINENO"
18238 then :
18239 ac_cv_cflags__Wstrict_prototypes=yes
18240 else $as_nop
18241 ac_cv_cflags__Wstrict_prototypes=no
18243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18244 conftest$ac_exeext conftest.$ac_ext
18245 CFLAGS=$ac_wine_try_cflags_saved
18247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18248 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18249 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18250 then :
18251 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18254 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18255 if test ${ac_cv_cflags__Wtype_limits+y}
18256 then :
18257 printf %s "(cached) " >&6
18258 else $as_nop
18259 ac_wine_try_cflags_saved=$CFLAGS
18260 CFLAGS="$CFLAGS -Wtype-limits"
18261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18263 int main(int argc, char **argv) { return 0; }
18264 _ACEOF
18265 if ac_fn_c_try_link "$LINENO"
18266 then :
18267 ac_cv_cflags__Wtype_limits=yes
18268 else $as_nop
18269 ac_cv_cflags__Wtype_limits=no
18271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18272 conftest$ac_exeext conftest.$ac_ext
18273 CFLAGS=$ac_wine_try_cflags_saved
18275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18276 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18277 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18278 then :
18279 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18282 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18283 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18284 then :
18285 printf %s "(cached) " >&6
18286 else $as_nop
18287 ac_wine_try_cflags_saved=$CFLAGS
18288 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18291 int main(int argc, char **argv) { return 0; }
18292 _ACEOF
18293 if ac_fn_c_try_link "$LINENO"
18294 then :
18295 ac_cv_cflags__Wunused_but_set_parameter=yes
18296 else $as_nop
18297 ac_cv_cflags__Wunused_but_set_parameter=no
18299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18300 conftest$ac_exeext conftest.$ac_ext
18301 CFLAGS=$ac_wine_try_cflags_saved
18303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18304 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18305 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18306 then :
18307 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18310 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18311 if test ${ac_cv_cflags__Wvla+y}
18312 then :
18313 printf %s "(cached) " >&6
18314 else $as_nop
18315 ac_wine_try_cflags_saved=$CFLAGS
18316 CFLAGS="$CFLAGS -Wvla"
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18319 int main(int argc, char **argv) { return 0; }
18320 _ACEOF
18321 if ac_fn_c_try_link "$LINENO"
18322 then :
18323 ac_cv_cflags__Wvla=yes
18324 else $as_nop
18325 ac_cv_cflags__Wvla=no
18327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18328 conftest$ac_exeext conftest.$ac_ext
18329 CFLAGS=$ac_wine_try_cflags_saved
18331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18332 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18333 if test "x$ac_cv_cflags__Wvla" = xyes
18334 then :
18335 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18338 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18339 if test ${ac_cv_cflags__Wwrite_strings+y}
18340 then :
18341 printf %s "(cached) " >&6
18342 else $as_nop
18343 ac_wine_try_cflags_saved=$CFLAGS
18344 CFLAGS="$CFLAGS -Wwrite-strings"
18345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18346 /* end confdefs.h. */
18347 int main(int argc, char **argv) { return 0; }
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"
18350 then :
18351 ac_cv_cflags__Wwrite_strings=yes
18352 else $as_nop
18353 ac_cv_cflags__Wwrite_strings=no
18355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18356 conftest$ac_exeext conftest.$ac_ext
18357 CFLAGS=$ac_wine_try_cflags_saved
18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18360 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18361 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18362 then :
18363 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18366 if test -z "$CROSSTARGET"
18367 then
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18369 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18370 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18371 then :
18372 printf %s "(cached) " >&6
18373 else $as_nop
18374 ac_wine_try_cflags_saved=$CFLAGS
18375 CFLAGS="$CFLAGS -fexcess-precision=standard"
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18378 int main(int argc, char **argv) { return 0; }
18379 _ACEOF
18380 if ac_fn_c_try_link "$LINENO"
18381 then :
18382 ac_cv_cflags__fexcess_precision_standard=yes
18383 else $as_nop
18384 ac_cv_cflags__fexcess_precision_standard=no
18386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18387 conftest$ac_exeext conftest.$ac_ext
18388 CFLAGS=$ac_wine_try_cflags_saved
18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18391 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18392 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18393 then :
18394 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18400 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18401 if test ${ac_cv_cflags__Wpointer_arith+y}
18402 then :
18403 printf %s "(cached) " >&6
18404 else $as_nop
18405 ac_wine_try_cflags_saved=$CFLAGS
18406 CFLAGS="$CFLAGS -Wpointer-arith"
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18409 int main(int argc, char **argv) { return 0; }
18410 _ACEOF
18411 if ac_fn_c_try_link "$LINENO"
18412 then :
18413 ac_cv_cflags__Wpointer_arith=yes
18414 else $as_nop
18415 ac_cv_cflags__Wpointer_arith=no
18417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18418 conftest$ac_exeext conftest.$ac_ext
18419 CFLAGS=$ac_wine_try_cflags_saved
18421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18422 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18423 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18424 then :
18425 saved_string_h_CFLAGS=$CFLAGS
18426 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18428 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18429 if test ${ac_cv_c_string_h_warnings+y}
18430 then :
18431 printf %s "(cached) " >&6
18432 else $as_nop
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #include <string.h>
18437 main (void)
18441 return 0;
18443 _ACEOF
18444 if ac_fn_c_try_compile "$LINENO"
18445 then :
18446 ac_cv_c_string_h_warnings=no
18447 else $as_nop
18448 ac_cv_c_string_h_warnings=yes
18450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18453 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18454 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18455 CFLAGS=$saved_string_h_CFLAGS
18458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18459 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18460 if test ${ac_cv_cflags__Wlogical_op+y}
18461 then :
18462 printf %s "(cached) " >&6
18463 else $as_nop
18464 ac_wine_try_cflags_saved=$CFLAGS
18465 CFLAGS="$CFLAGS -Wlogical-op"
18466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18467 /* end confdefs.h. */
18468 int main(int argc, char **argv) { return 0; }
18469 _ACEOF
18470 if ac_fn_c_try_link "$LINENO"
18471 then :
18472 ac_cv_cflags__Wlogical_op=yes
18473 else $as_nop
18474 ac_cv_cflags__Wlogical_op=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18477 conftest$ac_exeext conftest.$ac_ext
18478 CFLAGS=$ac_wine_try_cflags_saved
18480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18481 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18482 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18483 then :
18484 saved_string_h_CFLAGS=$CFLAGS
18485 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18487 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18488 if test ${ac_cv_c_logicalop_noisy+y}
18489 then :
18490 printf %s "(cached) " >&6
18491 else $as_nop
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18494 #include <string.h>
18495 char*f(const char *h,char n) {return strchr(h,n);}
18497 main (void)
18501 return 0;
18503 _ACEOF
18504 if ac_fn_c_try_compile "$LINENO"
18505 then :
18506 ac_cv_c_logicalop_noisy=no
18507 else $as_nop
18508 ac_cv_c_logicalop_noisy=yes
18510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18513 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18514 CFLAGS=$saved_string_h_CFLAGS
18515 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18519 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18520 if test ${wine_cv_64bit_compare_swap+y}
18521 then :
18522 printf %s "(cached) " >&6
18523 else $as_nop
18524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18526 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18527 #error no
18528 #endif
18530 main (void)
18534 return 0;
18536 _ACEOF
18537 if ac_fn_c_try_compile "$LINENO"
18538 then :
18539 wine_cv_64bit_compare_swap="none needed"
18540 else $as_nop
18541 case $host_cpu in
18542 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18543 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18544 *) wine_cv_64bit_compare_swap="unknown" ;;
18545 esac
18546 if test "x$wine_cv_64bit_compare_swap" != xunknown
18547 then
18548 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18552 #error no
18553 #endif
18555 main (void)
18559 return 0;
18561 _ACEOF
18562 if ac_fn_c_try_compile "$LINENO"
18563 then :
18565 else $as_nop
18566 wine_cv_64bit_compare_swap="unknown"
18568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18569 CFLAGS=$saved_CFLAGS
18572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
18575 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
18576 case "$wine_cv_64bit_compare_swap" in
18577 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
18578 "none needed") ;;
18579 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
18580 esac
18582 ac_debug_format_seen=""
18583 for ac_flag in $CFLAGS; do
18584 case $ac_flag in
18585 -gdwarf*) ac_debug_format_seen=yes ;;
18586 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
18587 esac
18588 done
18589 if test "x$ac_debug_format_seen" = xdefault
18590 then
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
18592 printf %s "checking whether the compiler supports -gdwarf-2... " >&6; }
18593 if test ${ac_cv_cflags__gdwarf_2+y}
18594 then :
18595 printf %s "(cached) " >&6
18596 else $as_nop
18597 ac_wine_try_cflags_saved=$CFLAGS
18598 CFLAGS="$CFLAGS -gdwarf-2"
18599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18601 int main(int argc, char **argv) { return 0; }
18602 _ACEOF
18603 if ac_fn_c_try_link "$LINENO"
18604 then :
18605 ac_cv_cflags__gdwarf_2=yes
18606 else $as_nop
18607 ac_cv_cflags__gdwarf_2=no
18609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18610 conftest$ac_exeext conftest.$ac_ext
18611 CFLAGS=$ac_wine_try_cflags_saved
18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
18614 printf "%s\n" "$ac_cv_cflags__gdwarf_2" >&6; }
18615 if test "x$ac_cv_cflags__gdwarf_2" = xyes
18616 then :
18617 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
18620 printf %s "checking whether the compiler supports -gstrict-dwarf... " >&6; }
18621 if test ${ac_cv_cflags__gstrict_dwarf+y}
18622 then :
18623 printf %s "(cached) " >&6
18624 else $as_nop
18625 ac_wine_try_cflags_saved=$CFLAGS
18626 CFLAGS="$CFLAGS -gstrict-dwarf"
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 int main(int argc, char **argv) { return 0; }
18630 _ACEOF
18631 if ac_fn_c_try_link "$LINENO"
18632 then :
18633 ac_cv_cflags__gstrict_dwarf=yes
18634 else $as_nop
18635 ac_cv_cflags__gstrict_dwarf=no
18637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18638 conftest$ac_exeext conftest.$ac_ext
18639 CFLAGS=$ac_wine_try_cflags_saved
18641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
18642 printf "%s\n" "$ac_cv_cflags__gstrict_dwarf" >&6; }
18643 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
18644 then :
18645 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
18649 MSVCRTFLAGS=""
18651 case $host_os in
18652 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
18653 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
18654 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
18655 then :
18656 printf %s "(cached) " >&6
18657 else $as_nop
18658 ac_wine_try_cflags_saved=$CFLAGS
18659 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 int main(int argc, char **argv) { return 0; }
18663 _ACEOF
18664 if ac_fn_c_try_link "$LINENO"
18665 then :
18666 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
18667 else $as_nop
18668 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
18670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18671 conftest$ac_exeext conftest.$ac_ext
18672 CFLAGS=$ac_wine_try_cflags_saved
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
18675 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
18676 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
18677 then :
18678 DELAYLOADFLAG="-Wl,-delayload,"
18680 fi ;;
18681 *) MSVCRTFLAGS="-D_WIN32"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
18683 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
18684 if test ${ac_cv_cflags__fno_builtin+y}
18685 then :
18686 printf %s "(cached) " >&6
18687 else $as_nop
18688 ac_wine_try_cflags_saved=$CFLAGS
18689 CFLAGS="$CFLAGS -fno-builtin"
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 int main(int argc, char **argv) { return 0; }
18693 _ACEOF
18694 if ac_fn_c_try_link "$LINENO"
18695 then :
18696 ac_cv_cflags__fno_builtin=yes
18697 else $as_nop
18698 ac_cv_cflags__fno_builtin=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18701 conftest$ac_exeext conftest.$ac_ext
18702 CFLAGS=$ac_wine_try_cflags_saved
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
18705 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
18706 if test "x$ac_cv_cflags__fno_builtin" = xyes
18707 then :
18708 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
18711 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
18712 if test ${ac_cv_cflags__fshort_wchar+y}
18713 then :
18714 printf %s "(cached) " >&6
18715 else $as_nop
18716 ac_wine_try_cflags_saved=$CFLAGS
18717 CFLAGS="$CFLAGS -fshort-wchar"
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 int main(int argc, char **argv) { return 0; }
18721 _ACEOF
18722 if ac_fn_c_try_link "$LINENO"
18723 then :
18724 ac_cv_cflags__fshort_wchar=yes
18725 else $as_nop
18726 ac_cv_cflags__fshort_wchar=no
18728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18729 conftest$ac_exeext conftest.$ac_ext
18730 CFLAGS=$ac_wine_try_cflags_saved
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
18733 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
18734 if test "x$ac_cv_cflags__fshort_wchar" = xyes
18735 then :
18736 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
18737 fi ;;
18738 esac
18740 case $host_cpu in
18741 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
18742 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
18743 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
18744 then :
18745 printf %s "(cached) " >&6
18746 else $as_nop
18747 ac_wine_try_cflags_saved=$CFLAGS
18748 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18750 /* end confdefs.h. */
18751 int main(int argc, char **argv) { return 0; }
18752 _ACEOF
18753 if ac_fn_c_try_link "$LINENO"
18754 then :
18755 ac_cv_cflags__fno_omit_frame_pointer=yes
18756 else $as_nop
18757 ac_cv_cflags__fno_omit_frame_pointer=no
18759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18760 conftest$ac_exeext conftest.$ac_ext
18761 CFLAGS=$ac_wine_try_cflags_saved
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
18764 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
18765 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
18766 then :
18767 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
18768 fi ;;
18769 *x86_64*)
18770 case $host_os in
18771 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
18772 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
18773 if test ${ac_cv_cflags__Wno_format+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_wine_try_cflags_saved=$CFLAGS
18778 CFLAGS="$CFLAGS -Wno-format"
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18782 _ACEOF
18783 if ac_fn_c_try_link "$LINENO"
18784 then :
18785 ac_cv_cflags__Wno_format=yes
18786 else $as_nop
18787 ac_cv_cflags__Wno_format=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18790 conftest$ac_exeext conftest.$ac_ext
18791 CFLAGS=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
18794 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
18795 if test "x$ac_cv_cflags__Wno_format" = xyes
18796 then :
18797 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
18798 fi ;;
18799 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
18800 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
18801 if test ${ac_cv_cflags__mabi_ms+y}
18802 then :
18803 printf %s "(cached) " >&6
18804 else $as_nop
18805 ac_wine_try_cflags_saved=$CFLAGS
18806 CFLAGS="$CFLAGS -mabi=ms"
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"
18812 then :
18813 ac_cv_cflags__mabi_ms=yes
18814 else $as_nop
18815 ac_cv_cflags__mabi_ms=no
18817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18818 conftest$ac_exeext conftest.$ac_ext
18819 CFLAGS=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
18822 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
18823 if test "x$ac_cv_cflags__mabi_ms" = xyes
18824 then :
18825 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
18826 fi ;;
18827 esac ;;
18828 esac
18830 CFLAGS=$saved_CFLAGS
18832 if test "x$enable_werror" = "xyes"
18833 then
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
18835 printf %s "checking whether the compiler supports -Werror... " >&6; }
18836 if test ${ac_cv_cflags__Werror+y}
18837 then :
18838 printf %s "(cached) " >&6
18839 else $as_nop
18840 ac_wine_try_cflags_saved=$CFLAGS
18841 CFLAGS="$CFLAGS -Werror"
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 int main(int argc, char **argv) { return 0; }
18845 _ACEOF
18846 if ac_fn_c_try_link "$LINENO"
18847 then :
18848 ac_cv_cflags__Werror=yes
18849 else $as_nop
18850 ac_cv_cflags__Werror=no
18852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18853 conftest$ac_exeext conftest.$ac_ext
18854 CFLAGS=$ac_wine_try_cflags_saved
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
18857 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
18858 if test "x$ac_cv_cflags__Werror" = xyes
18859 then :
18860 EXTRACFLAGS="$EXTRACFLAGS -Werror"
18863 if test "x$enable_build_id" = "xyes"
18864 then
18865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
18866 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
18867 if test ${ac_cv_cflags__Wl___build_id+y}
18868 then :
18869 printf %s "(cached) " >&6
18870 else $as_nop
18871 ac_wine_try_cflags_saved=$CFLAGS
18872 CFLAGS="$CFLAGS -Wl,--build-id"
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18875 int main(int argc, char **argv) { return 0; }
18876 _ACEOF
18877 if ac_fn_c_try_link "$LINENO"
18878 then :
18879 ac_cv_cflags__Wl___build_id=yes
18880 else $as_nop
18881 ac_cv_cflags__Wl___build_id=no
18883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18884 conftest$ac_exeext conftest.$ac_ext
18885 CFLAGS=$ac_wine_try_cflags_saved
18887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
18888 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
18889 if test "x$ac_cv_cflags__Wl___build_id" = xyes
18890 then :
18891 CFLAGS="$CFLAGS -Wl,--build-id"
18892 LDFLAGS="$LDFLAGS -Wl,--build-id"
18898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
18899 printf %s "checking for the need to disable Fortify... " >&6; }
18900 if test ${ac_cv_c_fortify_enabled+y}
18901 then :
18902 printf %s "(cached) " >&6
18903 else $as_nop
18904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18906 #include <string.h>
18908 main (void)
18910 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
18911 #error Fortify enabled
18912 #endif
18914 return 0;
18916 _ACEOF
18917 if ac_fn_c_try_compile "$LINENO"
18918 then :
18919 ac_cv_c_fortify_enabled=no
18920 else $as_nop
18921 ac_cv_c_fortify_enabled=yes
18923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
18926 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
18927 if test "$ac_cv_c_fortify_enabled" = yes
18928 then
18929 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
18934 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
18935 if test ${ac_cv_c_cfi_support+y}
18936 then :
18937 printf %s "(cached) " >&6
18938 else $as_nop
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
18943 main (void)
18947 return 0;
18949 _ACEOF
18950 if ac_fn_c_try_compile "$LINENO"
18951 then :
18952 ac_cv_c_cfi_support="yes"
18953 else $as_nop
18954 ac_cv_c_cfi_support="no"
18956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18959 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
18960 if test "$ac_cv_c_cfi_support" = "yes"
18961 then
18962 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18963 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18964 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
18965 else
18966 if test "x$enable_win64" = "xyes"
18967 then
18968 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18973 case $host_os in
18974 linux*)
18975 case $host_cpu in
18976 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18977 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18978 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18980 esac
18982 esac
18985 ac_save_CFLAGS="$CFLAGS"
18986 CFLAGS="$CFLAGS $BUILTINFLAG"
18987 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
18988 if test "x$ac_cv_func_epoll_create" = xyes
18989 then :
18990 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
18993 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
18994 if test "x$ac_cv_func_fstatfs" = xyes
18995 then :
18996 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
18999 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19000 if test "x$ac_cv_func_futimens" = xyes
19001 then :
19002 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19005 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19006 if test "x$ac_cv_func_futimes" = xyes
19007 then :
19008 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19011 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19012 if test "x$ac_cv_func_futimesat" = xyes
19013 then :
19014 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19017 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19018 if test "x$ac_cv_func_getattrlist" = xyes
19019 then :
19020 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19023 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19024 if test "x$ac_cv_func_getauxval" = xyes
19025 then :
19026 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19029 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19030 if test "x$ac_cv_func_getifaddrs" = xyes
19031 then :
19032 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19035 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19036 if test "x$ac_cv_func_getrandom" = xyes
19037 then :
19038 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19041 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19042 if test "x$ac_cv_func_kqueue" = xyes
19043 then :
19044 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19047 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19048 if test "x$ac_cv_func_mach_continuous_time" = xyes
19049 then :
19050 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19053 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19054 if test "x$ac_cv_func_pipe2" = xyes
19055 then :
19056 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19059 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19060 if test "x$ac_cv_func_port_create" = xyes
19061 then :
19062 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19065 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19066 if test "x$ac_cv_func_posix_fadvise" = xyes
19067 then :
19068 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19071 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19072 if test "x$ac_cv_func_posix_fallocate" = xyes
19073 then :
19074 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19077 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19078 if test "x$ac_cv_func_prctl" = xyes
19079 then :
19080 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19083 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19084 if test "x$ac_cv_func_proc_pidinfo" = xyes
19085 then :
19086 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19089 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19090 if test "x$ac_cv_func_sched_yield" = xyes
19091 then :
19092 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19095 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19096 if test "x$ac_cv_func_setproctitle" = xyes
19097 then :
19098 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19101 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19102 if test "x$ac_cv_func_setprogname" = xyes
19103 then :
19104 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19107 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19108 if test "x$ac_cv_func_sigprocmask" = xyes
19109 then :
19110 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19113 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19114 if test "x$ac_cv_func_sysinfo" = xyes
19115 then :
19116 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19119 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19120 if test "x$ac_cv_func_tcdrain" = xyes
19121 then :
19122 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19125 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19126 if test "x$ac_cv_func_thr_kill2" = xyes
19127 then :
19128 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19132 CFLAGS="$ac_save_CFLAGS"
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19135 printf %s "checking for library containing dlopen... " >&6; }
19136 if test ${ac_cv_search_dlopen+y}
19137 then :
19138 printf %s "(cached) " >&6
19139 else $as_nop
19140 ac_func_search_save_LIBS=$LIBS
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19144 /* Override any GCC internal prototype to avoid an error.
19145 Use char because int might match the return type of a GCC
19146 builtin and then its argument prototype would still apply. */
19147 char dlopen ();
19149 main (void)
19151 return dlopen ();
19153 return 0;
19155 _ACEOF
19156 for ac_lib in '' dl
19158 if test -z "$ac_lib"; then
19159 ac_res="none required"
19160 else
19161 ac_res=-l$ac_lib
19162 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19164 if ac_fn_c_try_link "$LINENO"
19165 then :
19166 ac_cv_search_dlopen=$ac_res
19168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19169 conftest$ac_exeext
19170 if test ${ac_cv_search_dlopen+y}
19171 then :
19172 break
19174 done
19175 if test ${ac_cv_search_dlopen+y}
19176 then :
19178 else $as_nop
19179 ac_cv_search_dlopen=no
19181 rm conftest.$ac_ext
19182 LIBS=$ac_func_search_save_LIBS
19184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19185 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19186 ac_res=$ac_cv_search_dlopen
19187 if test "$ac_res" != no
19188 then :
19189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19193 ac_wine_check_funcs_save_LIBS="$LIBS"
19194 LIBS="$LIBS $DL_LIBS"
19195 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19196 if test "x$ac_cv_func_dlinfo" = xyes
19197 then :
19198 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19202 LIBS="$ac_wine_check_funcs_save_LIBS"
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19205 printf %s "checking for library containing gethostbyname... " >&6; }
19206 if test ${ac_cv_search_gethostbyname+y}
19207 then :
19208 printf %s "(cached) " >&6
19209 else $as_nop
19210 ac_func_search_save_LIBS=$LIBS
19211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19214 /* Override any GCC internal prototype to avoid an error.
19215 Use char because int might match the return type of a GCC
19216 builtin and then its argument prototype would still apply. */
19217 char gethostbyname ();
19219 main (void)
19221 return gethostbyname ();
19223 return 0;
19225 _ACEOF
19226 for ac_lib in '' nsl
19228 if test -z "$ac_lib"; then
19229 ac_res="none required"
19230 else
19231 ac_res=-l$ac_lib
19232 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19234 if ac_fn_c_try_link "$LINENO"
19235 then :
19236 ac_cv_search_gethostbyname=$ac_res
19238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19239 conftest$ac_exeext
19240 if test ${ac_cv_search_gethostbyname+y}
19241 then :
19242 break
19244 done
19245 if test ${ac_cv_search_gethostbyname+y}
19246 then :
19248 else $as_nop
19249 ac_cv_search_gethostbyname=no
19251 rm conftest.$ac_ext
19252 LIBS=$ac_func_search_save_LIBS
19254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19255 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19256 ac_res=$ac_cv_search_gethostbyname
19257 if test "$ac_res" != no
19258 then :
19259 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19265 printf %s "checking for library containing connect... " >&6; }
19266 if test ${ac_cv_search_connect+y}
19267 then :
19268 printf %s "(cached) " >&6
19269 else $as_nop
19270 ac_func_search_save_LIBS=$LIBS
19271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19274 /* Override any GCC internal prototype to avoid an error.
19275 Use char because int might match the return type of a GCC
19276 builtin and then its argument prototype would still apply. */
19277 char connect ();
19279 main (void)
19281 return connect ();
19283 return 0;
19285 _ACEOF
19286 for ac_lib in '' socket
19288 if test -z "$ac_lib"; then
19289 ac_res="none required"
19290 else
19291 ac_res=-l$ac_lib
19292 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19294 if ac_fn_c_try_link "$LINENO"
19295 then :
19296 ac_cv_search_connect=$ac_res
19298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19299 conftest$ac_exeext
19300 if test ${ac_cv_search_connect+y}
19301 then :
19302 break
19304 done
19305 if test ${ac_cv_search_connect+y}
19306 then :
19308 else $as_nop
19309 ac_cv_search_connect=no
19311 rm conftest.$ac_ext
19312 LIBS=$ac_func_search_save_LIBS
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19315 printf "%s\n" "$ac_cv_search_connect" >&6; }
19316 ac_res=$ac_cv_search_connect
19317 if test "$ac_res" != no
19318 then :
19319 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19325 printf %s "checking for library containing inet_aton... " >&6; }
19326 if test ${ac_cv_search_inet_aton+y}
19327 then :
19328 printf %s "(cached) " >&6
19329 else $as_nop
19330 ac_func_search_save_LIBS=$LIBS
19331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19332 /* end confdefs.h. */
19334 /* Override any GCC internal prototype to avoid an error.
19335 Use char because int might match the return type of a GCC
19336 builtin and then its argument prototype would still apply. */
19337 char inet_aton ();
19339 main (void)
19341 return inet_aton ();
19343 return 0;
19345 _ACEOF
19346 for ac_lib in '' resolv
19348 if test -z "$ac_lib"; then
19349 ac_res="none required"
19350 else
19351 ac_res=-l$ac_lib
19352 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19354 if ac_fn_c_try_link "$LINENO"
19355 then :
19356 ac_cv_search_inet_aton=$ac_res
19358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19359 conftest$ac_exeext
19360 if test ${ac_cv_search_inet_aton+y}
19361 then :
19362 break
19364 done
19365 if test ${ac_cv_search_inet_aton+y}
19366 then :
19368 else $as_nop
19369 ac_cv_search_inet_aton=no
19371 rm conftest.$ac_ext
19372 LIBS=$ac_func_search_save_LIBS
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19375 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19376 ac_res=$ac_cv_search_inet_aton
19377 if test "$ac_res" != no
19378 then :
19379 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19384 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19385 if test "x$ac_cv_func_getaddrinfo" = xyes
19386 then :
19387 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19392 case $host_os in
19393 darwin*|macosx*) ;;
19394 *) ac_save_LIBS=$LIBS
19395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19396 printf %s "checking for library containing clock_gettime... " >&6; }
19397 if test ${ac_cv_search_clock_gettime+y}
19398 then :
19399 printf %s "(cached) " >&6
19400 else $as_nop
19401 ac_func_search_save_LIBS=$LIBS
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19405 /* Override any GCC internal prototype to avoid an error.
19406 Use char because int might match the return type of a GCC
19407 builtin and then its argument prototype would still apply. */
19408 char clock_gettime ();
19410 main (void)
19412 return clock_gettime ();
19414 return 0;
19416 _ACEOF
19417 for ac_lib in '' rt
19419 if test -z "$ac_lib"; then
19420 ac_res="none required"
19421 else
19422 ac_res=-l$ac_lib
19423 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19425 if ac_fn_c_try_link "$LINENO"
19426 then :
19427 ac_cv_search_clock_gettime=$ac_res
19429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19430 conftest$ac_exeext
19431 if test ${ac_cv_search_clock_gettime+y}
19432 then :
19433 break
19435 done
19436 if test ${ac_cv_search_clock_gettime+y}
19437 then :
19439 else $as_nop
19440 ac_cv_search_clock_gettime=no
19442 rm conftest.$ac_ext
19443 LIBS=$ac_func_search_save_LIBS
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19446 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19447 ac_res=$ac_cv_search_clock_gettime
19448 if test "$ac_res" != no
19449 then :
19450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19452 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19454 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19458 LIBS=$ac_save_LIBS
19460 esac
19462 if test "x$with_ldap" != "xno"
19463 then
19464 if ${LDAP_CFLAGS:+false} :
19465 then :
19466 if test ${PKG_CONFIG+y}
19467 then :
19468 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19472 if ${LDAP_LIBS:+false} :
19473 then :
19474 if test ${PKG_CONFIG+y}
19475 then :
19476 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19480 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
19481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19483 ac_save_CPPFLAGS=$CPPFLAGS
19484 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19485 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19486 if test "x$ac_cv_header_ldap_h" = xyes
19487 then :
19488 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19491 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19492 if test "x$ac_cv_header_lber_h" = xyes
19493 then :
19494 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19498 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19499 then
19500 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19502 if test "x$ac_cv_type_LDAPSortKey" = xyes
19503 then :
19504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
19505 printf %s "checking for ldap_initialize in -lldap_r... " >&6; }
19506 if test ${ac_cv_lib_ldap_r_ldap_initialize+y}
19507 then :
19508 printf %s "(cached) " >&6
19509 else $as_nop
19510 ac_check_lib_save_LIBS=$LIBS
19511 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19515 /* Override any GCC internal prototype to avoid an error.
19516 Use char because int might match the return type of a GCC
19517 builtin and then its argument prototype would still apply. */
19518 char ldap_initialize ();
19520 main (void)
19522 return ldap_initialize ();
19524 return 0;
19526 _ACEOF
19527 if ac_fn_c_try_link "$LINENO"
19528 then :
19529 ac_cv_lib_ldap_r_ldap_initialize=yes
19530 else $as_nop
19531 ac_cv_lib_ldap_r_ldap_initialize=no
19533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19534 conftest$ac_exeext conftest.$ac_ext
19535 LIBS=$ac_check_lib_save_LIBS
19537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
19538 printf "%s\n" "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
19539 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
19540 then :
19541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
19542 printf %s "checking for ber_init in -llber... " >&6; }
19543 if test ${ac_cv_lib_lber_ber_init+y}
19544 then :
19545 printf %s "(cached) " >&6
19546 else $as_nop
19547 ac_check_lib_save_LIBS=$LIBS
19548 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19552 /* Override any GCC internal prototype to avoid an error.
19553 Use char because int might match the return type of a GCC
19554 builtin and then its argument prototype would still apply. */
19555 char ber_init ();
19557 main (void)
19559 return ber_init ();
19561 return 0;
19563 _ACEOF
19564 if ac_fn_c_try_link "$LINENO"
19565 then :
19566 ac_cv_lib_lber_ber_init=yes
19567 else $as_nop
19568 ac_cv_lib_lber_ber_init=no
19570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19571 conftest$ac_exeext conftest.$ac_ext
19572 LIBS=$ac_check_lib_save_LIBS
19574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
19575 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
19576 if test "x$ac_cv_lib_lber_ber_init" = xyes
19577 then :
19579 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
19581 else $as_nop
19582 LDAP_LIBS=""
19585 else $as_nop
19586 LDAP_LIBS=""
19589 else $as_nop
19590 LDAP_LIBS=""
19593 ac_wine_check_funcs_save_LIBS="$LIBS"
19594 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
19595 ac_fn_c_check_func "$LINENO" "ldap_count_references" "ac_cv_func_ldap_count_references"
19596 if test "x$ac_cv_func_ldap_count_references" = xyes
19597 then :
19598 printf "%s\n" "#define HAVE_LDAP_COUNT_REFERENCES 1" >>confdefs.h
19601 ac_fn_c_check_func "$LINENO" "ldap_first_reference" "ac_cv_func_ldap_first_reference"
19602 if test "x$ac_cv_func_ldap_first_reference" = xyes
19603 then :
19604 printf "%s\n" "#define HAVE_LDAP_FIRST_REFERENCE 1" >>confdefs.h
19607 ac_fn_c_check_func "$LINENO" "ldap_next_reference" "ac_cv_func_ldap_next_reference"
19608 if test "x$ac_cv_func_ldap_next_reference" = xyes
19609 then :
19610 printf "%s\n" "#define HAVE_LDAP_NEXT_REFERENCE 1" >>confdefs.h
19613 ac_fn_c_check_func "$LINENO" "ldap_parse_reference" "ac_cv_func_ldap_parse_reference"
19614 if test "x$ac_cv_func_ldap_parse_reference" = xyes
19615 then :
19616 printf "%s\n" "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h
19619 ac_fn_c_check_func "$LINENO" "ldap_parse_sort_control" "ac_cv_func_ldap_parse_sort_control"
19620 if test "x$ac_cv_func_ldap_parse_sort_control" = xyes
19621 then :
19622 printf "%s\n" "#define HAVE_LDAP_PARSE_SORT_CONTROL 1" >>confdefs.h
19625 ac_fn_c_check_func "$LINENO" "ldap_parse_sortresponse_control" "ac_cv_func_ldap_parse_sortresponse_control"
19626 if test "x$ac_cv_func_ldap_parse_sortresponse_control" = xyes
19627 then :
19628 printf "%s\n" "#define HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL 1" >>confdefs.h
19631 ac_fn_c_check_func "$LINENO" "ldap_parse_vlv_control" "ac_cv_func_ldap_parse_vlv_control"
19632 if test "x$ac_cv_func_ldap_parse_vlv_control" = xyes
19633 then :
19634 printf "%s\n" "#define HAVE_LDAP_PARSE_VLV_CONTROL 1" >>confdefs.h
19637 ac_fn_c_check_func "$LINENO" "ldap_parse_vlvresponse_control" "ac_cv_func_ldap_parse_vlvresponse_control"
19638 if test "x$ac_cv_func_ldap_parse_vlvresponse_control" = xyes
19639 then :
19640 printf "%s\n" "#define HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL 1" >>confdefs.h
19644 LIBS="$ac_wine_check_funcs_save_LIBS"
19645 else
19646 LDAP_LIBS=""
19648 CPPFLAGS=$ac_save_CPPFLAGS
19651 if test "x$LDAP_LIBS" = "x"
19652 then :
19653 case "x$with_ldap" in
19654 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
19655 xno) ;;
19656 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
19657 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
19658 esac
19662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19663 printf %s "checking for sched_setaffinity... " >&6; }
19664 if test ${wine_cv_have_sched_setaffinity+y}
19665 then :
19666 printf %s "(cached) " >&6
19667 else $as_nop
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #include <sched.h>
19672 main (void)
19674 sched_setaffinity(0, 0, 0);
19676 return 0;
19678 _ACEOF
19679 if ac_fn_c_try_link "$LINENO"
19680 then :
19681 wine_cv_have_sched_setaffinity=yes
19682 else $as_nop
19683 wine_cv_have_sched_setaffinity=no
19685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19686 conftest$ac_exeext conftest.$ac_ext
19688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19689 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19690 if test "$wine_cv_have_sched_setaffinity" = "yes"
19691 then
19693 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19699 printf %s "checking for inline... " >&6; }
19700 if test ${ac_cv_c_inline+y}
19701 then :
19702 printf %s "(cached) " >&6
19703 else $as_nop
19704 ac_cv_c_inline=no
19705 for ac_kw in inline __inline__ __inline; do
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19708 #ifndef __cplusplus
19709 typedef int foo_t;
19710 static $ac_kw foo_t static_foo (void) {return 0; }
19711 $ac_kw foo_t foo (void) {return 0; }
19712 #endif
19714 _ACEOF
19715 if ac_fn_c_try_compile "$LINENO"
19716 then :
19717 ac_cv_c_inline=$ac_kw
19719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19720 test "$ac_cv_c_inline" != no && break
19721 done
19724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19725 printf "%s\n" "$ac_cv_c_inline" >&6; }
19727 case $ac_cv_c_inline in
19728 inline | yes) ;;
19730 case $ac_cv_c_inline in
19731 no) ac_val=;;
19732 *) ac_val=$ac_cv_c_inline;;
19733 esac
19734 cat >>confdefs.h <<_ACEOF
19735 #ifndef __cplusplus
19736 #define inline $ac_val
19737 #endif
19738 _ACEOF
19740 esac
19742 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
19743 #include <signal.h>
19745 if test "x$ac_cv_type_sigset_t" = xyes
19746 then :
19748 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
19753 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
19755 if test "x$ac_cv_type_request_sense" = xyes
19756 then :
19758 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
19764 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
19765 #ifdef HAVE_SYS_SOCKET_H
19766 #include <sys/socket.h>
19767 #endif
19768 #ifdef HAVE_SYS_SOCKETVAR_H
19769 #include <sys/socketvar.h>
19770 #endif
19771 #ifdef HAVE_NET_ROUTE_H
19772 #include <net/route.h>
19773 #endif
19774 #ifdef HAVE_NETINET_IN_H
19775 #include <netinet/in.h>
19776 #endif
19777 #ifdef HAVE_NETINET_IN_SYSTM_H
19778 #include <netinet/in_systm.h>
19779 #endif
19780 #ifdef HAVE_NETINET_IP_H
19781 #include <netinet/ip.h>
19782 #endif
19783 #ifdef HAVE_NETINET_IN_PCB_H
19784 #include <netinet/in_pcb.h>
19785 #endif
19787 if test "x$ac_cv_type_struct_xinpgen" = xyes
19788 then :
19790 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
19796 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
19797 #include <linux/input.h>
19798 #endif
19800 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
19801 then :
19803 printf "%s\n" "#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1" >>confdefs.h
19809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
19810 printf %s "checking for sigaddset... " >&6; }
19811 if test ${wine_cv_have_sigaddset+y}
19812 then :
19813 printf %s "(cached) " >&6
19814 else $as_nop
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817 #include <signal.h>
19819 main (void)
19821 sigset_t set; sigaddset(&set,SIGTERM);
19823 return 0;
19825 _ACEOF
19826 if ac_fn_c_try_link "$LINENO"
19827 then :
19828 wine_cv_have_sigaddset=yes
19829 else $as_nop
19830 wine_cv_have_sigaddset=no
19832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19833 conftest$ac_exeext conftest.$ac_ext
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
19836 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
19837 if test "$wine_cv_have_sigaddset" = "yes"
19838 then
19840 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
19845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19846 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
19847 if test ${wine_cv_linux_gethostbyname_r_6+y}
19848 then :
19849 printf %s "(cached) " >&6
19850 else $as_nop
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #include <netdb.h>
19855 main (void)
19858 char *name=0;
19859 struct hostent he;
19860 struct hostent *result;
19861 char *buf=0;
19862 int bufsize=0;
19863 int errnr;
19864 char *addr=0;
19865 int addrlen=0;
19866 int addrtype=0;
19867 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19868 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19871 return 0;
19873 _ACEOF
19874 if ac_fn_c_try_link "$LINENO"
19875 then :
19876 wine_cv_linux_gethostbyname_r_6=yes
19877 else $as_nop
19878 wine_cv_linux_gethostbyname_r_6=no
19881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19882 conftest$ac_exeext conftest.$ac_ext
19885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
19886 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
19887 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19888 then
19890 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
19894 if test "$ac_cv_header_linux_joystick_h" = "yes"
19895 then
19896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19897 printf %s "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
19898 if test ${wine_cv_linux_joystick_22_api+y}
19899 then :
19900 printf %s "(cached) " >&6
19901 else $as_nop
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19905 #include <sys/ioctl.h>
19906 #include <sys/types.h>
19907 #include <linux/joystick.h>
19909 struct js_event blub;
19910 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19911 #error "no 2.2 header"
19912 #endif
19915 main (void)
19917 /*empty*/
19919 return 0;
19921 _ACEOF
19922 if ac_fn_c_try_compile "$LINENO"
19923 then :
19924 wine_cv_linux_joystick_22_api=yes
19925 else $as_nop
19926 wine_cv_linux_joystick_22_api=no
19928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
19932 printf "%s\n" "$wine_cv_linux_joystick_22_api" >&6; }
19933 if test "$wine_cv_linux_joystick_22_api" = "yes"
19934 then
19936 printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
19941 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19942 #ifdef HAVE_SYS_SOCKET_H
19943 # include <sys/socket.h>
19944 #endif
19945 #ifdef HAVE_SYS_UN_H
19946 # include <sys/un.h>
19947 #endif
19949 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
19950 then :
19952 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
19956 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19957 #ifdef HAVE_SYS_SOCKET_H
19958 # include <sys/socket.h>
19959 #endif
19960 #ifdef HAVE_SYS_UN_H
19961 # include <sys/un.h>
19962 #endif
19964 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
19965 then :
19967 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
19973 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19974 #ifdef HAVE_SCSI_SG_H
19975 #include <scsi/sg.h>
19976 #endif
19978 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
19979 then :
19981 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
19985 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>
19986 #ifdef HAVE_SCSI_SG_H
19987 #include <scsi/sg.h>
19988 #endif
19990 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
19991 then :
19993 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
19999 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20001 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20002 then :
20004 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20010 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20011 #ifdef HAVE_SYS_MTIO_H
20012 #include <sys/mtio.h>
20013 #endif
20015 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20016 then :
20018 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20022 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20023 #ifdef HAVE_SYS_MTIO_H
20024 #include <sys/mtio.h>
20025 #endif
20027 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20028 then :
20030 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20034 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20035 #ifdef HAVE_SYS_MTIO_H
20036 #include <sys/mtio.h>
20037 #endif
20039 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20040 then :
20042 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20048 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20049 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20050 then :
20052 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20056 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20057 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20058 then :
20060 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20064 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20065 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20066 then :
20068 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20072 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20073 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20074 then :
20076 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20080 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20081 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20082 then :
20084 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20088 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20089 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20090 then :
20092 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20096 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20097 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20098 then :
20100 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20104 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20105 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20106 then :
20108 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20112 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20113 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20114 then :
20116 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20120 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20121 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20122 then :
20124 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20128 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20129 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20130 then :
20132 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20138 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
20139 #include <sys/types.h>
20140 #endif
20141 #ifdef HAVE_NETINET_IN_H
20142 #include <netinet/in.h>
20143 #endif
20145 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20146 then :
20148 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20154 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
20155 #include <sys/types.h>
20156 #endif
20157 #ifdef HAVE_NETINET_IN_H
20158 #include <netinet/in.h>
20159 #endif
20160 #ifdef HAVE_RESOLV_H
20161 #include <resolv.h>
20162 #endif
20164 if test "x$ac_cv_type_struct___res_state" = xyes
20165 then :
20167 printf "%s\n" "#define HAVE_STRUCT___RES_STATE 1" >>confdefs.h
20173 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
20174 #include <resolv.h>
20175 #endif
20177 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20178 then :
20180 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20186 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
20187 #include <sys/types.h>
20188 #endif
20189 #ifdef HAVE_NETINET_IN_H
20190 #include <netinet/in.h>
20191 #endif
20192 #ifdef HAVE_NETINET_IP_H
20193 #include <netinet/ip.h>
20194 #endif
20195 #ifdef HAVE_NETINET_IP_ICMP_H
20196 #include <netinet/ip_icmp.h>
20197 #endif
20198 #ifdef HAVE_NETINET_ICMP_VAR_H
20199 #include <netinet/icmp_var.h>
20200 #endif
20202 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
20203 then :
20205 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1" >>confdefs.h
20211 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
20212 #include <sys/types.h>
20213 #endif
20214 #ifdef HAVE_ALIAS_H
20215 #include <alias.h>
20216 #endif
20217 #ifdef HAVE_SYS_SOCKET_H
20218 #include <sys/socket.h>
20219 #endif
20220 #ifdef HAVE_SYS_SOCKETVAR_H
20221 #include <sys/socketvar.h>
20222 #endif
20223 #ifdef HAVE_SYS_TIMEOUT_H
20224 #include <sys/timeout.h>
20225 #endif
20226 #ifdef HAVE_NETINET_IN_H
20227 #include <netinet/in.h>
20228 #endif
20229 #ifdef HAVE_NETINET_IN_SYSTM_H
20230 #include <netinet/in_systm.h>
20231 #endif
20232 #ifdef HAVE_NETINET_IP_H
20233 #include <netinet/ip.h>
20234 #endif
20235 #ifdef HAVE_NETINET_IP_VAR_H
20236 #include <netinet/ip_var.h>
20237 #endif
20238 #ifdef HAVE_NETINET_IP_ICMP_H
20239 #include <netinet/ip_icmp.h>
20240 #endif
20241 #ifdef HAVE_NETINET_ICMP_VAR_H
20242 #include <netinet/icmp_var.h>
20243 #endif
20245 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
20246 then :
20248 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1" >>confdefs.h
20254 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20255 #include <netinet/in.h>
20256 #endif
20258 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20259 then :
20261 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20267 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
20268 #include <sys/types.h>
20269 #endif
20270 #ifdef HAVE_SYS_SOCKETVAR_H
20271 #include <sys/socketvar.h>
20272 #endif
20273 #ifdef HAVE_NETINET_IN_H
20274 #include <netinet/in.h>
20275 #endif
20276 #ifdef HAVE_NETINET_IP_VAR_H
20277 #include <netinet/ip_var.h>
20278 #endif
20280 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20281 then :
20283 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20289 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
20290 #include <netinet/ip_var.h>
20291 #endif
20293 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20294 then :
20296 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20302 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
20303 #include <sys/types.h>
20304 #endif
20305 #ifdef HAVE_SYS_SOCKETVAR_H
20306 #include <sys/socketvar.h>
20307 #endif
20308 #ifdef HAVE_NETINET_IN_H
20309 #include <netinet/in.h>
20310 #endif
20311 #ifdef HAVE_NETINET_TCP_H
20312 #include <netinet/tcp.h>
20313 #endif
20314 #ifdef HAVE_NETINET_TCP_VAR_H
20315 #include <netinet/tcp_var.h>
20316 #endif
20318 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20319 then :
20321 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20327 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
20328 #include <netinet/tcp_var.h>
20329 #endif
20331 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20332 then :
20334 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20340 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
20341 #include <sys/types.h>
20342 #endif
20343 #ifdef HAVE_NETINET_IN_H
20344 #include <netinet/in.h>
20345 #endif
20346 #ifdef HAVE_NETINET_IP_VAR_H
20347 #include <netinet/ip_var.h>
20348 #endif
20349 #ifdef HAVE_NETINET_UDP_H
20350 #include <netinet/udp.h>
20351 #endif
20352 #ifdef HAVE_NETINET_UDP_VAR_H
20353 #include <netinet/udp_var.h>
20354 #endif
20356 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20357 then :
20359 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20365 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
20366 #include <sys/types.h>
20367 #endif
20368 #ifdef HAVE_NET_IF_H
20369 # include <net/if.h>
20370 #endif
20372 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20373 then :
20375 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20381 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20382 # include <sys/sysinfo.h>
20383 #endif
20385 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20392 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20393 # include <sys/sysinfo.h>
20394 #endif
20396 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20397 then :
20399 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20405 ac_save_LIBS="$LIBS"
20406 LIBS="$LIBS -lm"
20407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20408 printf %s "checking for isfinite... " >&6; }
20409 if test ${ac_cv_have_isfinite+y}
20410 then :
20411 printf %s "(cached) " >&6
20412 else $as_nop
20413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20414 /* end confdefs.h. */
20415 #include <math.h>
20417 main (void)
20419 float f = 0.0; return isfinite(f)
20421 return 0;
20423 _ACEOF
20424 if ac_fn_c_try_link "$LINENO"
20425 then :
20426 ac_cv_have_isfinite="yes"
20427 else $as_nop
20428 ac_cv_have_isfinite="no"
20430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20431 conftest$ac_exeext conftest.$ac_ext
20433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20434 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20435 if test "$ac_cv_have_isfinite" = "yes"
20436 then
20438 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20443 printf %s "checking for isinf... " >&6; }
20444 if test ${ac_cv_have_isinf+y}
20445 then :
20446 printf %s "(cached) " >&6
20447 else $as_nop
20448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20449 /* end confdefs.h. */
20450 #include <math.h>
20452 main (void)
20454 float f = 0.0; return isinf(f)
20456 return 0;
20458 _ACEOF
20459 if ac_fn_c_try_link "$LINENO"
20460 then :
20461 ac_cv_have_isinf="yes"
20462 else $as_nop
20463 ac_cv_have_isinf="no"
20465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20466 conftest$ac_exeext conftest.$ac_ext
20468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20469 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20470 if test "$ac_cv_have_isinf" = "yes"
20471 then
20473 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20478 printf %s "checking for isnan... " >&6; }
20479 if test ${ac_cv_have_isnan+y}
20480 then :
20481 printf %s "(cached) " >&6
20482 else $as_nop
20483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20484 /* end confdefs.h. */
20485 #include <math.h>
20487 main (void)
20489 float f = 0.0; return isnan(f)
20491 return 0;
20493 _ACEOF
20494 if ac_fn_c_try_link "$LINENO"
20495 then :
20496 ac_cv_have_isnan="yes"
20497 else $as_nop
20498 ac_cv_have_isnan="no"
20500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20501 conftest$ac_exeext conftest.$ac_ext
20503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
20504 printf "%s\n" "$ac_cv_have_isnan" >&6; }
20505 if test "$ac_cv_have_isnan" = "yes"
20506 then
20508 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
20512 LIBS="$ac_save_LIBS"
20514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20515 printf %s "checking for __builtin_popcount... " >&6; }
20516 if test ${ac_cv_have___builtin_popcount+y}
20517 then :
20518 printf %s "(cached) " >&6
20519 else $as_nop
20520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20521 /* end confdefs.h. */
20524 main (void)
20526 return __builtin_popcount(1)
20528 return 0;
20530 _ACEOF
20531 if ac_fn_c_try_link "$LINENO"
20532 then :
20533 ac_cv_have___builtin_popcount="yes"
20534 else $as_nop
20535 ac_cv_have___builtin_popcount="no"
20537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20538 conftest$ac_exeext conftest.$ac_ext
20540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20541 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20542 if test "$ac_cv_have___builtin_popcount" = "yes"
20543 then
20545 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20550 printf %s "checking for __clear_cache... " >&6; }
20551 if test ${ac_cv_have___clear_cache+y}
20552 then :
20553 printf %s "(cached) " >&6
20554 else $as_nop
20555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20556 /* end confdefs.h. */
20559 main (void)
20561 __clear_cache((void*)0, (void*)0); return 0;
20563 return 0;
20565 _ACEOF
20566 if ac_fn_c_try_link "$LINENO"
20567 then :
20568 ac_cv_have___clear_cache="yes"
20569 else $as_nop
20570 ac_cv_have___clear_cache="no"
20572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20573 conftest$ac_exeext conftest.$ac_ext
20575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20576 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20577 if test "$ac_cv_have___clear_cache" = "yes"
20578 then
20580 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20585 case $host_cpu in
20586 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20587 printf %s "checking whether we need to define __i386__... " >&6; }
20588 if test ${ac_cv_cpp_def___i386__+y}
20589 then :
20590 printf %s "(cached) " >&6
20591 else $as_nop
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20594 #ifndef __i386__
20596 #endif
20597 _ACEOF
20598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20599 $EGREP "yes" >/dev/null 2>&1
20600 then :
20601 ac_cv_cpp_def___i386__=yes
20602 else $as_nop
20603 ac_cv_cpp_def___i386__=no
20605 rm -rf conftest*
20608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20609 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20610 if test "x$ac_cv_cpp_def___i386__" = xyes
20611 then :
20612 CFLAGS="$CFLAGS -D__i386__"
20613 LINTFLAGS="$LINTFLAGS -D__i386__"
20614 fi ;;
20615 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20616 printf %s "checking whether we need to define __x86_64__... " >&6; }
20617 if test ${ac_cv_cpp_def___x86_64__+y}
20618 then :
20619 printf %s "(cached) " >&6
20620 else $as_nop
20621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20622 /* end confdefs.h. */
20623 #ifndef __x86_64__
20625 #endif
20626 _ACEOF
20627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20628 $EGREP "yes" >/dev/null 2>&1
20629 then :
20630 ac_cv_cpp_def___x86_64__=yes
20631 else $as_nop
20632 ac_cv_cpp_def___x86_64__=no
20634 rm -rf conftest*
20637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20638 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20639 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20640 then :
20641 CFLAGS="$CFLAGS -D__x86_64__"
20642 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20643 fi ;;
20644 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20645 printf %s "checking whether we need to define __sparc64__... " >&6; }
20646 if test ${ac_cv_cpp_def___sparc64__+y}
20647 then :
20648 printf %s "(cached) " >&6
20649 else $as_nop
20650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20651 /* end confdefs.h. */
20652 #ifndef __sparc64__
20654 #endif
20655 _ACEOF
20656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20657 $EGREP "yes" >/dev/null 2>&1
20658 then :
20659 ac_cv_cpp_def___sparc64__=yes
20660 else $as_nop
20661 ac_cv_cpp_def___sparc64__=no
20663 rm -rf conftest*
20666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20667 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20668 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20669 then :
20670 CFLAGS="$CFLAGS -D__sparc64__"
20671 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20672 fi ;;
20673 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20674 printf %s "checking whether we need to define __sparc__... " >&6; }
20675 if test ${ac_cv_cpp_def___sparc__+y}
20676 then :
20677 printf %s "(cached) " >&6
20678 else $as_nop
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20681 #ifndef __sparc__
20683 #endif
20684 _ACEOF
20685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20686 $EGREP "yes" >/dev/null 2>&1
20687 then :
20688 ac_cv_cpp_def___sparc__=yes
20689 else $as_nop
20690 ac_cv_cpp_def___sparc__=no
20692 rm -rf conftest*
20695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20696 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20697 if test "x$ac_cv_cpp_def___sparc__" = xyes
20698 then :
20699 CFLAGS="$CFLAGS -D__sparc__"
20700 LINTFLAGS="$LINTFLAGS -D__sparc__"
20701 fi ;;
20702 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20703 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20704 if test ${ac_cv_cpp_def___powerpc64__+y}
20705 then :
20706 printf %s "(cached) " >&6
20707 else $as_nop
20708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20709 /* end confdefs.h. */
20710 #ifndef __powerpc64__
20712 #endif
20713 _ACEOF
20714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20715 $EGREP "yes" >/dev/null 2>&1
20716 then :
20717 ac_cv_cpp_def___powerpc64__=yes
20718 else $as_nop
20719 ac_cv_cpp_def___powerpc64__=no
20721 rm -rf conftest*
20724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20725 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20726 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20727 then :
20728 CFLAGS="$CFLAGS -D__powerpc64__"
20729 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20730 fi ;;
20731 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20732 printf %s "checking whether we need to define __powerpc__... " >&6; }
20733 if test ${ac_cv_cpp_def___powerpc__+y}
20734 then :
20735 printf %s "(cached) " >&6
20736 else $as_nop
20737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20738 /* end confdefs.h. */
20739 #ifndef __powerpc__
20741 #endif
20742 _ACEOF
20743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20744 $EGREP "yes" >/dev/null 2>&1
20745 then :
20746 ac_cv_cpp_def___powerpc__=yes
20747 else $as_nop
20748 ac_cv_cpp_def___powerpc__=no
20750 rm -rf conftest*
20753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20754 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20755 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20756 then :
20757 CFLAGS="$CFLAGS -D__powerpc__"
20758 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20759 fi ;;
20760 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20761 printf %s "checking whether we need to define __aarch64__... " >&6; }
20762 if test ${ac_cv_cpp_def___aarch64__+y}
20763 then :
20764 printf %s "(cached) " >&6
20765 else $as_nop
20766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767 /* end confdefs.h. */
20768 #ifndef __aarch64__
20770 #endif
20771 _ACEOF
20772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20773 $EGREP "yes" >/dev/null 2>&1
20774 then :
20775 ac_cv_cpp_def___aarch64__=yes
20776 else $as_nop
20777 ac_cv_cpp_def___aarch64__=no
20779 rm -rf conftest*
20782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20783 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20784 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20785 then :
20786 CFLAGS="$CFLAGS -D__aarch64__"
20787 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20788 fi ;;
20789 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20790 printf %s "checking whether we need to define __arm__... " >&6; }
20791 if test ${ac_cv_cpp_def___arm__+y}
20792 then :
20793 printf %s "(cached) " >&6
20794 else $as_nop
20795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20797 #ifndef __arm__
20799 #endif
20800 _ACEOF
20801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20802 $EGREP "yes" >/dev/null 2>&1
20803 then :
20804 ac_cv_cpp_def___arm__=yes
20805 else $as_nop
20806 ac_cv_cpp_def___arm__=no
20808 rm -rf conftest*
20811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20812 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20813 if test "x$ac_cv_cpp_def___arm__" = xyes
20814 then :
20815 CFLAGS="$CFLAGS -D__arm__"
20816 LINTFLAGS="$LINTFLAGS -D__arm__"
20817 fi ;;
20818 esac
20820 case $host_vendor in
20821 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20822 printf %s "checking whether we need to define __sun__... " >&6; }
20823 if test ${ac_cv_cpp_def___sun__+y}
20824 then :
20825 printf %s "(cached) " >&6
20826 else $as_nop
20827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20829 #ifndef __sun__
20831 #endif
20832 _ACEOF
20833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20834 $EGREP "yes" >/dev/null 2>&1
20835 then :
20836 ac_cv_cpp_def___sun__=yes
20837 else $as_nop
20838 ac_cv_cpp_def___sun__=no
20840 rm -rf conftest*
20843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20844 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20845 if test "x$ac_cv_cpp_def___sun__" = xyes
20846 then :
20847 CFLAGS="$CFLAGS -D__sun__"
20848 LINTFLAGS="$LINTFLAGS -D__sun__"
20849 fi ;;
20850 esac
20856 ac_config_commands="$ac_config_commands include/stamp-h"
20858 printf %s "creating Makefile rules..." >&6
20860 makedep_flags=""
20861 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20863 wine_srcdir=
20864 test "$srcdir" = . || wine_srcdir="$srcdir/"
20866 ac_config_links="$ac_config_links wine:tools/winewrapper"
20867 wine_fn_config_symlink wine
20868 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20869 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20870 wine_fn_config_symlink wine64
20873 wine_fn_config_makefile dlls/acledit enable_acledit
20874 wine_fn_config_makefile dlls/aclui enable_aclui
20875 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20876 wine_fn_config_makefile dlls/activeds enable_activeds
20877 wine_fn_config_makefile dlls/activeds/tests enable_tests
20878 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20879 wine_fn_config_makefile dlls/adsldp enable_adsldp
20880 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20881 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20882 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20883 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20884 wine_fn_config_makefile dlls/advpack enable_advpack
20885 wine_fn_config_makefile dlls/advpack/tests enable_tests
20886 wine_fn_config_makefile dlls/amsi enable_amsi
20887 wine_fn_config_makefile dlls/amstream enable_amstream
20888 wine_fn_config_makefile dlls/amstream/tests enable_tests
20889 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20890 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20891 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20892 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20893 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20894 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20895 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20896 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20897 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20898 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20899 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20900 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20901 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20902 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20903 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20904 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20905 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20906 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20907 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20908 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20909 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20910 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20911 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20912 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20913 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20914 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20915 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20916 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20917 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20918 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20919 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20920 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20921 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20922 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20923 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20924 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20925 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20926 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20927 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20928 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20929 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20930 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20931 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20932 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20933 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20934 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20935 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20936 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20937 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20938 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20939 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20940 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20941 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20942 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20943 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20944 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20945 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20946 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20947 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20948 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20949 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20950 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20951 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20952 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20953 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20954 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20955 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20956 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20957 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20958 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20959 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20960 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20961 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20962 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20963 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20964 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20965 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20966 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20967 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20968 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20969 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20970 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20971 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20972 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20973 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20974 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20975 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20976 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20977 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20978 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20979 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20980 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20981 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20982 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20983 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20984 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20985 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20986 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20987 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20988 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20989 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20990 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
20991 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20992 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20993 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20994 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20995 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20996 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20997 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20998 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20999 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21000 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21001 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21002 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21003 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21004 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21005 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21006 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21007 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21008 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21009 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21010 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21011 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21012 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21013 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21014 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21015 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21016 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21017 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21018 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21019 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21020 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21021 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21022 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21023 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21024 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21025 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21026 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21027 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21028 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21029 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21030 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21031 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21032 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21033 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21034 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21035 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21036 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21037 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21038 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21039 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21040 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21041 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21042 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21043 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21044 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21045 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21046 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21047 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21048 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21049 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21050 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21051 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21052 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21053 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21054 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21055 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21056 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21057 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21058 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21059 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21060 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21061 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21062 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21063 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21064 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21065 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21066 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21067 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21068 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21069 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21070 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21071 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21072 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21073 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21074 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21075 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21076 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21077 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21078 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21079 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21080 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21081 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21082 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21083 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21084 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21085 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21086 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21087 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21088 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21089 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21090 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21091 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21092 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21093 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21094 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21095 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21096 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21097 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21098 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21099 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21100 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21101 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21102 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21103 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21104 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21105 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21106 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21107 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21108 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21109 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21110 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21111 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21112 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21113 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21114 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21115 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21116 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21117 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21118 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21119 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21120 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21121 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21122 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21123 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21124 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21125 wine_fn_config_makefile dlls/apphelp enable_apphelp
21126 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21127 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21128 wine_fn_config_makefile dlls/atl enable_atl
21129 wine_fn_config_makefile dlls/atl/tests enable_tests
21130 wine_fn_config_makefile dlls/atl100 enable_atl100
21131 wine_fn_config_makefile dlls/atl100/tests enable_tests
21132 wine_fn_config_makefile dlls/atl110 enable_atl110
21133 wine_fn_config_makefile dlls/atl80 enable_atl80
21134 wine_fn_config_makefile dlls/atl80/tests enable_tests
21135 wine_fn_config_makefile dlls/atl90 enable_atl90
21136 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21137 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21138 wine_fn_config_makefile dlls/atmlib enable_atmlib
21139 wine_fn_config_makefile dlls/authz enable_authz
21140 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21141 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21142 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21143 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21144 wine_fn_config_makefile dlls/avrt enable_avrt
21145 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21146 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21147 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21148 wine_fn_config_makefile dlls/browseui enable_browseui
21149 wine_fn_config_makefile dlls/browseui/tests enable_tests
21150 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21151 wine_fn_config_makefile dlls/cabinet enable_cabinet
21152 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21153 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21154 wine_fn_config_makefile dlls/cards enable_cards
21155 wine_fn_config_makefile dlls/cdosys enable_cdosys
21156 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21157 wine_fn_config_makefile dlls/clusapi enable_clusapi
21158 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21159 wine_fn_config_makefile dlls/combase enable_combase
21160 wine_fn_config_makefile dlls/combase/tests enable_tests
21161 wine_fn_config_makefile dlls/comcat enable_comcat
21162 wine_fn_config_makefile dlls/comcat/tests enable_tests
21163 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21164 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21165 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21166 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21167 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21168 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21169 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21170 wine_fn_config_makefile dlls/compstui enable_compstui
21171 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21172 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21173 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21174 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21175 wine_fn_config_makefile dlls/connect enable_connect
21176 wine_fn_config_makefile dlls/credui enable_credui
21177 wine_fn_config_makefile dlls/credui/tests enable_tests
21178 wine_fn_config_makefile dlls/crtdll enable_crtdll
21179 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21180 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21181 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21182 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21183 wine_fn_config_makefile dlls/cryptext enable_cryptext
21184 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21185 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21186 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21187 wine_fn_config_makefile dlls/cryptui enable_cryptui
21188 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21189 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21190 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21191 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21192 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21193 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21194 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21195 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21196 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21197 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21198 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21199 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21200 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21201 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21202 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21203 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21204 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21205 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21206 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21207 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21208 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21209 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21210 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21211 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21212 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21213 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21214 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21215 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21216 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21217 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21218 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21219 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21220 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21221 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21223 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21225 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dim enable_d3dim
21227 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21228 wine_fn_config_makefile dlls/d3drm enable_d3drm
21229 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21231 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21232 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21233 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21234 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21235 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21236 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21238 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21240 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21242 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21244 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21246 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21248 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21250 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21251 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21252 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21253 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21254 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21255 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21256 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21257 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21258 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21259 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21260 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21261 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21262 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21263 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21264 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21265 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21266 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21267 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21268 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21269 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21270 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21271 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21272 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21273 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21274 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21275 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21276 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21277 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21278 wine_fn_config_makefile dlls/davclnt enable_davclnt
21279 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21280 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21281 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21282 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21283 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21284 wine_fn_config_makefile dlls/dcomp enable_dcomp
21285 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21286 wine_fn_config_makefile dlls/ddraw enable_ddraw
21287 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21288 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21289 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21290 wine_fn_config_makefile dlls/devenum enable_devenum
21291 wine_fn_config_makefile dlls/devenum/tests enable_tests
21292 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21293 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21294 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21295 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21296 wine_fn_config_makefile dlls/difxapi enable_difxapi
21297 wine_fn_config_makefile dlls/dinput enable_dinput
21298 wine_fn_config_makefile dlls/dinput/tests enable_tests
21299 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21300 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21301 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21302 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21303 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21304 wine_fn_config_makefile dlls/dispex enable_dispex
21305 wine_fn_config_makefile dlls/dispex/tests enable_tests
21306 wine_fn_config_makefile dlls/display.drv16 enable_win16
21307 wine_fn_config_makefile dlls/dmband enable_dmband
21308 wine_fn_config_makefile dlls/dmband/tests enable_tests
21309 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21310 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21311 wine_fn_config_makefile dlls/dmime enable_dmime
21312 wine_fn_config_makefile dlls/dmime/tests enable_tests
21313 wine_fn_config_makefile dlls/dmloader enable_dmloader
21314 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21315 wine_fn_config_makefile dlls/dmscript enable_dmscript
21316 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21317 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21318 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21319 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21320 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21321 wine_fn_config_makefile dlls/dmusic enable_dmusic
21322 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21323 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21324 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21325 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21326 wine_fn_config_makefile dlls/dplay enable_dplay
21327 wine_fn_config_makefile dlls/dplayx enable_dplayx
21328 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21329 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21330 wine_fn_config_makefile dlls/dpnet enable_dpnet
21331 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21332 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21333 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21334 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21335 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21336 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21337 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21338 wine_fn_config_makefile dlls/drmclien enable_drmclien
21339 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21340 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21341 wine_fn_config_makefile dlls/dsound enable_dsound
21342 wine_fn_config_makefile dlls/dsound/tests enable_tests
21343 wine_fn_config_makefile dlls/dsquery enable_dsquery
21344 wine_fn_config_makefile dlls/dssenh enable_dssenh
21345 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21346 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21347 wine_fn_config_makefile dlls/dswave enable_dswave
21348 wine_fn_config_makefile dlls/dswave/tests enable_tests
21349 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21350 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21351 wine_fn_config_makefile dlls/dwrite enable_dwrite
21352 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21353 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21354 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21355 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21356 wine_fn_config_makefile dlls/dxgi enable_dxgi
21357 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21358 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21359 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21360 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21361 wine_fn_config_makefile dlls/esent enable_esent
21362 wine_fn_config_makefile dlls/evr enable_evr
21363 wine_fn_config_makefile dlls/evr/tests enable_tests
21364 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21365 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21366 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21367 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21368 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21369 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21370 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21371 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21372 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21373 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21374 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21375 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21376 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21377 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21378 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21379 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21380 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21381 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21382 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21383 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21384 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21385 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21386 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21387 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21388 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21389 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21390 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21391 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21392 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21393 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21394 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21395 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21396 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21397 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21398 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21399 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21400 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21401 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21402 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21403 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21404 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21405 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21406 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
21407 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21408 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21409 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21410 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21411 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21412 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21413 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21414 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21415 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21416 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21417 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21418 wine_fn_config_makefile dlls/faultrep enable_faultrep
21419 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21420 wine_fn_config_makefile dlls/feclient enable_feclient
21421 wine_fn_config_makefile dlls/fltlib enable_fltlib
21422 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21423 wine_fn_config_makefile dlls/fntcache enable_fntcache
21424 wine_fn_config_makefile dlls/fontsub enable_fontsub
21425 wine_fn_config_makefile dlls/fusion enable_fusion
21426 wine_fn_config_makefile dlls/fusion/tests enable_tests
21427 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21428 wine_fn_config_makefile dlls/gameux enable_gameux
21429 wine_fn_config_makefile dlls/gameux/tests enable_tests
21430 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21431 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21432 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21433 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21434 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21435 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21436 wine_fn_config_makefile dlls/glu32 enable_glu32
21437 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21438 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21439 wine_fn_config_makefile dlls/hal enable_hal
21440 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21441 wine_fn_config_makefile dlls/hid enable_hid
21442 wine_fn_config_makefile dlls/hid/tests enable_tests
21443 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21444 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21445 wine_fn_config_makefile dlls/hlink enable_hlink
21446 wine_fn_config_makefile dlls/hlink/tests enable_tests
21447 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21448 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21449 wine_fn_config_makefile dlls/http.sys enable_http_sys
21450 wine_fn_config_makefile dlls/httpapi enable_httpapi
21451 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21452 wine_fn_config_makefile dlls/iccvid enable_iccvid
21453 wine_fn_config_makefile dlls/icmp enable_icmp
21454 wine_fn_config_makefile dlls/ieframe enable_ieframe
21455 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21456 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21457 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21458 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21459 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21460 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21461 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21462 wine_fn_config_makefile dlls/imm32 enable_imm32
21463 wine_fn_config_makefile dlls/imm32/tests enable_tests
21464 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21465 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21466 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21467 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21468 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21469 wine_fn_config_makefile dlls/infosoft enable_infosoft
21470 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21471 wine_fn_config_makefile dlls/initpki enable_initpki
21472 wine_fn_config_makefile dlls/inkobj enable_inkobj
21473 wine_fn_config_makefile dlls/inseng enable_inseng
21474 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21475 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21476 wine_fn_config_makefile dlls/iprop enable_iprop
21477 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21478 wine_fn_config_makefile dlls/itircl enable_itircl
21479 wine_fn_config_makefile dlls/itss enable_itss
21480 wine_fn_config_makefile dlls/itss/tests enable_tests
21481 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21482 wine_fn_config_makefile dlls/jscript enable_jscript
21483 wine_fn_config_makefile dlls/jscript/tests enable_tests
21484 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21485 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21486 wine_fn_config_makefile dlls/kerberos enable_kerberos
21487 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21488 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21489 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21490 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21491 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21492 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21493 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21494 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21495 wine_fn_config_makefile dlls/ksuser enable_ksuser
21496 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21497 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21498 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21499 wine_fn_config_makefile dlls/loadperf enable_loadperf
21500 wine_fn_config_makefile dlls/localspl enable_localspl
21501 wine_fn_config_makefile dlls/localspl/tests enable_tests
21502 wine_fn_config_makefile dlls/localui enable_localui
21503 wine_fn_config_makefile dlls/localui/tests enable_tests
21504 wine_fn_config_makefile dlls/lz32 enable_lz32
21505 wine_fn_config_makefile dlls/lz32/tests enable_tests
21506 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21507 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21508 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21509 wine_fn_config_makefile dlls/mapistub enable_mapistub
21510 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21511 wine_fn_config_makefile dlls/mcicda enable_mcicda
21512 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21513 wine_fn_config_makefile dlls/mciseq enable_mciseq
21514 wine_fn_config_makefile dlls/mciwave enable_mciwave
21515 wine_fn_config_makefile dlls/mf enable_mf
21516 wine_fn_config_makefile dlls/mf/tests enable_tests
21517 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21518 wine_fn_config_makefile dlls/mferror enable_mferror
21519 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21520 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21521 wine_fn_config_makefile dlls/mfplat enable_mfplat
21522 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21523 wine_fn_config_makefile dlls/mfplay enable_mfplay
21524 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21525 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21526 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21527 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21528 wine_fn_config_makefile dlls/midimap enable_midimap
21529 wine_fn_config_makefile dlls/mlang enable_mlang
21530 wine_fn_config_makefile dlls/mlang/tests enable_tests
21531 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21532 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21533 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21534 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21535 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21536 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21537 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21538 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21539 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21540 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21541 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21542 wine_fn_config_makefile dlls/mpr enable_mpr
21543 wine_fn_config_makefile dlls/mpr/tests enable_tests
21544 wine_fn_config_makefile dlls/mprapi enable_mprapi
21545 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21546 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21547 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21548 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21549 wine_fn_config_makefile dlls/msado15 enable_msado15
21550 wine_fn_config_makefile dlls/msado15/tests enable_tests
21551 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21552 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21553 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21554 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21555 wine_fn_config_makefile dlls/mscms enable_mscms
21556 wine_fn_config_makefile dlls/mscms/tests enable_tests
21557 wine_fn_config_makefile dlls/mscoree enable_mscoree
21558 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21559 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21560 wine_fn_config_makefile dlls/msctf enable_msctf
21561 wine_fn_config_makefile dlls/msctf/tests enable_tests
21562 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21563 wine_fn_config_makefile dlls/msctfp enable_msctfp
21564 wine_fn_config_makefile dlls/msdaps enable_msdaps
21565 wine_fn_config_makefile dlls/msdasql enable_msdasql
21566 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21567 wine_fn_config_makefile dlls/msdelta enable_msdelta
21568 wine_fn_config_makefile dlls/msdmo enable_msdmo
21569 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21570 wine_fn_config_makefile dlls/msdrm enable_msdrm
21571 wine_fn_config_makefile dlls/msftedit enable_msftedit
21572 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21573 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21574 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21575 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21576 wine_fn_config_makefile dlls/mshtml enable_mshtml
21577 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21578 wine_fn_config_makefile dlls/msi enable_msi
21579 wine_fn_config_makefile dlls/msi/tests enable_tests
21580 wine_fn_config_makefile dlls/msident enable_msident
21581 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21582 wine_fn_config_makefile dlls/msimsg enable_msimsg
21583 wine_fn_config_makefile dlls/msimtf enable_msimtf
21584 wine_fn_config_makefile dlls/msisip enable_msisip
21585 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21586 wine_fn_config_makefile dlls/msls31 enable_msls31
21587 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21588 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21589 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21590 wine_fn_config_makefile dlls/msports enable_msports
21591 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21592 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21593 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21594 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21595 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21596 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21597 wine_fn_config_makefile dlls/mstask enable_mstask
21598 wine_fn_config_makefile dlls/mstask/tests enable_tests
21599 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21600 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21601 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21602 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21603 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21604 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21605 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21606 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21607 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21608 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21609 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21610 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21611 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21612 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21613 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21614 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21615 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21616 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21617 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21618 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21619 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21620 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21621 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21622 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21623 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21624 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21625 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21626 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21627 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21628 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21629 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21630 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21631 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21632 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21633 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21634 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21635 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21636 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21637 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21638 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21639 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21640 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21641 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21642 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21643 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21644 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21645 wine_fn_config_makefile dlls/mswsock enable_mswsock
21646 wine_fn_config_makefile dlls/msxml enable_msxml
21647 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21648 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21649 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21650 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21651 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21652 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21653 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21654 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21655 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21656 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21657 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21658 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21659 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21660 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21661 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21662 wine_fn_config_makefile dlls/netprofm enable_netprofm
21663 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21664 wine_fn_config_makefile dlls/netutils enable_netutils
21665 wine_fn_config_makefile dlls/newdev enable_newdev
21666 wine_fn_config_makefile dlls/ninput enable_ninput
21667 wine_fn_config_makefile dlls/ninput/tests enable_tests
21668 wine_fn_config_makefile dlls/normaliz enable_normaliz
21669 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21670 wine_fn_config_makefile dlls/npptools enable_npptools
21671 wine_fn_config_makefile dlls/nsi enable_nsi
21672 wine_fn_config_makefile dlls/nsi/tests enable_tests
21673 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21674 wine_fn_config_makefile dlls/ntdll enable_ntdll
21675 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21676 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21677 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21678 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21679 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21680 wine_fn_config_makefile dlls/ntprint enable_ntprint
21681 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21682 wine_fn_config_makefile dlls/objsel enable_objsel
21683 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21684 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21685 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21686 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21687 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21688 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21689 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21690 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21691 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21692 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21693 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21694 wine_fn_config_makefile dlls/ole32 enable_ole32
21695 wine_fn_config_makefile dlls/ole32/tests enable_tests
21696 wine_fn_config_makefile dlls/oleacc enable_oleacc
21697 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21698 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21699 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21700 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21701 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21702 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21703 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21704 wine_fn_config_makefile dlls/oledlg enable_oledlg
21705 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21706 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21707 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21708 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21709 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21710 wine_fn_config_makefile dlls/opcservices enable_opcservices
21711 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21712 wine_fn_config_makefile dlls/openal32 enable_openal32
21713 wine_fn_config_makefile dlls/opencl enable_opencl
21714 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21715 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21716 wine_fn_config_makefile dlls/packager enable_packager
21717 wine_fn_config_makefile dlls/packager/tests enable_tests
21718 wine_fn_config_makefile dlls/pdh enable_pdh
21719 wine_fn_config_makefile dlls/pdh/tests enable_tests
21720 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21721 wine_fn_config_makefile dlls/pidgen enable_pidgen
21722 wine_fn_config_makefile dlls/powrprof enable_powrprof
21723 wine_fn_config_makefile dlls/printui enable_printui
21724 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21725 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21726 wine_fn_config_makefile dlls/propsys enable_propsys
21727 wine_fn_config_makefile dlls/propsys/tests enable_tests
21728 wine_fn_config_makefile dlls/psapi enable_psapi
21729 wine_fn_config_makefile dlls/psapi/tests enable_tests
21730 wine_fn_config_makefile dlls/pstorec enable_pstorec
21731 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21732 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21733 wine_fn_config_makefile dlls/qasf enable_qasf
21734 wine_fn_config_makefile dlls/qasf/tests enable_tests
21735 wine_fn_config_makefile dlls/qcap enable_qcap
21736 wine_fn_config_makefile dlls/qcap/tests enable_tests
21737 wine_fn_config_makefile dlls/qdvd enable_qdvd
21738 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21739 wine_fn_config_makefile dlls/qedit enable_qedit
21740 wine_fn_config_makefile dlls/qedit/tests enable_tests
21741 wine_fn_config_makefile dlls/qmgr enable_qmgr
21742 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21743 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21744 wine_fn_config_makefile dlls/quartz enable_quartz
21745 wine_fn_config_makefile dlls/quartz/tests enable_tests
21746 wine_fn_config_makefile dlls/query enable_query
21747 wine_fn_config_makefile dlls/qwave enable_qwave
21748 wine_fn_config_makefile dlls/qwave/tests enable_tests
21749 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21750 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21751 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21752 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21753 wine_fn_config_makefile dlls/regapi enable_regapi
21754 wine_fn_config_makefile dlls/resutils enable_resutils
21755 wine_fn_config_makefile dlls/riched20 enable_riched20
21756 wine_fn_config_makefile dlls/riched20/tests enable_tests
21757 wine_fn_config_makefile dlls/riched32 enable_riched32
21758 wine_fn_config_makefile dlls/riched32/tests enable_tests
21759 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21760 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21761 wine_fn_config_makefile dlls/rsabase enable_rsabase
21762 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21763 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21764 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21765 wine_fn_config_makefile dlls/rtutils enable_rtutils
21766 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21767 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21768 wine_fn_config_makefile dlls/samlib enable_samlib
21769 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21770 wine_fn_config_makefile dlls/sapi enable_sapi
21771 wine_fn_config_makefile dlls/sapi/tests enable_tests
21772 wine_fn_config_makefile dlls/sas enable_sas
21773 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21774 wine_fn_config_makefile dlls/sccbase enable_sccbase
21775 wine_fn_config_makefile dlls/schannel enable_schannel
21776 wine_fn_config_makefile dlls/schannel/tests enable_tests
21777 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21778 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21779 wine_fn_config_makefile dlls/scrobj enable_scrobj
21780 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21781 wine_fn_config_makefile dlls/scrrun enable_scrrun
21782 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21783 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21784 wine_fn_config_makefile dlls/sechost enable_sechost
21785 wine_fn_config_makefile dlls/secur32 enable_secur32
21786 wine_fn_config_makefile dlls/secur32/tests enable_tests
21787 wine_fn_config_makefile dlls/security enable_security
21788 wine_fn_config_makefile dlls/sensapi enable_sensapi
21789 wine_fn_config_makefile dlls/serialui enable_serialui
21790 wine_fn_config_makefile dlls/serialui/tests enable_tests
21791 wine_fn_config_makefile dlls/setupapi enable_setupapi
21792 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21793 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21794 wine_fn_config_makefile dlls/sfc enable_sfc
21795 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21796 wine_fn_config_makefile dlls/shcore enable_shcore
21797 wine_fn_config_makefile dlls/shcore/tests enable_tests
21798 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21799 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21800 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21801 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21802 wine_fn_config_makefile dlls/shell32 enable_shell32
21803 wine_fn_config_makefile dlls/shell32/tests enable_tests
21804 wine_fn_config_makefile dlls/shfolder enable_shfolder
21805 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21806 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21807 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21808 wine_fn_config_makefile dlls/slc enable_slc
21809 wine_fn_config_makefile dlls/slc/tests enable_tests
21810 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21811 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21812 wine_fn_config_makefile dlls/softpub enable_softpub
21813 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21814 wine_fn_config_makefile dlls/spoolss enable_spoolss
21815 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21816 wine_fn_config_makefile dlls/sppc enable_sppc
21817 wine_fn_config_makefile dlls/srclient enable_srclient
21818 wine_fn_config_makefile dlls/srvcli enable_srvcli
21819 wine_fn_config_makefile dlls/sspicli enable_sspicli
21820 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21821 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21822 wine_fn_config_makefile dlls/sti enable_sti
21823 wine_fn_config_makefile dlls/sti/tests enable_tests
21824 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21825 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21826 wine_fn_config_makefile dlls/strmbase enable_strmbase
21827 wine_fn_config_makefile dlls/strmdll enable_strmdll
21828 wine_fn_config_makefile dlls/svrapi enable_svrapi
21829 wine_fn_config_makefile dlls/sxs enable_sxs
21830 wine_fn_config_makefile dlls/sxs/tests enable_tests
21831 wine_fn_config_makefile dlls/system.drv16 enable_win16
21832 wine_fn_config_makefile dlls/t2embed enable_t2embed
21833 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21834 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21835 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21836 wine_fn_config_makefile dlls/taskschd enable_taskschd
21837 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21838 wine_fn_config_makefile dlls/tbs enable_tbs
21839 wine_fn_config_makefile dlls/tdh enable_tdh
21840 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21841 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21842 wine_fn_config_makefile dlls/traffic enable_traffic
21843 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21844 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21845 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21846 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21847 wine_fn_config_makefile dlls/tzres enable_tzres
21848 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21849 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21850 wine_fn_config_makefile dlls/uianimation enable_uianimation
21851 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21852 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21853 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21854 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21855 wine_fn_config_makefile dlls/unicows enable_unicows
21856 wine_fn_config_makefile dlls/updspapi enable_updspapi
21857 wine_fn_config_makefile dlls/url enable_url
21858 wine_fn_config_makefile dlls/urlmon enable_urlmon
21859 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21860 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21861 wine_fn_config_makefile dlls/user.exe16 enable_win16
21862 wine_fn_config_makefile dlls/user32 enable_user32
21863 wine_fn_config_makefile dlls/user32/tests enable_tests
21864 wine_fn_config_makefile dlls/userenv enable_userenv
21865 wine_fn_config_makefile dlls/userenv/tests enable_tests
21866 wine_fn_config_makefile dlls/usp10 enable_usp10
21867 wine_fn_config_makefile dlls/usp10/tests enable_tests
21868 wine_fn_config_makefile dlls/utildll enable_utildll
21869 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21870 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21871 wine_fn_config_makefile dlls/vbscript enable_vbscript
21872 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21873 wine_fn_config_makefile dlls/vcomp enable_vcomp
21874 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21875 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21876 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21877 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21878 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21879 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21880 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21881 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21882 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21883 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21884 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21885 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21886 wine_fn_config_makefile dlls/version enable_version
21887 wine_fn_config_makefile dlls/version/tests enable_tests
21888 wine_fn_config_makefile dlls/vga enable_vga
21889 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21890 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21891 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21892 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21893 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21894 wine_fn_config_makefile dlls/vssapi enable_vssapi
21895 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21896 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21897 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21898 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21899 wine_fn_config_makefile dlls/w32skrnl enable_win16
21900 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21901 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21902 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21903 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21904 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21905 wine_fn_config_makefile dlls/wdscore enable_wdscore
21906 wine_fn_config_makefile dlls/webservices enable_webservices
21907 wine_fn_config_makefile dlls/webservices/tests enable_tests
21908 wine_fn_config_makefile dlls/websocket enable_websocket
21909 wine_fn_config_makefile dlls/wer enable_wer
21910 wine_fn_config_makefile dlls/wer/tests enable_tests
21911 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21912 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21913 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21914 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21915 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21916 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21917 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21918 wine_fn_config_makefile dlls/win32u enable_win32u
21919 wine_fn_config_makefile dlls/win32u/tests enable_tests
21920 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21921 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21922 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21923 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21924 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21925 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21926 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21927 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21928 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21929 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21930 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21931 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21932 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21933 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21934 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21935 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21936 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21937 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21938 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21939 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21940 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21941 wine_fn_config_makefile dlls/wined3d enable_wined3d
21942 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21943 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21944 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21945 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21946 wine_fn_config_makefile dlls/winemapi enable_winemapi
21947 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21948 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21949 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21950 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21951 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21952 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21953 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21954 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21955 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21956 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21957 wine_fn_config_makefile dlls/wing32 enable_wing32
21958 wine_fn_config_makefile dlls/winhttp enable_winhttp
21959 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21960 wine_fn_config_makefile dlls/wininet enable_wininet
21961 wine_fn_config_makefile dlls/wininet/tests enable_tests
21962 wine_fn_config_makefile dlls/winmm enable_winmm
21963 wine_fn_config_makefile dlls/winmm/tests enable_tests
21964 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21965 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21966 wine_fn_config_makefile dlls/winscard enable_winscard
21967 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21968 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21969 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21970 wine_fn_config_makefile dlls/winsta enable_winsta
21971 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21972 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21973 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21974 wine_fn_config_makefile dlls/wintrust enable_wintrust
21975 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21976 wine_fn_config_makefile dlls/winusb enable_winusb
21977 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21978 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21979 wine_fn_config_makefile dlls/wlanui enable_wlanui
21980 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21981 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21982 wine_fn_config_makefile dlls/wmasf enable_wmasf
21983 wine_fn_config_makefile dlls/wmi enable_wmi
21984 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21985 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21986 wine_fn_config_makefile dlls/wmp enable_wmp
21987 wine_fn_config_makefile dlls/wmp/tests enable_tests
21988 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21989 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21990 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21991 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21992 wine_fn_config_makefile dlls/wow32 enable_win16
21993 wine_fn_config_makefile dlls/wow64 enable_wow64
21994 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21995 wine_fn_config_makefile dlls/wow64win enable_wow64win
21996 wine_fn_config_makefile dlls/wpc enable_wpc
21997 wine_fn_config_makefile dlls/wpc/tests enable_tests
21998 wine_fn_config_makefile dlls/wpcap enable_wpcap
21999 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22000 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22001 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22002 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22003 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22004 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22005 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22006 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22007 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22008 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22009 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22010 wine_fn_config_makefile dlls/wuapi enable_wuapi
22011 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22012 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22013 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22014 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22015 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22016 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22017 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22018 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22019 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22020 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22021 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22022 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22023 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22024 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22025 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22026 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22027 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22028 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22029 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22030 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22031 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22032 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22033 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22034 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22035 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22036 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22037 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22038 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22039 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22040 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22041 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22042 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22043 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22044 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22045 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22046 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22047 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22048 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22049 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22050 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22051 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22052 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22053 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22054 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22055 wine_fn_config_makefile dlls/xmllite enable_xmllite
22056 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22057 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22058 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22059 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22060 wine_fn_config_makefile fonts enable_fonts
22061 wine_fn_config_makefile include enable_include
22062 wine_fn_config_makefile libs/adsiid enable_adsiid
22063 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22064 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22065 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22066 wine_fn_config_makefile libs/dxguid enable_dxguid
22067 wine_fn_config_makefile libs/faudio enable_faudio
22068 wine_fn_config_makefile libs/gsm enable_gsm
22069 wine_fn_config_makefile libs/jpeg enable_jpeg
22070 wine_fn_config_makefile libs/jxr enable_jxr
22071 wine_fn_config_makefile libs/lcms2 enable_lcms2
22072 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22073 wine_fn_config_makefile libs/mpg123 enable_mpg123
22074 wine_fn_config_makefile libs/png enable_png
22075 wine_fn_config_makefile libs/strmiids enable_strmiids
22076 wine_fn_config_makefile libs/tiff enable_tiff
22077 wine_fn_config_makefile libs/uuid enable_uuid
22078 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22079 wine_fn_config_makefile libs/wine enable_wine
22080 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22081 wine_fn_config_makefile libs/xml2 enable_xml2
22082 wine_fn_config_makefile libs/xslt enable_xslt
22083 wine_fn_config_makefile libs/zlib enable_zlib
22084 wine_fn_config_makefile loader enable_loader
22085 wine_fn_config_makefile nls enable_nls
22086 wine_fn_config_makefile po enable_po
22087 wine_fn_config_makefile programs/arp enable_arp
22088 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22089 wine_fn_config_makefile programs/attrib enable_attrib
22090 wine_fn_config_makefile programs/cabarc enable_cabarc
22091 wine_fn_config_makefile programs/cacls enable_cacls
22092 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22093 wine_fn_config_makefile programs/clock enable_clock
22094 wine_fn_config_makefile programs/cmd enable_cmd
22095 wine_fn_config_makefile programs/cmd/tests enable_tests
22096 wine_fn_config_makefile programs/conhost enable_conhost
22097 wine_fn_config_makefile programs/conhost/tests enable_tests
22098 wine_fn_config_makefile programs/control enable_control
22099 wine_fn_config_makefile programs/cscript enable_cscript
22100 wine_fn_config_makefile programs/dism enable_dism
22101 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22102 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22103 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22104 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22105 wine_fn_config_makefile programs/eject enable_eject
22106 wine_fn_config_makefile programs/expand enable_expand
22107 wine_fn_config_makefile programs/explorer enable_explorer
22108 wine_fn_config_makefile programs/extrac32 enable_extrac32
22109 wine_fn_config_makefile programs/fc enable_fc
22110 wine_fn_config_makefile programs/find enable_find
22111 wine_fn_config_makefile programs/find/tests enable_tests
22112 wine_fn_config_makefile programs/findstr enable_findstr
22113 wine_fn_config_makefile programs/fsutil enable_fsutil
22114 wine_fn_config_makefile programs/fsutil/tests enable_tests
22115 wine_fn_config_makefile programs/hh enable_hh
22116 wine_fn_config_makefile programs/hostname enable_hostname
22117 wine_fn_config_makefile programs/icacls enable_icacls
22118 wine_fn_config_makefile programs/icinfo enable_icinfo
22119 wine_fn_config_makefile programs/iexplore enable_iexplore
22120 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22121 wine_fn_config_makefile programs/lodctr enable_lodctr
22122 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22123 wine_fn_config_makefile programs/mshta enable_mshta
22124 wine_fn_config_makefile programs/msidb enable_msidb
22125 wine_fn_config_makefile programs/msiexec enable_msiexec
22126 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22127 wine_fn_config_makefile programs/net enable_net
22128 wine_fn_config_makefile programs/netsh enable_netsh
22129 wine_fn_config_makefile programs/netstat enable_netstat
22130 wine_fn_config_makefile programs/ngen enable_ngen
22131 wine_fn_config_makefile programs/notepad enable_notepad
22132 wine_fn_config_makefile programs/oleview enable_oleview
22133 wine_fn_config_makefile programs/ping enable_ping
22134 wine_fn_config_makefile programs/plugplay enable_plugplay
22135 wine_fn_config_makefile programs/powershell enable_powershell
22136 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22137 wine_fn_config_makefile programs/progman enable_progman
22138 wine_fn_config_makefile programs/reg enable_reg
22139 wine_fn_config_makefile programs/reg/tests enable_tests
22140 wine_fn_config_makefile programs/regasm enable_regasm
22141 wine_fn_config_makefile programs/regedit enable_regedit
22142 wine_fn_config_makefile programs/regedit/tests enable_tests
22143 wine_fn_config_makefile programs/regini enable_regini
22144 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22145 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22146 wine_fn_config_makefile programs/robocopy enable_robocopy
22147 wine_fn_config_makefile programs/rpcss enable_rpcss
22148 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22149 wine_fn_config_makefile programs/rundll32 enable_rundll32
22150 wine_fn_config_makefile programs/sc enable_sc
22151 wine_fn_config_makefile programs/schtasks enable_schtasks
22152 wine_fn_config_makefile programs/schtasks/tests enable_tests
22153 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22154 wine_fn_config_makefile programs/secedit enable_secedit
22155 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22156 wine_fn_config_makefile programs/services enable_services
22157 wine_fn_config_makefile programs/services/tests enable_tests
22158 wine_fn_config_makefile programs/shutdown enable_shutdown
22159 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22160 wine_fn_config_makefile programs/start enable_start
22161 wine_fn_config_makefile programs/subst enable_subst
22162 wine_fn_config_makefile programs/svchost enable_svchost
22163 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22164 wine_fn_config_makefile programs/taskkill enable_taskkill
22165 wine_fn_config_makefile programs/tasklist enable_tasklist
22166 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22167 wine_fn_config_makefile programs/termsv enable_termsv
22168 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22169 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22170 wine_fn_config_makefile programs/view enable_view
22171 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22172 wine_fn_config_makefile programs/where enable_where
22173 wine_fn_config_makefile programs/whoami enable_whoami
22174 wine_fn_config_makefile programs/wineboot enable_wineboot
22175 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22176 wine_fn_config_makefile programs/winecfg enable_winecfg
22177 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22178 wine_fn_config_makefile programs/winedbg enable_winedbg
22179 wine_fn_config_makefile programs/winedevice enable_winedevice
22180 wine_fn_config_makefile programs/winefile enable_winefile
22181 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22182 wine_fn_config_makefile programs/winemine enable_winemine
22183 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22184 wine_fn_config_makefile programs/winepath enable_winepath
22185 wine_fn_config_makefile programs/winetest enable_winetest
22186 wine_fn_config_makefile programs/winevdm enable_win16
22187 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22188 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22189 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22190 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22191 wine_fn_config_makefile programs/winver enable_winver
22192 wine_fn_config_makefile programs/wmic enable_wmic
22193 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22194 wine_fn_config_makefile programs/wordpad enable_wordpad
22195 wine_fn_config_makefile programs/write enable_write
22196 wine_fn_config_makefile programs/wscript enable_wscript
22197 wine_fn_config_makefile programs/wscript/tests enable_tests
22198 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22199 wine_fn_config_makefile programs/wusa enable_wusa
22200 wine_fn_config_makefile programs/xcopy enable_xcopy
22201 wine_fn_config_makefile programs/xcopy/tests enable_tests
22202 wine_fn_config_makefile server enable_server
22203 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22204 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22205 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22206 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22207 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22208 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22209 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22210 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22211 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22214 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22215 wine_fn_append_file CONFIGURE_TARGETS "tags"
22216 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22217 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22218 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22219 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22220 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22221 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22223 if test "x$enable_tools" != xno
22224 then
22225 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22226 ac_config_commands="$ac_config_commands tools/makedep"
22230 ac_config_commands="$ac_config_commands Makefile"
22234 SHELL=/bin/sh
22237 wine_fn_append_rule "all: wine
22238 @echo \"Wine build complete.\"
22239 .INIT: Makefile
22240 .MAKEFILEDEPS:
22241 all: Makefile
22242 Makefile: config.status \$(MAKEDEP)
22243 @./config.status Makefile
22244 depend: \$(MAKEDEP)
22245 \$(MAKEDEP)$makedep_flags"
22248 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22249 @./config.status --recheck
22250 include/config.h: include/stamp-h
22251 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22252 @./config.status include/config.h include/stamp-h"
22254 if test "x$enable_maintainer_mode" = xyes
22255 then
22256 wine_fn_append_rule "configure: configure.ac aclocal.m4
22257 autoconf --warnings=all
22258 include/config.h.in: include/stamp-h.in
22259 include/stamp-h.in: configure.ac aclocal.m4
22260 autoheader --warnings=all
22261 @echo timestamp > \$@"
22264 if test "x$enable_tools" != xno
22265 then
22266 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22267 @./config.status tools/makedep
22268 Makefile: tools/makedep$ac_exeext"
22269 else
22270 wine_fn_append_rule "\$(MAKEDEP):
22271 @echo \"You need to run make in $toolsdir first\" && false"
22275 if test -n "$with_wine64"
22276 then
22277 case "$with_wine64" in
22278 /*) reldir="" ;;
22279 *) reldir="../" ;;
22280 esac
22281 rm -f fonts server 2>/dev/null
22282 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22283 loader/wine64 loader/wine64-preloader:
22284 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22285 $with_wine64/loader/wine:
22286 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22287 $with_wine64/loader/wine-preloader:
22288 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22289 clean::
22290 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22291 else
22292 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22293 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22294 fonts \
22295 loader/wine.inf \
22296 nls \
22297 programs/msidb/msidb \
22298 programs/msiexec/msiexec \
22299 programs/notepad/notepad \
22300 programs/regedit/regedit \
22301 programs/regsvr32/regsvr32 \
22302 programs/wineboot/wineboot \
22303 programs/winecfg/winecfg \
22304 programs/wineconsole/wineconsole \
22305 programs/winedbg/winedbg \
22306 programs/winefile/winefile \
22307 programs/winemine/winemine \
22308 programs/winepath/winepath \
22309 server/wineserver"
22311 case $host_os in
22312 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22313 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22314 esac
22318 wine_fn_append_rule "distclean:: clean
22319 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22322 wine_fn_append_rule "install-manpages:: manpages
22323 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"
22326 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22327 @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)
22328 programs/winetest/build.rc: dummy
22329 @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)
22330 programs/winetest/build.nfo:
22331 @-\$(CC) -v 2>\$@
22332 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
22333 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22334 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22337 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22339 wine_fn_append_rule "TAGS etags:
22340 rm -f TAGS
22341 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22342 tags ctags:
22343 rm -f tags
22344 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22345 dummy:
22346 .PHONY: depend dummy install-manpages"
22348 printf "%s\n" " done" >&6
22349 cat >confcache <<\_ACEOF
22350 # This file is a shell script that caches the results of configure
22351 # tests run on this system so they can be shared between configure
22352 # scripts and configure runs, see configure's option --config-cache.
22353 # It is not useful on other systems. If it contains results you don't
22354 # want to keep, you may remove or edit it.
22356 # config.status only pays attention to the cache file if you give it
22357 # the --recheck option to rerun configure.
22359 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22360 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22361 # following values.
22363 _ACEOF
22365 # The following way of writing the cache mishandles newlines in values,
22366 # but we know of no workaround that is simple, portable, and efficient.
22367 # So, we kill variables containing newlines.
22368 # Ultrix sh set writes to stderr and can't be redirected directly,
22369 # and sets the high bit in the cache file unless we assign to the vars.
22371 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22372 eval ac_val=\$$ac_var
22373 case $ac_val in #(
22374 *${as_nl}*)
22375 case $ac_var in #(
22376 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22377 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22378 esac
22379 case $ac_var in #(
22380 _ | IFS | as_nl) ;; #(
22381 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22382 *) { eval $ac_var=; unset $ac_var;} ;;
22383 esac ;;
22384 esac
22385 done
22387 (set) 2>&1 |
22388 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22389 *${as_nl}ac_space=\ *)
22390 # `set' does not quote correctly, so add quotes: double-quote
22391 # substitution turns \\\\ into \\, and sed turns \\ into \.
22392 sed -n \
22393 "s/'/'\\\\''/g;
22394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22395 ;; #(
22397 # `set' quotes correctly as required by POSIX, so do not add quotes.
22398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22400 esac |
22401 sort
22403 sed '
22404 /^ac_cv_env_/b end
22405 t clear
22406 :clear
22407 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22408 t end
22409 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22410 :end' >>confcache
22411 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22412 if test -w "$cache_file"; then
22413 if test "x$cache_file" != "x/dev/null"; then
22414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22415 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22416 if test ! -f "$cache_file" || test -h "$cache_file"; then
22417 cat confcache >"$cache_file"
22418 else
22419 case $cache_file in #(
22420 */* | ?:*)
22421 mv -f confcache "$cache_file"$$ &&
22422 mv -f "$cache_file"$$ "$cache_file" ;; #(
22424 mv -f confcache "$cache_file" ;;
22425 esac
22428 else
22429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22430 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22433 rm -f confcache
22435 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22436 # Let make expand exec_prefix.
22437 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22439 DEFS=-DHAVE_CONFIG_H
22441 ac_libobjs=
22442 ac_ltlibobjs=
22444 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22445 # 1. Remove the extension, and $U if already installed.
22446 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22447 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22448 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22449 # will be set to the directory where LIBOBJS objects are built.
22450 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22451 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22452 done
22453 LIBOBJS=$ac_libobjs
22455 LTLIBOBJS=$ac_ltlibobjs
22459 : "${CONFIG_STATUS=./config.status}"
22460 ac_write_fail=0
22461 ac_clean_files_save=$ac_clean_files
22462 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22464 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22465 as_write_fail=0
22466 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22467 #! $SHELL
22468 # Generated by $as_me.
22469 # Run this file to recreate the current configuration.
22470 # Compiler output produced by configure, useful for debugging
22471 # configure, is in config.log if it exists.
22473 debug=false
22474 ac_cs_recheck=false
22475 ac_cs_silent=false
22477 SHELL=\${CONFIG_SHELL-$SHELL}
22478 export SHELL
22479 _ASEOF
22480 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22481 ## -------------------- ##
22482 ## M4sh Initialization. ##
22483 ## -------------------- ##
22485 # Be more Bourne compatible
22486 DUALCASE=1; export DUALCASE # for MKS sh
22487 as_nop=:
22488 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22489 then :
22490 emulate sh
22491 NULLCMD=:
22492 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22493 # is contrary to our usage. Disable this feature.
22494 alias -g '${1+"$@"}'='"$@"'
22495 setopt NO_GLOB_SUBST
22496 else $as_nop
22497 case `(set -o) 2>/dev/null` in #(
22498 *posix*) :
22499 set -o posix ;; #(
22500 *) :
22502 esac
22507 # Reset variables that may have inherited troublesome values from
22508 # the environment.
22510 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22511 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22512 # side effect of setting IFS to empty, thus disabling word splitting.)
22513 # Quoting is to prevent editors from complaining about space-tab.
22514 as_nl='
22516 export as_nl
22517 IFS=" "" $as_nl"
22519 PS1='$ '
22520 PS2='> '
22521 PS4='+ '
22523 # Ensure predictable behavior from utilities with locale-dependent output.
22524 LC_ALL=C
22525 export LC_ALL
22526 LANGUAGE=C
22527 export LANGUAGE
22529 # We cannot yet rely on "unset" to work, but we need these variables
22530 # to be unset--not just set to an empty or harmless value--now, to
22531 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22532 # also avoids known problems related to "unset" and subshell syntax
22533 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22534 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22535 do eval test \${$as_var+y} \
22536 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22537 done
22539 # Ensure that fds 0, 1, and 2 are open.
22540 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22541 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22542 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22544 # The user is always right.
22545 if ${PATH_SEPARATOR+false} :; then
22546 PATH_SEPARATOR=:
22547 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22548 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22549 PATH_SEPARATOR=';'
22554 # Find who we are. Look in the path if we contain no directory separator.
22555 as_myself=
22556 case $0 in #((
22557 *[\\/]* ) as_myself=$0 ;;
22558 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22559 for as_dir in $PATH
22561 IFS=$as_save_IFS
22562 case $as_dir in #(((
22563 '') as_dir=./ ;;
22564 */) ;;
22565 *) as_dir=$as_dir/ ;;
22566 esac
22567 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22568 done
22569 IFS=$as_save_IFS
22572 esac
22573 # We did not find ourselves, most probably we were run as `sh COMMAND'
22574 # in which case we are not to be found in the path.
22575 if test "x$as_myself" = x; then
22576 as_myself=$0
22578 if test ! -f "$as_myself"; then
22579 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22580 exit 1
22585 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22586 # ----------------------------------------
22587 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22588 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22589 # script with STATUS, using 1 if that was 0.
22590 as_fn_error ()
22592 as_status=$1; test $as_status -eq 0 && as_status=1
22593 if test "$4"; then
22594 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22597 printf "%s\n" "$as_me: error: $2" >&2
22598 as_fn_exit $as_status
22599 } # as_fn_error
22603 # as_fn_set_status STATUS
22604 # -----------------------
22605 # Set $? to STATUS, without forking.
22606 as_fn_set_status ()
22608 return $1
22609 } # as_fn_set_status
22611 # as_fn_exit STATUS
22612 # -----------------
22613 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22614 as_fn_exit ()
22616 set +e
22617 as_fn_set_status $1
22618 exit $1
22619 } # as_fn_exit
22621 # as_fn_unset VAR
22622 # ---------------
22623 # Portably unset VAR.
22624 as_fn_unset ()
22626 { eval $1=; unset $1;}
22628 as_unset=as_fn_unset
22630 # as_fn_append VAR VALUE
22631 # ----------------------
22632 # Append the text in VALUE to the end of the definition contained in VAR. Take
22633 # advantage of any shell optimizations that allow amortized linear growth over
22634 # repeated appends, instead of the typical quadratic growth present in naive
22635 # implementations.
22636 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22637 then :
22638 eval 'as_fn_append ()
22640 eval $1+=\$2
22642 else $as_nop
22643 as_fn_append ()
22645 eval $1=\$$1\$2
22647 fi # as_fn_append
22649 # as_fn_arith ARG...
22650 # ------------------
22651 # Perform arithmetic evaluation on the ARGs, and store the result in the
22652 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22653 # must be portable across $(()) and expr.
22654 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22655 then :
22656 eval 'as_fn_arith ()
22658 as_val=$(( $* ))
22660 else $as_nop
22661 as_fn_arith ()
22663 as_val=`expr "$@" || test $? -eq 1`
22665 fi # as_fn_arith
22668 if expr a : '\(a\)' >/dev/null 2>&1 &&
22669 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22670 as_expr=expr
22671 else
22672 as_expr=false
22675 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22676 as_basename=basename
22677 else
22678 as_basename=false
22681 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22682 as_dirname=dirname
22683 else
22684 as_dirname=false
22687 as_me=`$as_basename -- "$0" ||
22688 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22689 X"$0" : 'X\(//\)$' \| \
22690 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22691 printf "%s\n" X/"$0" |
22692 sed '/^.*\/\([^/][^/]*\)\/*$/{
22693 s//\1/
22696 /^X\/\(\/\/\)$/{
22697 s//\1/
22700 /^X\/\(\/\).*/{
22701 s//\1/
22704 s/.*/./; q'`
22706 # Avoid depending upon Character Ranges.
22707 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22708 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22709 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22710 as_cr_digits='0123456789'
22711 as_cr_alnum=$as_cr_Letters$as_cr_digits
22714 # Determine whether it's possible to make 'echo' print without a newline.
22715 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22716 # for compatibility with existing Makefiles.
22717 ECHO_C= ECHO_N= ECHO_T=
22718 case `echo -n x` in #(((((
22719 -n*)
22720 case `echo 'xy\c'` in
22721 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22722 xy) ECHO_C='\c';;
22723 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22724 ECHO_T=' ';;
22725 esac;;
22727 ECHO_N='-n';;
22728 esac
22730 # For backward compatibility with old third-party macros, we provide
22731 # the shell variables $as_echo and $as_echo_n. New code should use
22732 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22733 as_echo='printf %s\n'
22734 as_echo_n='printf %s'
22736 rm -f conf$$ conf$$.exe conf$$.file
22737 if test -d conf$$.dir; then
22738 rm -f conf$$.dir/conf$$.file
22739 else
22740 rm -f conf$$.dir
22741 mkdir conf$$.dir 2>/dev/null
22743 if (echo >conf$$.file) 2>/dev/null; then
22744 if ln -s conf$$.file conf$$ 2>/dev/null; then
22745 as_ln_s='ln -s'
22746 # ... but there are two gotchas:
22747 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22748 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22749 # In both cases, we have to default to `cp -pR'.
22750 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22751 as_ln_s='cp -pR'
22752 elif ln conf$$.file conf$$ 2>/dev/null; then
22753 as_ln_s=ln
22754 else
22755 as_ln_s='cp -pR'
22757 else
22758 as_ln_s='cp -pR'
22760 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22761 rmdir conf$$.dir 2>/dev/null
22764 # as_fn_mkdir_p
22765 # -------------
22766 # Create "$as_dir" as a directory, including parents if necessary.
22767 as_fn_mkdir_p ()
22770 case $as_dir in #(
22771 -*) as_dir=./$as_dir;;
22772 esac
22773 test -d "$as_dir" || eval $as_mkdir_p || {
22774 as_dirs=
22775 while :; do
22776 case $as_dir in #(
22777 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22778 *) as_qdir=$as_dir;;
22779 esac
22780 as_dirs="'$as_qdir' $as_dirs"
22781 as_dir=`$as_dirname -- "$as_dir" ||
22782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22783 X"$as_dir" : 'X\(//\)[^/]' \| \
22784 X"$as_dir" : 'X\(//\)$' \| \
22785 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22786 printf "%s\n" X"$as_dir" |
22787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22788 s//\1/
22791 /^X\(\/\/\)[^/].*/{
22792 s//\1/
22795 /^X\(\/\/\)$/{
22796 s//\1/
22799 /^X\(\/\).*/{
22800 s//\1/
22803 s/.*/./; q'`
22804 test -d "$as_dir" && break
22805 done
22806 test -z "$as_dirs" || eval "mkdir $as_dirs"
22807 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22810 } # as_fn_mkdir_p
22811 if mkdir -p . 2>/dev/null; then
22812 as_mkdir_p='mkdir -p "$as_dir"'
22813 else
22814 test -d ./-p && rmdir ./-p
22815 as_mkdir_p=false
22819 # as_fn_executable_p FILE
22820 # -----------------------
22821 # Test if FILE is an executable regular file.
22822 as_fn_executable_p ()
22824 test -f "$1" && test -x "$1"
22825 } # as_fn_executable_p
22826 as_test_x='test -x'
22827 as_executable_p=as_fn_executable_p
22829 # Sed expression to map a string onto a valid CPP name.
22830 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22832 # Sed expression to map a string onto a valid variable name.
22833 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22836 exec 6>&1
22837 ## ----------------------------------- ##
22838 ## Main body of $CONFIG_STATUS script. ##
22839 ## ----------------------------------- ##
22840 _ASEOF
22841 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22844 # Save the log message, to keep $0 and so on meaningful, and to
22845 # report actual input values of CONFIG_FILES etc. instead of their
22846 # values after options handling.
22847 ac_log="
22848 This file was extended by Wine $as_me 6.22, which was
22849 generated by GNU Autoconf 2.71. Invocation command line was
22851 CONFIG_FILES = $CONFIG_FILES
22852 CONFIG_HEADERS = $CONFIG_HEADERS
22853 CONFIG_LINKS = $CONFIG_LINKS
22854 CONFIG_COMMANDS = $CONFIG_COMMANDS
22855 $ $0 $@
22857 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22860 _ACEOF
22863 case $ac_config_headers in *"
22864 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22865 esac
22868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22869 # Files that config.status was made for.
22870 config_headers="$ac_config_headers"
22871 config_links="$ac_config_links"
22872 config_commands="$ac_config_commands"
22874 _ACEOF
22876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22877 ac_cs_usage="\
22878 \`$as_me' instantiates files and other configuration actions
22879 from templates according to the current configuration. Unless the files
22880 and actions are specified as TAGs, all are instantiated by default.
22882 Usage: $0 [OPTION]... [TAG]...
22884 -h, --help print this help, then exit
22885 -V, --version print version number and configuration settings, then exit
22886 --config print configuration, then exit
22887 -q, --quiet, --silent
22888 do not print progress messages
22889 -d, --debug don't remove temporary files
22890 --recheck update $as_me by reconfiguring in the same conditions
22891 --header=FILE[:TEMPLATE]
22892 instantiate the configuration header FILE
22894 Configuration headers:
22895 $config_headers
22897 Configuration links:
22898 $config_links
22900 Configuration commands:
22901 $config_commands
22903 Report bugs to <wine-devel@winehq.org>.
22904 Wine home page: <https://www.winehq.org>."
22906 _ACEOF
22907 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22908 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22910 ac_cs_config='$ac_cs_config_escaped'
22911 ac_cs_version="\\
22912 Wine config.status 6.22
22913 configured by $0, generated by GNU Autoconf 2.71,
22914 with options \\"\$ac_cs_config\\"
22916 Copyright (C) 2021 Free Software Foundation, Inc.
22917 This config.status script is free software; the Free Software Foundation
22918 gives unlimited permission to copy, distribute and modify it."
22920 ac_pwd='$ac_pwd'
22921 srcdir='$srcdir'
22922 test -n "\$AWK" || AWK=awk
22923 _ACEOF
22925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22926 # The default lists apply if the user does not specify any file.
22927 ac_need_defaults=:
22928 while test $# != 0
22930 case $1 in
22931 --*=?*)
22932 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22933 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22934 ac_shift=:
22936 --*=)
22937 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22938 ac_optarg=
22939 ac_shift=:
22942 ac_option=$1
22943 ac_optarg=$2
22944 ac_shift=shift
22946 esac
22948 case $ac_option in
22949 # Handling of the options.
22950 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22951 ac_cs_recheck=: ;;
22952 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22953 printf "%s\n" "$ac_cs_version"; exit ;;
22954 --config | --confi | --conf | --con | --co | --c )
22955 printf "%s\n" "$ac_cs_config"; exit ;;
22956 --debug | --debu | --deb | --de | --d | -d )
22957 debug=: ;;
22958 --header | --heade | --head | --hea )
22959 $ac_shift
22960 case $ac_optarg in
22961 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22962 esac
22963 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22964 ac_need_defaults=false;;
22965 --he | --h)
22966 # Conflict between --help and --header
22967 as_fn_error $? "ambiguous option: \`$1'
22968 Try \`$0 --help' for more information.";;
22969 --help | --hel | -h )
22970 printf "%s\n" "$ac_cs_usage"; exit ;;
22971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22972 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22973 ac_cs_silent=: ;;
22975 # This is an error.
22976 -*) as_fn_error $? "unrecognized option: \`$1'
22977 Try \`$0 --help' for more information." ;;
22979 *) as_fn_append ac_config_targets " $1"
22980 ac_need_defaults=false ;;
22982 esac
22983 shift
22984 done
22986 ac_configure_extra_args=
22988 if $ac_cs_silent; then
22989 exec 6>/dev/null
22990 ac_configure_extra_args="$ac_configure_extra_args --silent"
22993 _ACEOF
22994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22995 if \$ac_cs_recheck; then
22996 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22997 shift
22998 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22999 CONFIG_SHELL='$SHELL'
23000 export CONFIG_SHELL
23001 exec "\$@"
23004 _ACEOF
23005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23006 exec 5>>config.log
23008 echo
23009 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23010 ## Running $as_me. ##
23011 _ASBOX
23012 printf "%s\n" "$ac_log"
23013 } >&5
23015 _ACEOF
23016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23018 # INIT-COMMANDS
23020 wine_fn_output_makedep ()
23022 as_dir=tools; as_fn_mkdir_p
23023 $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
23025 wine_fn_output_makefile ()
23027 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23028 # This Makefile understands the following targets:
23030 # all (default): build wine
23031 # clean: remove all intermediate files
23032 # distclean: also remove all files created by configure
23033 # test: run tests
23034 # testclean: clean test results to force running all tests again
23035 # install-lib: install libraries needed to run applications
23036 # install-dev: install development environment
23037 # install: install everything
23038 # uninstall: uninstall everything
23039 # ctags: create a tags file for vim and others.
23040 # etags: create a TAGS file for Emacs.
23041 # manpages: compile manpages for Wine API
23042 # htmlpages: compile html pages for Wine API
23043 # sgmlpages: compile sgml source for the Wine API Guide
23044 # xmlpages: compile xml source for the Wine API Guide
23046 SHELL = $SHELL
23047 PATH_SEPARATOR = $PATH_SEPARATOR
23048 PACKAGE_NAME = $PACKAGE_NAME
23049 PACKAGE_TARNAME = $PACKAGE_TARNAME
23050 PACKAGE_VERSION = $PACKAGE_VERSION
23051 PACKAGE_STRING = $PACKAGE_STRING
23052 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23053 PACKAGE_URL = $PACKAGE_URL
23054 exec_prefix = $exec_prefix
23055 prefix = $prefix
23056 program_transform_name = $program_transform_name
23057 bindir = $bindir
23058 sbindir = $sbindir
23059 libexecdir = $libexecdir
23060 datarootdir = $datarootdir
23061 datadir = $datadir
23062 sysconfdir = $sysconfdir
23063 sharedstatedir = $sharedstatedir
23064 localstatedir = $localstatedir
23065 runstatedir = $runstatedir
23066 includedir = $includedir
23067 oldincludedir = $oldincludedir
23068 docdir = $docdir
23069 infodir = $infodir
23070 htmldir = $htmldir
23071 dvidir = $dvidir
23072 pdfdir = $pdfdir
23073 psdir = $psdir
23074 libdir = $libdir
23075 localedir = $localedir
23076 mandir = $mandir
23077 DEFS = $DEFS
23078 ECHO_C = $ECHO_C
23079 ECHO_N = $ECHO_N
23080 ECHO_T = $ECHO_T
23081 LIBS = $LIBS
23082 build_alias = $build_alias
23083 host_alias = $host_alias
23084 target_alias = $target_alias
23085 build = $build
23086 build_cpu = $build_cpu
23087 build_vendor = $build_vendor
23088 build_os = $build_os
23089 host = $host
23090 host_cpu = $host_cpu
23091 host_vendor = $host_vendor
23092 host_os = $host_os
23093 dlldir = $dlldir
23094 fontdir = $fontdir
23095 nlsdir = $nlsdir
23096 srcdir = $srcdir
23097 SET_MAKE = $SET_MAKE
23098 CC = $CC
23099 CFLAGS = $CFLAGS
23100 LDFLAGS = $LDFLAGS
23101 CPPFLAGS = $CPPFLAGS
23102 ac_ct_CC = $ac_ct_CC
23103 EXEEXT = $EXEEXT
23104 OBJEXT = $OBJEXT
23105 CXX = $CXX
23106 CXXFLAGS = $CXXFLAGS
23107 ac_ct_CXX = $ac_ct_CXX
23108 CPPBIN = $CPPBIN
23109 LD = $LD
23110 TARGETFLAGS = $TARGETFLAGS
23111 toolsext = $toolsext
23112 toolsdir = $toolsdir
23113 MAKEDEP = $MAKEDEP
23114 RUNTESTFLAGS = $RUNTESTFLAGS
23115 SED_CMD = $SED_CMD
23116 api_manext = $api_manext
23117 FLEX = $FLEX
23118 BISON = $BISON
23119 AR = $AR
23120 ac_ct_AR = $ac_ct_AR
23121 STRIP = $STRIP
23122 RANLIB = $RANLIB
23123 LN_S = $LN_S
23124 GREP = $GREP
23125 EGREP = $EGREP
23126 LDCONFIG = $LDCONFIG
23127 MSGFMT = $MSGFMT
23128 PKG_CONFIG = $PKG_CONFIG
23129 FONTFORGE = $FONTFORGE
23130 RSVG = $RSVG
23131 CONVERT = $CONVERT
23132 ICOTOOL = $ICOTOOL
23133 I386_LIBS = $I386_LIBS
23134 OPENGL_LIBS = $OPENGL_LIBS
23135 DLLFLAGS = $DLLFLAGS
23136 LDDLLFLAGS = $LDDLLFLAGS
23137 LDEXECFLAGS = $LDEXECFLAGS
23138 EXTRACFLAGS = $EXTRACFLAGS
23139 UNIXDLLFLAGS = $UNIXDLLFLAGS
23140 UNIXLDFLAGS = $UNIXLDFLAGS
23141 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23142 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23143 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23144 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23145 LDD = $LDD
23146 OTOOL = $OTOOL
23147 READELF = $READELF
23148 SUBDIRS = $SUBDIRS
23149 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23150 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23151 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23152 DLLTOOL = $DLLTOOL
23153 OBJC = $OBJC
23154 OBJCFLAGS = $OBJCFLAGS
23155 ac_ct_OBJC = $ac_ct_OBJC
23156 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23157 IOKIT_LIBS = $IOKIT_LIBS
23158 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23159 CORESERVICES_LIBS = $CORESERVICES_LIBS
23160 APPKIT_LIBS = $APPKIT_LIBS
23161 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23162 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23163 SECURITY_LIBS = $SECURITY_LIBS
23164 COREAUDIO_LIBS = $COREAUDIO_LIBS
23165 OPENAL_LIBS = $OPENAL_LIBS
23166 OPENCL_LIBS = $OPENCL_LIBS
23167 QUICKTIME_LIBS = $QUICKTIME_LIBS
23168 CARBON_LIBS = $CARBON_LIBS
23169 METAL_LIBS = $METAL_LIBS
23170 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23171 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23172 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23173 PRELINK = $PRELINK
23174 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23175 CROSSTARGET = $CROSSTARGET
23176 CROSSCC = $CROSSCC
23177 CROSSCFLAGS = $CROSSCFLAGS
23178 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23179 CROSSLDFLAGS = $CROSSLDFLAGS
23180 DELAYLOADFLAG = $DELAYLOADFLAG
23181 CROSSDEBUG = $CROSSDEBUG
23182 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23183 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23184 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23185 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23186 GSM_PE_LIBS = $GSM_PE_LIBS
23187 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23188 JPEG_PE_LIBS = $JPEG_PE_LIBS
23189 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23190 JXR_PE_LIBS = $JXR_PE_LIBS
23191 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23192 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23193 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23194 MPG123_PE_LIBS = $MPG123_PE_LIBS
23195 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23196 PNG_PE_LIBS = $PNG_PE_LIBS
23197 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23198 TIFF_PE_LIBS = $TIFF_PE_LIBS
23199 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23200 XML2_PE_LIBS = $XML2_PE_LIBS
23201 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23202 XSLT_PE_LIBS = $XSLT_PE_LIBS
23203 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23204 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23205 PTHREAD_LIBS = $PTHREAD_LIBS
23206 XMKMF = $XMKMF
23207 CPP = $CPP
23208 X_CFLAGS = $X_CFLAGS
23209 X_PRE_LIBS = $X_PRE_LIBS
23210 X_LIBS = $X_LIBS
23211 X_EXTRA_LIBS = $X_EXTRA_LIBS
23212 PCAP_LIBS = $PCAP_LIBS
23213 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23214 INOTIFY_LIBS = $INOTIFY_LIBS
23215 DBUS_CFLAGS = $DBUS_CFLAGS
23216 DBUS_LIBS = $DBUS_LIBS
23217 HAL_CFLAGS = $HAL_CFLAGS
23218 HAL_LIBS = $HAL_LIBS
23219 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23220 GNUTLS_LIBS = $GNUTLS_LIBS
23221 SANE_CFLAGS = $SANE_CFLAGS
23222 SANE_LIBS = $SANE_LIBS
23223 USB_CFLAGS = $USB_CFLAGS
23224 USB_LIBS = $USB_LIBS
23225 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23226 GPHOTO2_LIBS = $GPHOTO2_LIBS
23227 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23228 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23229 RESOLV_LIBS = $RESOLV_LIBS
23230 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23231 FREETYPE_LIBS = $FREETYPE_LIBS
23232 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23233 PULSE_CFLAGS = $PULSE_CFLAGS
23234 PULSE_LIBS = $PULSE_LIBS
23235 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23236 GSTREAMER_LIBS = $GSTREAMER_LIBS
23237 ALSA_LIBS = $ALSA_LIBS
23238 OSS4_CFLAGS = $OSS4_CFLAGS
23239 OSS4_LIBS = $OSS4_LIBS
23240 UDEV_CFLAGS = $UDEV_CFLAGS
23241 UDEV_LIBS = $UDEV_LIBS
23242 UNWIND_CFLAGS = $UNWIND_CFLAGS
23243 UNWIND_LIBS = $UNWIND_LIBS
23244 SDL2_CFLAGS = $SDL2_CFLAGS
23245 SDL2_LIBS = $SDL2_LIBS
23246 CAPI20_CFLAGS = $CAPI20_CFLAGS
23247 CAPI20_LIBS = $CAPI20_LIBS
23248 CUPS_CFLAGS = $CUPS_CFLAGS
23249 CUPS_LIBS = $CUPS_LIBS
23250 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23251 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23252 KRB5_CFLAGS = $KRB5_CFLAGS
23253 KRB5_LIBS = $KRB5_LIBS
23254 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23255 GSSAPI_LIBS = $GSSAPI_LIBS
23256 PROCSTAT_LIBS = $PROCSTAT_LIBS
23257 NETAPI_CFLAGS = $NETAPI_CFLAGS
23258 NETAPI_LIBS = $NETAPI_LIBS
23259 VKD3D_CFLAGS = $VKD3D_CFLAGS
23260 VKD3D_LIBS = $VKD3D_LIBS
23261 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23262 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23263 MSVCRTFLAGS = $MSVCRTFLAGS
23264 RT_LIBS = $RT_LIBS
23265 LDAP_CFLAGS = $LDAP_CFLAGS
23266 LDAP_LIBS = $LDAP_LIBS
23267 TAGSFLAGS = $TAGSFLAGS
23268 LIBOBJS = $LIBOBJS
23269 LTLIBOBJS = $LTLIBOBJS
23270 $SET_MAKE
23271 $wine_rules
23272 _WINE_EOF
23273 as_fn_error $? "could not create Makefile" "$LINENO" 5
23276 _ACEOF
23278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23280 # Handling of arguments.
23281 for ac_config_target in $ac_config_targets
23283 case $ac_config_target in
23284 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23285 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23286 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23287 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23288 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23289 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23291 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23292 esac
23293 done
23296 # If the user did not use the arguments to specify the items to instantiate,
23297 # then the envvar interface is used. Set only those that are not.
23298 # We use the long form for the default assignment because of an extremely
23299 # bizarre bug on SunOS 4.1.3.
23300 if $ac_need_defaults; then
23301 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23302 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23303 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23306 # Have a temporary directory for convenience. Make it in the build tree
23307 # simply because there is no reason against having it here, and in addition,
23308 # creating and moving files from /tmp can sometimes cause problems.
23309 # Hook for its removal unless debugging.
23310 # Note that there is a small window in which the directory will not be cleaned:
23311 # after its creation but before its name has been assigned to `$tmp'.
23312 $debug ||
23314 tmp= ac_tmp=
23315 trap 'exit_status=$?
23316 : "${ac_tmp:=$tmp}"
23317 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23319 trap 'as_fn_exit 1' 1 2 13 15
23321 # Create a (secure) tmp directory for tmp files.
23324 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23325 test -d "$tmp"
23326 } ||
23328 tmp=./conf$$-$RANDOM
23329 (umask 077 && mkdir "$tmp")
23330 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23331 ac_tmp=$tmp
23333 # Set up the scripts for CONFIG_HEADERS section.
23334 # No need to generate them if there are no CONFIG_HEADERS.
23335 # This happens for instance with `./config.status Makefile'.
23336 if test -n "$CONFIG_HEADERS"; then
23337 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23338 BEGIN {
23339 _ACEOF
23341 # Transform confdefs.h into an awk script `defines.awk', embedded as
23342 # here-document in config.status, that substitutes the proper values into
23343 # config.h.in to produce config.h.
23345 # Create a delimiter string that does not exist in confdefs.h, to ease
23346 # handling of long lines.
23347 ac_delim='%!_!# '
23348 for ac_last_try in false false :; do
23349 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23350 if test -z "$ac_tt"; then
23351 break
23352 elif $ac_last_try; then
23353 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23354 else
23355 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23357 done
23359 # For the awk script, D is an array of macro values keyed by name,
23360 # likewise P contains macro parameters if any. Preserve backslash
23361 # newline sequences.
23363 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23364 sed -n '
23365 s/.\{148\}/&'"$ac_delim"'/g
23366 t rset
23367 :rset
23368 s/^[ ]*#[ ]*define[ ][ ]*/ /
23369 t def
23371 :def
23372 s/\\$//
23373 t bsnl
23374 s/["\\]/\\&/g
23375 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23376 D["\1"]=" \3"/p
23377 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23379 :bsnl
23380 s/["\\]/\\&/g
23381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23382 D["\1"]=" \3\\\\\\n"\\/p
23383 t cont
23384 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23385 t cont
23387 :cont
23389 s/.\{148\}/&'"$ac_delim"'/g
23390 t clear
23391 :clear
23392 s/\\$//
23393 t bsnlc
23394 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23396 :bsnlc
23397 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23398 b cont
23399 ' <confdefs.h | sed '
23400 s/'"$ac_delim"'/"\\\
23401 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23404 for (key in D) D_is_set[key] = 1
23405 FS = "\a"
23407 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23408 line = \$ 0
23409 split(line, arg, " ")
23410 if (arg[1] == "#") {
23411 defundef = arg[2]
23412 mac1 = arg[3]
23413 } else {
23414 defundef = substr(arg[1], 2)
23415 mac1 = arg[2]
23417 split(mac1, mac2, "(") #)
23418 macro = mac2[1]
23419 prefix = substr(line, 1, index(line, defundef) - 1)
23420 if (D_is_set[macro]) {
23421 # Preserve the white space surrounding the "#".
23422 print prefix "define", macro P[macro] D[macro]
23423 next
23424 } else {
23425 # Replace #undef with comments. This is necessary, for example,
23426 # in the case of _POSIX_SOURCE, which is predefined and required
23427 # on some systems where configure will not decide to define it.
23428 if (defundef == "undef") {
23429 print "/*", prefix defundef, macro, "*/"
23430 next
23434 { print }
23435 _ACAWK
23436 _ACEOF
23437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23438 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23439 fi # test -n "$CONFIG_HEADERS"
23442 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23443 shift
23444 for ac_tag
23446 case $ac_tag in
23447 :[FHLC]) ac_mode=$ac_tag; continue;;
23448 esac
23449 case $ac_mode$ac_tag in
23450 :[FHL]*:*);;
23451 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23452 :[FH]-) ac_tag=-:-;;
23453 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23454 esac
23455 ac_save_IFS=$IFS
23456 IFS=:
23457 set x $ac_tag
23458 IFS=$ac_save_IFS
23459 shift
23460 ac_file=$1
23461 shift
23463 case $ac_mode in
23464 :L) ac_source=$1;;
23465 :[FH])
23466 ac_file_inputs=
23467 for ac_f
23469 case $ac_f in
23470 -) ac_f="$ac_tmp/stdin";;
23471 *) # Look for the file first in the build tree, then in the source tree
23472 # (if the path is not absolute). The absolute path cannot be DOS-style,
23473 # because $ac_f cannot contain `:'.
23474 test -f "$ac_f" ||
23475 case $ac_f in
23476 [\\/$]*) false;;
23477 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23478 esac ||
23479 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23480 esac
23481 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23482 as_fn_append ac_file_inputs " '$ac_f'"
23483 done
23485 # Let's still pretend it is `configure' which instantiates (i.e., don't
23486 # use $as_me), people would be surprised to read:
23487 # /* config.h. Generated by config.status. */
23488 configure_input='Generated from '`
23489 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23490 `' by configure.'
23491 if test x"$ac_file" != x-; then
23492 configure_input="$ac_file. $configure_input"
23493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23494 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23496 # Neutralize special characters interpreted by sed in replacement strings.
23497 case $configure_input in #(
23498 *\&* | *\|* | *\\* )
23499 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23500 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23501 *) ac_sed_conf_input=$configure_input;;
23502 esac
23504 case $ac_tag in
23505 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23507 esac
23509 esac
23511 ac_dir=`$as_dirname -- "$ac_file" ||
23512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23513 X"$ac_file" : 'X\(//\)[^/]' \| \
23514 X"$ac_file" : 'X\(//\)$' \| \
23515 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23516 printf "%s\n" X"$ac_file" |
23517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23518 s//\1/
23521 /^X\(\/\/\)[^/].*/{
23522 s//\1/
23525 /^X\(\/\/\)$/{
23526 s//\1/
23529 /^X\(\/\).*/{
23530 s//\1/
23533 s/.*/./; q'`
23534 as_dir="$ac_dir"; as_fn_mkdir_p
23535 ac_builddir=.
23537 case "$ac_dir" in
23538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23540 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23541 # A ".." for each directory in $ac_dir_suffix.
23542 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23543 case $ac_top_builddir_sub in
23544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23546 esac ;;
23547 esac
23548 ac_abs_top_builddir=$ac_pwd
23549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23550 # for backward compatibility:
23551 ac_top_builddir=$ac_top_build_prefix
23553 case $srcdir in
23554 .) # We are building in place.
23555 ac_srcdir=.
23556 ac_top_srcdir=$ac_top_builddir_sub
23557 ac_abs_top_srcdir=$ac_pwd ;;
23558 [\\/]* | ?:[\\/]* ) # Absolute name.
23559 ac_srcdir=$srcdir$ac_dir_suffix;
23560 ac_top_srcdir=$srcdir
23561 ac_abs_top_srcdir=$srcdir ;;
23562 *) # Relative name.
23563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23564 ac_top_srcdir=$ac_top_build_prefix$srcdir
23565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23566 esac
23567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23570 case $ac_mode in
23574 # CONFIG_HEADER
23576 if test x"$ac_file" != x-; then
23578 printf "%s\n" "/* $configure_input */" >&1 \
23579 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23580 } >"$ac_tmp/config.h" \
23581 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23582 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23584 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23585 else
23586 rm -f "$ac_file"
23587 mv "$ac_tmp/config.h" "$ac_file" \
23588 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23590 else
23591 printf "%s\n" "/* $configure_input */" >&1 \
23592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23593 || as_fn_error $? "could not create -" "$LINENO" 5
23598 # CONFIG_LINK
23601 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23603 else
23604 # Prefer the file from the source tree if names are identical.
23605 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23606 ac_source=$srcdir/$ac_source
23609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23610 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23612 if test ! -r "$ac_source"; then
23613 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23615 rm -f "$ac_file"
23617 # Try a relative symlink, then a hard link, then a copy.
23618 case $ac_source in
23619 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23620 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23621 esac
23622 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23623 ln "$ac_source" "$ac_file" 2>/dev/null ||
23624 cp -p "$ac_source" "$ac_file" ||
23625 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23628 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23629 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23631 esac
23634 case $ac_file$ac_mode in
23635 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23636 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23637 "Makefile":C) wine_fn_output_makefile Makefile ;;
23639 esac
23640 done # for ac_tag
23643 as_fn_exit 0
23644 _ACEOF
23645 ac_clean_files=$ac_clean_files_save
23647 test $ac_write_fail = 0 ||
23648 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23651 # configure is writing to config.log, and then calls config.status.
23652 # config.status does its own redirection, appending to config.log.
23653 # Unfortunately, on DOS this fails, as config.log is still kept open
23654 # by configure, so config.status won't be able to write to it; its
23655 # output is simply discarded. So we exec the FD to /dev/null,
23656 # effectively closing config.log, so it can be properly (re)opened and
23657 # appended to by config.status. When coming back to configure, we
23658 # need to make the FD available again.
23659 if test "$no_create" != yes; then
23660 ac_cs_success=:
23661 ac_config_status_args=
23662 test "$silent" = yes &&
23663 ac_config_status_args="$ac_config_status_args --quiet"
23664 exec 5>/dev/null
23665 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23666 exec 5>>config.log
23667 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23668 # would make configure fail if this is the last instruction.
23669 $ac_cs_success || as_fn_exit 1
23671 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23673 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23677 if test "$no_create" = "yes"
23678 then
23679 exit 0
23682 ac_save_IFS="$IFS"
23683 if test "x$wine_notices" != x; then
23684 echo >&6
23685 IFS="|"
23686 for msg in $wine_notices; do
23687 IFS="$ac_save_IFS"
23688 if ${msg:+false} :
23689 then :
23691 else $as_nop
23692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23693 printf "%s\n" "$as_me: $msg" >&6;}
23695 done
23697 IFS="|"
23698 for msg in $wine_warnings; do
23699 IFS="$ac_save_IFS"
23700 if ${msg:+false} :
23701 then :
23703 else $as_nop
23704 echo >&2
23705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23706 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23708 done
23709 IFS="$ac_save_IFS"
23711 printf "%s\n" "
23712 $as_me: Finished. Do '${ac_make}' to compile Wine.
23713 " >&6